* Package: dev-libs/libmodbus-2.9.3 * Repository: gentoo * USE: elibc_glibc kernel_linux test userland_GNU x86 * FEATURES: sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking libmodbus-2.9.3.tar.gz to /var/tmp/portage/dev-libs/libmodbus-2.9.3/work >>> Source unpacked in /var/tmp/portage/dev-libs/libmodbus-2.9.3/work >>> Compiling source in /var/tmp/portage/dev-libs/libmodbus-2.9.3/work/libmodbus-2.9.3 ... * econf: updating libmodbus-2.9.3/config.sub with /usr/share/gnuconfig/config.sub * econf: updating libmodbus-2.9.3/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib configure: loading site script /usr/share/config.site configure: loading site script /usr/share/crossdev/include/site/linux 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 build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking dependency style of i686-pc-linux-gnu-g++... gcc3 checking how to print strings... printf 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 fgrep... /bin/grep -F checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for i686-pc-linux-gnu-objdump... objdump checking how to recognize dependent libraries... pass_all checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for ANSI C header files... yes 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 for dlfcn.h... yes checking for objdir... .libs checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if i686-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if i686-pc-linux-gnu-gcc static flag -static works... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) 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... no checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC checking if i686-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes checking if i686-pc-linux-gnu-g++ static flag -static works... yes checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes checking if i686-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether make sets $(MAKE)... (cached) yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for sys/types.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking netinet/tcp.h usability... yes checking netinet/tcp.h presence... yes checking for netinet/tcp.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking for ANSI C header files... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether __CYGWIN__ is declared... no checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for memset... yes checking for select... yes checking for socket... yes checking for strerror... yes checking for strlcpy... no configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/modbus-version.h config.status: creating tests/Makefile config.status: creating libmodbus.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands make -j14 make all-recursive make[1]: Entering directory `/var/tmp/portage/dev-libs/libmodbus-2.9.3/work/libmodbus-2.9.3' Making all in src make[2]: Entering directory `/var/tmp/portage/dev-libs/libmodbus-2.9.3/work/libmodbus-2.9.3/src' CC modbus.lo CC modbus-data.lo CC modbus-rtu.lo CC modbus-tcp.lo CCLD libmodbus.la make[2]: Leaving directory `/var/tmp/portage/dev-libs/libmodbus-2.9.3/work/libmodbus-2.9.3/src' Making all in tests make[2]: Entering directory `/var/tmp/portage/dev-libs/libmodbus-2.9.3/work/libmodbus-2.9.3/tests' CC random-test-server.o CC unit-test-server.o CC unit-test-client.o CC random-test-client.o CC bandwidth-server-one.o CC bandwidth-server-many-up.o CC bandwidth-client.o CC version.o unit-test-client.c: In function ‘main’: unit-test-client.c:40:9: error: variable ‘address’ set but not used [-Werror=unused-but-set-variable] CCLD version CCLD bandwidth-server-one CCLD random-test-server cc1: all warnings being treated as errors make[2]: *** [unit-test-client.o] Error 1 make[2]: *** Waiting for unfinished jobs.... CCLD unit-test-server make[2]: Leaving directory `/var/tmp/portage/dev-libs/libmodbus-2.9.3/work/libmodbus-2.9.3/tests' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-libs/libmodbus-2.9.3/work/libmodbus-2.9.3' make: *** [all] Error 2 emake failed * ERROR: dev-libs/libmodbus-2.9.3 failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 326: Called _eapi0_src_compile * ebuild.sh, line 625: Called _eapi2_src_compile * ebuild.sh, line 665: Called die * The specific snippet of code: * emake || die "emake failed" * * If you need support, post the output of 'emerge --info =dev-libs/libmodbus-2.9.3', * the complete build log and the output of 'emerge -pqv =dev-libs/libmodbus-2.9.3'. * The complete build log is located at '/var/log/portage/build/dev-libs/libmodbus-2.9.3:20110413-101934.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libmodbus-2.9.3/temp/environment'. * S: '/var/tmp/portage/dev-libs/libmodbus-2.9.3/work/libmodbus-2.9.3'