USE flags: #emerge obby -pv These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] net-libs/obby-0.4.6-r1 USE="nls -avahi -ipv6" 0 kB build log: >>> Unpacking source... >>> Unpacking obby-0.4.6.tar.gz to /var/tmp/portage/net-libs/obby-0.4.6-r1/work >>> Source unpacked in /var/tmp/portage/net-libs/obby-0.4.6-r1/work >>> Compiling source in /var/tmp/portage/net-libs/obby-0.4.6-r1/work/obby-0.4.6 ... * econf: updating obby-0.4.6/config.sub with /usr/share/gnuconfig/config.sub * econf: updating obby-0.4.6/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --without-zeroconf --disable-ipv6 --enable-nls checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-g++... gcc3 checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3 checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognize dependent libraries... pass_all checking for ANSI C header files... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... no configure: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: dlfcn.h: proceeding with the compiler's result checking for dlfcn.h... yes checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for x86_64-pc-linux-gnu-g77... no checking for x86_64-pc-linux-gnu-xlf... no checking for x86_64-pc-linux-gnu-f77... no checking for x86_64-pc-linux-gnu-frt... no checking for x86_64-pc-linux-gnu-pgf77... no checking for x86_64-pc-linux-gnu-cf77... no checking for x86_64-pc-linux-gnu-fort77... no checking for x86_64-pc-linux-gnu-fl32... no checking for x86_64-pc-linux-gnu-af77... no checking for x86_64-pc-linux-gnu-xlf90... no checking for x86_64-pc-linux-gnu-f90... no checking for x86_64-pc-linux-gnu-pgf90... no checking for x86_64-pc-linux-gnu-pghpf... no checking for x86_64-pc-linux-gnu-epcf90... no checking for x86_64-pc-linux-gnu-gfortran... x86_64-pc-linux-gnu-gfortran checking whether we are using the GNU Fortran 77 compiler... yes checking whether x86_64-pc-linux-gnu-gfortran accepts -g... yes checking the maximum length of command line arguments... 1572864 checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for x86_64-pc-linux-gnu-gfortran option to produce PIC... -fPIC checking if x86_64-pc-linux-gnu-gfortran PIC flag -fPIC works... yes checking if x86_64-pc-linux-gnu-gfortran static flag -static works... yes checking if x86_64-pc-linux-gnu-gfortran supports -c -o file.o... yes checking whether the x86_64-pc-linux-gnu-gfortran linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so (cached) (cached) checking how to hardcode library paths into programs... immediate checking for x86_64-pc-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libraries... yes checking whether to enable IPv6 support... (cached) no checking whether to compile with Zeroconf support... (cached) no checking whether to enable WIN32 specific flags... no checking for libobby... yes checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc configure: creating ./config.status config.status: creating Makefile config.status: creating po/Makefile.in config.status: creating inc/Makefile config.status: creating src/Makefile config.status: creating src/serialise/Makefile config.status: creating test/Makefile config.status: creating obby-0.4.pc config.status: creating inc/config.hpp config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile make -j12 Making all in po make[1]: Entering directory `/var/tmp/portage/net-libs/obby-0.4.6-r1/work/obby-0.4.6/po' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/var/tmp/portage/net-libs/obby-0.4.6-r1/work/obby-0.4.6/po' Making all in inc make[1]: Entering directory `/var/tmp/portage/net-libs/obby-0.4.6-r1/work/obby-0.4.6/inc' make all-am make[2]: Entering directory `/var/tmp/portage/net-libs/obby-0.4.6-r1/work/obby-0.4.6/inc' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/var/tmp/portage/net-libs/obby-0.4.6-r1/work/obby-0.4.6/inc' make[1]: Leaving directory `/var/tmp/portage/net-libs/obby-0.4.6-r1/work/obby-0.4.6/inc' Making all in src make[1]: Entering directory `/var/tmp/portage/net-libs/obby-0.4.6-r1/work/obby-0.4.6/src' Making all in serialise make[2]: Entering directory `/var/tmp/portage/net-libs/obby-0.4.6-r1/work/obby-0.4.6/src/serialise' /bin/sh ../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../inc -I../../inc @addcflags@ -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -march=core2 -O2 -pipe -MT libserialise_la-error.lo -MD -MP -MF .deps/libserialise_la-error.Tpo -c -o libserialise_la-error.lo `test -f 'error.cpp' || echo './'`error.cpp /bin/sh ../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../inc -I../../inc @addcflags@ -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -march=core2 -O2 -pipe -MT libserialise_la-token.lo -MD -MP -MF .deps/libserialise_la-token.Tpo -c -o libserialise_la-token.lo `test -f 'token.cpp' || echo './'`token.cpp /bin/sh ../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../inc -I../../inc @addcflags@ -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -march=core2 -O2 -pipe -MT libserialise_la-attribute.lo -MD -MP -MF .deps/libserialise_la-attribute.Tpo -c -o libserialise_la-attribute.lo `test -f 'attribute.cpp' || echo './'`attribute.cpp /bin/sh ../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../inc -I../../inc @addcflags@ -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -march=core2 -O2 -pipe -MT libserialise_la-object.lo -MD -MP -MF .deps/libserialise_la-object.Tpo -c -o libserialise_la-object.lo `test -f 'object.cpp' || echo './'`object.cpp /bin/sh ../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../inc -I../../inc @addcflags@ -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -march=core2 -O2 -pipe -MT libserialise_la-parser.lo -MD -MP -MF .deps/libserialise_la-parser.Tpo -c -o libserialise_la-parser.lo `test -f 'parser.cpp' || echo './'`parser.cpp mkdir .libs x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../inc -I../../inc @addcflags@ -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -march=core2 -O2 -pipe -MT libserialise_la-error.lo -MD -MP -MF .deps/libserialise_la-error.Tpo -c error.cpp -fPIC -DPIC -o .libs/libserialise_la-error.o x86_64-pc-linux-gnu-g++: @addcflags@: No such file or directory distcc[24699] ERROR: compile error.cpp on 192.168.1.10 failed distcc[24699] (dcc_build_somewhere) Warning: remote compilation of 'error.cpp' failed, retrying locally distcc[24699] Warning: failed to distribute error.cpp to 192.168.1.10, running locally instead x86_64-pc-linux-gnu-g++: @addcflags@: No such file or directory x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../inc -I../../inc @addcflags@ -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -march=core2 -O2 -pipe -MT libserialise_la-object.lo -MD -MP -MF .deps/libserialise_la-object.Tpo -c object.cpp -fPIC -DPIC -o .libs/libserialise_la-object.o distcc[24792] (dcc_build_somewhere) Warning: failed to distribute, running locally instead x86_64-pc-linux-gnu-g++: @addcflags@: No such file or directory x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../inc -I../../inc @addcflags@ -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -march=core2 -O2 -pipe -MT libserialise_la-token.lo -MD -MP -MF .deps/libserialise_la-token.Tpo -c token.cpp -fPIC -DPIC -o .libs/libserialise_la-token.o distcc[24813] (dcc_build_somewhere) Warning: failed to distribute, running locally instead x86_64-pc-linux-gnu-g++: @addcflags@: No such file or directory x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../inc -I../../inc @addcflags@ -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -march=core2 -O2 -pipe -MT libserialise_la-attribute.lo -MD -MP -MF .deps/libserialise_la-attribute.Tpo -c attribute.cpp -fPIC -DPIC -o .libs/libserialise_la-attribute.o distcc[24831] (dcc_build_somewhere) Warning: failed to distribute, running locally instead x86_64-pc-linux-gnu-g++: @addcflags@: No such file or directory distcc[24699] ERROR: compile error.cpp on localhost failed make[2]: *** [libserialise_la-error.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../inc -I../../inc @addcflags@ -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -march=core2 -O2 -pipe -MT libserialise_la-parser.lo -MD -MP -MF .deps/libserialise_la-parser.Tpo -c parser.cpp -fPIC -DPIC -o .libs/libserialise_la-parser.o distcc[24851] (dcc_build_somewhere) Warning: failed to distribute, running locally instead x86_64-pc-linux-gnu-g++: @addcflags@: No such file or directory distcc[24831] ERROR: compile attribute.cpp on localhost failed make[2]: *** [libserialise_la-attribute.lo] Error 1 distcc[24813] ERROR: compile token.cpp on localhost failed make[2]: *** [libserialise_la-token.lo] Error 1 distcc[24792] ERROR: compile object.cpp on localhost failed make[2]: *** [libserialise_la-object.lo] Error 1 distcc[24851] ERROR: compile parser.cpp on localhost failed make[2]: *** [libserialise_la-parser.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-libs/obby-0.4.6-r1/work/obby-0.4.6/src/serialise' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-libs/obby-0.4.6-r1/work/obby-0.4.6/src' make: *** [all-recursive] Error 1 Reproducible: Always Steps to Reproduce: 1. emerge net-libs/obby 2. ?? 3. no profit
Looks like a good candidate to be a duplicate of bug #271994 -- but while using distcc, which then slightly complicates the output?
Yeah, you're right. Removing @addcflags@ from /usr/lib64/pkgconfig/net6-1.3.pc allows it to compile properly. I'd still prefer not to mark this as diplicate, even though the issue is caused by a different package, the error comes up here. On a related note, I remember not being able to compile net-lib/net6 when i had distcc put as one of the features in make.conf, but I'm not sure it's related with this bug.