Package Details: perl-musicbrainz-discid 0.06-3

Git Clone URL: https://aur.archlinux.org/perl-musicbrainz-discid.git (read-only, click to copy)
Package Base: perl-musicbrainz-discid
Description: MusicBrainz::DiscID module
Upstream URL: https://metacpan.org/release/MusicBrainz-DiscID
Licenses: MIT
Submitter: elelay
Maintainer: FabioLolix
Last Packager: FabioLolix
Votes: 50
Popularity: 0.001445
First Submitted: 2012-12-08 19:45 (UTC)
Last Updated: 2023-10-03 05:31 (UTC)

Latest Comments

1 2 Next › Last »

FabioLolix commented on 2023-05-04 22:31 (UTC)

I'll integrate it in some days

gabor_zoka commented on 2023-04-07 13:47 (UTC)

Hello FabioLolix,

Would you consider this patch? https:// makes more credibility, and not just relying on the chksum in the PKGBUILD

Thank you,

Gábor

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ url="https://metacpan.org/release/$_dist"
 license=('GPL' 'PerlArtistic')
 depends=('perl' 'libdiscid' 'perl-module-build')
 options=('!emptydirs' purge)
-source=("http://search.cpan.org/CPAN/authors/id/N/NJ/NJH/$_dist-$pkgver.tar.gz")
+source=("https://search.cpan.org/CPAN/authors/id/N/NJ/NJH/$_dist-$pkgver.tar.gz")
 md5sums=('6579d43d270c965563f84fd5ffe0dde5')

 build() {

starfry commented on 2018-03-07 18:27 (UTC)

@andmars I guess most Perl packages are platform-agnostic (this is the only one out of several AUR 'any' Perl paclages that I've hit this problem with).

FWIW, you can use 'namcap' to check this kind of thing. If you do 'namcap perl-musicbrainz-discid-0.04-1-any.pkg.tar.xz' it reports "ELF file found in an 'any' package."

andmars commented on 2018-03-07 13:34 (UTC)

@starfry: That is a good question. I took the barebone from the Perl package guidelines in the Arch Wiki: https://wiki.archlinux.org/index.php/Perl_package_guidelines#PKGBUILD_Examples

starfry commented on 2018-03-07 13:11 (UTC)

Why is this package labelled as 'any' when it includes architecture-specific binary files?

Here is an example: [code] pkg/perl-musicbrainz-discid/usr/lib/perl5/5.26/vendor_perl/auto/MusicBrainz/DiscID/DiscID.so ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked [/code]

pnylon commented on 2016-07-15 17:44 (UTC)

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

andmars commented on 2016-07-15 16:53 (UTC)

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

pnylon commented on 2016-07-15 15:31 (UTC)

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 (UTC)

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...