* Package: dev-games/libnw-1.30.02 * 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 libnw-1.30.02.tar.gz to /var/tmp/portage/dev-games/libnw-1.30.02/work >>> Source unpacked in /var/tmp/portage/dev-games/libnw-1.30.02/work >>> Preparing source in /var/tmp/portage/dev-games/libnw-1.30.02/work/libnw-1.30.02 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-games/libnw-1.30.02/work/libnw-1.30.02 ... * econf: updating libnw-1.30.02/config.sub with /usr/share/gnuconfig/config.sub * econf: updating libnw-1.30.02/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 --libdir=/usr/lib creating cache ./config.cache checking for a BSD compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for gawk... gawk checking for gcc... x86_64-gentoo-linux-musl-gcc checking whether the C compiler (x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) works... yes checking whether the C compiler (x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) is a cross-compiler... no checking whether we are using GNU C... yes checking whether x86_64-gentoo-linux-musl-gcc accepts -g... yes checking for c++... x86_64-gentoo-linux-musl-g++ checking whether the C++ compiler (x86_64-gentoo-linux-musl-g++ -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) works... yes checking whether the C++ compiler (x86_64-gentoo-linux-musl-g++ -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether x86_64-gentoo-linux-musl-g++ accepts -g... yes checking for a BSD compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether ln -s works... yes checking how to run the C preprocessor... x86_64-gentoo-linux-musl-gcc -E checking for flex... flex checking for flex... (cached) flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for bison... bison -y checking for Cygwin environment... no checking for mingw32 environment... no checking host system type... x86_64-gentoo-linux-musl checking build system type... x86_64-gentoo-linux-musl checking for ld used by 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 /usr/x86_64-gentoo-linux-musl/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognise dependant libraries... unknown checking for object suffix... o checking for executable suffix... no checking command to parse /usr/bin/nm -B output... ok checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for x86_64-gentoo-linux-musl-gcc option to produce PIC... -fPIC checking if x86_64-gentoo-linux-musl-gcc PIC flag -fPIC 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.lo... yes checking if x86_64-gentoo-linux-musl-gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/x86_64-gentoo-linux-musl/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... no checking if libtool supports shared libraries... no checking whether -lc should be explicitly linked in... no creating libtool checking for perl... /usr/bin/perl checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for malloc.h... yes checking for memory.h... yes checking for stddef.h... yes checking for stdlib.h... yes checking for string.h... yes checking for unistd.h... yes checking for endian.h... yes checking for machine/endian.h... no checking for getopt.h... yes checking for sys/time.h... yes checking for ctype.h... yes checking for working const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking whether byte ordering is bigendian... no checking for size_t... yes checking for memset... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strncasecmp... yes checking for strrchr... yes checking for strspn... yes checking for strtol... yes updating cache ./config.cache creating ./config.status creating README creating Makefile creating Doxyfile creating libnw/Makefile creating libnw/agg_toc_load.3 creating libnw/agg_toc_del.3 creating libnw/agg_create.3 creating libnw/bif_toc_load.3 creating libnw/get_game_dir.3 creating libnw/read_key.3 creating include/Makefile creating nwresext/Makefile creating nwresext/nwresext.1 creating nwtsmerge/Makefile creating nwtsmerge/nwtsmerge.1 creating itpdis/Makefile creating itpdis/itpdis.1 creating nwaggext/Makefile creating nwaggext/nwaggext.1 creating nwtsrefs/Makefile creating nwtsrefs/nwtsrefs.1 creating nwtsfix/Makefile creating nwtsfix/nwtsfix.1 creating xml/Makefile creating nwstrref/Makefile creating nwstrref/nwstrref.1 creating nw2da2csv/Makefile creating nw2da2csv/nw2da2csv.1 creating nwmrgplc/Makefile creating nwmrgplc/nwmrgplc.1 creating nwareamap/Makefile creating nwareamap/nwareamap.1 creating plistcheck/Makefile creating config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-games/libnw-1.30.02/work/libnw-1.30.02 ... make -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/dev-games/libnw-1.30.02/work/libnw-1.30.02' Making all in libnw make[2]: Entering directory '/var/tmp/portage/dev-games/libnw-1.30.02/work/libnw-1.30.02/libnw' /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c bif_toc.c mkdir .libs x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c bif_toc.c -fPIC -DPIC -o .libs/bif_toc.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c bif_toc.c -o bif_toc.o >/dev/null 2>&1 mv -f .libs/bif_toc.lo bif_toc.lo /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c dump.c rm -f .libs/dump.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c dump.c -fPIC -DPIC -o .libs/dump.lo dump.c: In function 'dump_all': dump.c:40:6: warning: variable 'ressect' set but not used [-Wunused-but-set-variable] 40 | int ressect; | ^~~~~~~ dump.c: In function 'resref2bifidx': dump.c:319:2: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 319 | strncpy(r.name, name, sizeof r.name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c dump.c -o dump.o >/dev/null 2>&1 mv -f .libs/dump.lo dump.lo /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c key.c rm -f .libs/key.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c key.c -fPIC -DPIC -o .libs/key.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c key.c -o key.o >/dev/null 2>&1 mv -f .libs/key.lo key.lo /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c restyp.c rm -f .libs/restyp.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c restyp.c -fPIC -DPIC -o .libs/restyp.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c restyp.c -o restyp.o >/dev/null 2>&1 mv -f .libs/restyp.lo restyp.lo /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c str2arr.c rm -f .libs/str2arr.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c str2arr.c -fPIC -DPIC -o .libs/str2arr.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c str2arr.c -o str2arr.o >/dev/null 2>&1 mv -f .libs/str2arr.lo str2arr.lo /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c version.c rm -f .libs/version.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c version.c -fPIC -DPIC -o .libs/version.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c version.c -o version.o >/dev/null 2>&1 mv -f .libs/version.lo version.lo /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c v.c rm -f .libs/v.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c v.c -fPIC -DPIC -o .libs/v.lo v.c: In function 'vnew': v.c:114:3: warning: 'memset' used with constant zero length parameter; this could be due to transposed parameters [-Wmemset-transposed-args] 114 | memset(vp->p, i * sizeof (void*), 0); | ^~~~~~ x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c v.c -o v.o >/dev/null 2>&1 mv -f .libs/v.lo v.lo /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c agg_toc.c rm -f .libs/agg_toc.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c agg_toc.c -fPIC -DPIC -o .libs/agg_toc.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c agg_toc.c -o agg_toc.o >/dev/null 2>&1 mv -f .libs/agg_toc.lo agg_toc.lo /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c agg_create.c rm -f .libs/agg_create.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c agg_create.c -fPIC -DPIC -o .libs/agg_create.lo agg_create.c: In function 'agg_create': agg_create.c:116:3: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 116 | strncpy(toc->head->signature, MOD_SIGNATURE, sizeof toc->head->signature); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ agg_create.c:117:3: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 117 | strncpy(toc->head->version, MOD_VERSION, sizeof toc->head->version); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ agg_create.c:121:3: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 121 | strncpy(toc->head->signature, HAK_SIGNATURE, sizeof toc->head->signature); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ agg_create.c:122:3: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 122 | strncpy(toc->head->version, HAK_VERSION, sizeof toc->head->version); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ agg_create.c:126:3: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 126 | strncpy(toc->head->signature, ERF_SIGNATURE, sizeof toc->head->signature); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ agg_create.c:127:3: warning: 'strncpy' output truncated before terminating nul copying 4 bytes from a string of the same length [-Wstringop-truncation] 127 | strncpy(toc->head->version, ERF_VERSION, sizeof toc->head->version); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ agg_create.c:217:3: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 217 | strncpy(rp->name, argv[i], sizeof rp->name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c agg_create.c -o agg_create.o >/dev/null 2>&1 mv -f .libs/agg_create.lo agg_create.lo /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c sety.c rm -f .libs/sety.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c sety.c -fPIC -DPIC -o .libs/sety.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c sety.c -o sety.o >/dev/null 2>&1 mv -f .libs/sety.lo sety.lo /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c setl.c rm -f .libs/setl.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c setl.c -fPIC -DPIC -o .libs/setl.lo In file included from setl.l:26: setl.c: In function 'nwset_lex': ../include/set.h:134:12: warning: unused variable 'nwset_debug' [-Wunused-variable] 134 | extern int nwset_debug; /* equivalent to yydebug */ | ^~~~~~~~~~~ At top level: setl.c:2242:12: warning: 'input' defined but not used [-Wunused-function] 2242 | static int input() | ^~~~~ setl.c:2195:13: warning: 'yyunput' defined but not used [-Wunused-function] 2195 | static void yyunput( int c, register char *yy_bp ) | ^~~~~~~ x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c setl.c -o setl.o >/dev/null 2>&1 mv -f .libs/setl.lo setl.lo /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c nwnfopen.c rm -f .libs/nwnfopen.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c nwnfopen.c -fPIC -DPIC -o .libs/nwnfopen.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c nwnfopen.c -o nwnfopen.o >/dev/null 2>&1 mv -f .libs/nwnfopen.lo nwnfopen.lo /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c strref.c rm -f .libs/strref.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c strref.c -fPIC -DPIC -o .libs/strref.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c strref.c -o strref.o >/dev/null 2>&1 mv -f .libs/strref.lo strref.lo /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c gamedir.c rm -f .libs/gamedir.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c gamedir.c -fPIC -DPIC -o .libs/gamedir.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c gamedir.c -o gamedir.o >/dev/null 2>&1 mv -f .libs/gamedir.lo gamedir.lo /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c make_2da.c rm -f .libs/make_2da.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c make_2da.c -fPIC -DPIC -o .libs/make_2da.lo make_2da.c: In function 'bin22da': make_2da.c:140:55: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=] 140 | fprintf(stderr, "%s(%s): Can't allocate element (%d) @[%d,%d] for 2DA!\n", | ~^ | | | int | %ld 141 | MyName, "make_2da", 1 + (sp - cp), orow, j); | ~~~~~~~~~~~~~ | | | long int x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c make_2da.c -o make_2da.o >/dev/null 2>&1 mv -f .libs/make_2da.lo make_2da.lo /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c bendian.c rm -f .libs/bendian.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c bendian.c -fPIC -DPIC -o .libs/bendian.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c bendian.c -o bendian.o >/dev/null 2>&1 mv -f .libs/bendian.lo bendian.lo /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c global.c rm -f .libs/global.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c global.c -fPIC -DPIC -o .libs/global.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c global.c -o global.o >/dev/null 2>&1 mv -f .libs/global.lo global.lo /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c plist.c rm -f .libs/plist.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c plist.c -fPIC -DPIC -o .libs/plist.lo plist.c: In function 'decode_data': plist.c:214:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 214 | op->val.f = *((float*) &dp->data); | ~^~~~~~~~~~~~~~~~~~~ plist.c: In function 'add_entry': plist.c:443:2: warning: #warning not finished [-Wcpp] 443 | #warning not finished | ^~~~~~~ plist.c: In function 'plist2resc': plist.c:501:1: warning: control reaches end of non-void function [-Wreturn-type] 501 | } | ^ plist.c: In function 'plist2resc1obj': plist.c:677:1: warning: control reaches end of non-void function [-Wreturn-type] 677 | } | ^ plist.c:595:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 595 | strncpy(&buf[1], o->val.s, buf[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plist.c:594:12: note: length computed here 594 | buf[0] = strlen(o->val.s); | ^~~~~~~~~~~~~~~~ plist.c: In function 'cvt_from_plist': plist.c:427:2: warning: 'strncpy' specified bound 4 equals destination size [-Wstringop-truncation] 427 | strncpy( header.signature, sig, 4 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ plist.c:428:2: warning: 'strncpy' specified bound 4 equals destination size [-Wstringop-truncation] 428 | strncpy( header.version, ver, 4 ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c plist.c -o plist.o >/dev/null 2>&1 mv -f .libs/plist.lo plist.lo /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c agg_load.c rm -f .libs/agg_load.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c agg_load.c -fPIC -DPIC -o .libs/agg_load.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c agg_load.c -o agg_load.o >/dev/null 2>&1 mv -f .libs/agg_load.lo agg_load.lo /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c plist2are.c rm -f .libs/plist2are.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c plist2are.c -fPIC -DPIC -o .libs/plist2are.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c plist2are.c -o plist2are.o >/dev/null 2>&1 mv -f .libs/plist2are.lo plist2are.lo /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c mdly.c rm -f .libs/mdly.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c mdly.c -fPIC -DPIC -o .libs/mdly.lo mdly.y: In function 'nwmdl_parse': mdly.y:217:20: warning: assignment to 'struct nwn_mdl_node *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types] 217 | cur_Node->parent = $2; | ^ mdly.y:250:20: warning: assignment to 'struct nwn_mdl_node *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types] 250 | cur_Node->parent = $2; | ^ mdly.y:362:20: warning: assignment to 'struct nwn_mdl_node *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types] 362 | cur_Node->parent = $2; | ^ x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c mdly.c -o mdly.o >/dev/null 2>&1 mv -f .libs/mdly.lo mdly.lo /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c mdll.c rm -f .libs/mdll.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c mdll.c -fPIC -DPIC -o .libs/mdll.lo In file included from mdll.l:26: mdll.c: In function 'nwmdl_lex': ../include/mdl.h:231:12: warning: unused variable 'nwmdl_debug' [-Wunused-variable] 231 | extern int nwmdl_debug; /* equivalent to yydebug */ | ^~~~~~~~~~~ At top level: mdll.c:1592:12: warning: 'input' defined but not used [-Wunused-function] 1592 | static int input() | ^~~~~ mdll.c:1545:13: warning: 'yyunput' defined but not used [-Wunused-function] 1545 | static void yyunput( int c, register char *yy_bp ) | ^~~~~~~ x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c mdll.c -o mdll.o >/dev/null 2>&1 mv -f .libs/mdll.lo mdll.lo /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c plist2ifo.c rm -f .libs/plist2ifo.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c plist2ifo.c -fPIC -DPIC -o .libs/plist2ifo.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c plist2ifo.c -o plist2ifo.o >/dev/null 2>&1 mv -f .libs/plist2ifo.lo plist2ifo.lo /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c plist2utd.c rm -f .libs/plist2utd.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c plist2utd.c -fPIC -DPIC -o .libs/plist2utd.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c plist2utd.c -o plist2utd.o >/dev/null 2>&1 mv -f .libs/plist2utd.lo plist2utd.lo /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c plist2ute.c rm -f .libs/plist2ute.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c plist2ute.c -fPIC -DPIC -o .libs/plist2ute.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c plist2ute.c -o plist2ute.o >/dev/null 2>&1 mv -f .libs/plist2ute.lo plist2ute.lo /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c plist2utp.c rm -f .libs/plist2utp.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c plist2utp.c -fPIC -DPIC -o .libs/plist2utp.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c plist2utp.c -o plist2utp.o >/dev/null 2>&1 mv -f .libs/plist2utp.lo plist2utp.lo /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c plist2utc.c rm -f .libs/plist2utc.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c plist2utc.c -fPIC -DPIC -o .libs/plist2utc.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c plist2utc.c -o plist2utc.o >/dev/null 2>&1 mv -f .libs/plist2utc.lo plist2utc.lo /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c plist2dlg.c rm -f .libs/plist2dlg.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c plist2dlg.c -fPIC -DPIC -o .libs/plist2dlg.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c plist2dlg.c -o plist2dlg.o >/dev/null 2>&1 mv -f .libs/plist2dlg.lo plist2dlg.lo /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c plist2gic.c rm -f .libs/plist2gic.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c plist2gic.c -fPIC -DPIC -o .libs/plist2gic.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c plist2gic.c -o plist2gic.o >/dev/null 2>&1 mv -f .libs/plist2gic.lo plist2gic.lo /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c plist2utt.c rm -f .libs/plist2utt.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c plist2utt.c -fPIC -DPIC -o .libs/plist2utt.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c plist2utt.c -o plist2utt.o >/dev/null 2>&1 mv -f .libs/plist2utt.lo plist2utt.lo /bin/sh ../libtool --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c exmem.c rm -f .libs/exmem.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c exmem.c -fPIC -DPIC -o .libs/exmem.lo x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Wall -O2 -pipe -march=native -c exmem.c -o exmem.o >/dev/null 2>&1 mv -f .libs/exmem.lo exmem.lo /bin/sh ../libtool --mode=link x86_64-gentoo-linux-musl-gcc -Wall -O2 -pipe -march=native -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o libnw.la -rpath /usr/lib bif_toc.lo dump.lo key.lo restyp.lo str2arr.lo version.lo v.lo agg_toc.lo agg_create.lo sety.lo setl.lo nwnfopen.lo strref.lo gamedir.lo make_2da.lo bendian.lo global.lo plist.lo agg_load.lo plist2are.lo mdly.lo mdll.lo plist2ifo.lo plist2utd.lo plist2ute.lo plist2utp.lo plist2utc.lo plist2dlg.lo plist2gic.lo plist2utt.lo exmem.lo rm -fr .libs/libnw.la .libs/libnw.* .libs/libnw.* ../libtool: line 3142: shift: shift count out of range x86_64-gentoo-linux-musl-gcc -shared bif_toc.lo dump.lo key.lo restyp.lo str2arr.lo version.lo v.lo agg_toc.lo agg_create.lo sety.lo setl.lo nwnfopen.lo strref.lo gamedir.lo make_2da.lo bendian.lo global.lo plist.lo agg_load.lo plist2are.lo mdly.lo mdll.lo plist2ifo.lo plist2utd.lo plist2ute.lo plist2utp.lo plist2utc.lo plist2dlg.lo plist2gic.lo plist2utt.lo exmem.lo -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-soname -Wl, -o .libs/ /usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: SONAME must not be empty string; ignored /usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: cannot open output file .libs/: Is a directory collect2: error: ld returned 1 exit status make[2]: *** [Makefile:241: libnw.la] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-games/libnw-1.30.02/work/libnw-1.30.02/libnw' make[1]: *** [Makefile:161: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-games/libnw-1.30.02/work/libnw-1.30.02' make: *** [Makefile:305: all-recursive-am] Error 2 * ERROR: dev-games/libnw-1.30.02::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-games/libnw-1.30.02::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-games/libnw-1.30.02::gentoo'`. * The complete build log is located at '/var/log/portage/dev-games:libnw-1.30.02:20200330-144713.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-games/libnw-1.30.02/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-games/libnw-1.30.02/temp/environment'. * Working directory: '/var/tmp/portage/dev-games/libnw-1.30.02/work/libnw-1.30.02' * S: '/var/tmp/portage/dev-games/libnw-1.30.02/work/libnw-1.30.02'