[Bug 226052] net/libstorj parallel build failure
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Feb 19 23:51:47 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226052
Bug ID: 226052
Summary: net/libstorj parallel build failure
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: truckman at FreeBSD.org
CC: jhixson at gmail.com
Flags: maintainer-feedback?(jhixson at gmail.com)
CC: jhixson at gmail.com
I attempted to do a parallel build of libstorj and observed this failure:
gmake[2]: Entering directory
'/wrkdirs/usr/ports/net/libstorj/work/libstorj-1.0.2/test'
cc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\"
-DPACKAGE_VERSION=\"1.0.2\" -DPACKAGE_STRING=\"libstorj\ 1.0.2\"
-DPACKAGE_BUGREPOR
T=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".li
bs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1
-DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_M
EMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -isystem /usr/local/include -O2 -pipe
-fstack-protector -isystem /usr/local/include -fno-strict-aliasi
ng -O3 -MT mockfarmer.o -MD -MP -MF .deps/mockfarmer.Tpo -c -o mockfarmer.o
mockfarmer.c
cc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\"
-DPACKAGE_VERSION=\"1.0.2\" -DPACKAGE_STRING=\"libstorj\ 1.0.2\"
-DPACKAGE_BUGREPOR
T=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".li
bs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1
-DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_M
EMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -isystem /usr/local/include -O2 -pipe
-fstack-protector -isystem /usr/local/include -fno-strict-aliasi
ng -O3 -MT tests.o -MD -MP -MF .deps/tests.Tpo -c -o tests.o tests.c
cc -DPACKAGE_NAME=\"libstorj\" -DPACKAGE_TARNAME=\"libstorj\"
-DPACKAGE_VERSION=\"1.0.2\" -DPACKAGE_STRING=\"libstorj\ 1.0.2\"
-DPACKAGE_BUGREPOR
T=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libstorj\" -DVERSION=\"1.0.2\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".li
bs/\" -DHAVE_CURL_CURL_H=1 -DHAVE_NETTLE_AES_H=1 -DHAVE_JSON_C_JSON_H=1
-DHAVE_UV_H=1 -DHAVE_MICROHTTPD_H=1 -DHAVE_ALIGNED_ALLOC=1 -DHAVE_POSIX_M
EMALIGN=1 -DHAVE_POSIX_FALLOCATE=1 -I. -isystem /usr/local/include -O2 -pipe
-fstack-protector -isystem /usr/local/include -fno-strict-aliasi
ng -O3 -MT tests_rs.o -MD -MP -MF .deps/tests_rs.Tpo -c -o tests_rs.o
tests_rs.c
Generated mockbridge.json.h
In file included from mockfarmer.c:5:
./storjtests.h:10:10: fatal error: 'mockbridgeinfo.json.h' file not found
#include "mockbridgeinfo.json.h"
^~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
gmake[2]: *** [Makefile:591: mockfarmer.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
In file included from tests.c:1:
./storjtests.h:10:10: fatal error: 'mockbridgeinfo.json.h' file not found
#include "mockbridgeinfo.json.h"
^~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
gmake[2]: *** [Makefile:591: tests.o] Error 1
Generated mockbridgeinfo.json.h
mv -f .deps/tests_rs.Tpo .deps/tests_rs.Po
gmake[2]: Leaving directory
'/wrkdirs/usr/ports/net/libstorj/work/libstorj-1.0.2/test'
gmake[1]: *** [Makefile:455: all-recursive] Error 1
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/net/libstorj/work/libstorj-1.0.2'
===> Compilation failed unexpectedly.
It is attempting to compile some .c files before generating the .h file that
they include. Either the source Makefile needs to be patched to include the
dependency so that make orders things properly, or the port Makefile should
contain MAKE_JOBS_UNSAFE=yes to force a single-threaded build.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list