[MacPorts] #48948: abcde @2.7: Can't locate MusicBrainz/DiscID.pm in @INC (was: abcde 2.7 problems with Musicbrainz)
MacPorts
noreply at macports.org
Tue Sep 22 10:32:12 PDT 2015
#48948: abcde @2.7: Can't locate MusicBrainz/DiscID.pm in @INC
-----------------------------+--------------------------------
Reporter: adam.bartley@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords:
Port: abcde |
-----------------------------+--------------------------------
Changes (by ryandesign@…):
* port: => abcde
Old description:
> 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.
New description:
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.
--
Comment:
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.
--
Ticket URL: <https://trac.macports.org/ticket/48948#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list