>>> nss_wrapper: Building community/nss_wrapper 1.1.12-r0 (using abuild 3.11.0_rc13-r0) started Sat, 22 Apr 2023 22:47:02 +0000 >>> nss_wrapper: Checking sanity of /home/buildozer/aports/community/nss_wrapper/APKBUILD... >>> nss_wrapper: Analyzing dependencies... >>> nss_wrapper: Installing for build: build-base cmake musl-nscd-dev samurai cmocka-dev (1/15) Installing libbz2 (1.0.8-r5) (2/15) Installing xz-libs (5.4.2-r1) (3/15) Installing libarchive (3.6.2-r2) (4/15) Installing libformw (6.4_p20230401-r5) (5/15) Installing rhash-libs (1.4.3-r2) (6/15) Installing libuv (1.44.2-r2) (7/15) Installing cmake (3.26.3-r1) (8/15) Installing m4 (1.4.19-r3) (9/15) Installing bison (3.8.2-r1) (10/15) Installing flex (2.6.4-r5) (11/15) Installing musl-nscd-dev (1.1.1-r3) (12/15) Installing samurai (1.2-r3) (13/15) Installing cmocka (1.1.7-r2) (14/15) Installing cmocka-dev (1.1.7-r2) (15/15) Installing .makedepends-nss_wrapper (20230422.224708) Executing busybox-1.36.0-r7.trigger OK: 463 MiB in 113 packages >>> nss_wrapper: Cleaning up srcdir >>> nss_wrapper: Cleaning up pkgdir >>> nss_wrapper: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/nss_wrapper-1.1.12.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> nss_wrapper: Fetching https://ftp.samba.org/pub/cwrap/nss_wrapper-1.1.12.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 171k 100 171k 0 0 303k 0 --:--:-- --:--:-- --:--:-- 303k >>> nss_wrapper: Fetching https://distfiles.alpinelinux.org/distfiles/v3.18/nss_wrapper-1.1.12.tar.gz >>> nss_wrapper: Checking sha512sums... nss_wrapper-1.1.12.tar.gz: OK >>> nss_wrapper: Unpacking /var/cache/distfiles/v3.18/nss_wrapper-1.1.12.tar.gz... -- The C compiler identification is GNU 12.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Performing Test REQUIRED_FLAGS_WERROR -- Performing Test REQUIRED_FLAGS_WERROR - Success -- Performing Test WITH_STD_GNU99_FLAG -- Performing Test WITH_STD_GNU99_FLAG - Success -- Performing Test WITH_WALL_FLAG -- Performing Test WITH_WALL_FLAG - Success -- Performing Test WITH_WSHADOW_FLAG -- Performing Test WITH_WSHADOW_FLAG - Success -- Performing Test WITH_WMISSING_PROTOTYPES_FLAG -- Performing Test WITH_WMISSING_PROTOTYPES_FLAG - Success -- Performing Test WITH_WCAST_ALIGN_FLAG -- Performing Test WITH_WCAST_ALIGN_FLAG - Success -- Performing Test WITH_WERROR_ADDRESS_FLAG -- Performing Test WITH_WERROR_ADDRESS_FLAG - Success -- Performing Test WITH_WSTRICT_PROTOTYPES_FLAG -- Performing Test WITH_WSTRICT_PROTOTYPES_FLAG - Success -- Performing Test WITH_WERROR_STRICT_PROTOTYPES_FLAG -- Performing Test WITH_WERROR_STRICT_PROTOTYPES_FLAG - Success -- Performing Test WITH_WWRITE_STRINGS_FLAG -- Performing Test WITH_WWRITE_STRINGS_FLAG - Success -- Performing Test WITH_WERROR_WRITE_STRINGS_FLAG -- Performing Test WITH_WERROR_WRITE_STRINGS_FLAG - Success -- Performing Test WITH_WERROR_IMPLICIT_FUNCTION_DECLARATION_FLAG -- Performing Test WITH_WERROR_IMPLICIT_FUNCTION_DECLARATION_FLAG - Success -- Performing Test WITH_WPOINTER_ARITH_FLAG -- Performing Test WITH_WPOINTER_ARITH_FLAG - Success -- Performing Test WITH_WERROR_POINTER_ARITH_FLAG -- Performing Test WITH_WERROR_POINTER_ARITH_FLAG - Success -- Performing Test WITH_WDECLARATION_AFTER_STATEMENT_FLAG -- Performing Test WITH_WDECLARATION_AFTER_STATEMENT_FLAG - Success -- Performing Test WITH_WERROR_DECLARATION_AFTER_STATEMENT_FLAG -- Performing Test WITH_WERROR_DECLARATION_AFTER_STATEMENT_FLAG - Success -- Performing Test WITH_WRETURN_TYPE_FLAG -- Performing Test WITH_WRETURN_TYPE_FLAG - Success -- Performing Test WITH_WERROR_RETURN_TYPE_FLAG -- Performing Test WITH_WERROR_RETURN_TYPE_FLAG - Success -- Performing Test WITH_WUNINITIALIZED_FLAG -- Performing Test WITH_WUNINITIALIZED_FLAG - Success -- Performing Test WITH_WERROR_UNINITIALIZED_FLAG -- Performing Test WITH_WERROR_UNINITIALIZED_FLAG - Success -- Performing Test WITH_WIMPLICIT_FALLTHROUGH_FLAG -- Performing Test WITH_WIMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test WITH_WERROR_STRICT_OVERFLOW_FLAG -- Performing Test WITH_WERROR_STRICT_OVERFLOW_FLAG - Success -- Performing Test WITH_WSTRICT_OVERFLOW_2_FLAG -- Performing Test WITH_WSTRICT_OVERFLOW_2_FLAG - Success -- Performing Test WITH_WNO_FORMAT_ZERO_LENGTH_FLAG -- Performing Test WITH_WNO_FORMAT_ZERO_LENGTH_FLAG - Success -- Performing Test REQUIRED_FLAGS_WFORMAT -- Performing Test REQUIRED_FLAGS_WFORMAT - Success -- Performing Test WITH_WFORMAT_SECURITY_FLAG -- Performing Test WITH_WFORMAT_SECURITY_FLAG - Success -- Performing Test WITH_WERROR_FORMAT_SECURITY_FLAG -- Performing Test WITH_WERROR_FORMAT_SECURITY_FLAG - Success -- Performing Test WITH_FNO_COMMON_FLAG -- Performing Test WITH_FNO_COMMON_FLAG - Success -- Performing Test WITH_STACK_PROTECTOR_STRONG -- Performing Test WITH_STACK_PROTECTOR_STRONG - Success -- Performing Test WITH_STACK_CLASH_PROTECTION -- Performing Test WITH_STACK_CLASH_PROTECTION - Success -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Performing Test WITH_VISIBILITY_HIDDEN -- Performing Test WITH_VISIBILITY_HIDDEN - Success -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for pwd.h -- Looking for pwd.h - found -- Looking for shadow.h -- Looking for shadow.h - found -- Looking for grp.h -- Looking for grp.h - found -- Looking for nss.h -- Looking for nss.h - found -- Looking for nss_common.h -- Looking for nss_common.h - not found -- Looking for strncpy -- Looking for strncpy - found -- Looking for vsnprintf -- Looking for vsnprintf - found -- Looking for snprintf -- Looking for snprintf - found -- Looking for getpwnam_r -- Looking for getpwnam_r - found -- Looking for getpwuid_r -- Looking for getpwuid_r - found -- Looking for getpwent_r -- Looking for getpwent_r - not found -- Looking for setspent -- Looking for setspent - found -- Looking for getspnam -- Looking for getspnam - found -- Looking for getgrnam_r -- Looking for getgrnam_r - found -- Looking for getgrgid_r -- Looking for getgrgid_r - found -- Looking for getgrent_r -- Looking for getgrent_r - not found -- Looking for getgrouplist -- Looking for getgrouplist - found -- Looking for gethostbyaddr_r -- Looking for gethostbyaddr_r - found -- Looking for gethostbyname_r -- Looking for gethostbyname_r - found -- Looking for gethostbyname2 -- Looking for gethostbyname2 - found -- Looking for gethostbyname2_r -- Looking for gethostbyname2_r - found -- Looking for getprogname -- Looking for getprogname - not found -- Looking for getexecname -- Looking for getexecname - not found -- Looking for getaddrinfo -- Looking for getaddrinfo - found -- Looking for asprintf -- Looking for asprintf - found -- Checking prototype getpwent_r for HAVE_SOLARIS_GETPWENT_R -- Checking prototype getpwent_r for HAVE_SOLARIS_GETPWENT_R - False -- Checking prototype getpwnam_r for HAVE_SOLARIS_GETPWNAM_R -- Checking prototype getpwnam_r for HAVE_SOLARIS_GETPWNAM_R - False -- Checking prototype getpwuid_r for HAVE_SOLARIS_GETPWUID_R -- Checking prototype getpwuid_r for HAVE_SOLARIS_GETPWUID_R - False -- Checking prototype getgrent_r for HAVE_SOLARIS_GETGRENT_R -- Checking prototype getgrent_r for HAVE_SOLARIS_GETGRENT_R - False -- Checking prototype getgrnam_r for HAVE_SOLARIS_GETGRNAM_R -- Checking prototype getgrnam_r for HAVE_SOLARIS_GETGRNAM_R - False -- Checking prototype getgrgid_r for HAVE_SOLARIS_GETGRGID_R -- Checking prototype getgrgid_r for HAVE_SOLARIS_GETGRGID_R - False -- Checking prototype sethostent for HAVE_SOLARIS_SETHOSTENT -- Checking prototype sethostent for HAVE_SOLARIS_SETHOSTENT - False -- Checking prototype endhostent for HAVE_SOLARIS_ENDHOSTENT -- Checking prototype endhostent for HAVE_SOLARIS_ENDHOSTENT - False -- Checking prototype gethostname for HAVE_SOLARIS_GETHOSTNAME -- Checking prototype gethostname for HAVE_SOLARIS_GETHOSTNAME - False -- Checking prototype setgrent for HAVE_BSD_SETGRENT -- Checking prototype setgrent for HAVE_BSD_SETGRENT - False -- Checking prototype getnameinfo for HAVE_LINUX_GETNAMEINFO -- Checking prototype getnameinfo for HAVE_LINUX_GETNAMEINFO - True -- Checking prototype getnameinfo for HAVE_LINUX_GETNAMEINFO_UNSIGNED -- Checking prototype getnameinfo for HAVE_LINUX_GETNAMEINFO_UNSIGNED - False -- Performing Test HAVE_STRUCT_SOCKADDR_SA_LEN -- Performing Test HAVE_STRUCT_SOCKADDR_SA_LEN - Failed -- Performing Test HAVE_STRUCT_PASSWD_PW_CLASS -- Performing Test HAVE_STRUCT_PASSWD_PW_CLASS - Failed -- Performing Test HAVE_STRUCT_PASSWD_PW_CHANGE -- Performing Test HAVE_STRUCT_PASSWD_PW_CHANGE - Failed -- Performing Test HAVE_STRUCT_PASSWD_PW_EXPIRE -- Performing Test HAVE_STRUCT_PASSWD_PW_EXPIRE - Failed -- Performing Test HAVE_IPV6 -- Performing Test HAVE_IPV6 - Success -- Performing Test HAVE_ATTRIBUTE_PRINTF_FORMAT -- Performing Test HAVE_ATTRIBUTE_PRINTF_FORMAT - Success -- Performing Test HAVE_CONSTRUCTOR_ATTRIBUTE -- Performing Test HAVE_CONSTRUCTOR_ATTRIBUTE - Success -- Performing Test HAVE_DESTRUCTOR_ATTRIBUTE -- Performing Test HAVE_DESTRUCTOR_ATTRIBUTE - Success -- Performing Test HAVE_PRAGMA_INIT -- Performing Test HAVE_PRAGMA_INIT - Success -- Performing Test HAVE_PRAGMA_FINI -- Performing Test HAVE_PRAGMA_FINI - Success -- Performing Test HAVE_GETADDRINFO_SETS_CANONNAME_FOR_IPADDRESSES -- Performing Test HAVE_GETADDRINFO_SETS_CANONNAME_FOR_IPADDRESSES - Success -- Performing Test HAVE_GETADDRINFO_USES_EAI_SERVICE -- Performing Test HAVE_GETADDRINFO_USES_EAI_SERVICE - Failed -- Performing Test HAVE_NONNULL_GETHOSTENT -- Performing Test HAVE_NONNULL_GETHOSTENT - Failed -- Configuring done (3.3s) -- Generating done (0.0s) -- Build files have been written to: /home/buildozer/aports/community/nss_wrapper/src/nss_wrapper-1.1.12/build [1/23] Building C object tests/CMakeFiles/test_nwrap_disabled.dir/test_nwrap_disabled.c.o [2/23] Building C object tests/CMakeFiles/test_shadow.dir/test_shadow.c.o [3/23] Building C object tests/CMakeFiles/test_getpwuid_module.dir/test_getpwuid_module.c.o [4/23] Building C object tests/CMakeFiles/test_gethostent.dir/test_gethostent.c.o [5/23] Building C object tests/CMakeFiles/test_gethostby_name_addr.dir/test_gethostby_name_addr.c.o [6/23] Building C object tests/CMakeFiles/test_getnameinfo.dir/test_getnameinfo.c.o [7/23] Building C object tests/CMakeFiles/test_getaddrinfo.dir/test_getaddrinfo.c.o [8/23] Building C object tests/CMakeFiles/test_nwrap_vector.dir/test_nwrap_vector.c.o [9/23] Building C object tests/CMakeFiles/testsuite.dir/testsuite.c.o [10/23] Building C object tests/CMakeFiles/nss_nwrap.dir/nss_nwrap.c.o [11/23] Building C object src/CMakeFiles/nss_wrapper.dir/nss_wrapper.c.o [12/23] Linking C executable tests/test_getpwuid_module [13/23] Linking C executable tests/test_shadow [14/23] Linking C executable tests/test_gethostent ninja: job failed: : && /usr/bin/gcc -Os -Wformat -Werror=format-security -Wl,--as-needed,-O1,--sort-common tests/CMakeFiles/test_getpwuid_module.dir/test_getpwuid_module.c.o -o tests/test_getpwuid_module /usr/lib/libdl.a && : /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: tests/CMakeFiles/test_getpwuid_module.dir/test_getpwuid_module.c.o: in function `test_nwrap_passwd_closed_handles': test_getpwuid_module.c:(.text+0x34): undefined reference to `_assert_true' /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: test_getpwuid_module.c:(.text+0x7c): undefined reference to `_assert_true' /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: tests/CMakeFiles/test_getpwuid_module.dir/test_getpwuid_module.c.o: in function `test_nwrap_passwd': test_getpwuid_module.c:(.text+0xc8): undefined reference to `_assert_true' /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: test_getpwuid_module.c:(.text+0xe4): undefined reference to `_assert_string_equal' /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: test_getpwuid_module.c:(.text+0xfc): undefined reference to `_assert_int_equal' /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: test_getpwuid_module.c:(.text+0x11c): undefined reference to `_assert_int_equal' /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: tests/CMakeFiles/test_getpwuid_module.dir/test_getpwuid_module.c.o: in function `main': test_getpwuid_module.c:(.text.startup+0x4c): undefined reference to `_cmocka_run_group_tests' collect2: error: ld returned 1 exit status ninja: job failed: : && /usr/bin/gcc -Os -Wformat -Werror=format-security -Wl,--as-needed,-O1,--sort-common tests/CMakeFiles/test_shadow.dir/test_shadow.c.o -o tests/test_shadow /usr/lib/libdl.a -lcrypt && : /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: tests/CMakeFiles/test_shadow.dir/test_shadow.c.o: in function `test_nwrap_getspnam': test_shadow.c:(.text+0x44): undefined reference to `_assert_true' /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: test_shadow.c:(.text+0x64): undefined reference to `_assert_string_equal' /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: test_shadow.c:(.text+0x88): undefined reference to `_assert_true' /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: test_shadow.c:(.text+0xa4): undefined reference to `_assert_string_equal' /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: test_shadow.c:(.text+0xc0): undefined reference to `_assert_true' /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: test_shadow.c:(.text+0xd4): undefined reference to `_assert_string_equal' /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: test_shadow.c:(.text+0xf4): undefined reference to `_assert_true' /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: test_shadow.c:(.text+0x118): undefined reference to `_assert_string_equal' /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: tests/CMakeFiles/test_shadow.dir/test_shadow.c.o: in function `test_nwrap_getspent': test_shadow.c:(.text+0x174): undefined reference to `_assert_string_equal' /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: tests/CMakeFiles/test_shadow.dir/test_shadow.c.o: in function `main': test_shadow.c:(.text.startup+0x4c): undefined reference to `_cmocka_run_group_tests' collect2: error: ld returned 1 exit status ninja: job failed: : && /usr/bin/gcc -Os -Wformat -Werror=format-security -Wl,--as-needed,-O1,--sort-common tests/CMakeFiles/test_gethostent.dir/test_gethostent.c.o -o tests/test_gethostent /usr/lib/libdl.a && : /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: tests/CMakeFiles/test_gethostent.dir/test_gethostent.c.o: in function `test_nwrap_gethostent': test_gethostent.c:(.text+0x80): undefined reference to `_assert_true' /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: test_gethostent.c:(.text+0xa4): undefined reference to `_assert_true' /usr/lib/gcc/aarch64-alpine-linux-musl/12.2.1/../../../../aarch64-alpine-linux-musl/bin/ld: tests/CMakeFiles/test_gethostent.dir/test_gethostent.c.o: in function `main': test_gethostent.c:(.text.startup+0x4c): undefined reference to `_cmocka_run_group_tests' collect2: error: ld returned 1 exit status ninja: subcommands failed >>> ERROR: nss_wrapper: build failed >>> nss_wrapper: Uninstalling dependencies... (1/15) Purging .makedepends-nss_wrapper (20230422.224708) (2/15) Purging cmake (3.26.3-r1) (3/15) Purging musl-nscd-dev (1.1.1-r3) (4/15) Purging bison (3.8.2-r1) (5/15) Purging flex (2.6.4-r5) (6/15) Purging m4 (1.4.19-r3) (7/15) Purging samurai (1.2-r3) (8/15) Purging cmocka-dev (1.1.7-r2) (9/15) Purging cmocka (1.1.7-r2) (10/15) Purging libarchive (3.6.2-r2) (11/15) Purging libbz2 (1.0.8-r5) (12/15) Purging libformw (6.4_p20230401-r5) (13/15) Purging libuv (1.44.2-r2) (14/15) Purging rhash-libs (1.4.3-r2) (15/15) Purging xz-libs (5.4.2-r1) Executing busybox-1.36.0-r7.trigger OK: 408 MiB in 98 packages