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

MacPorts noreply at macports.org
Mon Mar 20 21:14:58 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
Resolution:               |   Keywords:
      Port:  rpki-client  |
--------------------------+--------------------

Comment (by artkiver):

 {{{

 % sudo port -v install +openssl
 --->  Computing dependencies for rpki-client....
 The following dependencies will be installed:
  libretls
  openssl
  openssl3
 Continue? [Y/n]:

 }}}

 omitting messages of dependencies being built for brevity.

 {{{

 --->  Fetching archive for rpki-client
 --->  rpki-client-8.3_0+openssl.darwin_22.arm64.tbz2 doesn't seem to exist
 in /opt/local/var/macports/incoming/verified
 --->  Attempting to fetch rpki-client-8.3_0+openssl.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+openssl.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+openssl.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
 --->  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'
 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/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-rrdp_delta.o
   CC       rpki_client-rrdp_snapshot.o
   CC       rpki_client-rsc.o
   CC       rpki_client-output-ometric.o
   CC       rpki_client-rsync.o
   CC       rpki_client-rrdp_notification.o
   CC       rpki_client-tak.o
   CC       rpki_client-rrdp_util.o
 rsc.c:54:3: warning: no previous prototype for function
 'ConstrainedASIdentifiers_it' [-Wmissing-prototypes]
 } ASN1_SEQUENCE_END(ConstrainedASIdentifiers);
   ^
 /opt/local/include/openssl/asn1t.h:160:36: note: expanded from macro
 'ASN1_SEQUENCE_END'
 # define ASN1_SEQUENCE_END(stname) ASN1_SEQUENCE_END_name(stname, stname)
                                    ^
 /opt/local/include/openssl/asn1t.h:166:9: note: expanded from macro
 'ASN1_SEQUENCE_END_name'
         ASN1_ITEM_start(tname) \
         ^
 /opt/local/include/openssl/asn1t.h:94:27: note: expanded from macro
 'ASN1_ITEM_start'
         const ASN1_ITEM * itname##_it(void) \
                           ^
 <scratch space>:89:1: note: expanded from here
 ConstrainedASIdentifiers_it
 ^
 rsc.c:54:3: note: declare 'static' if the function is not intended to be
 used outside of this translation unit
 /opt/local/include/openssl/asn1t.h:160:36: note: expanded from macro
 'ASN1_SEQUENCE_END'
 # define ASN1_SEQUENCE_END(stname) ASN1_SEQUENCE_END_name(stname, stname)
                                    ^
 /opt/local/include/openssl/asn1t.h:166:9: note: expanded from macro
 'ASN1_SEQUENCE_END_name'
         ASN1_ITEM_start(tname) \
         ^
 /opt/local/include/openssl/asn1t.h:94:15: note: expanded from macro
 'ASN1_ITEM_start'
         const ASN1_ITEM * itname##_it(void) \
               ^
 rsc.c:66:3: warning: no previous prototype for function
 'ConstrainedIPAddressFamily_it' [-Wmissing-prototypes]
 } ASN1_SEQUENCE_END(ConstrainedIPAddressFamily);
   ^
 /opt/local/include/openssl/asn1t.h:160:36: note: expanded from macro
 'ASN1_SEQUENCE_END'
 # define ASN1_SEQUENCE_END(stname) ASN1_SEQUENCE_END_name(stname, stname)
                                    ^
 /opt/local/include/openssl/asn1t.h:166:9: note: expanded from macro
 'ASN1_SEQUENCE_END_name'
         ASN1_ITEM_start(tname) \
         ^
 /opt/local/include/openssl/asn1t.h:94:27: note: expanded from macro
 'ASN1_ITEM_start'
         const ASN1_ITEM * itname##_it(void) \
                           ^
 <scratch space>:99:1: note: expanded from here
 ConstrainedIPAddressFamily_it
 ^
 rsc.c:66:3: note: declare 'static' if the function is not intended to be
 used outside of this translation unit
 /opt/local/include/openssl/asn1t.h:160:36: note: expanded from macro
 'ASN1_SEQUENCE_END'
 # define ASN1_SEQUENCE_END(stname) ASN1_SEQUENCE_END_name(stname, stname)
                                    ^
 /opt/local/include/openssl/asn1t.h:166:9: note: expanded from macro
 'ASN1_SEQUENCE_END_name'
         ASN1_ITEM_start(tname) \
         ^
 /opt/local/include/openssl/asn1t.h:94:15: note: expanded from macro
 'ASN1_ITEM_start'
         const ASN1_ITEM * itname##_it(void) \
               ^
 tak.c:72:3: warning: no previous prototype for function 'TAKey_it'
 [-Wmissing-prototypes]
 } ASN1_SEQUENCE_END(TAKey);
   ^
 /opt/local/include/openssl/asn1t.h:160:36: note: expanded from macro
 'ASN1_SEQUENCE_END'
 # define ASN1_SEQUENCE_END(stname) ASN1_SEQUENCE_END_name(stname, stname)
                                    ^
 /opt/local/include/openssl/asn1t.h:166:9: note: expanded from macro
 'ASN1_SEQUENCE_END_name'
         ASN1_ITEM_start(tname) \
         ^
 /opt/local/include/openssl/asn1t.h:94:27: note: expanded from macro
 'ASN1_ITEM_start'
         const ASN1_ITEM * itname##_it(void) \
                           ^
 <scratch space>:31:1: note: expanded from here
 TAKey_it
 ^
 tak.c:72:3: note: declare 'static' if the function is not intended to be
 used outside of this translation unit
 /opt/local/include/openssl/asn1t.h:160:36: note: expanded from macro
 'ASN1_SEQUENCE_END'
 # define ASN1_SEQUENCE_END(stname) ASN1_SEQUENCE_END_name(stname, stname)
                                    ^
 /opt/local/include/openssl/asn1t.h:166:9: note: expanded from macro
 'ASN1_SEQUENCE_END_name'
         ASN1_ITEM_start(tname) \
         ^
 /opt/local/include/openssl/asn1t.h:94:15: note: expanded from macro
 'ASN1_ITEM_start'
         const ASN1_ITEM * itname##_it(void) \
               ^
 tak.c:79:3: warning: no previous prototype for function 'TAK_it'
 [-Wmissing-prototypes]
 } ASN1_SEQUENCE_END(TAK);
   ^
 /opt/local/include/openssl/asn1t.h:160:36: note: rsc.cexpanded from macro
 'ASN1_SEQUENCE_END'
 # define ASN1_SEQUENCE_END(stname) ASN1_SEQUENCE_END_name(stname, stname)
                                    ^
 /opt/local/include/openssl/asn1t.h:166:9: note: expanded from macro
 'ASN1_SEQUENCE_END_name'
         ASN1_ITEM_start(tname) \
         ^
 /opt/local/include/openssl/asn1t.h:94:27: note: expanded from macro
 'ASN1_ITEM_start'
         const ASN1_ITEM * itname##_it(void) \
                           ^
 <scratch space>:44:1: note: expanded from here
 TAK_it
 ^
 tak.c:79:3: note: declare 'static' if the function is not intended to be
 used outside of this translation unit
 /opt/local/include/openssl/asn1t.h:160:36: note: expanded from macro
 'ASN1_SEQUENCE_END'
 # define ASN1_SEQUENCE_END(stname) ASN1_SEQUENCE_END_name(stname, stname)
                                    ^
 /opt/local/include/openssl/asn1t.h:166:9: note: expanded from macro
 'ASN1_SEQUENCE_END_name'
         ASN1_ITEM_start(tname) \
         ^
 /opt/local/include/openssl/asn1t.h:94:15: note: expanded from macro
 'ASN1_ITEM_start'
         const ASN1_ITEM * itname##_it(void) \
               ^
 :74:1: warning: no previous prototype for function
 'ConstrainedIPAddrBlocks_it' [-Wmissing-prototypes]
 ASN1_ITEM_TEMPLATE_END(ConstrainedIPAddrBlocks);
 ^
 /opt/local/include/openssl/asn1t.h:113:9: note: expanded from macro
 'ASN1_ITEM_TEMPLATE_END'
         ASN1_ITEM_start(tname) \
         ^
 /opt/local/include/openssl/asn1t.h:94:27: note: expanded from macro
 'ASN1_ITEM_start'
         const ASN1_ITEM * itname##_it(void) \
                           ^
 <scratch space>:68:1: note: expanded from here
 ConstrainedIPAddrBlocks_it
 ^
 tak.c:145:11: warning: 'EVP_PKEY_get0_RSA' is deprecated [-Wdeprecated-
 declarations]
         if ((r = EVP_PKEY_get0_RSA(pkey)) == NULL) {
                  ^
 rsc.c:74:1: note: declare 'static' if the function is not intended to be
 used outside of this translation unit
 /opt/local/include/openssl/asn1t.h:113:9: note: expanded from macro
 'ASN1_ITEM_TEMPLATE_END'
 /opt/local/include/openssl/evp.h:1348:1:         ASN1_ITEM_start(tname)
 \note: 'EVP_PKEY_get0_RSA' has been explicitly marked deprecated here
         ^
 /opt/local/include/openssl/asn1t.h:94:15: note: expanded from macro
 'ASN1_ITEM_start'
         const ASN1_ITEM * itname##_it(void) \
               ^
 rsc.c:85:3: warning: no previous prototype for function 'ResourceBlock_it'
 [-Wmissing-prototypes]

 } ASN1_SEQUENCE_END(ResourceBlock);
   ^
 /opt/local/include/openssl/asn1t.hOSSL_DEPRECATEDIN_3_0
 ^
 /opt/local/include/openssl/macros.h:193:49: :note: 160expanded from macro
 'OSSL_DEPRECATEDIN_3_0':
 36: note: expanded from macro 'ASN1_SEQUENCE_END'
 # define ASN1_SEQUENCE_END(stname) ASN1_SEQUENCE_END_name(stname, stname)
 #   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
 ^

                                                 ^
 /opt/local/include/openssl/asn1t.h:166/opt/local/include/openssl/macros.h::962::
 52note: :expanded from macro 'ASN1_SEQUENCE_END_name'
 note: expanded from macro 'OSSL_DEPRECATED'
         ASN1_ITEM_start(tname) \
         ^
 /opt/local/include/openssl/asn1t.h:94:27: note: #     define
 OSSL_DEPRECATED(since) __attribute__((deprecated))expanded from macro
 'ASN1_ITEM_start'

                                                    ^
         const ASN1_ITEM * itname##_it(void) \
                           ^
 <scratch space>:76:1: note: expanded from here
 ResourceBlock_it
 ^
 rsc.c:85:3: note: declare 'static' if the function is not intended to be
 used outside of this translation unit
 /opt/local/include/openssl/asn1t.h:160:36: note: expanded from macro
 'ASN1_SEQUENCE_END'
 tak.c:145:9: warning: assigning to 'RSA *' (aka 'struct rsa_st *') from
 'const struct rsa_st *' discards qualifiers [-Wincompatible-pointer-types-
 discards-qualifiers]
 # define ASN1_SEQUENCE_END(stname) ASN1_SEQUENCE_END_name(stname, stname)
                                    ^
 /opt/local/include/openssl/asn1t.h:166:9: note: expanded from macro
 'ASN1_SEQUENCE_END_name'
         if ((r = EVP_PKEY_get0_RSA(pkey)) == NULL) {
                ^ ~~~~~~~~~~~~~~~~~~~~~~~
         ASN1_ITEM_start(tname) \
         ^
 /opt/local/include/openssl/asn1t.h:94:15: note: expanded from macro
 'ASN1_ITEM_start'
         const ASN1_ITEM * itname##_it(void) \
               ^
 tak.c:150:16: warning: 'i2d_RSAPublicKey' is deprecated [-Wdeprecated-
 declarations]
         if ((rdersz = i2d_RSAPublicKey(r, &rder)) <= 0) {
                       ^
 /opt/local/include/openssl/rsa.h:313:41: note: 'i2d_RSAPublicKey' has been
 explicitly marked deprecated here
 DECLARE_ASN1_ENCODE_FUNCTIONS_name_attr(OSSL_DEPRECATEDIN_3_0,
                                         ^
 /opt/local/include/openssl/macros.h:193:49: note: expanded from macro
 'OSSL_DEPRECATEDIN_3_0'
 #   define OSSL_DEPRECATEDIN_3_0                OSSL_DEPRECATED(3.0)
                                                 ^
 /opt/local/include/openssl/macros.h:62:52: note: expanded from macro
 'OSSL_DEPRECATED'
 #     define OSSL_DEPRECATED(since) __attribute__((deprecated))
                                                    ^
 rsc.c:107:3: warning: no previous prototype for function
 'FileNameAndHash_it' [-Wmissing-prototypes]
 } ASN1_SEQUENCE_END(FileNameAndHash);
   ^
 /opt/local/include/openssl/asn1t.h:160:36: note: expanded from macro
 'ASN1_SEQUENCE_END'
 # define ASN1_SEQUENCE_END(stname) ASN1_SEQUENCE_END_name(stname, stname)
                                    ^
 /opt/local/include/openssl/asn1t.h:166:9: note: expanded from macro
 'ASN1_SEQUENCE_END_name'
         ASN1_ITEM_start(tname) \
         ^
 /opt/local/include/openssl/asn1t.h:94:27: note: expanded from macro
 'ASN1_ITEM_start'
         const ASN1_ITEM * itname##_it(void) \
                           ^
 <scratch space>:52:1: note: expanded from here
 FileNameAndHash_it
 ^
 rsc.c:107:3: note: declare 'static' if the function is not intended to be
 used outside of this translation unit
 /opt/local/include/openssl/asn1t.h:160:36: note: expanded from macro
 'ASN1_SEQUENCE_END'
 # define ASN1_SEQUENCE_END(stname) ASN1_SEQUENCE_END_name(stname, stname)
                                    ^
 /opt/local/include/openssl/asn1t.h:166:9: note: expanded from macro
 'ASN1_SEQUENCE_END_name'
         ASN1_ITEM_start(tname) \
         ^
 /opt/local/include/openssl/asn1t.h:94:15: note: expanded from macro
 'ASN1_ITEM_start'
         const ASN1_ITEM * itname##_it(void) \
               ^
 rsc.c:121:3: warning: no previous prototype for function
 'RpkiSignedChecklist_it' [-Wmissing-prototypes]
 } ASN1_SEQUENCE_END(RpkiSignedChecklist);
   ^
 /opt/local/include/openssl/asn1t.h:160:36: note: expanded from macro
 'ASN1_SEQUENCE_END'
 # define ASN1_SEQUENCE_END(stname) ASN1_SEQUENCE_END_name(stname, stname)
                                    ^
 /opt/local/include/openssl/asn1t.h:166:9: note: expanded from macro
 'ASN1_SEQUENCE_END_name'
         ASN1_ITEM_start(tname) \
         ^
 /opt/local/include/openssl/asn1t.h:94:27: note: expanded from macro
 'ASN1_ITEM_start'
         const ASN1_ITEM * itname##_it(void) \
                           ^
 <scratch space>:66:1: note: expanded from here
 RpkiSignedChecklist_it
 ^
 rsc.c:121:3: note: declare 'static' if the function is not intended to be
 used outside of this translation unit
 /opt/local/include/openssl/asn1t.h:160:36: note: expanded from macro
 'ASN1_SEQUENCE_END'
 # define ASN1_SEQUENCE_END(stname) ASN1_SEQUENCE_END_name(stname, stname)
                                    ^
 /opt/local/include/openssl/asn1t.h:166:9: note: expanded from macro
 'ASN1_SEQUENCE_END_name'
         ASN1_ITEM_start(tname) \
         ^
 /opt/local/include/openssl/asn1t.h:94:15: note: expanded from macro
 'ASN1_ITEM_start'
         const ASN1_ITEM * itname##_it(void) \
               ^
 output-ometric.c:131:16: error: use of undeclared identifier
 'HOST_NAME_MAX'
         char hostname[HOST_NAME_MAX + 1];
                       ^
 1 error generated.
 make[1]: *** [rpki_client-output-ometric.o] Error 1
 make[1]: *** Waiting for unfinished jobs....
 5 warnings generated.
 6 warnings generated.
 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#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list