------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> nss_ndb-1.0.23 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> nss_ndb-1.0.23 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by nss_ndb-1.0.23 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> nss_ndb-1.0.23 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by nss_ndb-1.0.23 for building => SHA256 Checksum OK for ptrrkssn-nss_ndb-v1.0.23_GH0.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> nss_ndb-1.0.23 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by nss_ndb-1.0.23 for building ===> Extracting for nss_ndb-1.0.23 => SHA256 Checksum OK for ptrrkssn-nss_ndb-v1.0.23_GH0.tar.gz. Extracted Memory Use: 0.41M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for nss_ndb-1.0.23 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> Configuring for nss_ndb-1.0.23 configure: loading site script /xports/Templates/config.site 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 cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for dlsym in -ldl... yes checking for pthread_create in -lpthread... yes checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for fcntl.h... (cached) yes checking for limits.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/file.h... (cached) yes checking for unistd.h... (cached) yes checking for uid_t in sys/types.h... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking for ssize_t... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... (cached) yes checking for clock_gettime... (cached) yes checking for endgrent... (cached) yes checking for endpwent... yes checking for memchr... (cached) yes checking for memset... (cached) yes checking for strcasecmp... (cached) yes checking for strchr... (cached) yes checking for strdup... (cached) yes checking for strerror... (cached) yes checking for strncasecmp... (cached) yes checking for strndup... (cached) yes checking for strrchr... (cached) yes checking for dbopen... yes configure: creating ./config.status config.status: creating Makefile config.status: creating nss_ndb.8 config.status: creating makendb.8 config.status: creating nsstest.8 config.status: creating nss_ndb.conf.5 config.status: creating ports/Makefile.port config.status: creating config.h SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for nss_ndb-1.0.23 --- nss_ndb.o --- --- makendb.o --- --- nsstest.o --- --- makendb.o --- cc -DNSS_NDB_CONF_PATH='"/usr/local/etc/nss_ndb.conf"' -DNSS_NDB_DBDIR_PATH='"/var/db/nss_ndb"' -pipe -O2 -fno-strict-aliasing -pthread -fPIC -Wall -c -o makendb.o makendb.c --- nss_ndb.o --- cc -DNSS_NDB_CONF_PATH='"/usr/local/etc/nss_ndb.conf"' -DNSS_NDB_DBDIR_PATH='"/var/db/nss_ndb"' -pipe -O2 -fno-strict-aliasing -pthread -fPIC -Wall -c -o nss_ndb.o nss_ndb.c --- nsstest.o --- cc -pipe -O2 -fno-strict-aliasing -pthread -fPIC -Wall -DWITH_NSS_NDB=1 -c nsstest.c --- nss_ndb.o --- nss_ndb.c: In function '_ndb_getkey_r': nss_ndb.c:668:12: error: 'NS_SUCCESS' undeclared (first use in this function); did you mean 'RET_SUCCESS'? int ec = NS_SUCCESS; ^~~~~~~~~~ RET_SUCCESS nss_ndb.c:668:12: note: each undeclared identifier is reported only once for each function it appears in nss_ndb.c:675:12: error: 'NS_UNAVAIL' undeclared (first use in this function); did you mean 'EPROGUNAVAIL'? return NS_UNAVAIL; ^~~~~~~~~~ EPROGUNAVAIL nss_ndb.c:690:10: error: 'NS_NOTFOUND' undeclared (first use in this function) ec = NS_NOTFOUND; ^~~~~~~~~~~ nss_ndb.c: In function '_ndb_getent_r': nss_ndb.c:717:16: error: 'NS_SUCCESS' undeclared (first use in this function); did you mean 'RET_SUCCESS'? int rc, ec = NS_SUCCESS; ^~~~~~~~~~ RET_SUCCESS nss_ndb.c:722:12: error: 'NS_UNAVAIL' undeclared (first use in this function); did you mean 'EPROGUNAVAIL'? return NS_UNAVAIL; ^~~~~~~~~~ EPROGUNAVAIL nss_ndb.c:750:10: error: 'NS_NOTFOUND' undeclared (first use in this function) ec = NS_NOTFOUND; ^~~~~~~~~~~ nss_ndb.c: In function '_ndb_setent': nss_ndb.c:776:12: error: 'NS_UNAVAIL' undeclared (first use in this function); did you mean 'EPROGUNAVAIL'? return NS_UNAVAIL; ^~~~~~~~~~ EPROGUNAVAIL nss_ndb.c:779:10: error: 'NS_SUCCESS' undeclared (first use in this function); did you mean 'RET_SUCCESS'? return NS_SUCCESS; ^~~~~~~~~~ RET_SUCCESS --- nsstest.o --- nsstest.c: In function 'nsserror': nsstest.c:432:8: error: 'NS_SUCCESS' undeclared (first use in this function); did you mean 'EXIT_SUCCESS'? case NS_SUCCESS: ^~~~~~~~~~ EXIT_SUCCESS nsstest.c:432:8: note: each undeclared identifier is reported only once for each function it appears in --- nss_ndb.o --- nss_ndb.c: In function '_ndb_endent': nss_ndb.c:787:10: error: 'NS_SUCCESS' undeclared (first use in this function); did you mean 'RET_SUCCESS'? return NS_SUCCESS; ^~~~~~~~~~ RET_SUCCESS --- nsstest.o --- nsstest.c:434:8: error: 'NS_UNAVAIL' undeclared (first use in this function); did you mean 'EPROGUNAVAIL'? case NS_UNAVAIL: ^~~~~~~~~~ EPROGUNAVAIL nsstest.c:436:8: error: 'NS_NOTFOUND' undeclared (first use in this function) case NS_NOTFOUND: ^~~~~~~~~~~ --- nss_ndb.o --- nss_ndb.c: In function 'nss_ndb_getgroupmembership': nss_ndb.c:1067:12: error: 'NS_NOTFOUND' undeclared (first use in this function) return NS_NOTFOUND; ^~~~~~~~~~~ nss_ndb.c:1071:12: error: 'NS_UNAVAIL' undeclared (first use in this function); did you mean 'EPROGUNAVAIL'? return NS_UNAVAIL; ^~~~~~~~~~ EPROGUNAVAIL --- nsstest.o --- nsstest.c:438:8: error: 'NS_TRYAGAIN' undeclared (first use in this function) case NS_TRYAGAIN: ^~~~~~~~~~~ nsstest.c: In function 't_ndb_getpwnam_r': nsstest.c:469:10: warning: implicit declaration of function 't_dispatch' [-Wimplicit-function-declaration] nc = t_dispatch("getpwnam_r", &pp, argv[i], &pbuf, buf, n_bufsize, &ec); ^~~~~~~~~~ --- nss_ndb.o --- nss_ndb.c: In function '_ndb_setent': nss_ndb.c:780:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ nss_ndb.c: In function '_ndb_endent': nss_ndb.c:788:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ --- nsstest.o --- nsstest.c:470:15: error: 'NS_SUCCESS' undeclared (first use in this function); did you mean 'EXIT_SUCCESS'? if (nc != NS_SUCCESS && nc != NS_NOTFOUND) { ^~~~~~~~~~ EXIT_SUCCESS nsstest.c:470:35: error: 'NS_NOTFOUND' undeclared (first use in this function) if (nc != NS_SUCCESS && nc != NS_NOTFOUND) { ^~~~~~~~~~~ --- nss_ndb.o --- nss_ndb.c: In function 'nss_ndb_getgroupmembership': nss_ndb.c:1152:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ --- nsstest.o --- nsstest.c: In function 't_ndb_getpwuid_r': nsstest.c:543:15: error: 'NS_SUCCESS' undeclared (first use in this function); did you mean 'EXIT_SUCCESS'? if (nc != NS_SUCCESS && nc != NS_NOTFOUND) { ^~~~~~~~~~ EXIT_SUCCESS nsstest.c:543:35: error: 'NS_NOTFOUND' undeclared (first use in this function) if (nc != NS_SUCCESS && nc != NS_NOTFOUND) { ^~~~~~~~~~~ nsstest.c: In function 't_ndb_getgrnam_r': nsstest.c:610:15: error: 'NS_SUCCESS' undeclared (first use in this function); did you mean 'EXIT_SUCCESS'? if (nc != NS_SUCCESS && nc != NS_NOTFOUND) { ^~~~~~~~~~ EXIT_SUCCESS --- nss_ndb.o --- *** [nss_ndb.o] Error code 1 make[1]: stopped in /construction/sysutils/nss_ndb/nss_ndb-1.0.23 --- nsstest.o --- nsstest.c:610:35: error: 'NS_NOTFOUND' undeclared (first use in this function) if (nc != NS_SUCCESS && nc != NS_NOTFOUND) { ^~~~~~~~~~~ nsstest.c: In function 't_ndb_getgrgid_r': nsstest.c:683:15: error: 'NS_SUCCESS' undeclared (first use in this function); did you mean 'EXIT_SUCCESS'? if (nc != NS_SUCCESS && nc != NS_NOTFOUND) { ^~~~~~~~~~ EXIT_SUCCESS nsstest.c:683:35: error: 'NS_NOTFOUND' undeclared (first use in this function) if (nc != NS_SUCCESS && nc != NS_NOTFOUND) { ^~~~~~~~~~~ *** [nsstest.o] Error code 1 make[1]: stopped in /construction/sysutils/nss_ndb/nss_ndb-1.0.23 2 errors make[1]: stopped in /construction/sysutils/nss_ndb/nss_ndb-1.0.23 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /xports/sysutils/nss_ndb FAILED 00:00:00