+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PGSQL_VERSION_REQD=16 MYSQL_VERSION_REQD=mariadb114 WRKLOG=/tmp/bulklog/libzdb-3.2.3nb9/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PGSQL_VERSION_REQD=16 MYSQL_VERSION_REQD=mariadb114 WRKLOG=/tmp/bulklog/libzdb-3.2.3nb9/work.log => Checksum BLAKE2s OK for libzdb-3.2.3.tar.gz => Checksum SHA512 OK for libzdb-3.2.3.tar.gz ===> Installing dependencies for libzdb-3.2.3nb9 ========================================================================== The supported build options for libzdb are: libzdb-sqliteunlock mysql pgsql sqlite ssl The currently selected options are: mysql pgsql sqlite ssl You can select which build options to use by setting PKG_DEFAULT_OPTIONS or the following variable. Its current value is shown: PKG_OPTIONS.libzdb (not defined) ========================================================================== ========================================================================== The following variables will affect the build process of this package, libzdb-3.2.3nb9. Their current value is shown below: * MYSQL_VERSION_DEFAULT = mariadb114 * SSLBASE (defined) * SSLCERTBUNDLE (not defined) * SSLCERTS = /etc/opt/pkg/openssl/certs * SSLDIR = /etc/opt/pkg/openssl * SSLKEYS = /etc/opt/pkg/openssl/private Based on these variables, the following variables have been set: * MYSQL_VERSION = mariadb114 You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/opt/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.7nb1 => Tool dependency gmake>=3.81: found gmake-4.4.1 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Full dependency mariadb-client>=11.4.0<11.5.0: found mariadb-client-11.4.7 => Full dependency openssl>=3: found openssl-3.5.1 => Full dependency postgresql16-client>=16.0nb1: found postgresql16-client-16.9 => Full dependency sqlite3>=3.49.1nb3: found sqlite3-3.50.2 => Full dependency gettext-lib>=0.22: found gettext-lib-0.22.5 => Full dependency libiconv>=1.9.1: found libiconv-1.17 => Full dependency lz4>=1.7.3<100: found lz4-1.10.0 => Full dependency ossp-uuid>=1.6.0: found ossp-uuid-1.6.2nb11 => Full dependency zlib>=1.1.4: found zlib-1.3.1 ===> Overriding tools for libzdb-3.2.3nb9 ===> Extracting for libzdb-3.2.3nb9 ===> Patching for libzdb-3.2.3nb9 => Applying pkgsrc patches for libzdb-3.2.3nb9 => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/libzdb/patches/patch-src_system_Time.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/libzdb/patches/patch-src_system_Time.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_system_Time.c,v 1.2 2022/10/28 18:39:25 he Exp $ | |Fix uses of isxxxx() by casting arg to u_char. | |--- src/system/Time.c.orig 2020-03-31 22:57:32.000000000 +0000 |+++ src/system/Time.c -------------------------- Patching file src/system/Time.c using Plan A... Hunk #1 succeeded at 147. Hunk #2 succeeded at 318. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/libzdb/patches/patch-src_util_Str.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/libzdb/patches/patch-src_util_Str.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_util_Str.c,v 1.1 2022/10/28 18:25:01 he Exp $ | |Cast arg to toupper() to u_char, to avoid domain error. | |--- src/util/Str.c.orig 2019-05-30 22:22:30.000000000 +0000 |+++ src/util/Str.c -------------------------- Patching file src/util/Str.c using Plan A... Hunk #1 succeeded at 50. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/libzdb/patches/patch-src_zdbpp.h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/libzdb/patches/patch-src_zdbpp.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_zdbpp.h,v 1.1 2022/10/28 17:58:03 he Exp $ | |Avoid "cannot be overloaded with" error by skipping doing |bind() both for `time_t` and `long long` if they're the same size. | |--- src/zdbpp.h.orig 2022-10-28 13:27:26.964215539 +0000 |+++ src/zdbpp.h -------------------------- Patching file src/zdbpp.h using Plan A... Hunk #1 succeeded at 395 (offset 84 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/libzdb/patches/patch-test_pool.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/libzdb/patches/patch-test_pool.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-test_pool.c,v 1.1 2022/10/28 18:06:09 he Exp $ | |Fix handling of time_t on NetBSD. | |--- test/pool.c.orig 2019-04-30 14:11:41.000000000 +0000 |+++ test/pool.c -------------------------- Patching file test/pool.c using Plan A... Hunk #1 succeeded at 5. Hunk #2 succeeded at 690 (offset 5 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/libzdb/patches/patch-test_unit.c => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/libzdb/patches/patch-test_unit.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-test_unit.c,v 1.1 2022/10/28 17:58:03 he Exp $ | |Adapt to 64-bit time_t on NetBSD. | |--- test/unit.c.orig 2019-03-22 02:15:59.000000000 +0000 |+++ test/unit.c -------------------------- Patching file test/unit.c using Plan A... Hunk #1 succeeded at 3. Hunk #2 succeeded at 169. done ===> Creating toolchain wrappers for libzdb-3.2.3nb9 ===> Configuring for libzdb-3.2.3nb9 => don't break the user's terminal => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version => Adding run-time search paths to pkg-config files. => Checking for portability problems in extracted files configure: WARNING: unrecognized options: --with-libiconv-prefix checking for a BSD-compatible install... /opt/pkg/bin/bsdinstall -c -o pbulk -g pbulk checking whether build environment is sane... yes checking for a race-free mkdir -p... ./config/install-sh -c -d checking for gawk... /usr/bin/nawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-sun-solaris2.11-gcc... 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking for an ANSI C-conforming const... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking for stdint.h... (cached) yes checking for stdbool.h... yes checking for stdatomic.h... yes checking for re2c... no checking for flex... flex checking for lex output file root... lex.yy checking for lex library... not found configure: WARNING: required lex library not found; giving up on flex checking build system type... x86_64-sun-solaris2.11 checking host system type... x86_64-sun-solaris2.11 checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/xpg4/bin/grep checking for egrep... (cached) /usr/xpg4/bin/grep -E checking for fgrep... /usr/xpg4/bin/grep -F checking for ld used by gcc... /bin/ld checking if the linker (/bin/ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p checking the name lister (/usr/bin/nm -p) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 786240 checking how to convert x86_64-sun-solaris2.11 file names to x86_64-sun-solaris2.11 format... func_convert_file_noop checking how to convert x86_64-sun-solaris2.11 file names to toolchain format... func_convert_file_noop checking for /bin/ld option to reload object files... -r checking for x86_64-sun-solaris2.11-file... no checking for file... file checking for x86_64-sun-solaris2.11-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-sun-solaris2.11-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-sun-solaris2.11-ar... no checking for ar... ar checking for archiver @FILE support... no checking for x86_64-sun-solaris2.11-strip... no checking for strip... strip checking for x86_64-sun-solaris2.11-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -p output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-sun-solaris2.11-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 gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... rm: conftest*: No such file or directory yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/bin/ld -64) supports shared libraries... yes checking whether -lc should be explicitly linked in... rm: conftest*: No such file or directory no checking dynamic linker characteristics... solaris2.11 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /bin/ld -64 checking if the linker (/bin/ld -64) is GNU ld... no checking whether the g++ linker (/bin/ld -64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... rm: conftest*: No such file or directory yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/bin/ld -64) supports shared libraries... yes checking dynamic linker characteristics... solaris2.11 ld.so checking how to hardcode library paths into programs... immediate checking for SSL_CTX_new in -lssl... yes checking for SHA1_Init in -lcrypto... yes checking setjmp is available... yes checking vsnprintf is c11 conformant... yes checking for timegm... yes checking for library containing pthread_create... none required checking for postgresql... yes checking for ... no checking for pg_config... /home/pbulk/build/databases/libzdb/work/.buildlink/bin/pg_config checking for libpq-fe.h... yes checking for SQLite3... yes checking for /opt/pkg... yes checking for library containing sqlite3_open... -lsqlite3 checking for library containing sqlite3_soft_heap_limit... none required checking for library containing sqlite3_soft_heap_limit64... none required checking for library containing sqlite3_errstr... none required checking for mysql... yes checking for /opt/pkg/bin/mysql_config... yes checking for mysql.h... yes checking for oracle... checking if Oracle support is enabled... no checking for uchar_t... yes checking for struct tm.tm_gmtoff... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating test/Makefile config.status: creating zdb.pc config.status: creating src/xconfig.h config.status: executing libtool_patch commands config.status: executing depfiles commands config.status: executing libtool commands rm: libtoolT: No such file or directory configure: WARNING: unrecognized options: --with-libiconv-prefix +------------------------------------------------------------+ | License: | | This is Open Source Software and use is subject to the GNU | | GENERAL PUBLIC LICENSE, available in this distribution in | | the file COPYING. | | | | By continuing this installation process, you are bound by | | the terms of this license agreement. If you do not agree | | with the terms of this license, you must abort the | | installation process at this point. | +------------------------------------------------------------+ | Libzdb is configured as follows | | | | Optimized: DISABLED | | Protected: DISABLED | | Profiling: DISABLED | | Zild: DISABLED | | Sqlite3 unlock: DISABLED | | Openssl: ENABLED | | Unit Tests Build: ENABLED | |------------------------------------------------------------| | SQLite3: ENABLED | | MySQL: ENABLED | | PostgreSQL: ENABLED | | Oracle: DISABLED | +------------------------------------------------------------+ => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp