* Package: app-misc/mx5000tools-0.1.2-r2:0 * Repository: gentoo * Maintainer: conikost@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking mx5000tools-0.1.2.tar.gz to /var/tmp/portage/app-misc/mx5000tools-0.1.2-r2/work >>> Source unpacked in /var/tmp/portage/app-misc/mx5000tools-0.1.2-r2/work >>> Preparing source in /var/tmp/portage/app-misc/mx5000tools-0.1.2-r2/work/mx5000tools-0.1.2 ... * Applying mx5000tools-0.1.2-find-netpbm-header.patch ... [ ok ] * Applying mx5000tools-0.1.2-musl.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/app-misc/mx5000tools-0.1.2-r2/work/mx5000tools-0.1.2' ... * Running 'libtoolize --install --copy --force --automake' ... [ ok ] * Running 'aclocal --system-acdir=/var/tmp/portage/app-misc/mx5000tools-0.1.2-r2/temp/aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --force-missing' ... [ ok ] * Running elibtoolize in: mx5000tools-0.1.2/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-misc/mx5000tools-0.1.2-r2/work/mx5000tools-0.1.2 ... * econf: updating mx5000tools-0.1.2/config.sub with /usr/share/gnuconfig/config.sub * econf: updating mx5000tools-0.1.2/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 --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/mx5000tools-0.1.2-r2 --htmldir=/usr/share/doc/mx5000tools-0.1.2-r2/html --with-sysroot=/ --libdir=/usr/lib64 --disable-static checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-pc-linux-gnu-gcc... clang 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 the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of clang... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E 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 clang... /usr/bin/x86_64-pc-linux-gnu-ld checking if the linker (/usr/bin/x86_64-pc-linux-gnu-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/bin/x86_64-pc-linux-gnu-ld option to reload object files... -r checking for x86_64-pc-linux-gnu-file... no checking for file... file 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 clang object... ok checking for sysroot... / 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... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fPIC -DPIC checking if clang PIC flag -fPIC -DPIC works... yes checking if clang static flag -static works... yes checking if clang supports -c -o file.o... yes checking if clang supports -c -o file.o... (cached) yes checking whether the clang linker (/usr/bin/x86_64-pc-linux-gnu-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 for linux/hiddev.h... yes checking for netpbm/pbm.h... yes checking for pbm_readpbm in -lnetpbm... yes checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.16... yes checking for MX5000D... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libmx5000/Makefile config.status: creating mx5000-tool/Makefile config.status: creating mx5000d/Makefile config.status: creating tests/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. '/var/tmp/portage/app-misc/mx5000tools-0.1.2-r2/temp/clang14.log' -> '/var/tmp/clang/app-misc/mx5000tools-0.1.2-r2/clang14.log' '/var/tmp/portage/app-misc/mx5000tools-0.1.2-r2/temp/clang15.log' -> '/var/tmp/clang/app-misc/mx5000tools-0.1.2-r2/clang15.log' >>> Compiling source in /var/tmp/portage/app-misc/mx5000tools-0.1.2-r2/work/mx5000tools-0.1.2 ... make -j4 make all-recursive make[1]: Entering directory '/var/tmp/portage/app-misc/mx5000tools-0.1.2-r2/work/mx5000tools-0.1.2' Making all in libmx5000 make[2]: Entering directory '/var/tmp/portage/app-misc/mx5000tools-0.1.2-r2/work/mx5000tools-0.1.2/libmx5000' /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o mx5000.lo mx5000.c /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o mx5000screencontent.lo mx5000screencontent.c /bin/sh ../libtool --tag=CC --mode=compile clang -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o mx5000image.lo mx5000image.c libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c mx5000image.c -fPIC -DPIC -o .libs/mx5000image.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c mx5000.c -fPIC -DPIC -o .libs/mx5000.o libtool: compile: clang -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c mx5000screencontent.c -fPIC -DPIC -o .libs/mx5000screencontent.o mx5000.c:190:7: warning: variable 'a' set but not used [-Wunused-but-set-variable] int a,b; ^ mx5000.c:190:9: warning: variable 'b' set but not used [-Wunused-but-set-variable] int a,b; ^ mx5000screencontent.c:462:8: warning: unused variable 'data1' [-Wunused-variable] char data1[19] = { 0x11, 0x01, 0x82, 0xA0, 0x04, 0x00, 0x00, 0x00, 0x0... ^ 2 warnings generated. 1 warning generated. /bin/sh ../libtool --tag=CC --mode=link clang -Wall -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o libmx5000.la -rpath /usr/lib64 mx5000.lo mx5000screencontent.lo mx5000image.lo -lnetpbm -lnetpbm libtool: link: clang -shared -fPIC -DPIC .libs/mx5000.o .libs/mx5000screencontent.o .libs/mx5000image.o -Wl,--as-needed -lnetpbm -march=native -O2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-soname -Wl,libmx5000.so.0 -o .libs/libmx5000.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libmx5000.so.0" && ln -s "libmx5000.so.0.0.0" "libmx5000.so.0") libtool: link: (cd ".libs" && rm -f "libmx5000.so" && ln -s "libmx5000.so.0.0.0" "libmx5000.so") libtool: link: ( cd ".libs" && rm -f "libmx5000.la" && ln -s "../libmx5000.la" "libmx5000.la" ) make[2]: Leaving directory '/var/tmp/portage/app-misc/mx5000tools-0.1.2-r2/work/mx5000tools-0.1.2/libmx5000' Making all in mx5000-tool make[2]: Entering directory '/var/tmp/portage/app-misc/mx5000tools-0.1.2-r2/work/mx5000tools-0.1.2/mx5000-tool' clang -DHAVE_CONFIG_H -I. -I.. -I.. -Wall -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o mx5000-tool.o mx5000-tool.c /bin/sh ../libtool --tag=CC --mode=link clang -Wall -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o mx5000-tool mx5000-tool.o ../libmx5000/libmx5000.la -lnetpbm libtool: link: clang -Wall -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/mx5000-tool mx5000-tool.o -Wl,--as-needed ../libmx5000/.libs/libmx5000.so -lnetpbm make[2]: Leaving directory '/var/tmp/portage/app-misc/mx5000tools-0.1.2-r2/work/mx5000tools-0.1.2/mx5000-tool' Making all in mx5000d make[2]: Entering directory '/var/tmp/portage/app-misc/mx5000tools-0.1.2-r2/work/mx5000tools-0.1.2/mx5000d' clang -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o mx5000d.o mx5000d.c clang -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o input_translate.o input_translate.c /bin/sh ../libtool --tag=CC --mode=link clang -Wall -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o mx5000d mx5000d.o input_translate.o ../libmx5000/libmx5000.la -lglib-2.0 -lnetpbm libtool: link: clang -Wall -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/mx5000d mx5000d.o input_translate.o -Wl,--as-needed ../libmx5000/.libs/libmx5000.so -lglib-2.0 -lnetpbm make[2]: Leaving directory '/var/tmp/portage/app-misc/mx5000tools-0.1.2-r2/work/mx5000tools-0.1.2/mx5000d' Making all in tests make[2]: Entering directory '/var/tmp/portage/app-misc/mx5000tools-0.1.2-r2/work/mx5000tools-0.1.2/tests' clang -DHAVE_CONFIG_H -I. -I.. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o mx5000_test-mx5000-test.o `test -f 'mx5000-test.c' || echo './'`mx5000-test.c clang -DHAVE_CONFIG_H -I. -I.. -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o test-info.o test-info.c test-info.c:128:3: error: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] close(fd); ^ 1 error generated. make[2]: *** [Makefile:374: test-info.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/app-misc/mx5000tools-0.1.2-r2/work/mx5000tools-0.1.2/tests' make[1]: *** [Makefile:398: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-misc/mx5000tools-0.1.2-r2/work/mx5000tools-0.1.2' make: *** [Makefile:330: all] Error 2 * ERROR: app-misc/mx5000tools-0.1.2-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-misc/mx5000tools-0.1.2-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-misc/mx5000tools-0.1.2-r2::gentoo'`. * The complete build log is located at '/var/log/portage/app-misc:mx5000tools-0.1.2-r2:20220917-212823.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-misc/mx5000tools-0.1.2-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-misc/mx5000tools-0.1.2-r2/temp/environment'. * Working directory: '/var/tmp/portage/app-misc/mx5000tools-0.1.2-r2/work/mx5000tools-0.1.2' * S: '/var/tmp/portage/app-misc/mx5000tools-0.1.2-r2/work/mx5000tools-0.1.2'