Skip Menu |

This queue is for tickets about the XML-Catalog CPAN distribution.

Report information
The Basics
Id: 89415
Status: resolved
Priority: 0/
Queue: XML-Catalog

People
Owner: Jeff.Fearn [...] gmail.com
Requestors: vlasenko [...] imath.kiev.ua
Cc:
AdminCc:

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



Subject: t/001-load.t test fails
I was updating the rpm package for XML-Catalog using v1.0.0 (http://search.cpan.org/CPAN/authors/id/J/JF/JFEARN/XML-Catalog-v1.0.0.tar.gz) and got the following error in t/001-load.t test: : Unable to retrieve URL: [file:/t/PUBLIC] at /usr/src/RPM/BUILD/XML-Catalog-v1.0.0/blib/lib/XML/Catalog.pm line 170. A piece of build log ... + : running Build script + /usr/bin/perl Build Building XML-Catalog + : running tests + LD_BIND_NOW=1 + PERL_DL_NONLAZY=1 + /usr/bin/perl Build test t/001-load.t .. 1/4 # Testing XML::Catalog 1.0.0 Unable to retrieve URL: [file:/t/PUBLIC] at /usr/src/RPM/BUILD/XML-Catalog-v1.0.0/blib/lib/XML/Catalog.pm line 170. # Looks like you planned 4 tests but ran 1. # Looks like your test exited with 2 just after 1. t/001-load.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 3/4 subtests Test Summary Report ------------------- t/001-load.t (Wstat: 512 Tests: 1 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 4 tests but ran 1. Files=1, Tests=1, 0 wallclock secs ( 0.01 usr 0.01 sys + 0.10 cusr 0.02 csys = 0.14 CPU) Result: FAIL Failed 1/1 test programs. 0/1 subtests failed. error: Bad exit status from /usr/src/tmp/rpm-tmp.44143 (%build)
Subject: perl-XML-Catalog-1.0.0-alt1.src.rpm.log
<86>Oct 11 20:11:46 userdel[27700]: delete user 'rooter' <86>Oct 11 20:11:46 userdel[27700]: removed group 'rooter' owned by 'rooter' <86>Oct 11 20:11:46 groupadd[27705]: group added to /etc/group: name=rooter, GID=540 <86>Oct 11 20:11:46 groupadd[27705]: group added to /etc/gshadow: name=rooter <86>Oct 11 20:11:46 groupadd[27705]: new group: name=rooter, GID=540 <86>Oct 11 20:11:46 useradd[27709]: new user: name=rooter, UID=540, GID=540, home=/root, shell=/bin/bash <86>Oct 11 20:11:46 userdel[27715]: delete user 'builder' <86>Oct 11 20:11:46 userdel[27715]: removed group 'builder' owned by 'builder' <86>Oct 11 20:11:46 groupadd[27720]: group added to /etc/group: name=builder, GID=541 <86>Oct 11 20:11:46 groupadd[27720]: group added to /etc/gshadow: name=builder <86>Oct 11 20:11:46 groupadd[27720]: new group: name=builder, GID=541 <86>Oct 11 20:11:46 useradd[27724]: new user: name=builder, UID=541, GID=541, home=/usr/src, shell=/bin/bash <13>Oct 11 20:11:50 rpmi: perl-Encode-2.52-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-HTTP-Date-6.02-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-Locale-Maketext-Simple-0.21-alt3 installed <13>Oct 11 20:11:50 rpmi: perl-devel-1:5.18.1-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-Params-Check-0.38-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-LWP-MediaTypes-6.02-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-libnet-1:1.22-alt2 installed <13>Oct 11 20:11:50 rpmi: perl-URI-1.60-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-Perl-OSType-1.006-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-Module-Metadata-1.000019-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-Compress-Raw-Zlib-2.062-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-CPAN-Meta-YAML-0.010-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-WWW-RobotRules-6.02-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-File-Listing-6.04-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-Encode-Locale-1.03-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-IO-HTML-1.00-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-HTML-Tagset-3.20-alt2 installed <13>Oct 11 20:11:50 rpmi: perl-HTML-Parser-3.71-alt2 installed <13>Oct 11 20:11:50 rpmi: perl-Module-Load-0.24-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-Term-Cap-1.12-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-Term-ANSIColor-4.02-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-Pod-Escapes-1.04-alt4 installed <13>Oct 11 20:11:50 rpmi: perl-Pod-Simple-3.28-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-Compress-Raw-Bzip2-2.062-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-IO-Compress-2.062-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-HTTP-Message-6.06-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-HTTP-Cookies-6.01-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-HTTP-Negotiate-6.01-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-Net-HTTP-6.06-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-libwww-6.05-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-CPAN-Meta-Requirements-2.125-alt1 installed <13>Oct 11 20:11:50 rpmi: libexpat-2.1.0-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-XML-Parser-2.41-alt4 installed <13>Oct 11 20:11:50 rpmi: rpm-build-licenses-2.0.4-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-Pod-Parser-1.51-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-podlators-2.5.3-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-Math-BigInt-1.997-alt7 installed <13>Oct 11 20:11:50 rpmi: perl-JSON-PP-2.27202-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-Parse-CPAN-Meta-1.4409-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-CPAN-Meta-2.132830-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-Module-CoreList-2.99-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-Module-Load-Conditional-0.58-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-IPC-Cmd-0.84-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-ExtUtils-CBuilder-0.280212-alt1 installed <13>Oct 11 20:11:50 rpmi: perl-Math-BigInt-FastCalc-0.30-alt5 installed <13>Oct 11 20:11:50 rpmi: perl-Module-Build-0.4007-alt1 installed Installing perl-XML-Catalog-1.0.0-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.76043 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf XML-Catalog-v1.0.0 + echo 'Source #0 (XML-Catalog-v1.0.0.tar.gz):' Source #0 (XML-Catalog-v1.0.0.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/XML-Catalog-v1.0.0.tar.gz + /bin/tar -xf - + cd XML-Catalog-v1.0.0 + /bin/chmod -c -Rf u+rwX,go-w . mode of './lib/XML/Catalog.pm' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of './xt/author/perlcritic.t' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of './xt/author/pod-coverage.t' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of './xt/author/pod.t' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of './t/oasis.cat' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of './t/delegate.cat' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of './t/001-load.t' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of './Changes' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of './MANIFEST' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of './MANIFEST.SKIP' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of './LICENSE' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of './README' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of './Build.PL' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of './Makefile.PL' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) mode of './META.yml' changed from 0444 (r--r--r--) to 0644 (rw-r--r--) + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.76043 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd XML-Catalog-v1.0.0 + perl_vendor_build + export PERL_EXTUTILS_AUTOINSTALL=--skip + PERL_EXTUTILS_AUTOINSTALL=--skip + export XSUBPP_STATIC_XS=1 + XSUBPP_STATIC_XS=1 + _perl_vendor_fixin + find . -type f -print0 + xargs -r0 /usr/bin/subst -p '1s,^#![[:space:]]*\([^[:space:]]*/\)\?perl\([^/[:alpha:][:space:]][^/[:space:]]*\)\?\([[:space:]]\|$\),#!/usr/bin/perl\3,' + /bin/grep -qs -Ew '((dist|module)_name|Build_PL)' Build.PL + _perl_vendor_MB_build + : writing Build script + /usr/bin/perl Build.PL installdirs=vendor Created MYMETA.yml and MYMETA.json Creating new 'Build' script for 'XML-Catalog' version 'v1.0.0' + /usr/bin/perl -e '$req=require"./_build/prereqs";' -e 'while (my ($k, $v) = each %{$$req{requires}}) { print "perl($k)>=$v\n" }' -e 'while (my ($k, $v) = each %{$$req{recommends}}) { print "perl($k)>=$v\n" }' + tee .perl.req perl(LWP::Simple)>=0 perl(XML::Parser)>=0 perl(Text::ParseWords)>=0 perl(URI::URL)>=0 + : running Build script + /usr/bin/perl Build Building XML-Catalog + : running tests + LD_BIND_NOW=1 + PERL_DL_NONLAZY=1 + /usr/bin/perl Build test # Testing XML::Catalog 1.0.0 Unable to retrieve URL: [file:/t/PUBLIC] at /usr/src/RPM/BUILD/XML-Catalog-v1.0.0/blib/lib/XML/Catalog.pm line 170. # Looks like you planned 4 tests but ran 1. # Looks like your test exited with 2 just after 1. t/001-load.t .. Dubious, test returned 2 (wstat 512, 0x200) Failed 3/4 subtests Test Summary Report ------------------- t/001-load.t (Wstat: 512 Tests: 1 Failed: 0) Non-zero exit status: 2 Parse errors: Bad plan. You planned 4 tests but ran 1. Files=1, Tests=1, 0 wallclock secs ( 0.01 usr 0.01 sys + 0.11 cusr 0.01 csys = 0.14 CPU) Result: FAIL Failed 1/1 test programs. 0/1 subtests failed. error: Bad exit status from /usr/src/tmp/rpm-tmp.76043 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.76043 (%build) Command exited with non-zero status 1 0.65user 0.13system 0:00.91elapsed 86%CPU (0avgtext+0avgdata 17360maxresident)k 0inputs+0outputs (0major+45232minor)pagefaults 0swaps hsh-rebuild: rebuild of `perl-XML-Catalog-1.0.0-alt1.src.rpm' failed.
Hi Igor, this line is the clue: Unable to retrieve URL: [file:/t/PUBLIC] at /usr/src/RPM/BUILD/XML-Catalog-v1.0.0/blib/lib/XML/Catalog.pm line 170. That should be [file:t/PUBLIC] for some reason the '/' is being prepended to the URL in your build environment.
I added Cdw to the test case to make sure that base gets set properly.
Fixed in 1.0.1 ... select hasn't updated ...