* Package: dev-libs/libmodbus-3.1.4 * Repository: gentoo * Maintainer: xmw@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking libmodbus-3.1.4.tar.gz to /var/tmp/portage/dev-libs/libmodbus-3.1.4/work >>> Source unpacked in /var/tmp/portage/dev-libs/libmodbus-3.1.4/work >>> Preparing source in /var/tmp/portage/dev-libs/libmodbus-3.1.4/work/libmodbus-3.1.4 ... * Applying libmodbus-3.1.4-doc.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-libs/libmodbus-3.1.4/work/libmodbus-3.1.4 ... * econf: updating libmodbus-3.1.4/build-aux/config.sub with /usr/share/gnuconfig/config.sub * econf: updating libmodbus-3.1.4/build-aux/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 --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/libmodbus-3.1.4 --htmldir=/usr/share/doc/libmodbus-3.1.4/html --libdir=/usr/lib64 --disable-silent-rules --enable-tests --disable-static --without-documentation configure: loading site script /usr/share/config.site checking for a BSD-compatible install... /usr/lib/portage/python3.5/ebuild-helpers/xattr/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 make supports nested variables... yes checking how to create a pax tar archive... gnutar checking for style of include used by make... GNU checking for x86_64-pc-linux-gnu-gcc... x86_64-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 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 whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for x86_64-pc-linux-gnu-gcc option to accept ISO C99... none needed checking for x86_64-pc-linux-gnu-gcc option to accept ISO Standard C... (cached) none needed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether make supports nested variables... (cached) yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F 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 BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs 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 -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC 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 if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) 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... no checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking linux/serial.h usability... yes checking linux/serial.h presence... yes checking for linux/serial.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.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 sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/params.h usability... no checking sys/params.h presence... no checking for sys/params.h... no checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking whether to build documentation... no configure: WARNING: The tools to build the documentation aren't installed 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 stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for accept4... yes checking for getaddrinfo... 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 checking for inline... inline checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking dependency style of x86_64-pc-linux-gnu-g++... none checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E 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 -DPIC checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC 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 if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) 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... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for int64_t... yes checking for size_t... yes checking for ssize_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint8_t... yes checking winsock2.h usability... no checking winsock2.h presence... no checking for winsock2.h... no checking whether TIOCSRS485 is declared... yes checking whether TIOCM_RTS is declared... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/modbus-version.h config.status: creating src/win32/modbus.dll.manifest config.status: creating tests/Makefile config.status: creating doc/Makefile config.status: creating libmodbus.pc config.status: creating config.h config.status: creating tests/unit-test.h config.status: tests/unit-test.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands libmodbus 3.1.4 =============== prefix: /usr sysconfdir: /etc libdir: /usr/lib64 includedir: ${prefix}/include compiler: x86_64-pc-linux-gnu-gcc cflags: -O2 -pipe -march=native -Wall ldflags: -Wl,-O1 -Wl,--as-needed documentation: no tests: yes >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-libs/libmodbus-3.1.4/work/libmodbus-3.1.4 ... make -j1 make --no-print-directory all-recursive Making all in src /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../tests -include ../config.h -DSYSCONFDIR=\""/etc"\" -DLIBEXECDIR=\""/usr/libexec"\" -I../src -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -c -o modbus.lo modbus.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../tests -include ../config.h -DSYSCONFDIR=\"/etc\" -DLIBEXECDIR=\"/usr/libexec\" -I../src -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -c modbus.c -fPIC -DPIC -o .libs/modbus.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../tests -include ../config.h -DSYSCONFDIR=\""/etc"\" -DLIBEXECDIR=\""/usr/libexec"\" -I../src -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -c -o modbus-data.lo modbus-data.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../tests -include ../config.h -DSYSCONFDIR=\"/etc\" -DLIBEXECDIR=\"/usr/libexec\" -I../src -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -c modbus-data.c -fPIC -DPIC -o .libs/modbus-data.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../tests -include ../config.h -DSYSCONFDIR=\""/etc"\" -DLIBEXECDIR=\""/usr/libexec"\" -I../src -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -c -o modbus-rtu.lo modbus-rtu.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../tests -include ../config.h -DSYSCONFDIR=\"/etc\" -DLIBEXECDIR=\"/usr/libexec\" -I../src -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -c modbus-rtu.c -fPIC -DPIC -o .libs/modbus-rtu.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../tests -include ../config.h -DSYSCONFDIR=\""/etc"\" -DLIBEXECDIR=\""/usr/libexec"\" -I../src -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -c -o modbus-tcp.lo modbus-tcp.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../tests -include ../config.h -DSYSCONFDIR=\"/etc\" -DLIBEXECDIR=\"/usr/libexec\" -I../src -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -c modbus-tcp.c -fPIC -DPIC -o .libs/modbus-tcp.o /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -no-undefined -version-info 6:0:1 -Wl,-O1 -Wl,--as-needed -o libmodbus.la -rpath /usr/lib64 modbus.lo modbus-data.lo modbus-rtu.lo modbus-tcp.lo libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/modbus.o .libs/modbus-data.o .libs/modbus-rtu.o .libs/modbus-tcp.o -O2 -march=native -Wl,-O1 -Wl,--as-needed -Wl,-soname -Wl,libmodbus.so.5 -o .libs/libmodbus.so.5.1.0 libtool: link: (cd ".libs" && rm -f "libmodbus.so.5" && ln -s "libmodbus.so.5.1.0" "libmodbus.so.5") libtool: link: (cd ".libs" && rm -f "libmodbus.so" && ln -s "libmodbus.so.5.1.0" "libmodbus.so") libtool: link: ( cd ".libs" && rm -f "libmodbus.la" && ln -s "../libmodbus.la" "libmodbus.la" ) Making all in doc make[2]: Nothing to be done for 'all'. Making all in tests make all-am x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DSYSCONFDIR=\""/etc"\" -DLIBEXECDIR=\""/usr/libexec"\" -I../src -I../src -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -c -o bandwidth-server-one.o bandwidth-server-one.c /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed -o bandwidth-server-one bandwidth-server-one.o ../src/libmodbus.la libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed -o .libs/bandwidth-server-one bandwidth-server-one.o ../src/.libs/libmodbus.so x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DSYSCONFDIR=\""/etc"\" -DLIBEXECDIR=\""/usr/libexec"\" -I../src -I../src -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -c -o bandwidth-server-many-up.o bandwidth-server-many-up.c /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed -o bandwidth-server-many-up bandwidth-server-many-up.o ../src/libmodbus.la libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed -o .libs/bandwidth-server-many-up bandwidth-server-many-up.o ../src/.libs/libmodbus.so x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DSYSCONFDIR=\""/etc"\" -DLIBEXECDIR=\""/usr/libexec"\" -I../src -I../src -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -c -o bandwidth-client.o bandwidth-client.c /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed -o bandwidth-client bandwidth-client.o ../src/libmodbus.la libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed -o .libs/bandwidth-client bandwidth-client.o ../src/.libs/libmodbus.so x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DSYSCONFDIR=\""/etc"\" -DLIBEXECDIR=\""/usr/libexec"\" -I../src -I../src -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -c -o random-test-server.o random-test-server.c /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed -o random-test-server random-test-server.o ../src/libmodbus.la libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed -o .libs/random-test-server random-test-server.o ../src/.libs/libmodbus.so x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DSYSCONFDIR=\""/etc"\" -DLIBEXECDIR=\""/usr/libexec"\" -I../src -I../src -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -c -o random-test-client.o random-test-client.c /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed -o random-test-client random-test-client.o ../src/libmodbus.la libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed -o .libs/random-test-client random-test-client.o ../src/.libs/libmodbus.so x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DSYSCONFDIR=\""/etc"\" -DLIBEXECDIR=\""/usr/libexec"\" -I../src -I../src -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -c -o unit-test-server.o unit-test-server.c /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed -o unit-test-server unit-test-server.o ../src/libmodbus.la libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed -o .libs/unit-test-server unit-test-server.o ../src/.libs/libmodbus.so x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DSYSCONFDIR=\""/etc"\" -DLIBEXECDIR=\""/usr/libexec"\" -I../src -I../src -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -c -o unit-test-client.o unit-test-client.c /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed -o unit-test-client unit-test-client.o ../src/libmodbus.la libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed -o .libs/unit-test-client unit-test-client.o ../src/.libs/libmodbus.so x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -DSYSCONFDIR=\""/etc"\" -DLIBEXECDIR=\""/usr/libexec"\" -I../src -I../src -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -c -o version.o version.c /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed -o version version.o ../src/libmodbus.la libtool: link: x86_64-pc-linux-gnu-gcc -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wpointer-arith -Wsign-compare -Wchar-subscripts -Wstrict-prototypes -Wshadow -Wformat-security -O2 -pipe -march=native -Wall -Wl,-O1 -Wl,--as-needed -o .libs/version version.o ../src/.libs/libmodbus.so >>> Source compiled. >>> Test phase: dev-libs/libmodbus-3.1.4 make -j1 check Making check in src make[1]: Nothing to be done for 'check'. Making check in doc make[1]: Nothing to be done for 'check'. Making check in tests make check-TESTS FAIL: unit-tests.sh ============================================================================ Testsuite summary for libmodbus 3.1.4 ============================================================================ # TOTAL: 1 # PASS: 0 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 ============================================================================ See tests/test-suite.log Please report to https://github.com/stephane/libmodbus/issues ============================================================================ make[3]: *** [Makefile:779: test-suite.log] Error 1 make[2]: *** [Makefile:887: check-TESTS] Error 2 make[1]: *** [Makefile:957: check-am] Error 2 make: *** [Makefile:499: check-recursive] Error 1 * ERROR: dev-libs/libmodbus-3.1.4::gentoo failed (test phase): * Make check failed. See above for details. * * Call stack: * ebuild.sh, line 124: Called src_test * environment, line 393: Called default * phase-functions.sh, line 853: Called default_src_test * phase-functions.sh, line 882: Called __eapi0_src_test * phase-helpers.sh, line 764: Called die * The specific snippet of code: * $emake_cmd ${internal_opts} check || \ * die "Make check failed. See above for details." * * If you need support, post the output of `emerge --info '=dev-libs/libmodbus-3.1.4::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/libmodbus-3.1.4::gentoo'`. * The complete build log is located at '/var/log/portage/dev-libs:libmodbus-3.1.4:20180110-231110.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/libmodbus-3.1.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libmodbus-3.1.4/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/libmodbus-3.1.4/work/libmodbus-3.1.4' * S: '/var/tmp/portage/dev-libs/libmodbus-3.1.4/work/libmodbus-3.1.4'