Opened 9 years ago

Closed 4 years ago

#48948 closed defect (fixed)

abcde @2.7: Can't locate MusicBrainz/DiscID.pm 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 Carsten 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/XSLoader.pm 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 (9)

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

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

When I run abcde-musicbrainz-tool I get:

$ abcde-musicbrainz-tool 
Can't locate MusicBrainz/DiscID.pm 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 9 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:3 Changed 9 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 9 years ago by pathfinder@…

If you put in your .abcde.conf file

CDDBMETHOD=cddb

instead of

CDDBMETHOD=musicbrainz

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 6 years 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 6 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:7 Changed 6 years ago by chrstphrchvz (Christopher Chavez)

Also, I'm not sure the maintainer (eclipsed.net:gr) was ever notified of this ticket.

comment:8 Changed 6 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to gr@…
Status: newassigned

comment:9 Changed 4 years ago by tobypeterson

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.