[MacPorts] #62722: libgcrypt @1.9.3+universal: dependency libgpg-error cannot build for the required archs (arm64 x86_64)

MacPorts noreply at macports.org
Wed Apr 21 15:17:33 UTC 2021


#62722: libgcrypt @1.9.3+universal: dependency libgpg-error cannot build for the
required archs (arm64 x86_64)
----------------------+-----------------------
 Reporter:  epavlica  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:            |       Port:  libgcrypt
----------------------+-----------------------
 when trying to install libgcrypto +universal variant for intel and m1
 processors, the installation fails due to libgpg-error port, which is not
 available for arm64 architecture.

 {{{
 sudo port install libgcrypt +universal
 Warning: The macOS 11.2 SDK does not appear to be installed. Ports may not
 build correctly.
 Warning: You can install it as part of the Xcode Command Line Tools
 package by running `xcode-select --install'.
 --->  Computing dependencies for libgcrypt
 Error: Cannot install libgcrypt for the archs 'arm64 x86_64' because
 Error: its dependency libgpg-error cannot build for the required archs.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port libgcrypt failed
 }}}

 Note 1: The warning regarding SDK is persisting although I manually
 installed command-line tools 12.4 and XCode 12.3, accepted license and
 builded everything successfully (program was working) without +universal
 flag.
 Note 2: I attached main.log for xmlsec, which is the package, i need to
 install and which requires libgcrypt. I have tried many different things,
 therefore main.log is probably so large.

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


More information about the macports-tickets mailing list