Skip Menu |

This queue is for tickets about the IO-Compress-Base CPAN distribution.

Report information
The Basics
Id: 25364
Status: resolved
Priority: 0/
Queue: IO-Compress-Base

People
Owner: Nobody in particular
Requestors: jettero [...] cpan.org
Cc:
AdminCc:

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



Subject: Scalar::Util
Scalar::Util aught to be in the PREREQ_PM. It was unobvious why my build of Compress::Zlib failed as 4,000,000 lines of errors scrolled past, but in the end, it was this missing prereq. -- If riding in an airplane is flying, then riding in a boat is swimming. 85 jumps, 36.0 minutes of freefall, 69.1 freefall miles.
From: jettero [...] cpan.org
On Sat Mar 10 07:48:20 2007, JETTERO wrote: Show quoted text
> > Scalar::Util aught to be in the PREREQ_PM. It was unobvious why my > build of Compress::Zlib failed as 4,000,000 lines of errors scrolled > past, but in the end, it was this missing prereq. >
Curiously, it is indeed in the prereqs, but failed to actually require in my build environment... Show quoted text
> # Failed test (t/01misc.t at line 29) > # You don't have the XS version of Scalar::Util > # Looks like you failed 1 test of 78.
Apparently, it requires the XS version even though you can't require that? Perhaps the PREREQ_PM should require more than 0? -- If riding in an airplane is flying, then riding in a boat is swimming. 85 jumps, 36.0 minutes of freefall, 69.1 freefall miles.
On Sat Mar 10 07:56:02 2007, JETTERO wrote: Show quoted text
> On Sat Mar 10 07:48:20 2007, JETTERO wrote:
> > > > Scalar::Util aught to be in the PREREQ_PM. It was unobvious why my > > build of Compress::Zlib failed as 4,000,000 lines of errors scrolled > > past, but in the end, it was this missing prereq. > >
> > Curiously, it is indeed in the prereqs, but failed to actually require > in my build environment... >
> > # Failed test (t/01misc.t at line 29) > > # You don't have the XS version of Scalar::Util > > # Looks like you failed 1 test of 78.
> > Apparently, it requires the XS version even though you can't require > that? Perhaps the PREREQ_PM should require more than 0? >
Yep, as you discovered Scalar::Util is indeed in the prereq list. Unfortunately Scalar::Util can be built to either use XS or nor use XS, so making a prereq of a specific version will not help. Paul
Show quoted text
> Yep, as you discovered Scalar::Util is indeed in the prereq list. > Unfortunately Scalar::Util can be built to either use XS or nor use XS, > so making a prereq of a specific version will not help.
K. I have a workaround, so this is pretty unimportant. My complaint is that this way CPAN doesn't automatically pull in Scalar::Util and the test fails without it; making my complicated build process fail. My workaround was to install Scalar::Util (because why wouldn't you want that) before IO::Compress::Base installs, but I suppose I could have just ignored the test results instead. I dislike ignoring the test results... but that was the other obvious choice. -- If riding in an airplane is flying, then riding in a boat is swimming. 85 jumps, 36.0 minutes of freefall, 69.1 freefall miles.
RT-Send-CC: andk [...] cpan.org
I would suggest raising this to critical as I have just tried to install Bundle::CPAN on a clean Debian system, and ALL the Zlib modules that require it now FAIL. As Scalar::Util is now a CORE module (as of 5.7.3), how its built is completely in the hands of the person building the package. If you require the XS version I would recommend adding something at the top of your FAQ that explains that and how to do it. This is likely to create a bad impression to users unfamiliar with the installation mechanism.
RT-Send-CC: andk [...] cpan.org
On Thu Oct 09 06:08:51 2008, BARBIE wrote: Show quoted text
> I would suggest raising this to critical as I have just tried to install > Bundle::CPAN on a clean Debian system, and ALL the Zlib modules that > require it now FAIL.
Can I just double check that you are seeing the non-XS version of Scalar::Util issue? (there is another CPAN + Compress related issue that I'm sorting out). Show quoted text
> As Scalar::Util is now a CORE module (as of 5.7.3),
What version of perl do Debian ship? If it was 5.10 this problem should not occur. Show quoted text
> how its built is > completely in the hands of the person building the package. If you > require the XS version I would recommend adding something at the top of > your FAQ that explains that and how to do it.
Good point Show quoted text
> This is likely to create a bad impression to users unfamiliar with the > installation mechanism.
At the moment the IO;;Compress::Base test harness should fail one of its tests if the non-XS Scalar::Util is present. Was that not enough to stop the install of Bundle::CPAN in its tracks? Paul
From: SvenDowideit [...] fosiki.com
I'd like also to vote for raising this to be a critical bug. I've just installed 5.8.8 (from sunfreeware) on a sparc solaris box, and hit this when trying to install CPAN, and LWP. cpan[13]> install Scalar::Util Scalar::Util is up to date (1.19). PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/000prereq.....ok t/01misc........1/88 Use of uninitialized value in concatenation (.) or string at /usr/local/lib/perl5/5.8.8/Scalar/Util.pm line 30. Sven
While some documentation would have helped me get further, I seem to have found some other 'fun' issues with CPAN.
This is a duplicate of RT #27598 (https://rt.cpan.org/Ticket/Display.html?id=27598) No way with this bug tracking to flag this as a duplicate, so marking as resolved.