[MacPorts] #67126: issues building rpki-client 8.3

MacPorts noreply at macports.org
Mon Mar 20 20:45:41 UTC 2023


#67126: issues building rpki-client 8.3
----------------------+-------------------------
 Reporter:  artkiver  |      Owner:  (none)
     Type:  update    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.8.1
 Keywords:            |       Port:  rpki-client
----------------------+-------------------------
 Attempted to update the Portfile for rpki-client after 8.3 was released
 the other day yet have run into some issues.


 {{{

 rpki-client % sudo port -v install
 --->  Computing dependencies for rpki-client.
 --->  Fetching archive for rpki-client
 --->  rpki-client-8.3_0+libressl.darwin_22.arm64.tbz2 doesn't seem to
 exist in /opt/local/var/macports/incoming/verified
 --->  Attempting to fetch rpki-client-8.3_0+libressl.darwin_22.arm64.tbz2
 from http://mirror.fcix.net/macports/packages/rpki-client
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0   153    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0
 --->  Attempting to fetch rpki-client-8.3_0+libressl.darwin_22.arm64.tbz2
 from https://packages.macports.org/rpki-client
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0   126    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0
 --->  Attempting to fetch rpki-client-8.3_0+libressl.darwin_22.arm64.tbz2
 from https://ywg.ca.packages.macports.org/mirror/macports/packages/rpki-
 client
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
   0   153    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--
 0
 --->  Fetching distfiles for rpki-client
 --->  Verifying checksums for rpki-client
 --->  Checksumming rpki-client-8.3.tar.gz
 --->  Extracting rpki-client
 --->  Extracting rpki-client-8.3.tar.gz
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_net_rpki-client/rpki-client/work" &&
 /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/rpki-client/rpki-
 client-8.3.tar.gz' | /usr/bin/tar -xf -
 --->  Configuring rpki-client
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_net_rpki-client/rpki-client/work
 /rpki-client-8.3" && ./configure --prefix=/opt/local --without-libretls
 configure: WARNING: unrecognized options: --without-libretls
 checking build system type... arm-apple-darwin22.3.0
 checking host system type... arm-apple-darwin22.3.0
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for a thread-safe mkdir -p... /opt/local/bin/gmkdir -p
 checking for gawk... gawk
 checking whether make sets $(MAKE)... yes
 checking whether make supports nested variables... yes
 checking whether make supports nested variables... (cached) yes
 checking whether the C compiler works... yes
 checking for C compiler default output file name... a.out
 checking for suffix of executables...
 checking whether we are cross compiling... no
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether /usr/bin/clang accepts -g... yes
 checking for /usr/bin/clang option to accept ISO C89... none needed
 checking whether /usr/bin/clang understands -c and -o together... yes
 checking whether make supports the include directive... yes (GNU style)
 checking dependency style of /usr/bin/clang... gcc3
 checking for a sed that does not truncate output... /opt/local/bin/gsed
 checking for gcc... /usr/bin/clang
 checking whether we are using the GNU C compiler... (cached) yes
 checking whether /usr/bin/clang accepts -g... (cached) yes
 checking for /usr/bin/clang option to accept ISO C89... (cached) none
 needed
 checking whether /usr/bin/clang understands -c and -o together... (cached)
 yes
 checking dependency style of /usr/bin/clang... (cached) gcc3
 checking for /usr/bin/clang option to accept ISO C99... none needed
 checking for /usr/bin/clang option to accept ISO Standard C... (cached)
 none needed
 checking how to print strings... printf
 checking for a sed that does not truncate output... (cached)
 /opt/local/bin/gsed
 checking for grep that handles long lines and -e... /usr/bin/grep
 checking for egrep... /usr/bin/grep -E
 checking for fgrep... /usr/bin/grep -F
 checking for ld used by /usr/bin/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)... /opt/local/bin/nm
 -B
 checking the name lister (/opt/local/bin/nm -B) interface... BSD nm
 checking whether ln -s works... yes
 checking the maximum length of command line arguments... 786432
 checking whether the shell understands some XSI constructs... yes
 checking whether the shell understands "+="... yes
 checking how to convert arm-apple-darwin22.3.0 file names to arm-apple-
 darwin22.3.0 format... func_convert_file_noop
 checking how to convert arm-apple-darwin22.3.0 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 objdump... objdump
 checking how to recognize dependent libraries... pass_all
 checking for dlltool... no
 checking how to associate runtime and link libraries... printf %s\n
 checking for ar... ar
 checking for archiver @FILE support... no
 checking for strip... strip
 checking for ranlib... ranlib
 checking command to parse /opt/local/bin/nm -B output from /usr/bin/clang
 object... ok
 checking for sysroot... no
 checking for mt... no
 checking if : is a manifest tool... no
 checking for dsymutil... dsymutil
 checking for nmedit... nmedit
 checking for lipo... lipo
 checking for otool... otool
 checking for otool64... no
 checking for -single_module linker flag... yes
 checking for -exported_symbols_list linker flag... yes
 checking for -force_load linker flag... yes
 checking how to run the C preprocessor... /usr/bin/clang -E
 checking for ANSI C header files... yes
 checking for sys/types.h... yes
 checking for sys/stat.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking for dlfcn.h... yes
 checking for objdir... .libs
 checking if /usr/bin/clang supports -fno-rtti -fno-exceptions... yes
 checking for /usr/bin/clang option to produce PIC... -fno-common -DPIC
 checking if /usr/bin/clang PIC flag -fno-common -DPIC works... yes
 checking if /usr/bin/clang static flag -static works... no
 checking if /usr/bin/clang supports -c -o file.o... yes
 checking if /usr/bin/clang supports -c -o file.o... (cached) yes
 checking whether the /usr/bin/clang linker
 (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared
 libraries... yes
 checking dynamic linker characteristics... darwin22.3.0 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 whether CC supports -Wno-pointer-sign... yes
 checking if compiling with clang... yes
 checking for explicit_bzero... no
 checking for reallocarray... no
 checking for recallocarray... no
 checking for freezero... no
 checking for setproctitle... no
 checking for setgroups... yes
 checking for setregid... yes
 checking for setresgid... no
 checking for setreuid... yes
 checking for setresuid... no
 checking for memrchr... no
 checking for strlcat... yes
 checking for strlcpy... yes
 checking for strtonum... yes
 checking for pledge... no
 checking for unveil... no
 checking for getdtablecount... no
 checking for pipe2... no
 checking for ppoll... no
 checking for strnvis... yes
 checking for working strnvis... no
 checking for library containing ibuf_open... no
 checking for ibuf_open... no
 checking for library containing inet_net_pton... none required
 checking for inet_net_pton... yes
 checking for working inet_net_pton... no
 checking fts.h usability... yes
 checking fts.h presence... yes
 checking for fts.h... yes
 checking for library containing fts_open... none required
 checking for fts_open... yes
 checking err.h usability... yes
 checking err.h presence... yes
 checking for err.h... yes
 checking sha2.h usability... no
 checking sha2.h presence... no
 checking for sha2.h... no
 checking openssl/cms.h usability... yes
 checking openssl/cms.h presence... yes
 checking for openssl/cms.h... yes
 checking openssl/err.h usability... yes
 checking openssl/err.h presence... yes
 checking for openssl/err.h... yes
 checking openssl/evp.h usability... yes
 checking openssl/evp.h presence... yes
 checking for openssl/evp.h... yes
 checking openssl/ssl.h usability... yes
 checking openssl/ssl.h presence... yes
 checking for openssl/ssl.h... yes
 checking openssl/x509.h usability... yes
 checking openssl/x509.h presence... yes
 checking for openssl/x509.h... yes
 checking openssl/x509v3.h usability... yes
 checking openssl/x509v3.h presence... yes
 checking for openssl/x509v3.h... yes
 checking for ASN1_STRING_get0_data in -lcrypto... yes
 checking for X509_up_ref... yes
 checking for ASIdentifiers_free... yes
 checking for IPAddressRange_free... yes
 checking for X509v3_addr_is_canonical... yes
 checking for X509v3_asid_is_canonical... yes
 checking tls.h usability... yes
 checking tls.h presence... yes
 checking for tls.h... yes
 checking for library containing tls_read... -ltls
 checking for tls_default_ca_cert_file... yes
 checking for tls_config_set_ca_mem... yes
 checking for ASN1_time_parse... yes
 checking for ASN1_time_tm_cmp... yes
 checking for X509_get_extension_flags... yes
 checking expat.h usability... yes
 checking expat.h presence... yes
 checking for expat.h... yes
 checking for XML_Parse in -lexpat... yes
 checking for XML_Parse... yes
 checking for XML_SetUserData... yes
 checking linux/landlock.h usability... no
 checking linux/landlock.h presence... no
 checking for linux/landlock.h... no
 checking for openrsync... no
 checking for rsync... rsync
 checking that generated files are newer than configure... done
 configure: creating ./config.status
 config.status: creating Makefile
 config.status: creating include/Makefile
 config.status: creating compat/Makefile
 config.status: creating src/Makefile
 config.status: executing depfiles commands
 config.status: executing libtool commands
 configure: WARNING: unrecognized options: --without-libretls
 --->  Building rpki-client
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_net_rpki-client/rpki-client/work
 /rpki-client-8.3" && /usr/bin/make -j8 -w all
 make: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_net_rpki-client/rpki-client/work
 /rpki-client-8.3'
 Making all in include
 make[1]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_net_rpki-client/rpki-client/work
 /rpki-client-8.3/include'
 make[1]: Nothing to be done for `all'.
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_net_rpki-client/rpki-client/work
 /rpki-client-8.3/include'
 Making all in compat
 make[1]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_net_rpki-client/rpki-client/work
 /rpki-client-8.3/compat'
   CC       socket.lo
   CC       recallocarray.lo
   CC       freezero.lo
   CC       pipe2.lo
   CC       inet_net_pton.lo
   CC       reallocarray.lo
   CC       ppoll.lo
   CC       memrchr.lo
   CC       setproctitle.lo
   CC       bsd-setresgid.lo
   CC       bsd-setresuid.lo
   CC       imsg.lo
   CC       vis.lo
   CC       imsg-buffer.lo
   CC       pledge.lo
   CC       unveil.lo
   CC       libcompatnoopt_la-explicit_bzero.lo
   CCLD     libcompat.la
   CCLD     libcompatnoopt.la
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_net_rpki-client/rpki-client/work
 /rpki-client-8.3/compat'
 Making all in src
 make[1]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_net_rpki-client/rpki-client/work
 /rpki-client-8.3/src'
   CC       rpki_client-as.o
   CC       rpki_client-aspa.o
   CC       rpki_client-cert.o
   CC       rpki_client-gbr.o
   CC       rpki_client-cms.o
   CC       rpki_client-crl.o
   CC       rpki_client-encoding.o
   CC       rpki_client-filemode.o
   CC       rpki_client-geofeed.o
   CC       rpki_client-http.o
   CC       rpki_client-ip.o
   CC       rpki_client-io.o
   CC       rpki_client-log.o
   CC       rpki_client-main.o
   CC       rpki_client-mft.o
   CC       rpki_client-mkdir.o
   CC       rpki_client-ometric.o
   CC       rpki_client-output-bgpd.o
   CC       rpki_client-output-bird.o
   CC       rpki_client-output-csv.o
   CC       rpki_client-output-json.o
   CC       rpki_client-output-ometric.o
   CC       rpki_client-output.o
   CC       rpki_client-parser.o
   CC       rpki_client-print.o
   CC       rpki_client-repo.o
 output-ometric.c:131:16: error: use of undeclared identifier
 'HOST_NAME_MAX'
         char hostname[HOST_NAME_MAX + 1];
                       ^
 1 error generated.
   CC       rpki_client-roa.o
 make[1]: *** [rpki_client-output-ometric.o] Error 1
 make[1]: *** Waiting for unfinished jobs....
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_net_rpki-client/rpki-client/work
 /rpki-client-8.3/src'
 make: *** [all-recursive] Error 1
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_net_rpki-client/rpki-client/work
 /rpki-client-8.3'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_net_rpki-client/rpki-client/work
 /rpki-client-8.3" && /usr/bin/make -j8 -w all
 Exit code: 2
 Error: Failed to build rpki-client: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_net_rpki-client/rpki-client/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there
 is a bug.
 Error: Processing of port rpki-client failed

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67126>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list