Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 2018 23:51:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 226052] net/libstorj parallel build failure
Message-ID:  <bug-226052-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226052

            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@FreeBSD.org
          Reporter: truckman@FreeBSD.org
                CC: jhixson@gmail.com
             Flags: maintainer-feedback?(jhixson@gmail.com)
                CC: jhixson@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=3D\"libstorj\" -DPACKAGE_TARNAME=3D\"libstorj\"
-DPACKAGE_VERSION=3D\"1.0.2\" -DPACKAGE_STRING=3D\"libstorj\ 1.0.2\"
-DPACKAGE_BUGREPOR
T=3D\"\" -DPACKAGE_URL=3D\"\" -DPACKAGE=3D\"libstorj\" -DVERSION=3D\"1.0.2\"
-DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDL=
IB_H=3D1
-DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPE=
S_H=3D1
-DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D\"=
.li
bs/\" -DHAVE_CURL_CURL_H=3D1 -DHAVE_NETTLE_AES_H=3D1 -DHAVE_JSON_C_JSON_H=
=3D1
-DHAVE_UV_H=3D1 -DHAVE_MICROHTTPD_H=3D1 -DHAVE_ALIGNED_ALLOC=3D1 -DHAVE_POS=
IX_M
EMALIGN=3D1 -DHAVE_POSIX_FALLOCATE=3D1 -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=3D\"libstorj\" -DPACKAGE_TARNAME=3D\"libstorj\"
-DPACKAGE_VERSION=3D\"1.0.2\" -DPACKAGE_STRING=3D\"libstorj\ 1.0.2\"
-DPACKAGE_BUGREPOR
T=3D\"\" -DPACKAGE_URL=3D\"\" -DPACKAGE=3D\"libstorj\" -DVERSION=3D\"1.0.2\"
-DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDL=
IB_H=3D1
-DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPE=
S_H=3D1
-DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D\"=
.li
bs/\" -DHAVE_CURL_CURL_H=3D1 -DHAVE_NETTLE_AES_H=3D1 -DHAVE_JSON_C_JSON_H=
=3D1
-DHAVE_UV_H=3D1 -DHAVE_MICROHTTPD_H=3D1 -DHAVE_ALIGNED_ALLOC=3D1 -DHAVE_POS=
IX_M
EMALIGN=3D1 -DHAVE_POSIX_FALLOCATE=3D1 -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=3D\"libstorj\" -DPACKAGE_TARNAME=3D\"libstorj\"
-DPACKAGE_VERSION=3D\"1.0.2\" -DPACKAGE_STRING=3D\"libstorj\ 1.0.2\"
-DPACKAGE_BUGREPOR
T=3D\"\" -DPACKAGE_URL=3D\"\" -DPACKAGE=3D\"libstorj\" -DVERSION=3D\"1.0.2\"
-DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDL=
IB_H=3D1
-DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPE=
S_H=3D1
-DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DLT_OBJDIR=3D\"=
.li
bs/\" -DHAVE_CURL_CURL_H=3D1 -DHAVE_NETTLE_AES_H=3D1 -DHAVE_JSON_C_JSON_H=
=3D1
-DHAVE_UV_H=3D1 -DHAVE_MICROHTTPD_H=3D1 -DHAVE_ALIGNED_ALLOC=3D1 -DHAVE_POS=
IX_M
EMALIGN=3D1 -DHAVE_POSIX_FALLOCATE=3D1 -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'
=3D=3D=3D> 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=3Dyes to force a single-threaded build.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-226052-13>