Skip Menu |
 

This queue is for tickets about the B-Hooks-EndOfScope CPAN distribution.

Report information
The Basics
Id: 104435
Status: resolved
Priority: 0/
Queue: B-Hooks-EndOfScope

People
Owner: ether [...] cpan.org
Requestors: ribasushi [...] leporine.io
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.14
Fixed in: 0.15



Subject: Installation broken without a compiler
Download (untitled) / with headers
text/plain 337b
The extra pieces added to %OPT_RUN_DEP here are causing compiler-less installation to fail in two ways: https://metacpan.org/diff/file?target=ETHER/B-Hooks-EndOfScope-0.14/&source=BOBTFISH/B-Hooks-EndOfScope-0.12/#Makefile.PL * Tie::StdHash is not indexed anywhere * Hash::Util::FieldHash is a 5.9.x-only thing Attached log of failure
Subject: log.txt
Download log.txt
text/plain 6.9k
rabbit@Ahasver:~$ ln -s /bin/false bin/cc rabbit@Ahasver:~$ perlbrew use 5.8.8 rabbit@Ahasver:~$ cpanm -v B::Hooks::EndOfScope cpanm (App::cpanminus) 1.7022 on perl 5.008008 built for x86_64-linux-thread-multi Work directory is /home/rabbit/.cpanm/work/1431616425.21802 You have make /usr/bin/make You have /usr/bin/wget You have /bin/tar: tar (GNU tar) 1.26 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. You have /usr/bin/unzip Searching B::Hooks::EndOfScope on cpanmetadb ... --2015-05-14 17:13:45-- http://cpanmetadb.plackperl.org/v1.0/package/B::Hooks::EndOfScope Resolving cpanmetadb.plackperl.org (cpanmetadb.plackperl.org)... 23.235.43.129, 23.235.43.192 Connecting to cpanmetadb.plackperl.org (cpanmetadb.plackperl.org)|23.235.43.129|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 70 [text/yaml] Saving to: `STDOUT' 100%[===========================================================================================================================================================================>] 70 --.-K/s in 0s 2015-05-14 17:13:49 (9.56 MB/s) - written to stdout [70/70] --> Working on B::Hooks::EndOfScope Fetching http://www.cpan.org/authors/id/E/ET/ETHER/B-Hooks-EndOfScope-0.14.tar.gz ... --2015-05-14 17:13:49-- http://www.cpan.org/authors/id/E/ET/ETHER/B-Hooks-EndOfScope-0.14.tar.gz Resolving www.cpan.org (www.cpan.org)... 94.242.223.198, 2607:f238:3::91:1 Connecting to www.cpan.org (www.cpan.org)|94.242.223.198|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 30083 (29K) [application/x-gzip] Saving to: `B-Hooks-EndOfScope-0.14.tar.gz' 100%[===========================================================================================================================================================================>] 30,083 115K/s in 0.3s 2015-05-14 17:13:50 (115 KB/s) - `B-Hooks-EndOfScope-0.14.tar.gz' saved [30083/30083] OK Unpacking B-Hooks-EndOfScope-0.14.tar.gz B-Hooks-EndOfScope-0.14/ B-Hooks-EndOfScope-0.14/CONTRIBUTING B-Hooks-EndOfScope-0.14/Changes B-Hooks-EndOfScope-0.14/INSTALL B-Hooks-EndOfScope-0.14/LICENSE B-Hooks-EndOfScope-0.14/MANIFEST B-Hooks-EndOfScope-0.14/META.json B-Hooks-EndOfScope-0.14/META.yml B-Hooks-EndOfScope-0.14/Makefile.PL B-Hooks-EndOfScope-0.14/README B-Hooks-EndOfScope-0.14/dist.ini B-Hooks-EndOfScope-0.14/lib/ B-Hooks-EndOfScope-0.14/t/ B-Hooks-EndOfScope-0.14/weaver.ini B-Hooks-EndOfScope-0.14/xt/ B-Hooks-EndOfScope-0.14/xt/author/ B-Hooks-EndOfScope-0.14/xt/release/ B-Hooks-EndOfScope-0.14/xt/release/changes_has_content.t B-Hooks-EndOfScope-0.14/xt/release/cpan-changes.t B-Hooks-EndOfScope-0.14/xt/release/distmeta.t B-Hooks-EndOfScope-0.14/xt/release/kwalitee.t B-Hooks-EndOfScope-0.14/xt/release/minimum-version.t B-Hooks-EndOfScope-0.14/xt/release/mojibake.t B-Hooks-EndOfScope-0.14/xt/release/pod-no404s.t B-Hooks-EndOfScope-0.14/xt/release/pod-syntax.t B-Hooks-EndOfScope-0.14/xt/release/portability.t B-Hooks-EndOfScope-0.14/xt/author/00-compile.t B-Hooks-EndOfScope-0.14/xt/author/eol.t B-Hooks-EndOfScope-0.14/xt/author/no-tabs.t B-Hooks-EndOfScope-0.14/xt/author/pod-spell.t B-Hooks-EndOfScope-0.14/t/00-basic.t B-Hooks-EndOfScope-0.14/t/00-report-prereqs.dd B-Hooks-EndOfScope-0.14/t/00-report-prereqs.t B-Hooks-EndOfScope-0.14/t/01-eval.t B-Hooks-EndOfScope-0.14/t/02-localise.t B-Hooks-EndOfScope-0.14/t/05-exception_xs.t B-Hooks-EndOfScope-0.14/t/06-exception_pp.t B-Hooks-EndOfScope-0.14/t/10-test_without_vm_pure_pp.t B-Hooks-EndOfScope-0.14/t/11-direct_xs.t B-Hooks-EndOfScope-0.14/t/12-direct_pp.t B-Hooks-EndOfScope-0.14/lib/B/ B-Hooks-EndOfScope-0.14/lib/B/Hooks/ B-Hooks-EndOfScope-0.14/lib/B/Hooks/EndOfScope/ B-Hooks-EndOfScope-0.14/lib/B/Hooks/EndOfScope.pm B-Hooks-EndOfScope-0.14/lib/B/Hooks/EndOfScope/PP/ B-Hooks-EndOfScope-0.14/lib/B/Hooks/EndOfScope/PP.pm B-Hooks-EndOfScope-0.14/lib/B/Hooks/EndOfScope/XS.pm B-Hooks-EndOfScope-0.14/lib/B/Hooks/EndOfScope/PP/FieldHash.pm B-Hooks-EndOfScope-0.14/lib/B/Hooks/EndOfScope/PP/HintHash.pm Entering B-Hooks-EndOfScope-0.14 Checking configure dependencies from META.json Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.62) Checking if you have ExtUtils::CBuilder 0.26 ... Yes (0.280205) Running Makefile.PL Configuring B-Hooks-EndOfScope-0.14 ... Checking if your kit is complete... Looks good Warning: prerequisite Hash::Util::FieldHash 0 not found. Warning: prerequisite Tie::StdHash 0 not found. Writing Makefile for B::Hooks::EndOfScope Writing MYMETA.yml and MYMETA.json OK Checking dependencies from MYMETA.json ... Checking if you have Scalar::Util 0 ... Yes (1.37) Checking if you have base 0 ... Yes (2.07) Checking if you have warnings 0 ... Yes (1.05) Checking if you have Tie::StdHash 0 ... No Checking if you have constant 0 ... Yes (1.05) Checking if you have Module::Runtime 0.012 ... Yes (0.013) Checking if you have Tie::Hash 0 ... Yes (1.02) Checking if you have strict 0 ... Yes (1.03) Checking if you have Sub::Exporter::Progressive 0.001006 ... Yes (0.001011) Checking if you have Module::Implementation 0.05 ... Yes (0.06) Checking if you have Hash::Util::FieldHash 0 ... No ==> Found dependencies: Tie::StdHash, Hash::Util::FieldHash Searching Tie::StdHash on cpanmetadb ... --2015-05-14 17:13:51-- http://cpanmetadb.plackperl.org/v1.0/package/Tie::StdHash Resolving cpanmetadb.plackperl.org (cpanmetadb.plackperl.org)... 23.235.43.192, 23.235.43.129 Connecting to cpanmetadb.plackperl.org (cpanmetadb.plackperl.org)|23.235.43.192|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 57 [text/yaml] Saving to: `STDOUT' 100%[===========================================================================================================================================================================>] 57 --.-K/s in 0s 2015-05-14 17:13:58 (6.82 MB/s) - written to stdout [57/57] skipping S/SH/SHAY/perl-5.20.2.tar.gz Searching Hash::Util::FieldHash on cpanmetadb ... --2015-05-14 17:13:58-- http://cpanmetadb.plackperl.org/v1.0/package/Hash::Util::FieldHash Resolving cpanmetadb.plackperl.org (cpanmetadb.plackperl.org)... 23.235.43.129, 23.235.43.192 Connecting to cpanmetadb.plackperl.org (cpanmetadb.plackperl.org)|23.235.43.129|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 57 [text/yaml] Saving to: `STDOUT' 100%[===========================================================================================================================================================================>] 57 --.-K/s in 0s 2015-05-14 17:14:00 (7.31 MB/s) - written to stdout [57/57] Already tried perl-5.20.2. Skipping. ! Installing the dependencies failed: Module 'Tie::StdHash' is not installed, Module 'Hash::Util::FieldHash' is not installed ! Bailing out the installation for B-Hooks-EndOfScope-0.14.
Download (untitled) / with headers
text/plain 1.1k
On 2015-05-14 08:17:42, RIBASUSHI wrote: Show quoted text
> The extra pieces added to %OPT_RUN_DEP here are causing compiler-less > installation to fail in two ways: > https://metacpan.org/diff/file?target=ETHER/B-Hooks-EndOfScope- > 0.14/&source=BOBTFISH/B-Hooks-EndOfScope-0.12/#Makefile.PL > > * Tie::StdHash is not indexed anywhere > * Hash::Util::FieldHash is a 5.9.x-only thing > > Attached log of failure
Not quite.. in the index, I see: Hash::Util::FieldHash 1.15 S/SH/SHAY/perl-5.20.2.tar.gz Tie::StdHash 1.05 S/SH/SHAY/perl-5.20.2.tar.gz They are both indexed. Indeed, that's the response you get back from cpanmetadb in the build log you included. Tie::StdHash is not in Module::CoreList (reported in https://rt.perl.org/rt3/Ticket/Display.html?id=125166), and is not in its own file, so it's not loadable in isolation, which I think is another bug to address in core. I definitely botched the addition of dynamic prereqs (done way last year, but didn't get released until this January). A fix will be released today. I'll look into extra tooling checks to provide an extra guard (some of which may be blocked on a MCL rewrite).
0.15 uploaded.


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.