[MacPorts] #62722: libgcrypt @1.9.3+universal: dependency libgpg-error cannot build for the required archs (arm64 x86_64)
MacPorts
noreply at macports.org
Thu Apr 29 10:37:18 UTC 2021
#62722: libgcrypt @1.9.3+universal: dependency libgpg-error cannot build for the
required archs (arm64 x86_64)
-------------------------------------+-------------------------
Reporter: epavlica | Owner: Schamschula
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: libgcrypt libgpg-error |
-------------------------------------+-------------------------
Comment (by epavlica):
I found that the porting creates x86_64 and arm64 destroot. There are also
scripts like gpg-error-config. And lipo fails when it wants to merge both
archs together into fat file.
{{{
...
DEBUG: system: /usr/bin/lipo -create "/opt/local/var/macports/build
/_Users_pavlica_ports_devel_libgpg-error/libgpg-error/work/destroot-
arm64//opt/local/bin/gpg-error-config" "/opt/local/var/macports/build
/_Users_pavlica_ports_devel_libgpg-error/libgpg-error/work/destroot-ppc-
intel//opt/local/bin/gpg-error-config" -output
"/opt/local/var/macports/build/_Users_pavlica_ports_devel_libgpg-error
/libgpg-error/work/destroot//opt/local/bin/gpg-error-config"
fatal error: /Library/Developer/CommandLineTools/usr/bin/lipo: can't
figure out the architecture type of: /opt/local/var/macports/build
/_Users_pavlica_ports_devel_libgpg-error/libgpg-error/work/destroot-
arm64//opt/local/bin/gpg-error-config
}}}
Do you maybe have any hint on how to control merge process?
--
Ticket URL: <https://trac.macports.org/ticket/62722#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list