[MacPorts] #62198: libgcrypt: @1.9.1 fails to build +universal

MacPorts noreply at macports.org
Tue Feb 2 03:00:30 UTC 2021


#62198: libgcrypt: @1.9.1 fails to build +universal
------------------------+-------------------------
  Reporter:  Gcenx      |      Owner:  Schamschula
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  libgcrypt  |
------------------------+-------------------------

Comment (by kencu):

 We have some work to do with this. On BigSur Intel, you can't build
 libgcrypt +universal unless you first build libgpg-error +universal.

 And you can't build libgpg-error +universal on a BigSur intel machine,
 because is says "merger_must_run_binaries", and it can't run arm64
 binaries on BigSur intel.

 The port info is confusing:

 If you just do a port info, it claims there is a universal variant:
 {{{
 % port info libgpg-error
 libgpg-error @1.41 (devel)
 Variants:             universal

 Description:          libgpg-error is a library that defines common error
 values for all GnuPG components. Among
                       these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
 pinentry, SmartCard Daemon and possibly more
                       in the future.
 Homepage:             https://www.gnupg.org/

 Library Dependencies: libiconv, gettext
 Platforms:            darwin
 License:              LGPL-2.1+
 Maintainers:          Email: mps at macports.org, GitHub: Schamschula
                       Policy: openmaintainer
 }}}
 but there really isn't, and you only see that when you try this (note - no
 universal variant):
 {{{
 % port info libgpg-error +universal
 libgpg-error @1.41 (devel)

 Description:          libgpg-error is a library that defines common error
 values for all GnuPG components. Among
                       these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt,
 pinentry, SmartCard Daemon and possibly more
                       in the future.
 Homepage:             https://www.gnupg.org/

 Library Dependencies: libiconv, gettext
 Platforms:            darwin
 License:              LGPL-2.1+
 Maintainers:          Email: mps at macports.org, GitHub: Schamschula
                       Policy: openmaintainer
 }}}

 and that happens, I guess, because it's not really sorted out whether
 there is or there isn't a universal variant until you enable the universal
 variant and do a port info.

 Which I guess is a small enough trick so as not to confuse people too
 much.

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


More information about the macports-tickets mailing list