Opened 9 years ago

Last modified 4 years ago

#48948 closed defect

abcde @2.7: Can't locate MusicBrainz/DiscID.pm in @INC — at Version 1

Reported by: adamb2903 Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
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 (1)

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.

Note: See TracTickets for help on using tickets.