=> Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for libmicrohttpd-1.0.0.tar.gz => Checksum SHA512 OK for libmicrohttpd-1.0.0.tar.gz ===> Installing dependencies for libmicrohttpd-1.0.0 ========================================================================== The following variables will affect the build process of this package, libmicrohttpd-1.0.0. Their current value is shown below: * SSLBASE (defined) * SSLCERTBUNDLE (not defined) * SSLCERTS = /opt/pkg/etc/openssl/certs * SSLDIR = /opt/pkg/etc/openssl * SSLKEYS = /opt/pkg/etc/openssl/private 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 mktools-[0-9]*: found mktools-20220614 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.1.1 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency curl>=8.4.0nb1: found curl-8.6.0 => Build dependency cyrus-sasl>=2.1.28nb1: found cyrus-sasl-2.1.28nb1 => Build dependency libidn2>=2.3.3nb1: found libidn2-2.3.7 => Build dependency libssh2>=1.11.0nb1: found libssh2-1.11.0nb2 => Build dependency libxml2>=2.10.4nb3: found libxml2-2.12.4 => Build dependency nghttp2>=1.58.0nb1: found nghttp2-1.59.0 => Build dependency openldap-client>=2.6.6nb1: found openldap-client-2.6.7 => Build dependency openssl>=3: found openssl-3.1.5 => Build dependency xz>=5.0.0: found xz-5.4.6 => Full dependency pkg_install-info-[0-9]*: found pkg_install-info-4.5nb3 => Full dependency gnutls>=3.8.1nb2: found gnutls-3.8.3 ===> Overriding tools for libmicrohttpd-1.0.0 ===> Extracting for libmicrohttpd-1.0.0 ===> Patching for libmicrohttpd-1.0.0 ===> Creating toolchain wrappers for libmicrohttpd-1.0.0 ===> Configuring for libmicrohttpd-1.0.0 => 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 => Checking for portability problems in extracted files configure: WARNING: unrecognized options: --with-libiconv-prefix checking for build type... neutral. Defaults: use only user-specified compiler and linker flags checking for a BSD-compatible install... /usr/bin/install -c -o pbulk -g staff checking whether build environment is sane... yes checking for a race-free mkdir -p... ./build-aux/install-sh -c -d checking for gawk... /opt/pkg/bin/nawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gawk... (cached) /opt/pkg/bin/nawk checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for fgrep... /usr/bin/grep -F checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking build system type... x86_64-apple-darwin22 checking host system type... x86_64-apple-darwin22 checking for x86_64-apple-darwin22-gcc... clang 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 clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of clang... gcc3 checking how to run the C preprocessor... clang -E checking for presence of stdio.h... yes checking for presence of wchar.h... yes checking for presence of stdlib.h... yes checking for presence of string.h... yes checking for presence of strings.h... yes checking for presence of stdint.h... yes checking for presence of fcntl.h... yes checking for presence of sys/types.h... yes checking for presence of time.h... yes checking for presence of unistd.h... yes checking whether _GNU_SOURCE is already defined... no checking whether headers accept _GNU_SOURCE... yes checking whether to try __BSD_VISIBLE macro... no checking whether to try _DARWIN_C_SOURCE macro... yes checking whether _DARWIN_C_SOURCE is already defined... no checking whether headers accept _DARWIN_C_SOURCE... yes checking whether to try __EXTENSIONS__ macro... no checking whether to try _NETBSD_SOURCE macro... no checking whether to try _BSD_SOURCE macro... no checking whether to try _TANDEM_SOURCE macro... no checking whether to try _ALL_SOURCE macro... no checking whether _XOPEN_SOURCE is already defined... no checking headers for POSIX.1-2008/SUSv4 features... available, works with _XOPEN_SOURCE=700, works with extension macro checking for useful system-specific features... yes checking whether useful system-specific features works with _XOPEN_SOURCE=700... no checking for final set of defined symbols... _GNU_SOURCE _DARWIN_C_SOURCE checking how to print strings... print -r checking for a sed that does not truncate output... /opt/pkg/bin/nbsed checking for egrep... (cached) /usr/bin/egrep checking for ld used by clang... /Library/Developer/CommandLineTools/usr/bin/ld checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no 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 the maximum length of command line arguments... (cached) 1048576 checking how to convert x86_64-apple-darwin22 file names to x86_64-apple-darwin22 format... func_convert_file_noop checking how to convert x86_64-apple-darwin22 file names to toolchain format... func_convert_file_noop checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r checking for x86_64-apple-darwin22-file... no checking for file... file checking for x86_64-apple-darwin22-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-apple-darwin22-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... print -r -- checking for x86_64-apple-darwin22-ar... no checking for ar... ar checking for archiver @FILE support... no checking for x86_64-apple-darwin22-strip... no checking for strip... strip checking for x86_64-apple-darwin22-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from clang object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-apple-darwin22-mt... no checking for mt... no checking if : is a manifest tool... no checking for x86_64-apple-darwin22-dsymutil... no checking for dsymutil... dsymutil checking for x86_64-apple-darwin22-nmedit... no checking for nmedit... nmedit checking for x86_64-apple-darwin22-lipo... no checking for lipo... lipo checking for x86_64-apple-darwin22-otool... no checking for otool... otool checking for x86_64-apple-darwin22-otool64... no checking for otool64... no checking for -single_module linker flag... ld: warning: -single_module is obsolete no checking for -exported_symbols_list linker flag... yes checking for -force_load linker flag... 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 for errno.h... yes checking for limits.h... yes checking for fcntl.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if clang supports -fno-rtti -fno-exceptions... yes checking for clang option to produce PIC... -fno-common -DPIC checking if clang PIC flag -fno-common -DPIC works... yes checking if clang static flag -static works... no checking if clang supports -c -o file.o... rm: conftest*: No such file or directory yes checking if clang supports -c -o file.o... (cached) yes checking whether the clang linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... darwin22 dyld 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... yes checking for x86_64-apple-darwin22-windres... no checking for windres... no checking for clang options needed to detect all undeclared functions... -fno-builtin checking whether MHD_FAVOR_SMALL_CODE is declared... no checking whether MHD_FAVOR_FAST_CODE is declared... no checking whether compiler is configured to optimize for size... yes checking whether to use a reduced size version of the code... yes (enabled automatically as compiler optimizes for size) checking for clang flag to warn on unknown -W parameters... none needed checking whether clang supports -Wunused-command-line-argument flag... yes checking whether clang supports -Wignored-optimization-argument flag... yes checking whether clang supports -Winvalid-command-line-argument flag... yes checking whether clang supports -Wunknown-argument flag... yes checking whether clang supports -fno-strict-aliasing flag... yes checking whether clang supports -qlonglong flag... no checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for inttypes.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/uio.h... yes checking for sys/time.h... yes checking for time.h... yes checking for endian.h... no checking for machine/endian.h... yes checking for sys/endian.h... no checking for sys/byteorder.h... no checking for sys/machine.h... no checking for machine/param.h... yes checking for sys/param.h... yes checking for sys/isa_defs.h... no checking for sys/ioctl.h... yes checking for sys/socket.h... yes checking for sys/select.h... yes checking for netinet/in_systm.h... yes checking for netinet/in.h... yes checking for arpa/inet.h... yes checking for netinet/ip.h... yes checking for netinet/tcp.h... yes checking for net/if.h... yes checking for netdb.h... yes checking for sockLib.h... no checking for inetLib.h... no checking for sys/msg.h... yes checking for sys/mman.h... yes checking for signal.h... yes checking for search.h... yes checking for proper tsearch(), tfind() and tdelete()... yes checking for sys/sysctl.h... yes checking for netinet/ip_icmp.h... yes checking for netinet/icmp_var.h... yes checking for stdbool.h... yes checking for bool... yes checking whether "true" is defined or builtin... yes checking whether "false" is defined or builtin... yes checking whether "true" and "false" could be used... yes checking whether C compiler accepts -Werror=attributes... yes checking whether -Werror=attributes actually works... yes checking for function inline keywords supported by clang... inline __attribute__((always_inline)) checking for stdalign.h... yes checking for C11 'alignof()' support... yes checking for target host OS... Darwin checking whether clang is Clang... yes checking whether pthreads work with "-pthread" and "-lpthread"... yes checking whether Clang needs flag to prevent "argument unused" warning when linking with -pthread... no checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking whether pthread_sigmask(3) is available... yes checking for threading lib to use with libmicrohttpd (auto)... posix checking for pthread_np.h... no checking whether pthread_attr_setname_np is declared... no checking whether pthread_setname_np is declared... yes checking for pthread_setname_np(3) in NetBSD or OSF1 form... no checking for pthread_setname_np(3) in GNU/Linux form... no checking for pthread_setname_np(3) in Darwin form... yes checking whether to enable thread names... yes checking whether socket is declared... yes checking for library containing function socket... none required checking for sys/time.h... (cached) yes checking for time.h... (cached) yes checking whether gettimeofday is declared... yes checking for function gettimeofday... yes checking whether usleep is declared... yes checking for function usleep... yes checking whether nanosleep is declared... yes checking for function nanosleep... yes checking for string.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/socket.h... (cached) yes checking for netinet/in.h... (cached) yes checking for time.h... (cached) yes checking for sys/select.h... (cached) yes checking for netinet/tcp.h... (cached) yes checking whether shutdown of listen socket triggers select()... no checking for system default FD_SETSIZE value... 1024 checking for current FD_SETSIZE value... 1024 checking whether FD_SETSIZE is overridable... yes checking whether socket value is a signed type... yes checking whether writev is declared... yes checking for function writev... yes checking whether sendmsg is declared... yes checking for library containing function sendmsg... none required checking whether byte ordering is bigendian... no checking for variable-length arrays... yes checking whether __func__ magic-macro is available... yes checking whether __builtin_bswap32() is available... yes checking whether __builtin_bswap64() is available... yes checking for curl... yes checking for makeinfo... yes checking for poll.h... yes checking whether poll is declared... yes checking for function poll... yes checking for linux/version.h... no checking for Linux epoll(7) interface... no checking for supported 'noreturn' keyword... _Noreturn checking size of tv_sec member of struct timeval... 8 checking size of int64_t... 8 checking size of uint64_t... 8 checking size of int... 4 checking size of unsigned int... 4 checking size of unsigned long long... 8 checking size of size_t... 8 checking for dlfcn.h... (cached) yes checking for zlib.h... yes checking whether random is declared... yes checking for function random... yes checking for struct sockaddr.sa_len... yes checking for struct sockaddr_storage.ss_len... yes checking for struct sockaddr_in.sin_len... yes checking for struct sockaddr_in6.sin6_len... yes checking for working getsockname()... yes checking for usable PAGESIZE macro... no checking for usable PAGE_SIZE macro... no checking for working eventfd(2)... no checking whether pipe(3) is usable... yes checking whether pipe2(2) is usable... no checking whether accept4 is declared... no checking for function accept4... no checking whether gmtime_r is declared... yes checking for function gmtime_r... yes checking whether memmem is declared... yes checking for function memmem... yes checking whether snprintf is declared... yes checking for function snprintf... yes checking whether gmtime_s is declared... no checking whether SOCK_NONBLOCK is declared... no checking whether clock_gettime is declared... yes checking for library containing function clock_gettime... none required checking whether clock_get_time is declared... yes checking for function clock_get_time... yes checking whether gethrtime is declared... no checking for function gethrtime... no checking whether timespec_get is declared... yes checking for function timespec_get... yes checking for sys/time.h... (cached) yes checking for time.h... (cached) yes checking for function gettimeofday... (cached) yes checking for IPv6... yes checking whether sysconf is declared... yes checking for function sysconf... yes checking whether sysctl is declared... yes checking for function sysctl... yes checking whether CTL_NET is declared... yes checking whether PF_INET is declared... yes checking whether IPPROTO_ICMP is declared... yes checking whether ICMPCTL_ICMPLIM is declared... yes checking whether sysctlbyname is declared... yes checking for function sysctlbyname... yes checking for function usleep... (cached) yes checking for function nanosleep... (cached) yes checking whether clang supports -fvisibility=hidden flag... yes checking whether clang supports __attribute__((visibility("default")))... yes checking for gawk... (cached) /opt/pkg/bin/nawk checking for curl-config... /opt/pkg/bin/curl-config checking for the version of libcurl... 8.6.0 checking for libcurl >= version 7.16.4... yes checking whether libcurl is usable... yes checking whether curl_free is declared... yes checking whether magic_open is declared... no checking for function magic_open... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking whether lseek64 is declared... no checking for function lseek64... no checking whether pread64 is declared... no checking for function pread64... no checking whether pread is declared... yes checking for function pread... yes checking for Linux-style sendfile(2)... no checking for FreeBSD-style sendfile(2)... no checking for Darwin-style sendfile(2)... yes checking whether to generate error messages... yes checking whether to enable postprocessor... yes checking pkg-config is at least version 0.9.0... yes checking how to find GnuTLS library... automatically checking for gnutls... yes checking whether GnuTLS is usable... yes checking for gnutls_privkey_import_x509_raw()... yes checking whether GnuTLS require libgcrypt initialisation... no checking whether to support HTTPS... yes (using libgnutls) checking for GnuTLS quirks... no checking for gnutls-cli binary... yes checking whether to support HTTP Basic authentication... yes checking whether to support HTTP Digest authentication... yes checking for Digest Authentication default nonce timeout value... 90 seconds (default) checking for Digest Authentication default maximum nc value... 1000 (default) checking whether to support HTTP "Upgrade"... yes checking whether to support HTTP cookie parsing... yes checking whether GnuTLS supports MD5 hashing... yes checking whether to support MD5... yes, external (TLS library) checking whether GnuTLS supports sha256 hashing... yes checking whether to support SHA-256... yes, external (TLS library) checking whether to support SHA-512/256... yes, built-in checking for calloc()... yes checking whether IPv6 could be used for testing... yes checking for features.h... no checking for sys/pstat.h... no checking for vxCpuLib.h... no checking whether _SC_NPROCESSORS_ONLN is declared... yes checking whether _SC_NPROC_ONLN is declared... no checking whether _SC_CRAY_NCPU is declared... no checking whether _SC_NPROCESSORS_CONF is declared... yes checking whether CTL_HW is declared... yes checking whether HW_NCPUONLINE is declared... no checking whether HW_NCPU is declared... yes checking whether HW_AVAILCPU is declared... yes checking whether pstat_getdynamic is declared... no checking for function pstat_getdynamic... no checking whether vxCpuEnabledGet is declared... no checking for function vxCpuEnabledGet... no checking for sched.h... yes checking for sys/_cpuset.h... no checking for sys/cpuset.h... no checking whether getpid is declared... yes checking for function getpid... yes checking whether sched_getaffinity is declared... no checking for function sched_getaffinity... no checking whether sched_getaffinity_np is declared... no checking for function sched_getaffinity_np... no checking whether cpuset_getaffinity is declared... no checking for function cpuset_getaffinity... no checking for fork()... yes checking for waitpid()... yes checking whether to compile with support for code coverage analysis... no checking the number of available CPUs... 10 checking for number of CPU cores to use in tests... 6 checking whether NDEBUG macro is defined... no checking whether _DEBUG macro is defined... no checking whether DEBUG macro is defined... no checking whether to enable debug asserts... no checking whether to enable run-time sanitizers... no checking whether to compile experimental code... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating src/microhttpd/microhttpd_dll_res.rc config.status: creating po/po-configure.ac config.status: creating libmicrohttpd.pc config.status: creating w32/common/microhttpd_dll_res_vc.rc config.status: creating Makefile config.status: creating contrib/Makefile config.status: creating doc/Makefile config.status: creating doc/doxygen/libmicrohttpd.doxy config.status: creating doc/doxygen/Makefile config.status: creating doc/examples/Makefile config.status: creating m4/Makefile config.status: creating src/Makefile config.status: creating src/include/Makefile config.status: creating src/lib/Makefile config.status: creating src/microhttpd/Makefile config.status: creating src/microhttpd_ws/Makefile config.status: creating src/examples/Makefile config.status: creating src/tools/Makefile config.status: creating src/testcurl/Makefile config.status: creating src/testcurl/https/Makefile config.status: creating src/testzzuf/Makefile config.status: creating MHD_config.h config.status: executing depfiles commands config.status: executing libtool commands rm: libtoolT: No such file or directory config.status: executing po/Makefile.in commands Skipping update of po/Makefile.in Real update of po/Makefile.in for 'make dist' is performed by po-config.status config.status: executing po-directories commands Skipping po-directories command. Real po-directories command for 'make dist' is implemented in po-config.status configure: WARNING: unrecognized options: --with-libiconv-prefix configure: Toolchain settings: CC=clang User/system/default flags: CPPFLAGS="-I/opt/pkg/include -DLDAP_DEPRECATED" CFLAGS= "-pipe -Os -I/opt/pkg/include -DLDAP_DEPRECATED" LDFLAGS= "-L/opt/pkg/lib" Final set of the flags for tests and examples: CPPFLAGS="-DNDEBUG=1 -D_GNU_SOURCE -D_DARWIN_C_SOURCE -I/opt/pkg/include -DLDAP_DEPRECATED" CFLAGS= "-fno-strict-aliasing -pipe -Os -I/opt/pkg/include -DLDAP_DEPRECATED" LDFLAGS= "-L/opt/pkg/lib" Final set of the flags for GNU libmicrohttpd library: CPPFLAGS="-DNDEBUG=1 -D_GNU_SOURCE -D_DARWIN_C_SOURCE -I/opt/pkg/include -DLDAP_DEPRECATED" CFLAGS= "-fno-strict-aliasing -pthread -pipe -Os -I/opt/pkg/include -DLDAP_DEPRECATED" LDFLAGS= "-L/opt/pkg/lib" configure: GNU libmicrohttpd 1.0.0 Configuration Summary: Target directory: /opt/pkg Cross-compiling: no Operating System: Darwin Threading lib: posix Inter-thread comm: pipe Shutdown of listening socket triggers select: no poll support: yes epoll support: no sendfile used: yes, Darwin-style HTTPS support: yes (using libgnutls) Messages: yes Cookie parsing: yes Postproc: yes Basic auth.: yes Digest auth.: yes Digest auth. defaults: timeout: 90 seconds (default), max nc: 1000 (default) MD5: yes, external (TLS library) SHA-256: yes, external (TLS library) SHA-512/256: yes, built-in HTTP "Upgrade": yes Compact code: yes (enabled automatically as compiler optimizes for size) Use thread names: yes Use debug asserts: no Use sanitizers: no Build static lib: yes Build shared lib: yes Build docs: yes Build examples: yes Build tools: yes Test with libcurl: yes Heavy tests: no Fuzzing tests: no, heavy tests are not enabled configure: HTTPS subsystem configuration: License : LGPL version 2.1 or any later version => Modifying libtool scripts to use pkgsrc libtool => Modifying libtool scripts to use pkgsrc depcomp