* Package: dev-games/libmt_client-0.1.98-r1 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking libmt_client-0.1.98.tar.bz2 to /var/tmp/portage/dev-games/libmt_client-0.1.98-r1/work >>> Source unpacked in /var/tmp/portage/dev-games/libmt_client-0.1.98-r1/work >>> Preparing source in /var/tmp/portage/dev-games/libmt_client-0.1.98-r1/work/libmt_client-0.1.98 ... * Applying libmt_client-0.1.98-format.patch ... [ ok ] * Applying libmt_client-0.1.98-libdir.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/dev-games/libmt_client-0.1.98-r1/work/libmt_client-0.1.98' ... * Running 'libtoolize --install --copy --force --automake' ... [ ok ] * Running 'aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --force-missing' ... [ ok ] * Running elibtoolize in: libmt_client-0.1.98/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... * Applying static-flags/2.4.6 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-games/libmt_client-0.1.98-r1/work/libmt_client-0.1.98 ... * econf: updating libmt_client-0.1.98/config.sub with /usr/share/gnuconfig/config.sub * econf: updating libmt_client-0.1.98/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --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/libmt_client-0.1.98-r1 --htmldir=/usr/share/doc/libmt_client-0.1.98-r1/html --with-sysroot=/ --libdir=/usr/lib --disable-static checking build system type... x86_64-gentoo-linux-musl checking host system type... x86_64-gentoo-linux-musl checking target system type... x86_64-gentoo-linux-musl checking for a BSD-compatible install... /usr/lib/portage/python3.9/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 whether make supports the include directive... yes (GNU style) checking for x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-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 the compiler supports GNU C... yes checking whether x86_64-gentoo-linux-musl-gcc accepts -g... yes checking for x86_64-gentoo-linux-musl-gcc option to enable C11 features... none needed checking whether x86_64-gentoo-linux-musl-gcc understands -c and -o together... yes checking dependency style of x86_64-gentoo-linux-musl-gcc... none checking for library containing strerror... none required checking for x86_64-gentoo-linux-musl-gcc... (cached) x86_64-gentoo-linux-musl-gcc checking whether the compiler supports GNU C... (cached) yes checking whether x86_64-gentoo-linux-musl-gcc accepts -g... (cached) yes checking for x86_64-gentoo-linux-musl-gcc option to enable C11 features... (cached) none needed checking whether x86_64-gentoo-linux-musl-gcc understands -c and -o together... (cached) yes checking dependency style of x86_64-gentoo-linux-musl-gcc... (cached) none 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 x86_64-gentoo-linux-musl-gcc... /usr/x86_64-gentoo-linux-musl/bin/ld checking if the linker (/usr/x86_64-gentoo-linux-musl/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-gentoo-linux-musl-nm -B checking the name lister (/usr/bin/x86_64-gentoo-linux-musl-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking how to convert x86_64-gentoo-linux-musl file names to x86_64-gentoo-linux-musl format... func_convert_file_noop checking how to convert x86_64-gentoo-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-gentoo-linux-musl/bin/ld option to reload object files... -r checking for x86_64-gentoo-linux-musl-objdump... x86_64-gentoo-linux-musl-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-gentoo-linux-musl-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-gentoo-linux-musl-ar... x86_64-gentoo-linux-musl-ar checking for archiver @FILE support... @ checking for x86_64-gentoo-linux-musl-strip... x86_64-gentoo-linux-musl-strip checking for x86_64-gentoo-linux-musl-ranlib... x86_64-gentoo-linux-musl-ranlib checking command to parse /usr/bin/x86_64-gentoo-linux-musl-nm -B output from x86_64-gentoo-linux-musl-gcc 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-gentoo-linux-musl-mt... no checking for mt... mt checking if mt is a manifest tool... no 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 sys/time.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-gentoo-linux-musl-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-gentoo-linux-musl-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-gentoo-linux-musl-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-gentoo-linux-musl-gcc static flag -static works... yes checking if x86_64-gentoo-linux-musl-gcc supports -c -o file.o... yes checking if x86_64-gentoo-linux-musl-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-gentoo-linux-musl-gcc linker (/usr/x86_64-gentoo-linux-musl/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 for x86_64-gentoo-linux-musl-pkg-config... /usr/bin/x86_64-gentoo-linux-musl-pkg-config checking pkg-config is at least version 0.9.0... yes checking for GLIB... yes checking for egrep... (cached) /bin/grep -E checking for netdb.h... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/socket.h... yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for bzero... yes checking for gethostbyname... yes checking for gethostname... yes checking for socket... yes checking how to run the C preprocessor... x86_64-gentoo-linux-musl-gcc -E checking for stdio.h... (cached) yes checking for stdlib.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for netdb.h... (cached) yes checking for string.h... (cached) yes checking for netinet/in.h... (cached) yes checking for alarm... yes checking for maitretarot.h... yes checking for libmaitretarot... yes checking for GLIB... 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 libmt_client.spec config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-games/libmt_client-0.1.98-r1/work/libmt_client-0.1.98 ... make -j4 make all-recursive make[1]: Entering directory '/var/tmp/portage/dev-games/libmt_client-0.1.98-r1/work/libmt_client-0.1.98' Making all in src make[2]: Entering directory '/var/tmp/portage/dev-games/libmt_client-0.1.98-r1/work/libmt_client-0.1.98/src' /bin/sh ../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/libxml2 -DLIBMT_MAJOR=0 -DLIBMT_MINOR=0 -DLIBMT_MICRO=0 -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/libxml2 -Wall -c -o mt_client_game.lo mt_client_game.c /bin/sh ../libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/libxml2 -DLIBMT_MAJOR=0 -DLIBMT_MINOR=0 -DLIBMT_MICRO=0 -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/libxml2 -Wall -c -o mt_client_player.lo mt_client_player.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/libxml2 -DLIBMT_MAJOR=0 -DLIBMT_MINOR=0 -DLIBMT_MICRO=0 -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/libxml2 -Wall -c mt_client_player.c -fPIC -DPIC -o .libs/mt_client_player.o libtool: compile: x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/libxml2 -DLIBMT_MAJOR=0 -DLIBMT_MINOR=0 -DLIBMT_MICRO=0 -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/libxml2 -Wall -c mt_client_game.c -fPIC -DPIC -o .libs/mt_client_game.o mt_client_player.c: In function 'player_read_data': mt_client_player.c:111:13: warning: Deprecated pre-processor symbol: replace with "memmove" 111 | g_memmove (data, buf, data_size); | ^~~~~~~~~~~~~~~~~~~~~~~ mt_client_player.c: In function 'libmt_client_connect_to_server': mt_client_player.c:255:13: warning: Deprecated pre-processor symbol: replace with "memmove" 255 | g_memmove (nk, p, sizeof (gchar) * len[gi]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mt_client_player.c:258:13: warning: Deprecated pre-processor symbol: replace with "g_string_printf" 258 | g_string_sprintf (player->nick[gi], "%s", nk); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mt_client_player.c: In function 'libmt_client_get_card': mt_client_player.c:542:13: warning: Deprecated pre-processor symbol: replace with "memmove" 542 | g_memmove (player->card_turn, buf, sizeof (gint) * player->nb_player); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mt_client_player.c:544:20: warning: Deprecated pre-processor symbol: replace with "memmove" 544 | sizeof (gint) * player->nb_player); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=link x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -I/usr/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/libxml2 -Wall -lgthread-2.0 -pthread -lglib-2.0 -lxml2 -version-info 0:0:0 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o libmt_client.la -rpath /usr/lib mt_client_game.lo mt_client_player.lo -L/usr/lib -lmaitretarot -lgthread-2.0 -pthread -lglib-2.0 -lxml2 libtool: link: x86_64-gentoo-linux-musl-gcc -shared -fPIC -DPIC .libs/mt_client_game.o .libs/mt_client_player.o -Wl,--as-needed -L/usr/lib -lmaitretarot -lgthread-2.0 -lglib-2.0 -lxml2 -march=native -O2 -pthread -pthread -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -pthread -pthread -Wl,-soname -Wl,libmt_client.so.0 -o .libs/libmt_client.so.0.0.0 /usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.1/../../../../x86_64-gentoo-linux-musl/bin/ld: /usr/lib/libmaitretarot.a(net_consumer.o): warning: relocation against `libmt_buffer' in read-only section `.text' /usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.1/../../../../x86_64-gentoo-linux-musl/bin/ld: /usr/lib/libmaitretarot.a(net.o): relocation R_X86_64_PC32 against symbol `stderr' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.1/../../../../x86_64-gentoo-linux-musl/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status make[2]: *** [Makefile:421: libmt_client.la] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-games/libmt_client-0.1.98-r1/work/libmt_client-0.1.98/src' make[1]: *** [Makefile:412: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-games/libmt_client-0.1.98-r1/work/libmt_client-0.1.98' make: *** [Makefile:342: all] Error 2 * ERROR: dev-games/libmt_client-0.1.98-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-games/libmt_client-0.1.98-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-games/libmt_client-0.1.98-r1::gentoo'`. * The complete build log is located at '/var/log/portage/dev-games:libmt_client-0.1.98-r1:20211215-053000.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-games/libmt_client-0.1.98-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-games/libmt_client-0.1.98-r1/temp/environment'. * Working directory: '/var/tmp/portage/dev-games/libmt_client-0.1.98-r1/work/libmt_client-0.1.98' * S: '/var/tmp/portage/dev-games/libmt_client-0.1.98-r1/work/libmt_client-0.1.98'