[MacPorts] #64501: abcde: Can't load DiscID.bundle

MacPorts noreply at macports.org
Sun Jan 23 16:54:23 UTC 2022


#64501: abcde: Can't load DiscID.bundle
--------------------+----------------------
 Reporter:  breun   |      Owner:  0x6772
     Type:  defect  |     Status:  assigned
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  abcde
--------------------+----------------------
 I tried using `abcde`, but it fails with this error:

 {{{
 Can't load '/opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-
 2level/auto/MusicBrainz/DiscID/DiscID.bundle' for module
 MusicBrainz::DiscID: dlopen(/opt/local/lib/perl5/vendor_perl/5.34/darwin-
 thread-multi-2level/auto/MusicBrainz/DiscID/DiscID.bundle, 0x0001): tried:
 '/opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-
 2level/auto/MusicBrainz/DiscID/DiscID.bundle' (mach-o file, but is an
 incompatible architecture (have 'arm64', need 'x86_64h')),
 '/usr/local/lib/DiscID.bundle' (no such file), '/usr/lib/DiscID.bundle'
 (no such file) at /opt/local/lib/perl5/5.34/XSLoader.pm line 96.
  at /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-
 2level/MusicBrainz/DiscID.pm line 19.
 Compilation failed in require at /opt/local/bin/abcde-musicbrainz-tool
 line 18.
 BEGIN failed--compilation aborted at /opt/local/bin/abcde-musicbrainz-tool
 line 18.
 }}}


 It indeed seems that `DiscID.bundle` is an arm64 bundle on my Intel Mac:

 {{{
 ❯ file /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-
 2level/auto/MusicBrainz/DiscID/DiscID.bundle
 /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-
 2level/auto/MusicBrainz/DiscID/DiscID.bundle: Mach-O 64-bit bundle arm64
 }}}

 I have this version of `abcde` installed:

 {{{
 ❯ port installed | grep abcde
   abcde @2.9.3_1 (active)
 }}}

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


More information about the macports-tickets mailing list