Skip Menu |
 

This queue is for tickets about the MusicBrainz-DiscID CPAN distribution.

Report information
The Basics
Id: 89285
Status: open
Priority: 0/
Queue: MusicBrainz-DiscID

People
Owner: Nobody in particular
Requestors: gregoa [...] debian.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
From: gregoa [...] cpan.org
Subject: libmusicbrainz-discid-perl: FTBFS: Tests failed
X-RT-Interface: REST
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
Content-Length: 4426
Download (untitled) / with headers
text/plain 4.3k
This bug has been forwarded from http://bugs.debian.org/725584 Looks like a change in libdiscid 0.6.x. From their changelog at https://raw.github.com/metabrainz/libdiscid/master/ChangeLog - LIB-53: discid_get_submission_url() returns the new NGS url currently no functional change, the old url was redirected -->-->-->-->-->-->-->-->-->-->-->-->-->-->-->-->-->-->-->--> Source: libmusicbrainz-discid-perl Version: 0.03-2 Severity: serious Tags: jessie sid User: debian-qa@lists.debian.org Usertags: qa-ftbfs-20131006 qa-ftbfs Justification: FTBFS on amd64 Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): Show quoted text
> debian/rules build > dh build > dh_testdir > dh_auto_configure > Found pkg-config version 0.26. > 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' > dh_auto_build > Building MusicBrainz-DiscID > cc -I/usr/lib/perl/5.18/CORE -DXS_VERSION="0.03" -DVERSION="0.03" -fPIC -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -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 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wl,-z,relro -shared -L/usr/local/lib -fstack-protector -o blib/arch/auto/MusicBrainz/DiscID/DiscID.so lib/MusicBrainz/DiscID.o -ldiscid > dh_auto_test > t/00use.t ..... ok > t/05pod.t ..... ok > > # Failed test at t/10discid.t line 31. > # got: 'http://musicbrainz.org/cdtoc/attach?id=xUp1F2NkfP8s8jaeFn_Av3jNEI4-&tracks=22&toc=1+22+303602+150+9700+25887+39297+53795+63735+77517+94877+107270+123552+135522+148422+161197+174790+192022+205545+218010+228700+239590+255470+266932+288750' > # expected: 'http://mm.musicbrainz.org/bare/cdlookup.html?id=xUp1F2NkfP8s8jaeFn_Av3jNEI4-&tracks=22&toc=1+22+303602+150+9700+25887+39297+53795+63735+77517+94877+107270+123552+135522+148422+161197+174790+192022+205545+218010+228700+239590+255470+266932+288750' > > # Failed test at t/10discid.t line 32. > # got: 'http://musicbrainz.org/ws/1/release?type=xml&discid=xUp1F2NkfP8s8jaeFn_Av3jNEI4-&toc=1+22+303602+150+9700+25887+39297+53795+63735+77517+94877+107270+123552+135522+148422+161197+174790+192022+205545+218010+228700+239590+255470+266932+288750' > # expected: 'http://mm.musicbrainz.org/ws/1/release?type=xml&discid=xUp1F2NkfP8s8jaeFn_Av3jNEI4-&toc=1+22+303602+150+9700+25887+39297+53795+63735+77517+94877+107270+123552+135522+148422+161197+174790+192022+205545+218010+228700+239590+255470+266932+288750' > # Looks like you failed 2 tests of 54. > t/10discid.t .. > Dubious, test returned 2 (wstat 512, 0x200) > Failed 1/3 test programs. 2/56 subtests failed. > Failed 2/54 subtests > > Test Summary Report > ------------------- > t/10discid.t (Wstat: 512 Tests: 54 Failed: 2) > Failed tests: 9-10 > Non-zero exit status: 2 > Files=3, Tests=56, 0 wallclock secs ( 0.03 usr 0.03 sys + 0.16 cusr 0.03 csys = 0.25 CPU) > Result: FAIL > dh_auto_test: perl Build test returned exit code 2
The full build log is available from: http://aws-logs.debian.net/ftbfs-logs/2013/10/06/libmusicbrainz-discid-perl_0.03-2_unstable.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures. <--<--<--<--<--<--<--<--<--<--<--<--<--<--<--<--<--<--<--<-- Thanks in advance, gregor herrmann, Debian Perl Group
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
X-RT-Interface: Web
Content-Type: multipart/mixed; boundary="----------=_1385500541-9989-2"
Message-ID: <rt-4.0.18-9989-1385500541-1937.89285-0-0 [...] rt.cpan.org>
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 0
Content-Disposition: inline
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 81
Here's a patch should work with old and new URLs from older and newer libdiscid.
MIME-Version: 1.0
Subject: url.patch
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Type: text/x-patch; name="url.patch"
Content-Disposition: inline; filename="url.patch"
Content-Transfer-Encoding: binary
Content-Length: 1732
Download url.patch
text/x-diff 1.6k
Description: libdiscid 0.6.x has updated the URLs modify test to accept old and new ones Origin: vendor Bug: https://rt.cpan.org/Public/Bug/Display.html?id=89285 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725584 Author: gregor herrmann <gregoa@debian.org> Last-Update: 2013-11-26 --- a/t/10discid.t +++ b/t/10discid.t @@ -28,8 +28,8 @@ is( $disc->freedb_id, '370fce16'); is( $disc->last_track_num, 22); is( $disc->sectors, 303602); -is( $disc->submission_url, 'http://mm.musicbrainz.org/bare/cdlookup.html?id=xUp1F2NkfP8s8jaeFn_Av3jNEI4-&tracks=22&toc=1+22+303602+150+9700+25887+39297+53795+63735+77517+94877+107270+123552+135522+148422+161197+174790+192022+205545+218010+228700+239590+255470+266932+288750'); -is( $disc->webservice_url, 'http://mm.musicbrainz.org/ws/1/release?type=xml&discid=xUp1F2NkfP8s8jaeFn_Av3jNEI4-&toc=1+22+303602+150+9700+25887+39297+53795+63735+77517+94877+107270+123552+135522+148422+161197+174790+192022+205545+218010+228700+239590+255470+266932+288750'); +like( $disc->submission_url, qr{http://(mm\.musicbrainz\.org/bare/cdlookup\.html|musicbrainz\.org/cdtoc/attach)\?id=xUp1F2NkfP8s8jaeFn_Av3jNEI4-&tracks=22&toc=1\+22\+303602\+150\+9700\+25887\+39297\+53795\+63735\+77517\+94877\+107270\+123552\+135522\+148422\+161197\+174790\+192022\+205545\+218010\+228700\+239590\+255470\+266932\+288750}); +like( $disc->webservice_url, qr{http://(mm\.)?musicbrainz\.org/ws/1/release\?type=xml&discid=xUp1F2NkfP8s8jaeFn_Av3jNEI4-&toc=1\+22\+303602\+150\+9700\+25887\+39297\+53795\+63735\+77517\+94877\+107270\+123552\+135522\+148422\+161197\+174790\+192022\+205545\+218010\+228700\+239590\+255470\+266932\+288750}); is( $disc->track_offset(1), 150); is( $disc->track_offset(2), 9700);


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.