* Package: sys-auth/nss_ldap-265-r5 * Repository: gentoo * Maintainer: ldap-bugs@gentoo.org robbat2@gentoo.org,prometheanfire@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux ssl userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking nss_ldap-265.tar.gz to /var/tmp/portage/sys-auth/nss_ldap-265-r5/work >>> Source unpacked in /var/tmp/portage/sys-auth/nss_ldap-265-r5/work >>> Preparing source in /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265 ... * Applying nss_ldap-265-pthread.patch ... [ ok ] * Applying nsswitch.ldap.diff ... [ ok ] * Applying nss_ldap-249-sasl-compile.patch ... [ ok ] * Applying nss_ldap-265-reconnect-timeouts.patch ... [ ok ] * Applying nss_ldap-257-nss_max_group_depth.patch ... [ ok ] * Replacing obsolete head/tail with POSIX compliant ones * - fixed /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/Makefile.am * - fixed /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/Makefile.in * - fixed /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/depcomp * Applying nss_ldap-257.2-gssapi-headers.patch ... [ ok ] * Applying nss_ldap-264-disable-automagic.patch ... [ ok ] * Applying nss_ldap-254-soname.patch ... [ ok ] * Applying nss_ldap-265-missing-entries-oneshot.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265' ... * Running aclocal -I m4 ... [ ok ] * This package has a configure.in file which has long been deprecated. Please * update it to use configure.ac instead as newer versions of autotools will die * when it finds this file. See https://bugs.gentoo.org/426262 for details. * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --force-missing ... [ ok ] * Running elibtoolize in: nss_ldap-265/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_configure * econf: updating nss_ldap-265/config.sub with /usr/share/gnuconfig/config.sub * econf: updating nss_ldap-265/config.guess with /usr/share/gnuconfig/config.guess /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/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 --with-ldap-lib=openldap --with-ldap-conf-file=/etc/ldap.conf --enable-paged-results --enable-rfc2307bis --enable-ssl --disable-sasl --disable-krb --libdir=/lib configure: loading site script /usr/share/config.site 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.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 whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no 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 whether x86_64-gentoo-linux-musl-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-gentoo-linux-musl-gcc... none 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 lber.h usability... yes checking lber.h presence... yes checking for lber.h... yes checking ldap.h usability... yes checking ldap.h presence... yes checking for ldap.h... yes checking ldap_ssl.h usability... no checking ldap_ssl.h presence... no checking for ldap_ssl.h... no checking nss.h usability... yes checking nss.h presence... yes checking for nss.h... yes checking nsswitch.h usability... no checking nsswitch.h presence... no checking for nsswitch.h... no checking irs.h usability... no checking irs.h presence... no checking for irs.h... no checking thread.h usability... no checking thread.h presence... no checking for thread.h... no checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking synch.h usability... no checking synch.h presence... no checking for synch.h... no checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking shadow.h usability... yes checking shadow.h presence... yes checking for shadow.h... yes checking prot.h usability... no checking prot.h presence... no checking for prot.h... no checking port_before.h usability... no checking port_before.h presence... no checking for port_before.h... no checking port_after.h usability... no checking port_after.h presence... no checking for port_after.h... no checking aliases.h usability... no checking aliases.h presence... no checking for aliases.h... no checking net/route.h usability... yes checking net/route.h presence... yes checking for net/route.h... yes checking netinet/if_ether.h usability... yes checking netinet/if_ether.h presence... yes checking for netinet/if_ether.h... yes checking netinet/ether.h usability... yes checking netinet/ether.h presence... yes checking for netinet/ether.h... yes checking arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking arpa/nameser_compat.h usability... yes checking arpa/nameser_compat.h presence... yes checking for arpa/nameser_compat.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking alignof.h usability... no checking alignof.h presence... no checking for alignof.h... no checking rpc/rpcent.h usability... no checking rpc/rpcent.h presence... no checking for rpc/rpcent.h... no checking sys/byteorder.h usability... no checking sys/byteorder.h presence... no checking for sys/byteorder.h... no checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking libc-lock.h usability... no checking libc-lock.h presence... no checking for libc-lock.h... no checking bits/libc-lock.h usability... no checking bits/libc-lock.h presence... no checking for bits/libc-lock.h... no checking for strings.h... (cached) yes checking for main in -lresolv... yes checking for main in -lnsl... yes checking for main in -lsocket... no checking for strtok_r... yes checking for sigaction... yes checking for sigset... yes checking for res_search... yes checking for dn_expand... yes checking resolv.h usability... yes checking resolv.h presence... yes checking for resolv.h... yes checking for snprintf... yes checking for gethostbyname... yes checking for nsdispatch... no checking for ether_aton... yes checking for ether_ntoa... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking for main in -lpthread_nonshared... no checking for pthread_atfork... yes checking for pthread_once... yes checking for __libc_once... no checking for __libc_atfork... no checking for __libc_lock_lock... no checking for __libc_lock_unlock... no checking for struct ether_addr... yes checking for socklen_t... yes checking for pw_change in struct passwd... no checking for pw_expire in struct passwd... no checking size of unsigned int... 4 checking size of unsigned long... 8 checking size of uid_t... 4 checking size of gid_t... 4 checking for dlopen in -ldl... yes checking for main in -lcom_err... yes checking for main in -llber... yes checking for main in -lldap... yes checking for ldap_init... yes checking for ldap_get_lderrno... no checking for ldap_parse_result... yes checking for ldap_memfree... yes checking for ldap_controls_free... yes checking for ldap_ld_free... yes checking for ldap_explode_rdn... yes checking for ldap_set_option... yes checking for ldap_get_option... yes checking for ldap_initialize... yes checking for ldap_search_ext... yes checking for ldap_create_control... yes checking for ldap_create_page_control... yes checking for ldap_parse_page_control... yes checking for ldapssl_client_init... no checking for ldap_start_tls_s... yes checking for ldap_pvt_tls_set_option... yes checking for ldap_start_tls... yes checking for gethostbyname_r... yes checking whether gethostbyname_r takes 6 arguments... 6 checking for ldap_set_rebind_proc... yes checking whether ldap_set_rebind_proc takes 3 arguments... 3 checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_compile make -j1 make all-am make[1]: Entering directory '/var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265-abi_x86_64.amd64' x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265 -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -O2 -pipe -march=native -Wall -fPIC -c -o ldap-nss.o /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-nss.c /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-nss.c: In function ‘do_init’: /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-nss.c:1106:9: warning: unused variable ‘pid’ [-Wunused-variable] 1106 | pid_t pid; | ^~~ /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-nss.c: In function ‘do_next_page’: /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-nss.c:3287:7: warning: variable ‘scope’ set but not used [-Wunused-but-set-variable] 3287 | int scope; | ^~~~~ At top level: /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-nss.c:163:14: warning: ‘__pid’ defined but not used [-Wunused-variable] 163 | static pid_t __pid = -1; | ^~~~~ /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-nss.c:21:13: warning: ‘rcsId’ defined but not used [-Wunused-variable] 21 | static char rcsId[] = | ^~~~~ /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-nss.c: In function ‘do_filter.constprop’: /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-nss.c:2415:45: warning: ‘))’ directive output may be truncated writing 2 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 2415 | snprintf (userBuf, userBufSiz, "%s(%s))", | ^~ /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-nss.c:2415:8: note: ‘snprintf’ output 4 or more bytes (assuming 1027) into a destination of size 1024 2415 | snprintf (userBuf, userBufSiz, "%s(%s))", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2416 | filterBufP, sd->lsd_filter); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-nss.c: In function ‘_nss_ldap_assign_attrvals’: /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-nss.c:3621:4: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 3621 | strncpy (elt, *valiter, vallen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-nss.c:3609:13: note: length computed here 3609 | vallen = strlen (*valiter); | ^~~~~~~~~~~~~~~~~ /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-nss.c: In function ‘_nss_ldap_assign_userpassword’: /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-nss.c:3808:3: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 3808 | strncpy (*valptr, pwd, vallen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-nss.c:3794:12: note: length computed here 3794 | vallen = strlen (pwd); | ^~~~~~~~~~~~ /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-nss.c: In function ‘_nss_ldap_assign_attrval’: /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-nss.c:3691:4: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 3691 | strncpy (*valptr, def, vallen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-nss.c:3683:13: note: length computed here 3683 | vallen = strlen (def); | ^~~~~~~~~~~~ /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-nss.c:3663:7: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 3663 | strncpy (*valptr, ovr, vallen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-nss.c:3655:16: note: length computed here 3655 | vallen = strlen (ovr); | ^~~~~~~~~~~~ x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265 -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -O2 -pipe -march=native -Wall -fPIC -c -o ldap-pwd.o /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-pwd.c /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-pwd.c:21:13: warning: ‘rcsId’ defined but not used [-Wunused-variable] 21 | static char rcsId[] = | ^~~~~ x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265 -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -O2 -pipe -march=native -Wall -fPIC -c -o ldap-grp.o /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-grp.c /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-grp.c: In function ‘do_parse_initgroups_nested’: /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-grp.c:824:15: warning: variable ‘stat’ set but not used [-Wunused-but-set-variable] 824 | NSS_STATUS stat; | ^~~~ At top level: /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-grp.c:21:13: warning: ‘rcsId’ defined but not used [-Wunused-variable] 21 | static char rcsId[] = | ^~~~~ x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265 -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -O2 -pipe -march=native -Wall -fPIC -c -o ldap-netgrp.o /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-netgrp.c /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-netgrp.c:24:13: warning: ‘rcsId’ defined but not used [-Wunused-variable] 24 | static char rcsId[] = | ^~~~~ x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265 -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -O2 -pipe -march=native -Wall -fPIC -c -o ldap-rpc.o /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-rpc.c /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-rpc.c: In function ‘_nss_ldap_parse_rpc’: /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-rpc.c:87:53: error: dereferencing pointer to incomplete type ‘struct rpcent’ 87 | _nss_ldap_getrdnvalue (e, ATM (LM_RPC, cn), &rpc->r_name, &buffer, | ^~ /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-rpc.c: At top level: /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-rpc.c:121:52: warning: ‘struct rpcent’ declared inside parameter list will not be visible outside of this definition or declaration 121 | _nss_ldap_getrpcbyname_r (const char *name, struct rpcent *result, | ^~~~~~ /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-rpc.c:139:48: warning: ‘struct rpcent’ declared inside parameter list will not be visible outside of this definition or declaration 139 | _nss_ldap_getrpcbynumber_r (int number, struct rpcent *result, | ^~~~~~ /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-rpc.c:181:31: warning: ‘struct rpcent’ declared inside parameter list will not be visible outside of this definition or declaration 181 | _nss_ldap_getrpcent_r (struct rpcent *result, char *buffer, size_t buflen, | ^~~~~~ /var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265/ldap-rpc.c:30:13: warning: ‘rcsId’ defined but not used [-Wunused-variable] 30 | static char rcsId[] = | ^~~~~ make[1]: *** [Makefile:509: ldap-rpc.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265-abi_x86_64.amd64' make: *** [Makefile:401: all] Error 2 * ERROR: sys-auth/nss_ldap-265-r5::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-auth/nss_ldap-265-r5::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-auth/nss_ldap-265-r5::gentoo'`. * The complete build log is located at '/var/log/portage/sys-auth:nss_ldap-265-r5:20200411-035753.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-auth/nss_ldap-265-r5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-auth/nss_ldap-265-r5/temp/environment'. * Working directory: '/var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265-abi_x86_64.amd64' * S: '/var/tmp/portage/sys-auth/nss_ldap-265-r5/work/nss_ldap-265'