Opened 3 years ago

Closed 3 years ago

#63859 closed defect (fixed)

stunnel @5.60_1: error: use of undeclared identifier 'SSL_OP_BIT'

Reported by: breiter (Brian Reiter) Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: monterey Cc:
Port: stunnel

Description

options.c:

#ifdef SSL_OP_BIT
    {"BIT", SSL_OP_BIT},
#endif

openssl3 is installed and should define the SSL_OP_BIT macro.

$ port installed|egrep openssl.+\@
  openssl @1.1_4
  openssl @3_0 (active)
  openssl3 @3.0.0_2 (active)
  openssl11 @1.1.1l_5 (active)

Build error:

/usr/bin/clang -DHAVE_CONFIG_H -I.  -I/usr/kerberos/include -I/opt/local/include -DLIBDIR='"/opt/local/lib/stunnel"' -DCONFDIR='"/opt/local/etc/stunnel"' -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -MT stunnel-options.o -MD -MP -MF .deps/stunnel-options.Tpo -c -o stunnel-options.o `test -f 'options.c' || echo './'`options.c
options.c:229:13: error: use of undeclared identifier 'SSL_OP_BIT'
    {"BIT", SSL_OP_BIT},

Log:

version:1
:debug:main Starting logging for stunnel @5.60_1+libwrap
:debug:sysinfo macOS 12.0.1 (darwin/21.1.0) arch i386
:debug:sysinfo MacPorts 2.7.1
:debug:sysinfo Xcode 13.1
:debug:sysinfo SDK 12
:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 12.0
:debug:main epoch: in tree: 2 installed: 2
:debug:main openssl 3_0 exists in the ports tree
:debug:main openssl 3_0  is the latest installed
:debug:main openssl 3_0  is active
:debug:main Merging existing requested variants '' into variants
:debug:main new fully merged portvariants: perl5_32 + no_x11 + x11 - bash_completion + quartz +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/openssl
:debug:main OS darwin/21.1.0 (macOS 12.0.1) arch i386
:debug:main Sourcing PortGroup openssl 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/openssl-1.0.tcl
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Requested variant +perl5_32 is not provided by port openssl.
:debug:main Requested variant -x11 is not provided by port openssl.
:debug:main Requested variant +no_x11 is not provided by port openssl.
:debug:main Requested variant +quartz is not provided by port openssl.
:debug:main Requested variant +bash_completion is not provided by port openssl.
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main Running callback openssl::set_openssl_dependency
:debug:main Finished running callback openssl::set_openssl_dependency
:debug:main Running callback openssl::check_for_cmake
:debug:main Finished running callback openssl::check_for_cmake
:debug:main Running callback openssl::configure_build
:debug:main Finished running callback openssl::configure_build
:debug:main No need to upgrade! openssl 3_0 >= openssl 3_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main openssl3 3.0.0_2 exists in the ports tree
:debug:main openssl3 3.0.0_2  is the latest installed
:debug:main openssl3 3.0.0_2  is active
:debug:main Merging existing requested variants '' into variants
:debug:main new fully merged portvariants: perl5_32 + no_x11 + x11 - bash_completion + quartz +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/openssl3
:debug:main OS darwin/21.1.0 (macOS 12.0.1) arch i386
:debug:main Sourcing PortGroup compiler_blacklist_versions 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/compiler_blacklist_versions-1.0.tcl
:debug:main Sourcing PortGroup muniversal 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main compiler clang 1300.0.29.3 not blacklisted because it doesn't match {clang < 1001}
:debug:main muniversal: adding universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Requested variant +perl5_32 is not provided by port openssl3.
:debug:main Requested variant -x11 is not provided by port openssl3.
:debug:main Requested variant +no_x11 is not provided by port openssl3.
:debug:main Requested variant +quartz is not provided by port openssl3.
:debug:main Requested variant +bash_completion is not provided by port openssl3.
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! openssl3 3.0.0_2 >= openssl3 3.0.0_2
:debug:main epoch: in tree: 0 installed: 0
:debug:main zlib 1.2.11_0 exists in the ports tree
:debug:main zlib 1.2.11_0  is the latest installed
:debug:main zlib 1.2.11_0  is active
:debug:main Merging existing requested variants '' into variants
:debug:main new fully merged portvariants: perl5_32 + no_x11 + x11 - bash_completion + quartz +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/zlib
:debug:main OS darwin/21.1.0 (macOS 12.0.1) arch i386
:debug:main Sourcing PortGroup xcodeversion 1.0 from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/xcodeversion-1.0.tcl
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Requested variant +perl5_32 is not provided by port zlib.
:debug:main Requested variant -x11 is not provided by port zlib.
:debug:main Requested variant +no_x11 is not provided by port zlib.
:debug:main Requested variant +quartz is not provided by port zlib.
:debug:main Requested variant +bash_completion is not provided by port zlib.
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main Running callback xcodeversions_run_check
:debug:main Finished running callback xcodeversions_run_check
:debug:main No need to upgrade! zlib 1.2.11_0 >= zlib 1.2.11_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main tcp_wrappers 20_4 exists in the ports tree
:debug:main tcp_wrappers 20_4  is the latest installed
:debug:main tcp_wrappers 20_4  is active
:debug:main Merging existing requested variants '' into variants
:debug:main new fully merged portvariants: perl5_32 + no_x11 + x11 - bash_completion + quartz +
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/tcp_wrappers
:debug:main OS darwin/21.1.0 (macOS 12.0.1) arch i386
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main Requested variant +perl5_32 is not provided by port tcp_wrappers.
:debug:main Requested variant -x11 is not provided by port tcp_wrappers.
:debug:main Requested variant +no_x11 is not provided by port tcp_wrappers.
:debug:main Requested variant +quartz is not provided by port tcp_wrappers.
:debug:main Requested variant +bash_completion is not provided by port tcp_wrappers.
:debug:main Running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Finished running callback portconfigure::add_automatic_compiler_dependencies
:debug:main Running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Finished running callback portbuild::add_automatic_buildsystem_dependencies
:debug:main Running callback portstartupitem::add_notes
:debug:main Finished running callback portstartupitem::add_notes
:debug:main No need to upgrade! tcp_wrappers 20_4 >= tcp_wrappers 20_4
:msg:main --->  Computing dependencies for stunnel:info:main .:debug:main stunnel has no conflicts
:debug:main Searching for dependency: openssl
:debug:main Found Dependency: receipt exists for openssl
:debug:main Searching for dependency: tcp_wrappers
:debug:main Found Dependency: receipt exists for tcp_wrappers
:debug:main Executing org.macports.main (stunnel)
:debug:main dropping privileges: euid changed to 502, egid changed to 501.
:debug:archivefetch archivefetch phase started at Mon Nov  8 14:58:45 CAT 2021
:msg:archivefetch --->  Fetching archive for stunnel
:debug:archivefetch Executing org.macports.archivefetch (stunnel)
:debug:archivefetch euid/egid changed to: 0/0
:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
:debug:archivefetch euid/egid changed to: 502/501
:info:archivefetch --->  stunnel-5.60_1+libwrap.darwin_21.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch stunnel-5.60_1+libwrap.darwin_21.x86_64.tbz2 from https://packages.macports.org/stunnel
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch stunnel-5.60_1+libwrap.darwin_21.x86_64.tbz2 from https://jnb.za.packages.macports.org/packages/stunnel
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch stunnel-5.60_1+libwrap.darwin_21.x86_64.tbz2 from https://ema.uk.packages.macports.org/stunnel
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:debug:archivefetch Privilege de-escalation not attempted as not running as root.
:debug:fetch fetch phase started at Mon Nov  8 14:58:48 CAT 2021
:notice:fetch --->  Fetching distfiles for stunnel
:debug:fetch Executing org.macports.fetch (stunnel)
:debug:fetch Privilege de-escalation not attempted as not running as root.
:debug:checksum checksum phase started at Mon Nov  8 14:58:48 CAT 2021
:notice:checksum --->  Verifying checksums for stunnel
:debug:checksum Executing org.macports.checksum (stunnel)
:info:checksum --->  Checksumming stunnel-5.60.tar.gz
:debug:checksum Calculated (rmd160) is 71bd9f218e14ab2807ff7e16e39ec6f8c507d09c
:debug:checksum Correct (rmd160) checksum for stunnel-5.60.tar.gz
:debug:checksum Calculated (sha256) is c45d765b1521861fea9b03b425b9dd7d48b3055128c0aec673bba5ef9b8f787d
:debug:checksum Correct (sha256) checksum for stunnel-5.60.tar.gz
:debug:checksum Calculated (size) is 984278
:debug:checksum Correct (size) checksum for stunnel-5.60.tar.gz
:debug:checksum Privilege de-escalation not attempted as not running as root.
:debug:extract extract phase started at Mon Nov  8 14:58:48 CAT 2021
:notice:extract --->  Extracting stunnel
:debug:extract Executing org.macports.extract (stunnel)
:info:extract --->  Extracting stunnel-5.60.tar.gz
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/stunnel/stunnel-5.60.tar.gz'
:debug:extract Environment: 
:debug:extract CC_PRINT_OPTIONS='YES'
:debug:extract CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_stunnel/stunnel/work/.CC_PRINT_OPTIONS'
:debug:extract CPATH='/opt/local/include'
:debug:extract DEVELOPER_DIR='/Library/Developer/CommandLineTools'
:debug:extract LIBRARY_PATH='/opt/local/lib'
:debug:extract MACOSX_DEPLOYMENT_TARGET='12.0'
:debug:extract SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
:info:extract Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_stunnel/stunnel/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/stunnel/stunnel-5.60.tar.gz' | /usr/bin/tar -xf - 
:debug:extract system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_stunnel/stunnel/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/stunnel/stunnel-5.60.tar.gz' | /usr/bin/tar -xf - 
:debug:extract euid/egid changed to: 0/0
:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_stunnel/stunnel/work to macports
:debug:extract euid/egid changed to: 502/501
:debug:extract Privilege de-escalation not attempted as not running as root.
:debug:patch patch phase started at Mon Nov  8 14:58:48 CAT 2021
:debug:patch Executing org.macports.patch (stunnel)
:notice:patch --->  Applying patches to stunnel
:info:patch --->  Applying patch-configure
:debug:patch Environment: 
:debug:patch CC_PRINT_OPTIONS='YES'
:debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_stunnel/stunnel/work/.CC_PRINT_OPTIONS'
:debug:patch CPATH='/opt/local/include'
:debug:patch DEVELOPER_DIR='/Library/Developer/CommandLineTools'
:debug:patch LIBRARY_PATH='/opt/local/lib'
:debug:patch MACOSX_DEPLOYMENT_TARGET='12.0'
:debug:patch SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
:info:patch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_stunnel/stunnel/work/stunnel-5.60" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/security/stunnel/files/patch-configure'
:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_stunnel/stunnel/work/stunnel-5.60" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/security/stunnel/files/patch-configure'
:info:patch patching file configure
:info:patch Hunk #1 succeeded at 15882 with fuzz 2 (offset 3873 lines).
:info:patch --->  Applying patch-tools-Makefile.in.diff
:debug:patch Environment: 
:debug:patch CC_PRINT_OPTIONS='YES'
:debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_stunnel/stunnel/work/.CC_PRINT_OPTIONS'
:debug:patch CPATH='/opt/local/include'
:debug:patch DEVELOPER_DIR='/Library/Developer/CommandLineTools'
:debug:patch LIBRARY_PATH='/opt/local/lib'
:debug:patch MACOSX_DEPLOYMENT_TARGET='12.0'
:debug:patch SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
:info:patch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_stunnel/stunnel/work/stunnel-5.60" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/security/stunnel/files/patch-tools-Makefile.in.diff'
:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_stunnel/stunnel/work/stunnel-5.60" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/security/stunnel/files/patch-tools-Makefile.in.diff'
:info:patch patching file tools/Makefile.in
:info:patch Hunk #1 succeeded at 547 (offset 3 lines).
:info:patch --->  Applying patch-tools-openssl.cnf.diff
:debug:patch Environment: 
:debug:patch CC_PRINT_OPTIONS='YES'
:debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_stunnel/stunnel/work/.CC_PRINT_OPTIONS'
:debug:patch CPATH='/opt/local/include'
:debug:patch DEVELOPER_DIR='/Library/Developer/CommandLineTools'
:debug:patch LIBRARY_PATH='/opt/local/lib'
:debug:patch MACOSX_DEPLOYMENT_TARGET='12.0'
:debug:patch SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
:info:patch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_stunnel/stunnel/work/stunnel-5.60" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/security/stunnel/files/patch-tools-openssl.cnf.diff'
:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_stunnel/stunnel/work/stunnel-5.60" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/security/stunnel/files/patch-tools-openssl.cnf.diff'
:info:patch patching file tools/openssl.cnf
:info:patch Hunk #1 succeeded at 9 with fuzz 1.
:debug:patch Privilege de-escalation not attempted as not running as root.
:debug:configure configure phase started at Mon Nov  8 14:58:48 CAT 2021
:notice:configure --->  Configuring stunnel
:debug:configure Preferred compilers: clang macports-clang-9.0 macports-clang-13 macports-clang-12 macports-clang-11 macports-clang-10
:debug:configure Using compiler 'Xcode Clang'
:debug:configure Executing org.macports.configure (stunnel)
:debug:configure Environment: 
:debug:configure CC='/usr/bin/clang'
:debug:configure CC_PRINT_OPTIONS='YES'
:debug:configure CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_stunnel/stunnel/work/.CC_PRINT_OPTIONS'
:debug:configure CFLAGS='-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64'
:debug:configure CPATH='/opt/local/include'
:debug:configure CPPFLAGS='-I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
:debug:configure CXX='/usr/bin/clang++'
:debug:configure CXXFLAGS='-pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64'
:debug:configure DEVELOPER_DIR='/Library/Developer/CommandLineTools'
:debug:configure F90FLAGS='-pipe -Os -m64'
:debug:configure FCFLAGS='-pipe -Os -m64'
:debug:configure FFLAGS='-pipe -Os -m64'
:debug:configure INSTALL='/usr/bin/install -c'
:debug:configure LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64'
:debug:configure LIBRARY_PATH='/opt/local/lib'
:debug:configure MACOSX_DEPLOYMENT_TARGET='12.0'
:debug:configure OBJC='/usr/bin/clang'
:debug:configure OBJCFLAGS='-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64'
:debug:configure OBJCXX='/usr/bin/clang++'
:debug:configure OBJCXXFLAGS='-pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64'
:debug:configure SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
:info:configure Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_stunnel/stunnel/work/stunnel-5.60" && ./configure --prefix=/opt/local --disable-silent-rules --with-ssl=/opt/local 
:debug:configure system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_stunnel/stunnel/work/stunnel-5.60" && ./configure --prefix=/opt/local --disable-silent-rules --with-ssl=/opt/local 
:info:configure configure: **************************************** initialization
:info:configure checking for a BSD-compatible install... /usr/bin/install -c
:info:configure checking whether build environment is sane... yes
:info:configure checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
:info:configure checking for gawk... gawk
:info:configure checking whether make sets $(MAKE)... yes
:info:configure checking whether make supports nested variables... yes
:info:configure checking build system type... x86_64-apple-darwin21.1.0
:info:configure checking host system type... x86_64-apple-darwin21.1.0
:info:configure checking for gcc... /usr/bin/clang
:info:configure checking whether the C compiler works... yes
:info:configure checking for C compiler default output file name... a.out
:info:configure checking for suffix of executables... 
:info:configure checking whether we are cross compiling... no
:info:configure checking for suffix of object files... o
:info:configure checking whether we are using the GNU C compiler... yes
:info:configure checking whether /usr/bin/clang accepts -g... yes
:info:configure checking for /usr/bin/clang option to accept ISO C89... none needed
:info:configure checking whether /usr/bin/clang understands -c and -o together... yes
:info:configure checking whether make supports the include directive... yes (GNU style)
:info:configure checking dependency style of /usr/bin/clang... gcc3
:info:configure checking whether make sets $(MAKE)... (cached) yes
:info:configure checking whether make supports nested variables... (cached) yes
:info:configure configure: **************************************** thread model
:info:configure checking for a sed that does not truncate output... /opt/local/bin/gsed
:info:configure checking how to run the C preprocessor... /usr/bin/clang -E
:info:configure checking for grep that handles long lines and -e... /opt/local/bin/ggrep
:info:configure checking for egrep... /opt/local/bin/ggrep -E
:info:configure checking whether /usr/bin/clang is Clang... yes
:info:configure checking whether Clang needs flag to prevent "argument unused" warning when linking with -pthread... no
:info:configure checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
:info:configure checking whether more special flags are required for pthreads... no
:info:configure checking for PTHREAD_PRIO_INHERIT... yes
:info:configure configure: PTHREAD thread model detected
:info:configure configure: **************************************** compiler/linker flags
:info:configure checking whether C compiler accepts -Wall... yes
:info:configure checking whether C compiler accepts -Wextra... yes
:info:configure checking whether C compiler accepts -Wpedantic... yes
:info:configure checking whether C compiler accepts -Wformat=2... yes
:info:configure checking whether C compiler accepts -Wconversion... yes
:info:configure checking whether C compiler accepts -Wno-long-long... yes
:info:configure checking whether C compiler accepts -Wno-deprecated-declarations... yes
:info:configure checking whether C compiler accepts -fPIE... yes
:info:configure checking whether C compiler accepts -fstack-protector... yes
:info:configure checking whether the linker accepts -fPIE... yes
:info:configure checking whether the linker accepts -pie... yes
:info:configure checking whether the linker accepts -Wl,-z,relro... no
:info:configure checking whether the linker accepts -Wl,-z,now... no
:info:configure checking whether the linker accepts -Wl,-z,noexecstack... no
:info:configure checking whether C compiler accepts -D_FORTIFY_SOURCE=2... yes
:info:configure configure: **************************************** libtool
:info:configure checking how to print strings... printf
:info:configure checking for a sed that does not truncate output... (cached) /opt/local/bin/gsed
:info:configure checking for fgrep... /opt/local/bin/ggrep -F
:info:configure checking for ld used by /usr/bin/clang... /Library/Developer/CommandLineTools/usr/bin/ld
:info:configure checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
:info:configure checking for BSD- or MS-compatible name lister (nm)... /opt/local/bin/nm -B
:info:configure checking the name lister (/opt/local/bin/nm -B) interface... BSD nm
:info:configure checking whether ln -s works... yes
:info:configure checking the maximum length of command line arguments... 786432
:info:configure checking how to convert x86_64-apple-darwin21.1.0 file names to x86_64-apple-darwin21.1.0 format... func_convert_file_noop
:info:configure checking how to convert x86_64-apple-darwin21.1.0 file names to toolchain format... func_convert_file_noop
:info:configure checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
:info:configure checking for objdump... objdump
:info:configure checking how to recognize dependent libraries... pass_all
:info:configure checking for dlltool... no
:info:configure checking how to associate runtime and link libraries... printf %s\n
:info:configure checking for ar... ar
:info:configure checking for archiver @FILE support... no
:info:configure checking for strip... strip
:info:configure checking for ranlib... ranlib
:info:configure checking command to parse /opt/local/bin/nm -B output from /usr/bin/clang object... ok
:info:configure checking for sysroot... no
:info:configure checking for a working dd... /bin/dd
:info:configure checking how to truncate binary pipes... /bin/dd bs=4096 count=1
:info:configure checking for mt... no
:info:configure checking if : is a manifest tool... no
:info:configure checking for dsymutil... dsymutil
:info:configure checking for nmedit... nmedit
:info:configure checking for lipo... lipo
:info:configure checking for otool... otool
:info:configure checking for otool64... no
:info:configure checking for -single_module linker flag... yes
:info:configure checking for -exported_symbols_list linker flag... yes
:info:configure checking for -force_load linker flag... yes
:info:configure checking for ANSI C header files... yes
:info:configure checking for sys/types.h... yes
:info:configure checking for sys/stat.h... yes
:info:configure checking for stdlib.h... yes
:info:configure checking for string.h... yes
:info:configure checking for memory.h... yes
:info:configure checking for strings.h... yes
:info:configure checking for inttypes.h... yes
:info:configure checking for stdint.h... yes
:info:configure checking for unistd.h... yes
:info:configure checking for dlfcn.h... yes
:info:configure checking for objdir... .libs
:info:configure checking if /usr/bin/clang supports -fno-rtti -fno-exceptions... yes
:info:configure checking for /usr/bin/clang option to produce PIC... -fno-common -DPIC
:info:configure checking if /usr/bin/clang PIC flag -fno-common -DPIC works... yes
:info:configure checking if /usr/bin/clang static flag -static works... no
:info:configure checking if /usr/bin/clang supports -c -o file.o... yes
:info:configure checking if /usr/bin/clang supports -c -o file.o... (cached) yes
:info:configure checking whether the /usr/bin/clang linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
:info:configure checking dynamic linker characteristics... darwin21.1.0 dyld
:info:configure checking how to hardcode library paths into programs... immediate
:info:configure checking whether stripping libraries is possible... yes
:info:configure checking if libtool supports shared libraries... yes
:info:configure checking whether to build shared libraries... yes
:info:configure checking whether to build static libraries... no
:info:configure configure: **************************************** types
:info:configure checking for int8_t... yes
:info:configure checking for int16_t... yes
:info:configure checking for int32_t... yes
:info:configure checking for int64_t... yes
:info:configure checking for uint8_t... yes
:info:configure checking for uint16_t... yes
:info:configure checking for uint32_t... yes
:info:configure checking for uint64_t... yes
:info:configure checking for size_t... yes
:info:configure checking for ssize_t... yes
:info:configure checking for uid_t in sys/types.h... yes
:info:configure checking for socklen_t... yes
:info:configure checking for struct sockaddr_un... yes
:info:configure checking for struct addrinfo... yes
:info:configure configure: **************************************** PTY device files
:info:configure checking for "/dev/ptmx"... yes
:info:configure checking for "/dev/ptc"... no
:info:configure configure: **************************************** entropy sources
:info:configure checking for "/dev/urandom"... yes
:info:configure configure: **************************************** default group
:info:configure checking for default group... nogroup
:info:configure checking for special C compiler options needed for large files... no
:info:configure checking for _FILE_OFFSET_BITS value needed for large files... no
:info:configure configure: **************************************** header files
:info:configure checking for stdint.h... (cached) yes
:info:configure checking for inttypes.h... (cached) yes
:info:configure checking malloc.h usability... no
:info:configure checking malloc.h presence... no
:info:configure checking for malloc.h... no
:info:configure checking ucontext.h usability... yes
:info:configure checking ucontext.h presence... yes
:info:configure checking for ucontext.h... yes
:info:configure checking pthread.h usability... yes
:info:configure checking pthread.h presence... yes
:info:configure checking for pthread.h... yes
:info:configure checking poll.h usability... yes
:info:configure checking poll.h presence... yes
:info:configure checking for poll.h... yes
:info:configure checking tcpd.h usability... yes
:info:configure checking tcpd.h presence... yes
:info:configure checking for tcpd.h... yes
:info:configure checking stropts.h usability... no
:info:configure checking stropts.h presence... no
:info:configure checking for stropts.h... no
:info:configure checking grp.h usability... yes
:info:configure checking grp.h presence... yes
:info:configure checking for grp.h... yes
:info:configure checking for unistd.h... (cached) yes
:info:configure checking util.h usability... yes
:info:configure checking util.h presence... yes
:info:configure checking for util.h... yes
:info:configure checking libutil.h usability... no
:info:configure checking libutil.h presence... no
:info:configure checking for libutil.h... no
:info:configure checking pty.h usability... no
:info:configure checking pty.h presence... no
:info:configure checking for pty.h... no
:info:configure checking limits.h usability... yes
:info:configure checking limits.h presence... yes
:info:configure checking for limits.h... yes
:info:configure checking for sys/types.h... (cached) yes
:info:configure checking sys/select.h usability... yes
:info:configure checking sys/select.h presence... yes
:info:configure checking for sys/select.h... yes
:info:configure checking sys/poll.h usability... yes
:info:configure checking sys/poll.h presence... yes
:info:configure checking for sys/poll.h... yes
:info:configure checking sys/socket.h usability... yes
:info:configure checking sys/socket.h presence... yes
:info:configure checking for sys/socket.h... yes
:info:configure checking sys/un.h usability... yes
:info:configure checking sys/un.h presence... yes
:info:configure checking for sys/un.h... yes
:info:configure checking sys/ioctl.h usability... yes
:info:configure checking sys/ioctl.h presence... yes
:info:configure checking for sys/ioctl.h... yes
:info:configure checking sys/filio.h usability... yes
:info:configure checking sys/filio.h presence... yes
:info:configure checking for sys/filio.h... yes
:info:configure checking sys/resource.h usability... yes
:info:configure checking sys/resource.h presence... yes
:info:configure checking for sys/resource.h... yes
:info:configure checking sys/uio.h usability... yes
:info:configure checking sys/uio.h presence... yes
:info:configure checking for sys/uio.h... yes
:info:configure checking sys/syscall.h usability... yes
:info:configure checking sys/syscall.h presence... yes
:info:configure checking for sys/syscall.h... yes
:info:configure checking sys/param.h usability... yes
:info:configure checking sys/param.h presence... yes
:info:configure checking for sys/param.h... yes
:info:configure checking linux/sched.h usability... no
:info:configure checking linux/sched.h presence... no
:info:configure checking for linux/sched.h... no
:info:configure checking for struct msghdr.msg_control... yes
:info:configure checking for linux/netfilter_ipv4.h... no
:info:configure configure: **************************************** libraries
:info:configure checking for library containing gethostbyname... none required
:info:configure checking for library containing yp_get_default_domain... none required
:info:configure checking for library containing socket... none required
:info:configure checking for library containing openpty... none required
:info:configure checking for library containing dlopen... none required
:info:configure checking for library containing shl_load... no
:info:configure configure: **************************************** library functions
:info:configure checking for snprintf... yes
:info:configure checking for vsnprintf... yes
:info:configure checking for openpty... yes
:info:configure checking for _getpty... no
:info:configure checking for daemon... yes
:info:configure checking for waitpid... yes
:info:configure checking for wait4... yes
:info:configure checking for setsid... yes
:info:configure checking for setgroups... yes
:info:configure checking for chroot... yes
:info:configure checking for realpath... yes
:info:configure checking for sysconf... yes
:info:configure checking for getrlimit... yes
:info:configure checking for pthread_sigmask... yes
:info:configure checking for localtime_r... yes
:info:configure checking for getcontext... yes
:info:configure checking for __makecontext_v2... no
:info:configure checking for poll... yes
:info:configure checking for gethostbyname2... yes
:info:configure checking for endhostent... yes
:info:configure checking for getnameinfo... yes
:info:configure checking for getaddrinfo... yes
:info:configure checking for broken poll() implementation... no
:info:configure checking for pipe2... no
:info:configure checking for accept4... no
:info:configure configure: **************************************** optional features
:info:configure checking whether to enable IPv6 support... yes (default)
:info:configure checking whether to enable FIPS support... autodetecting
:info:configure checking whether to enable systemd socket activation support... autodetecting
:info:configure checking for library containing sd_listen_fds... no
:info:configure configure: systemd library not found
:info:configure checking whether to enable TCP wrappers support... autodetecting
:info:configure checking for hosts_access in -lwrap... yes
:info:configure configure: libwrap support enabled
:info:configure configure: **************************************** TLS
:info:configure checking for TLS directory... /opt/local
:info:configure checking for FIPS_mode_set... no
:info:configure checking for OSSL_PROVIDER_available... yes
:info:configure configure: FIPS support enabled
:info:configure checking whether DH parameters need to be updated... no
:info:configure configure: **************************************** write the results
:info:configure checking that generated files are newer than configure... done
:info:configure configure: creating ./config.status
:info:configure config.status: creating Makefile
:info:configure config.status: creating src/Makefile
:info:configure config.status: creating doc/Makefile
:info:configure config.status: creating tools/Makefile
:info:configure config.status: creating tests/Makefile
:info:configure config.status: creating tests/certs/Makefile
:info:configure config.status: creating src/config.h
:info:configure config.status: executing depfiles commands
:info:configure config.status: executing libtool commands
:info:configure configure: **************************************** success
:debug:configure Executing portconfigure::configure_finish
:debug:configure Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Mon Nov  8 14:59:02 CAT 2021
:notice:build --->  Building stunnel
:debug:build Executing org.macports.build (stunnel)
:debug:build Environment: 
:debug:build CC_PRINT_OPTIONS='YES'
:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_stunnel/stunnel/work/.CC_PRINT_OPTIONS'
:debug:build CPATH='/opt/local/include'
:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
:debug:build LIBRARY_PATH='/opt/local/lib'
:debug:build MACOSX_DEPLOYMENT_TARGET='12.0'
:debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_stunnel/stunnel/work/stunnel-5.60" && /usr/bin/make -j16 -w all cert 
:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_stunnel/stunnel/work/stunnel-5.60" && /usr/bin/make -j16 -w all cert 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_stunnel/stunnel/work/stunnel-5.60'
:info:build /Library/Developer/CommandLineTools/usr/bin/make -C tools cert
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_stunnel/stunnel/work/stunnel-5.60/tools'
:info:build ./makecert.sh . /opt/local /dev/urandom
:info:build Making all in src
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_stunnel/stunnel/work/stunnel-5.60/src'
:info:build /Library/Developer/CommandLineTools/usr/bin/make  all-am
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_stunnel/stunnel/work/stunnel-5.60/src'
:info:build /usr/bin/clang -DHAVE_CONFIG_H -I.  -I/usr/kerberos/include -I/opt/local/include -DLIBDIR='"/opt/local/lib/stunnel"' -DCONFDIR='"/opt/local/etc/stunnel"' -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -MT stunnel-tls.o -MD -MP -MF .deps/stunnel-tls.Tpo -c -o stunnel-tls.o `test -f 'tls.c' || echo './'`tls.c
:info:build /usr/bin/clang -DHAVE_CONFIG_H -I.  -I/usr/kerberos/include -I/opt/local/include -DLIBDIR='"/opt/local/lib/stunnel"' -DCONFDIR='"/opt/local/etc/stunnel"' -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -MT stunnel-str.o -MD -MP -MF .deps/stunnel-str.Tpo -c -o stunnel-str.o `test -f 'str.c' || echo './'`str.c
:info:build /usr/bin/clang -DHAVE_CONFIG_H -I.  -I/usr/kerberos/include -I/opt/local/include -DLIBDIR='"/opt/local/lib/stunnel"' -DCONFDIR='"/opt/local/etc/stunnel"' -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -MT stunnel-file.o -MD -MP -MF .deps/stunnel-file.Tpo -c -o stunnel-file.o `test -f 'file.c' || echo './'`file.c
:info:build /usr/bin/clang -DHAVE_CONFIG_H -I.  -I/usr/kerberos/include -I/opt/local/include -DLIBDIR='"/opt/local/lib/stunnel"' -DCONFDIR='"/opt/local/etc/stunnel"' -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -MT stunnel-client.o -MD -MP -MF .deps/stunnel-client.Tpo -c -o stunnel-client.o `test -f 'client.c' || echo './'`client.c
:info:build /usr/bin/clang -DHAVE_CONFIG_H -I.  -I/usr/kerberos/include -I/opt/local/include -DLIBDIR='"/opt/local/lib/stunnel"' -DCONFDIR='"/opt/local/etc/stunnel"' -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -MT stunnel-log.o -MD -MP -MF .deps/stunnel-log.Tpo -c -o stunnel-log.o `test -f 'log.c' || echo './'`log.c
:info:build /usr/bin/clang -DHAVE_CONFIG_H -I.  -I/usr/kerberos/include -I/opt/local/include -DLIBDIR='"/opt/local/lib/stunnel"' -DCONFDIR='"/opt/local/etc/stunnel"' -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -MT stunnel-options.o -MD -MP -MF .deps/stunnel-options.Tpo -c -o stunnel-options.o `test -f 'options.c' || echo './'`options.c
:info:build /usr/bin/clang -DHAVE_CONFIG_H -I.  -I/usr/kerberos/include -I/opt/local/include -DLIBDIR='"/opt/local/lib/stunnel"' -DCONFDIR='"/opt/local/etc/stunnel"' -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -MT stunnel-protocol.o -MD -MP -MF .deps/stunnel-protocol.Tpo -c -o stunnel-protocol.o `test -f 'protocol.c' || echo './'`protocol.c
:info:build /usr/bin/clang -DHAVE_CONFIG_H -I.  -I/usr/kerberos/include -I/opt/local/include -DLIBDIR='"/opt/local/lib/stunnel"' -DCONFDIR='"/opt/local/etc/stunnel"' -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -MT stunnel-network.o -MD -MP -MF .deps/stunnel-network.Tpo -c -o stunnel-network.o `test -f 'network.c' || echo './'`network.c
:info:build /usr/bin/clang -DHAVE_CONFIG_H -I.  -I/usr/kerberos/include -I/opt/local/include -DLIBDIR='"/opt/local/lib/stunnel"' -DCONFDIR='"/opt/local/etc/stunnel"' -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -MT stunnel-resolver.o -MD -MP -MF .deps/stunnel-resolver.Tpo -c -o stunnel-resolver.o `test -f 'resolver.c' || echo './'`resolver.c
:info:build /usr/bin/clang -DHAVE_CONFIG_H -I.  -I/usr/kerberos/include -I/opt/local/include -DLIBDIR='"/opt/local/lib/stunnel"' -DCONFDIR='"/opt/local/etc/stunnel"' -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -MT stunnel-ssl.o -MD -MP -MF .deps/stunnel-ssl.Tpo -c -o stunnel-ssl.o `test -f 'ssl.c' || echo './'`ssl.c
:info:build /usr/bin/clang -DHAVE_CONFIG_H -I.  -I/usr/kerberos/include -I/opt/local/include -DLIBDIR='"/opt/local/lib/stunnel"' -DCONFDIR='"/opt/local/etc/stunnel"' -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -MT stunnel-ctx.o -MD -MP -MF .deps/stunnel-ctx.Tpo -c -o stunnel-ctx.o `test -f 'ctx.c' || echo './'`ctx.c
:info:build /usr/bin/clang -DHAVE_CONFIG_H -I.  -I/usr/kerberos/include -I/opt/local/include -DLIBDIR='"/opt/local/lib/stunnel"' -DCONFDIR='"/opt/local/etc/stunnel"' -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -MT stunnel-verify.o -MD -MP -MF .deps/stunnel-verify.Tpo -c -o stunnel-verify.o `test -f 'verify.c' || echo './'`verify.c
:info:build /usr/bin/clang -DHAVE_CONFIG_H -I.  -I/usr/kerberos/include -I/opt/local/include -DLIBDIR='"/opt/local/lib/stunnel"' -DCONFDIR='"/opt/local/etc/stunnel"' -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -MT stunnel-sthreads.o -MD -MP -MF .deps/stunnel-sthreads.Tpo -c -o stunnel-sthreads.o `test -f 'sthreads.c' || echo './'`sthreads.c
:info:build /usr/bin/clang -DHAVE_CONFIG_H -I.  -I/usr/kerberos/include -I/opt/local/include -DLIBDIR='"/opt/local/lib/stunnel"' -DCONFDIR='"/opt/local/etc/stunnel"' -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -MT stunnel-fd.o -MD -MP -MF .deps/stunnel-fd.Tpo -c -o stunnel-fd.o `test -f 'fd.c' || echo './'`fd.c
:info:build /usr/bin/clang -DHAVE_CONFIG_H -I.  -I/usr/kerberos/include -I/opt/local/include -DLIBDIR='"/opt/local/lib/stunnel"' -DCONFDIR='"/opt/local/etc/stunnel"' -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -MT stunnel-dhparam.o -MD -MP -MF .deps/stunnel-dhparam.Tpo -c -o stunnel-dhparam.o `test -f 'dhparam.c' || echo './'`dhparam.c
:info:build ctx.c:237:9: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
:info:build         SSL_CTX_get_options(section->ctx),
:info:build         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:info:build options.c:229:13: error: use of undeclared identifier 'SSL_OP_BIT'
:info:build     {"BIT", SSL_OP_BIT},
:info:build             ^
:info:build mv -f .deps/stunnel-dhparam.Tpo .deps/stunnel-dhparam.Po
:info:build 1+0 records in
:info:build 1+0 records out
:info:build 256 bytes transferred in 0.000063 secs (4067204 bytes/sec)
:info:build /usr/bin/clang -DHAVE_CONFIG_H -I.  -I/usr/kerberos/include -I/opt/local/include -DLIBDIR='"/opt/local/lib/stunnel"' -DCONFDIR='"/opt/local/etc/stunnel"' -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -MT stunnel-cron.o -MD -MP -MF .deps/stunnel-cron.Tpo -c -o stunnel-cron.o `test -f 'cron.c' || echo './'`cron.c
:info:build .+.....+.........++++++++mv -f .deps/stunnel-tls.Tpo .deps/stunnel-tls.Po
:info:build +++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+.......+...+...+..+....+++++++++++++++++++++++++++++mv -f .deps/stunnel-sthreads.Tpo .deps/stunnel-sthreads.Po
:info:build ++++++++++++++++++++++++++++++++++++*mv -f .deps/stunnel-file.Tpo .deps/stunnel-file.Po
:info:build ..+..../usr/bin/clang -DHAVE_CONFIG_H -I.  -I/usr/kerberos/include -I/opt/local/include -DLIBDIR='"/opt/local/lib/stunnel"' -DCONFDIR='"/opt/local/etc/stunnel"' -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -MT stunnel-stunnel.o -MD -MP -MF .deps/stunnel-stunnel.Tpo -c -o stunnel-stunnel.o `test -f 'stunnel.c' || echo './'`stunnel.c
:info:build ..../usr/bin/clang -DHAVE_CONFIG_H -I.  -I/usr/kerberos/include -I/opt/local/include -DLIBDIR='"/opt/local/lib/stunnel"' -DCONFDIR='"/opt/local/etc/stunnel"' -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -MT stunnel-pty.o -MD -MP -MF .deps/stunnel-pty.Tpo -c -o stunnel-pty.o `test -f 'pty.c' || echo './'`pty.c
:info:build ..mv -f .deps/stunnel-fd.Tpo .deps/stunnel-fd.Po
:info:build ..+/usr/bin/clang -DHAVE_CONFIG_H -I.  -I/usr/kerberos/include -I/opt/local/include -DLIBDIR='"/opt/local/lib/stunnel"' -DCONFDIR='"/opt/local/etc/stunnel"' -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -MT stunnel-libwrap.o -MD -MP -MF .deps/stunnel-libwrap.Tpo -c -o stunnel-libwrap.o `test -f 'libwrap.c' || echo './'`libwrap.c
:info:build ....1 error generated.
:info:build ./usr/bin/clang -DHAVE_CONFIG_H -I.  -I/usr/kerberos/include -I/opt/local/include -DLIBDIR='"/opt/local/lib/stunnel"' -DCONFDIR='"/opt/local/etc/stunnel"' -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -pthread -Wall -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -MT stunnel-ui_unix.o -MD -MP -MF .deps/stunnel-ui_unix.Tpo -c -o stunnel-ui_unix.o `test -f 'ui_unix.c' || echo './'`ui_unix.c
:info:build .......+......+make[2]: *** [stunnel-options.o] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build .....+............+.......+.........mv -f .deps/stunnel-ssl.Tpo .deps/stunnel-ssl.Po
:info:build +............+.....+............+.......+...+...+.........+.mv -f .deps/stunnel-resolver.Tpo .deps/stunnel-resolver.Po
:info:build ..+......+.....+.......+.....+...+mv -f .deps/stunnel-log.Tpo .deps/stunnel-log.Po
:info:build ....+..+...+............+....+.........+...+.................+.......+......+mv -f .deps/stunnel-str.Tpo .deps/stunnel-str.Po
:info:build ..+.+..............+......+......+....+...........+......+....+...+...+...+.....+......+.+...+......+.......................+......+....+mv -f .deps/stunnel-verify.Tpo .deps/stunnel-verify.Po
:info:build ..+...+.............+..mv -f .deps/stunnel-network.Tpo .deps/stunnel-network.Po
:info:build ......+.........+...+.......+...........+.........+...+....+...+......+.................+............+.+.....+.......+..+.+..+.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
:info:build ........+....+..+................+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+.........+......+.....+...............+......+...+.+....................+.+..1 warning generated.
:info:build ...+...+....+..+.+...+.mv -f .deps/stunnel-ctx.Tpo .deps/stunnel-ctx.Po
:info:build ........+...............+.....+......+....+.....+......+......+...+.+..+.......+............+.........+.....+...mv -f .deps/stunnel-pty.Tpo .deps/stunnel-pty.Po
:info:build .............+...+..+.............++++++++++++++++mv -f .deps/stunnel-cron.Tpo .deps/stunnel-cron.Po
:info:build +++++++++++++++++++++++++++mv -f .deps/stunnel-ui_unix.Tpo .deps/stunnel-ui_unix.Po
:info:build ++++++++++++++++++++++
:info:build mv -f .deps/stunnel-libwrap.Tpo .deps/stunnel-libwrap.Po
:info:build -----
:info:build mv -f .deps/stunnel-protocol.Tpo .deps/stunnel-protocol.Po
:info:build Certificate details:
:info:build mv -f .deps/stunnel-client.Tpo .deps/stunnel-client.Po
:info:build subject=CN = localhost
:info:build notBefore=Nov  8 12:59:03 2021 GMT
:info:build notAfter=Nov  8 12:59:03 2025 GMT
:info:build SHA1 Fingerprint=29:98:3F:58:86:BA:E8:C7:3B:06:4A:5D:92:B2:EE:79:65:10:28:9C
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_stunnel/stunnel/work/stunnel-5.60/tools'
:info:build mv -f .deps/stunnel-stunnel.Tpo .deps/stunnel-stunnel.Po
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_stunnel/stunnel/work/stunnel-5.60/src'
:info:build make[1]: *** [all] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_stunnel/stunnel/work/stunnel-5.60/src'
:info:build make: *** [all-recursive] Error 1
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_stunnel/stunnel/work/stunnel-5.60'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_stunnel/stunnel/work/stunnel-5.60" && /usr/bin/make -j16 -w all cert 
:info:build Exit code: 2
:error:build Failed to build stunnel: command execution failed
:debug:build Error code: CHILDSTATUS 72956 2
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec -callback portprogress::target_progress_callback build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_security_stunnel/stunnel/main.log for details.

Change History (6)

comment:1 Changed 3 years ago by breiter (Brian Reiter)

I have stunnel @5.6.0_0 installed and I literally cannot see anything different in the Portfile other than the revision number from 0 to 1.

I don't really understand what changed.

comment:2 Changed 3 years ago by breiter (Brian Reiter)

Maybe related to change of openssl::default_branch from 1.1 to 3?

[c4e8bb15818ee2f0debe47b8e9bf5b4574a61c09/macports-ports]

Last edited 3 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to Schamschula
Status: newassigned
Summary: stunnel @5.60_1 will not build on Monterey 12.0.1 x86_64stunnel @5.60_1: error: use of undeclared identifier 'SSL_OP_BIT'

Exactly, that is what changed.

comment:4 Changed 3 years ago by Schamschula (Marius Schamschula)

In 89170f362e7a3b2a0c6f08d6d6eabb16b399c82c/macports-ports (master):

stunnel: fix use of undeclared identifier 'SSL_OP_BIT'

See: #63859

comment:5 Changed 3 years ago by breiter (Brian Reiter)

It built this morning for me and it is working. Thanks.

comment:6 Changed 3 years ago by cjones051073 (Chris Jones)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.