Package Details: perl-musicbrainz-discid 0.04-1

Git Clone URL: https://aur.archlinux.org/perl-musicbrainz-discid.git (read-only)
Package Base: perl-musicbrainz-discid
Description: This packages the MusicBrainz-DiscID distribution, containing the MusicBrainz::DiscID module!
Upstream URL: https://metacpan.org/release/MusicBrainz-DiscID
Licenses: GPL, PerlArtistic
Submitter: elelay
Maintainer: andmars
Last Packager: andmars
Votes: 42
Popularity: 2.367013
First Submitted: 2012-12-08 19:45
Last Updated: 2017-07-08 17:22

Latest Comments

pnylon commented on 2016-07-15 17:44

My apologies! I did that and of course it works. Thank you.

andmars commented on 2016-07-15 16:53

@pnylon

You need to simply re-build and re-install this package. That fixes the issue.

pnylon commented on 2016-07-15 15:31

Recently after an update, when running abcde I am seeing this:

Getting CD track info... lib/MusicBrainz/DiscID.c: loadable library and perl binaries are mismatched (got handshake key 0xdb00080, needed 0xdb80080)

I don't know what is causing it.

martynjy commented on 2015-05-01 15:12

I'm getting stack smashing:

==> Making package: perl-musicbrainz-discid 0.03-2 (Fri 1 May 13:19:09 BST 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading MusicBrainz-DiscID-0.03.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 5343 100 5343 0 0 16407 0 --:--:-- --:--:-- --:--:-- 16389
-> Found pod-encoding.patch
-> Found new-musicbrainz-urls.patch
==> Validating source files with md5sums...
MusicBrainz-DiscID-0.03.tar.gz ... Passed
pod-encoding.patch ... Passed
new-musicbrainz-urls.patch ... Passed
==> Extracting sources...
-> Extracting MusicBrainz-DiscID-0.03.tar.gz with bsdtar
==> Starting prepare()...
patching file lib/MusicBrainz/DiscID.pm
patching file t/10discid.t
==> Starting build()...
Found pkg-config version 0.28.
Found libdiscid library version 0.6.1.
LIBDISCID_CFLAGS =
LIBDISCID_LIBS = -ldiscid
Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'MusicBrainz-DiscID' version '0.03'
Module::Build will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at ./Build, line 40.
Building MusicBrainz-DiscID
cc -I/usr/lib/perl5/core_perl/CORE -DVERSION="0.03" -DXS_VERSION="0.03" -fPIC -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -march=i686 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -o lib/MusicBrainz/DiscID.o lib/MusicBrainz/DiscID.c
lib/MusicBrainz/DiscID.c: In function ‘XS_MusicBrainz__DiscID_discid_get_webservice_url’:
lib/MusicBrainz/DiscID.c:393:2: warning: ‘discid_get_webservice_url’ is deprecated (declared at /usr/include/discid/discid.h:324) [-Wdeprecated-declarations]
RETVAL = discid_get_webservice_url(disc);
^
ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/MusicBrainz/DiscID/DiscID.bs')
cc -shared -Wl,-O1,--sort-common,--as-needed,-z,relro -L/usr/local/lib -fstack-protector -o blib/arch/auto/MusicBrainz/DiscID/DiscID.so lib/MusicBrainz/DiscID.o -ldiscid
Module::Build will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at ./Build, line 40.
t/00use.t ..... ok
t/05pod.t ..... ok
t/10discid.t .. *** stack smashing detected ***: /usr/bin/perl terminated
t/10discid.t .. 1/54 ======= Backtrace: =========
/usr/lib/libc.so.6(+0x69b89)[0xb73b1b89]
/usr/lib/libc.so.6(__fortify_fail+0x37)[0xb7442427]
/usr/lib/libc.so.6(+0xfa3ea)[0xb74423ea]
/home/arch/builds/perl-musicbrainz-discid/src/MusicBrainz-DiscID-0.03/blib/arch/auto/MusicBrainz/DiscID/DiscID.so(_fini+0x0)[0xb75214b4]
/home/arch/builds/perl-musicbrainz-discid/src/MusicBrainz-DiscID-0.03/blib/arch/auto/MusicBrainz/DiscID/DiscID.so(+0x112b)[0xb751f12b]
/usr/lib/perl5/core_perl/CORE/libperl.so(Perl_pp_entersub+0x48c)[0xb75dcddc]
/usr/lib/perl5/core_perl/CORE/libperl.so(Perl_runops_standard+0x17)[0xb75d5807]
/usr/lib/perl5/core_perl/CORE/libperl.so(perl_run+0x303)[0xb75687c3]
/usr/bin/perl(main+0x14f)[0x8048aaf]
/usr/lib/libc.so.6(__libc_start_main+0xde)[0xb736064e]
/usr/bin/perl[0x8048ae2]
======= Memory map: ========
08048000-08049000 r-xp 00000000 08:05 790445 /usr/bin/perl
08049000-0804a000 r--p 00000000 08:05 790445 /usr/bin/perl
0804a000-0804b000 rw-p 00001000 08:05 790445 /usr/bin/perl
094fa000-096a9000 rw-p 00000000 00:00 0 [heap]
b70db000-b70f7000 r-xp 00000000 08:05 785353 /usr/lib/libgcc_s.so.1
b70f7000-b70f8000 rw-p 0001b000 08:05 785353 /usr/lib/libgcc_s.so.1
b711c000-b72a5000 r--p 00000000 08:05 829282 /usr/lib/locale/locale-archive
b72a5000-b72a6000 rw-p 00000000 00:00 0
b72a6000-b72bf000 r-xp 00000000 08:05 785119 /usr/lib/libpthread-2.21.so
b72bf000-b72c0000 r--p 00018000 08:05 785119 /usr/lib/libpthread-2.21.so
b72c0000-b72c1000 rw-p 00019000 08:05 785119 /usr/lib/libpthread-2.21.so
b72c1000-b72c3000 rw-p 00000000 00:00 0
b72c3000-b72cc000 r-xp 00000000 08:05 785103 /usr/lib/libcrypt-2.21.so
b72cc000-b72cd000 r--p 00008000 08:05 785103 /usr/lib/libcrypt-2.21.so
b72cd000-b72ce000 rw-p 00009000 08:05 785103 /usr/lib/libcrypt-2.21.so
b72ce000-b72f6000 rw-p 00000000 00:00 0
b72f6000-b7341000 r-xp 00000000 08:05 785146 /usr/lib/libm-2.21.so
b7341000-b7342000 r--p 0004a000 08:05 785146 /usr/lib/libm-2.21.so
b7342000-b7343000 rw-p 0004b000 08:05 785146 /usr/lib/libm-2.21.so
b7343000-b7346000 r-xp 00000000 08:05 785129 /usr/lib/libdl-2.21.so
b7346000-b7347000 r--p 00002000 08:05 785129 /usr/lib/libdl-2.21.so
b7347000-b7348000 rw-p 00003000 08:05 785129 /usr/lib/libdl-2.21.so
b7348000-b74fa000 r-xp 00000000 08:05 785097 /usr/lib/libc-2.21.so
b74fa000-b74fe000 r--p 001b1000 08:05 785097 /usr/lib/libc-2.21.so
b74fe000-b7500000 rw-p 001b5000 08:05 785097 /usr/lib/libc-2.21.so
b7500000-b7502000 rw-p 00000000 00:00 0
b7515000-b7516000 rw-p 00000000 00:00 0
b7516000-b751c000 r-xp 00000000 08:05 830177 /usr/lib/libdiscid.so.0.6.1
b751c000-b751d000 r--p 00005000 08:05 830177 /usr/lib/libdiscid.so.0.6.1
b751d000-b751e000 rw-p 00006000 08:05 830177 /usr/lib/libdiscid.so.0.6.1
b751e000-b7523000 r-xp 00000000 08:06 265385 /home/arch/builds/perl-musicbrainz-discid/src/MusicBrainz-DiscID-0.03/blib/arch/auto/MusicBrainz/DiscID/DiscID.so
b7523000-b7524000 r--p 00004000 08:06 265385 /home/arch/builds/perl-musicbrainz-discid/src/MusicBrainz-DiscID-0.03/blib/arch/auto/MusicBrainz/DiscID/DiscID.so
b7524000-b7525000 rw-p 00005000 08:06 265385 /home/arch/builds/perl-musicbrainz-discid/src/MusicBrainz-DiscID-0.03/blib/arch/auto/MusicBrainz/DiscID/DiscID.so
b7525000-b7526000 r--p 00000000 08:05 785052 /usr/share/locale/en_GB/LC_MESSAGES/libc.mo
b7526000-b76f3000 r-xp 00000000 08:05 788478 /usr/lib/perl5/core_perl/CORE/libperl.so
b76f3000-b76f7000 r--p 001cc000 08:05 788478 /usr/lib/perl5/core_perl/CORE/libperl.so
b76f7000-b76fa000 rw-p 001d0000 08:05 788478 /usr/lib/perl5/core_perl/CORE/libperl.so
b76fa000-b76fb000 rw-p 00000000 00:00 0
b76fb000-b76fc000 r-xp 00000000 00:00 0 [vdso]
b76fc000-b771d000 r-xp 00000000 08:05 785142 /usr/lib/ld-2.21.so
b771d000-b771e000 r--p 00021000 08:05 785142 /usr/lib/ld-2.21.so
b771e000-b771f000 rw-p 00022000 08:05 785142 /usr/lib/ld-2.21.so
bf856000-bf877000 rw-p 00000000 00:00 0 [stack]
t/10discid.t .. Failed 52/54 subtests

Test Summary Report
-------------------
t/10discid.t (Wstat: 134 Tests: 2 Failed: 0)
Non-zero wait status: 134
Parse errors: Bad plan. You planned 54 tests but ran 2.
Files=3, Tests=4, 0 wallclock secs ( 0.05 usr 0.00 sys + 0.20 cusr 0.02 csys = 0.27 CPU)
Result: FAIL
Failed 1/3 test programs. 0/4 subtests failed.
==> ERROR: A failure occurred in build().
Aborting...

elelay commented on 2015-05-01 07:11

martynjy: can't reproduce.
10discid.t accesses the musicbrainz servers so a temporary outage may result in failures.
Have you tried a 2nd time?

console output on my side:
t/00use.t ..... ok
t/05pod.t ..... ok
t/10discid.t .. ok
All tests successful.
Files=3, Tests=56, 0 wallclock secs ( 0.02 usr 0.00 sys + 0.10 cusr 0.02 csys = 0.14 CPU)
Result: PASS

martynjy commented on 2015-04-29 11:05

Test Summary Report
-------------------
t/10discid.t (Wstat: 134 Tests: 2 Failed: 0)
Non-zero wait status: 134
Parse errors: Bad plan. You planned 54 tests but ran 2.
Files=3, Tests=3, 0 wallclock secs ( 0.04 usr 0.00 sys + 0.11 cusr 0.01 csys = 0.16 CPU)
Result: FAIL
Failed 1/3 test programs. 0/3 subtests failed.

elelay commented on 2014-01-09 20:55

bananabrain: thank you for the notice; updated right now.

bananabrain commented on 2014-01-09 18:30

They seem to have changed their website somewhat.
"cpan.perl.org" doesn't exist.


Maybe line 20 in PKGBUILD should read:

source=(http://search.cpan.org/CPAN/authors/id/N/NJ/NJH/$_perlmod-$pkgver.tar.gz

elelay commented on 2013-10-20 20:22

update following comments on broken build (tests).
Upstream bug reports already existed

elelay commented on 2013-10-20 19:48

this had already been tracked in CPAN: 2 bugs in
https://rt.cpan.org/Public/Dist/Display.html?Name=MusicBrainz-DiscID

All comments