* Package: sys-auth/nss-myhostname-0.3 * Repository: musl * Maintainer: freedesktop-bugs@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux split-usr userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking nss-myhostname-0.3.tar.gz to /var/tmp/portage/sys-auth/nss-myhostname-0.3/work >>> Source unpacked in /var/tmp/portage/sys-auth/nss-myhostname-0.3/work >>> Preparing source in /var/tmp/portage/sys-auth/nss-myhostname-0.3/work/nss-myhostname-0.3 ... * Applying 0001-nss-myhostname-Check-for-nss.h-presense-before-use.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-auth/nss-myhostname-0.3/work/nss-myhostname-0.3 ... * econf: updating nss-myhostname-0.3/config.guess with /usr/share/gnuconfig/config.guess * econf: updating nss-myhostname-0.3/config.sub with /usr/share/gnuconfig/config.sub ./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 --libdir=/usr/lib --disable-lynx 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 we are using the GNU C compiler... yes checking whether x86_64-gentoo-linux-musl-gcc accepts -g... yes checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... x86_64-gentoo-linux-musl-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 for a BSD-compatible install... /usr/lib/portage/python3.6/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 for style of include used by make... GNU checking how to create a pax tar archive... gnutar checking dependency style of x86_64-gentoo-linux-musl-gcc... none checking for x86_64-gentoo-linux-musl-gcc... (cached) x86_64-gentoo-linux-musl-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-gentoo-linux-musl-gcc accepts -g... (cached) yes checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C89... (cached) none needed checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C99... none needed checking how to run the C preprocessor... x86_64-gentoo-linux-musl-gcc -E checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking if x86_64-gentoo-linux-musl-gcc supports -Wall flag... yes checking if x86_64-gentoo-linux-musl-gcc supports -W flag... yes checking if x86_64-gentoo-linux-musl-gcc supports -Wextra flag... yes checking if x86_64-gentoo-linux-musl-gcc supports -pedantic flag... yes checking if x86_64-gentoo-linux-musl-gcc supports -pipe flag... yes checking if x86_64-gentoo-linux-musl-gcc supports -Wformat flag... yes checking if x86_64-gentoo-linux-musl-gcc supports -Wold-style-definition flag... yes checking if x86_64-gentoo-linux-musl-gcc supports -Wdeclaration-after-statement flag... yes checking if x86_64-gentoo-linux-musl-gcc supports -Wfloat-equal flag... yes checking if x86_64-gentoo-linux-musl-gcc supports -Wmissing-declarations flag... yes checking if x86_64-gentoo-linux-musl-gcc supports -Wmissing-prototypes flag... yes checking if x86_64-gentoo-linux-musl-gcc supports -Wstrict-prototypes flag... yes checking if x86_64-gentoo-linux-musl-gcc supports -Wredundant-decls flag... yes checking if x86_64-gentoo-linux-musl-gcc supports -Wmissing-noreturn flag... yes checking if x86_64-gentoo-linux-musl-gcc supports -Wshadow flag... yes checking if x86_64-gentoo-linux-musl-gcc supports -Wendif-labels flag... yes checking if x86_64-gentoo-linux-musl-gcc supports -Wpointer-arith flag... yes checking if x86_64-gentoo-linux-musl-gcc supports -Wcast-align flag... yes checking if x86_64-gentoo-linux-musl-gcc supports -Wwrite-strings flag... yes checking if x86_64-gentoo-linux-musl-gcc supports -Winline flag... yes checking if x86_64-gentoo-linux-musl-gcc supports -Wno-unused-parameter flag... yes checking if x86_64-gentoo-linux-musl-gcc supports -ffast-math flag... yes checking if x86_64-gentoo-linux-musl-gcc supports -fvisibility=hidden flag... yes checking if x86_64-gentoo-linux-musl-gcc supports -fdiagnostics-show-option flag... yes checking build system type... x86_64-gentoo-linux-musl checking host system type... x86_64-gentoo-linux-musl 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-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/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 98304 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes 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/nm -B output from x86_64-gentoo-linux-musl-gcc object... ok checking for sysroot... no checking for x86_64-gentoo-linux-musl-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-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 ANSI C header files... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) 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 for stdlib.h... (cached) yes checking for string.h... (cached) yes 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 unistd.h... (cached) yes checking nss.h usability... yes checking nss.h presence... yes checking for nss.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... 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 for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for gethostbyaddr... yes checking for gethostbyname... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for memset... yes checking for select... yes checking for socket... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strcasecmp... yes checking for strspn... yes configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating doc/README.html config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-auth/nss-myhostname-0.3/work/nss-myhostname-0.3 ... make -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/sys-auth/nss-myhostname-0.3/work/nss-myhostname-0.3' make[2]: Entering directory '/var/tmp/portage/sys-auth/nss-myhostname-0.3/work/nss-myhostname-0.3' \ # source='nss-myhostname.c' object='nss-myhostname.lo' libtool=yes /bin/sh ./libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -include ./config.h -O2 -pipe -march=native -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter -ffast-math -fvisibility=hidden -fdiagnostics-show-option -c -o nss-myhostname.lo nss-myhostname.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -include ./config.h -O2 -pipe -march=native -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter -ffast-math -fvisibility=hidden -fdiagnostics-show-option -c nss-myhostname.c -fPIC -DPIC -o .libs/nss-myhostname.o nss-myhostname.c:70:24: warning: 'struct gaih_addrtuple' declared inside parameter list will not be visible outside of this definition or declaration 70 | struct gaih_addrtuple **pat, | ^~~~~~~~~~~~~~ nss-myhostname.c:114:24: warning: 'struct gaih_addrtuple' declared inside parameter list will not be visible outside of this definition or declaration 114 | struct gaih_addrtuple **pat, | ^~~~~~~~~~~~~~ nss-myhostname.c:112:17: error: conflicting types for '_nss_myhostname_gethostbyname4_r' 112 | enum nss_status _nss_myhostname_gethostbyname4_r( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nss-myhostname.c:68:17: note: previous declaration of '_nss_myhostname_gethostbyname4_r' was here 68 | enum nss_status _nss_myhostname_gethostbyname4_r( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nss-myhostname.c: In function '_nss_myhostname_gethostbyname4_r': nss-myhostname.c:147:38: error: invalid application of 'sizeof' to incomplete type 'struct gaih_addrtuple' 147 | ms = ALIGN(l+1)+ALIGN(sizeof(struct gaih_addrtuple))*(n_addresses > 0 ? n_addresses : 2); | ^~~~~~ nss-myhostname.c:66:21: note: in definition of macro 'ALIGN' 66 | #define ALIGN(a) (((a+sizeof(void*)-1)/sizeof(void*))*sizeof(void*)) | ^ nss-myhostname.c:163:24: error: dereferencing pointer to incomplete type 'struct gaih_addrtuple' 163 | r_tuple->next = r_tuple_prev; | ^~ nss-myhostname.c:169:37: error: invalid application of 'sizeof' to incomplete type 'struct gaih_addrtuple' 169 | idx += ALIGN(sizeof(struct gaih_addrtuple)); | ^~~~~~ nss-myhostname.c:66:21: note: in definition of macro 'ALIGN' 66 | #define ALIGN(a) (((a+sizeof(void*)-1)/sizeof(void*))*sizeof(void*)) | ^ nss-myhostname.c:180:37: error: invalid application of 'sizeof' to incomplete type 'struct gaih_addrtuple' 180 | idx += ALIGN(sizeof(struct gaih_addrtuple)); | ^~~~~~ nss-myhostname.c:66:21: note: in definition of macro 'ALIGN' 66 | #define ALIGN(a) (((a+sizeof(void*)-1)/sizeof(void*))*sizeof(void*)) | ^ nss-myhostname.c:193:37: error: invalid application of 'sizeof' to incomplete type 'struct gaih_addrtuple' 193 | idx += ALIGN(sizeof(struct gaih_addrtuple)); | ^~~~~~ nss-myhostname.c:66:21: note: in definition of macro 'ALIGN' 66 | #define ALIGN(a) (((a+sizeof(void*)-1)/sizeof(void*))*sizeof(void*)) | ^ make[2]: *** [Makefile:443: nss-myhostname.lo] Error 1 make[2]: Leaving directory '/var/tmp/portage/sys-auth/nss-myhostname-0.3/work/nss-myhostname-0.3' make[1]: *** [Makefile:463: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-auth/nss-myhostname-0.3/work/nss-myhostname-0.3' make: *** [Makefile:322: all] Error 2 * ERROR: sys-auth/nss-myhostname-0.3::musl failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-auth/nss-myhostname-0.3::musl'`, * the complete build log and the output of `emerge -pqv '=sys-auth/nss-myhostname-0.3::musl'`. * The complete build log is located at '/var/log/portage/sys-auth:nss-myhostname-0.3:20200405-060449.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-auth/nss-myhostname-0.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-auth/nss-myhostname-0.3/temp/environment'. * Working directory: '/var/tmp/portage/sys-auth/nss-myhostname-0.3/work/nss-myhostname-0.3' * S: '/var/tmp/portage/sys-auth/nss-myhostname-0.3/work/nss-myhostname-0.3'