* Package: sys-auth/pam-pgsql-0.7.3.2 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking pam-pgsql-0.7.3.2.tar.gz to /var/tmp/portage/sys-auth/pam-pgsql-0.7.3.2/work >>> Source unpacked in /var/tmp/portage/sys-auth/pam-pgsql-0.7.3.2/work >>> Preparing source in /var/tmp/portage/sys-auth/pam-pgsql-0.7.3.2/work/pam-pgsql-0.7.3.2 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-auth/pam-pgsql-0.7.3.2/work/pam-pgsql-0.7.3.2 ... * econf: updating pam-pgsql-0.7.3.2/config.guess with /usr/share/gnuconfig/config.guess * econf: updating pam-pgsql-0.7.3.2/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 --disable-silent-rules --sysconfdir=/etc/security --libdir=/lib --docdir=/usr/share/doc/pam-pgsql-0.7.3.2 configure: loading site script /usr/share/config.site 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 make supports nested variables... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... no 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 style of include used by make... GNU 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 dependency style of x86_64-gentoo-linux-musl-gcc... none 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/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes 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 how to run the C preprocessor... x86_64-gentoo-linux-musl-gcc -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 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-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 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 if x86_64-gentoo-linux-musl-gcc supports -Wl,--no-undefined flag... yes checking for x86_64-gentoo-linux-musl-gcc way to treat warnings as errors... -Werror checking if x86_64-gentoo-linux-musl-gcc supports __attribute__(( visibility("default") ))... yes checking if x86_64-gentoo-linux-musl-gcc supports -fvisibility=hidden... yes checking for library containing crypt... none required checking for security/pam_modules.h... yes checking for security/openpam.h... no checking for security/pam_misc.h... yes checking for pam_get_user in -lpam... yes checking where to install the PAM module... $(libdir)/security checking for openpam_ttyconv... no checking for misc_conv in -lpam_misc... yes checking for pg_config... /usr/bin/pg_config checking for PostgreSQL libraries... yes checking for x86_64-gentoo-linux-musl-libgcrypt-config... /usr/bin/x86_64-gentoo-linux-musl-libgcrypt-config checking for LIBGCRYPT - version >= 1.2.0... yes (1.8.5) checking LIBGCRYPT API version... okay checking where to look for the pam_pgsql.conf file... /etc/security 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 config.status: executing libtool commands >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-auth/pam-pgsql-0.7.3.2/work/pam-pgsql-0.7.3.2 ... make -j1 pammoddir=/lib/security make all-am make[1]: Entering directory '/var/tmp/portage/sys-auth/pam-pgsql-0.7.3.2/work/pam-pgsql-0.7.3.2' /bin/sh ./libtool --tag=CC --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR='"/etc/security"' -Wall -fvisibility=hidden -I/usr/include/postgresql-10 -O2 -pipe -march=native -c -o src/pam_pgsql_la-pam_pgsql.lo `test -f 'src/pam_pgsql.c' || echo './'`src/pam_pgsql.c libtool: compile: x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR=\"/etc/security\" -Wall -fvisibility=hidden -I/usr/include/postgresql-10 -O2 -pipe -march=native -c src/pam_pgsql.c -fPIC -DPIC -o src/.libs/pam_pgsql_la-pam_pgsql.o src/pam_pgsql.c:22: warning: "_XOPEN_SOURCE" redefined 22 | #define _XOPEN_SOURCE | In file included from /usr/include/stdio.h:8, from src/pam_pgsql.c:13: /usr/include/features.h:16: note: this is the location of the previous definition 16 | #define _XOPEN_SOURCE 700 | In file included from src/backend_pgsql.h:6, from src/pam_pgsql.c:28: src/pam_pgsql_options.h:11:10: fatal error: sys/cdefs.h: No such file or directory 11 | #include | ^~~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:562: src/pam_pgsql_la-pam_pgsql.lo] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-auth/pam-pgsql-0.7.3.2/work/pam-pgsql-0.7.3.2' make: *** [Makefile:390: all] Error 2 * ERROR: sys-auth/pam-pgsql-0.7.3.2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-auth/pam-pgsql-0.7.3.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-auth/pam-pgsql-0.7.3.2::gentoo'`. * The complete build log is located at '/var/log/portage/sys-auth:pam-pgsql-0.7.3.2:20200417-105617.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-auth/pam-pgsql-0.7.3.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-auth/pam-pgsql-0.7.3.2/temp/environment'. * Working directory: '/var/tmp/portage/sys-auth/pam-pgsql-0.7.3.2/work/pam-pgsql-0.7.3.2' * S: '/var/tmp/portage/sys-auth/pam-pgsql-0.7.3.2/work/pam-pgsql-0.7.3.2'