Opened 4 years ago

Last modified 8 months ago

#48948 assigned defect

abcde @2.7: Can't locate MusicBrainz/ in @INC

Reported by: adamb2903 Owned by: 0x6772 (Gabriel Rosenkoetter)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: kurthindenburg (Kurt Hindenburg), chrstphrchvz (Christopher Chavez)
Port: abcde

Description (last modified by ryandesign (Ryan Schmidt))

This programme has improved greatly and I use it happily under linux. Sadly it has been caught out by perl changes on osx. At present no macport package installs the perl musicbrainz library. If this is installed by via the perl cpan repository copmmand, abcde does not recognise it, as it looks to /usr/bin/perl, not the one under /opt. If the cpan repository library (version 0.30) is installed for /usr/bin/perl, the following error message stops the show:

Perl API version v5.16.0 of CODE(0x7f81328e3fa8) does not match v5.18.0 at /System/Library/Perl/5.18/ line 95.
Compilation failed in require at /opt/local/bin/abcde-musicbrainz-tool line 18.

At present you would have to say that the programme is effectively non-functioning. Any advice appreciated.

Change History (8)

comment:1 Changed 4 years ago by ryandesign (Ryan Schmidt)

Description: modified (diff)
Port: abcde added
Summary: abcde 2.7 problems with Musicbrainzabcde @2.7: Can't locate MusicBrainz/ in @INC

When I run abcde-musicbrainz-tool I get:

$ abcde-musicbrainz-tool 
Can't locate MusicBrainz/ in @INC (you may need to install the MusicBrainz::DiscID module) (@INC contains: /Library/Perl/5.18/darwin-thread-multi-2level /Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level /Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.2 /System/Library/Perl/5.18/darwin-thread-multi-2level /System/Library/Perl/5.18 /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level /System/Library/Perl/Extras/5.18 .) at /opt/local/bin/abcde-musicbrainz-tool line 18.
BEGIN failed--compilation aborted at /opt/local/bin/abcde-musicbrainz-tool line 18.

Sounds like we should add a p5-musicbrainz-discid port, and then make the abcde port depend on it.

Also, the #!/usr/bin/perl line that starts the abcde-musicbrainz-tool script will have to be changed to a specific MacPorts perl program.

comment:2 Changed 4 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:3 Changed 4 years ago by kurthindenburg (Kurt Hindenburg)

I just committed p5-musicbrainz-discid - you can try to get it working yourself - I'll see about getting abcde to work with in sometime.

comment:4 Changed 4 years ago by pathfinder@…

If you put in your .abcde.conf file


instead of


Then everything works fine and you don't even need to install p5-musicbrainz-discid to make the program function. However you don't get to use musicbrainz, but cddb so far has found my songs.

Let me know if you get abcde scripts working with musicbrainz and I will test it out. I tried to get the path problem sorted out, but I don't know perl very well so I was pretty lost.

comment:5 Changed 8 months ago by chrstphrchvz (Christopher Chavez)

I had added p5-musicbrainz-discid as a dependency but neglected to find this ticket and refer to it in the commit. Can this be closed?

comment:6 Changed 8 months ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:7 Changed 8 months ago by chrstphrchvz (Christopher Chavez)

Also, I'm not sure the maintainer ( was ever notified of this ticket.

comment:8 Changed 8 months ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to gr@…
Status: newassigned
Note: See TracTickets for help on using tickets.