[MacPorts] #63635: libgcrypt +universal Failed to destroot: libgcrypt.pc differs in .../destroot-arm64/... and .../destroot-ppc-intel/... and cannot be merged

MacPorts noreply at macports.org
Sat Oct 16 17:34:47 UTC 2021


#63635: libgcrypt +universal Failed to destroot: libgcrypt.pc differs in
.../destroot-arm64/... and .../destroot-ppc-intel/... and cannot be merged
--------------------------+-----------------------
 Reporter:  ShadSterling  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.7.1
 Keywords:                |       Port:  libgcrypt
--------------------------+-----------------------
 If I understand right, the universal build is building separate binaries
 for arm64 and "ppc-intel" (not x86_64?), then failing to merge them into a
 universal binary because `lipo` doesn't understand the arm64 architecture

 I think these are the key log lines:

 {{{
 :debug:destroot universal: merge: merging
 /opt/local/lib/pkgconfig/libgcrypt.pc from
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libgcrypt/libgcrypt/work
 /destroot-arm64 and
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libgcrypt/libgcrypt/work
 /destroot-ppc-intel
  ⋮
 :info:destroot fatal error:
 /Library/Developer/CommandLineTools/usr/bin/lipo: can't figure out the
 architecture type of:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libgcrypt/libgcrypt/work
 /destroot-arm64//opt/local/lib/pkgconfig/libgcrypt.pc
  ⋮
 :info:destroot error: /Library/Developer/CommandLineTools/usr/bin/libtool:
 file:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libgcrypt/libgcrypt/work
 /destroot-arm64//opt/local/lib/pkgconfig/libgcrypt.pc is not an object
 file (not allowed in a library) ⋮
  ⋮
 :info:destroot error: /Library/Developer/CommandLineTools/usr/bin/libtool:
 file:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libgcrypt/libgcrypt/work
 /destroot-ppc-intel//opt/local/lib/pkgconfig/libgcrypt.pc is not an object
 file (not allowed in a library) ⋮
  ⋮
 :error:destroot Failed to destroot libgcrypt: libgcrypt.pc differs in
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libgcrypt/libgcrypt/work
 /destroot-arm64//opt/local/lib/pkgconfig and
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libgcrypt/libgcrypt/work
 /destroot-ppc-intel//opt/local/lib/pkgconfig and cannot be merged
 }}}

 I recently (maybe a week ago) reinstalled the command line tools after a
 `port install` message recommended doing so; I'm not sure if this is a
 problem with the port or with the command line tools.  I was able to `port
 upgrade outdated` without error, this came up trying to manually update
 from `git +perl5_30` to `git +perl5_32`

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


More information about the macports-tickets mailing list