[MacPorts] #67146: qt4-mac fails to install during rev-upgrade which was triggered by a successful xhost install

MacPorts noreply at macports.org
Sat Mar 25 22:25:51 UTC 2023


#67146: qt4-mac fails to install during rev-upgrade which was triggered by a
successful xhost install
-----------------------+-----------------------
  Reporter:  kwolcott  |      Owner:  michaelld
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  qt4-mac   |
-----------------------+-----------------------
Changes (by ryandesign):

 * status:  new => assigned
 * cc: michaelld (removed)
 * keywords:  install rev-upgrade =>
 * owner:  (none) => michaelld


Comment:

 Yes, rev-upgrade runs after any successful port install or upgrade.

 The qt4-mac Port specifies (via its inclusion of the qt4-1.0 portgroup,
 which contains a `supported_archs` directive) that it does not support
 arm64, so the port will build for x86_64 on your Apple Silicon Mac, and
 all of its dependencies must be installed universal to accommodate that.
 MacPorts should have done that automatically but that doesn't seem to have
 happened because the errors in the log begin with:

 {{{
 ld: warning: ignoring file /opt/local/lib/libssl.dylib, building for
 macOS-x86_64 but attempting to link with file built for macOS-arm64
 ld: warning: ignoring file /opt/local/lib/libcrypto.dylib, building for
 macOS-x86_64 but attempting to link with file built for macOS-arm64
 Undefined symbols for architecture x86_64:
   "_ASN1_INTEGER_get", referenced from:
       q_ASN1_INTEGER_get(asn1_string_st*) in qsslsocket_openssl_symbols.o
      (maybe you meant: q_ASN1_INTEGER_get(asn1_string_st*))
 }}}

 You can get a list of ports that are a dependency of qt4-mac that are
 architecture-specific (i.e. are not "noarch") by running this command:

 {{{
 port -qv installed rdepof:qt4-mac | grep -Ev "'noarch'"
 }}}

 What does it show? I'm curious to see what it tells us about the openssl
 ports, because the error message is happening because those openssl
 libraries are not installed universal, but that shouldn't be possible.

-- 
Ticket URL: <https://trac.macports.org/ticket/67146#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list