Skip Menu |

This queue is for tickets about the Const-Fast CPAN distribution.

Report information
The Basics
Id: 85706
Status: rejected
Priority: 0/
Queue: Const-Fast

People
Owner: Nobody in particular
Requestors: dchandler [...] e-dialog.com
Cc:
AdminCc:

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



Subject: Missing requirement causes use Failures.
Date: Wed, 29 May 2013 12:20:21 -0400
To: "bug-Const-Fast [...] rt.cpan.org" <bug-Const-Fast [...] rt.cpan.org>
From: Dana Chandler <dchandler [...] e-dialog.com>
We had a strange case where Const::Fast built last week version 0.013 and prior are working. Yesterday, when building with version 0.014 it failed when validating the installation. It did so today as well. <In ~ executing command #3 > perl -e 'use Const::Fast;' Can't locate Sub/Exporter.pm in @INC (@INC contains: /u1/mm/srcd1/x86_64-linux /u1/mm/srcd1 /u1/mm/cpand1/x86_64-linux /u1/mm/cpand1 /u1/mm/local/perl/5.10.1/d1/lib/5.10.1/x86_64-linux /u1/mm/local/perl/5.10.1/d1/lib/5.10.1 /u1/mm/local/perl/5.10.1/d1/lib/site_perl/5.10.1/x86_64-linux /u1/mm/local/perl/5.10.1/d1/lib/site_perl/5.10.1 .) at /u1/mm/cpand1/Const/Fast.pm line 12. BEGIN failed--compilation aborted at /u1/mm/cpand1/Const/Fast.pm line 12. Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1. I found that the Meta.json is missing Sub::Exporter Version 0.014: }, "runtime" : { "requires" : { "Carp" : "0", "Scalar::Util" : "0", "Storable" : "0", "Sub::Exporter::Progressive" : "0.001007", "perl" : "5.008", "strict" : "0", "warnings" : "0" } }, Version 0.013: }, "runtime" : { "requires" : { "Carp" : "0", "Scalar::Util" : "0", "Storable" : "0", "Sub::Exporter" : "0", "Sub::Exporter::Progressive" : "0", "perl" : "5.008", "strict" : "0", "warnings" : "0" } }, $ perl -V Summary of my perl5 (revision 5 version 10 subversion 1) configuration: Platform: osname=linux, osvers=2.6.18-308.4.1.0.1.el5, archname=x86_64-linux uname='linux mmoe2 2.6.18-308.4.1.0.1.el5 #1 smp tue apr 17 16:33:59 edt 2012 x86_64 x86_64 x86_64 gnulinux ' config_args='-Doptimize=-O2 -g -pipe -m64 -Dversion=5.10.1 -Dcc=gcc -fPIC -Dinstallprefix=/u1/mm/local/perl/5.10.1/b2 -Dprefix=/u1/mm/local/perl/5.10.1/b2 -Dlibpth=/usr/local/lib64 /lib64 /usr/lib64 -Dpager=/usr/bin/less -isr -Duselargefiles -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Uinstallusrbinperl -Ubincompat5005 -Uversiononly -des cd /u1/mm/build/src/b2/perl-5.10.1' hint=recommended, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef use64bitint=define, use64bitall=define, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc -fPIC', ccflags ='-DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2 -g -pipe -m64', cppflags='-DDEBUGGING -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include' ccversion='', gccversion='4.1.2 20080704 (Red Hat 4.1.2-52)', gccosandvers='' intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='gcc -fPIC', ldflags =' -fstack-protector' libpth=/usr/local/lib64 /lib64 /usr/lib64 libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.5.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='2.5' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -g -pipe -m64 -fstack-protector' Characteristics of this binary (from libperl): Compile-time options: DEBUGGING PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP USE_64_BIT_ALL USE_64_BIT_INT USE_LARGE_FILES USE_PERLIO Built under linux Compiled at May 21 2013 23:24:46 %ENV: PERL5LIB="/u1/mm/srcb2:/u1/mm/cpanb2" PERLBASE="/u1/mm/local/perl" PERLBIN="/u1/mm/local/perl/5.10.1/b2/bin" PERLLIB="/u1/mm/local/perl/5.10.1/b2" PERLLINK="/u1/mm/perlb2" PERL_TEST_HARNESS_DUMP_TAP="/mm/mmuserb2/hudson_output" @INC: /u1/mm/srcb2/x86_64-linux /u1/mm/srcb2 /u1/mm/cpanb2/x86_64-linux /u1/mm/cpanb2 /u1/mm/local/perl/5.10.1/b2/lib/5.10.1/x86_64-linux /u1/mm/local/perl/5.10.1/b2/lib/5.10.1 /u1/mm/local/perl/5.10.1/b2/lib/site_perl/5.10.1/x86_64-linux /u1/mm/local/perl/5.10.1/b2/lib/site_perl/5.10.1 . <In ~ executing command #11 > uname -a Linux oe 2.6.18-308.4.1.0.1.el5 #1 SMP Tue Apr 17 16:33:59 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux Show quoted text
________________________________ The information contained in this electronic mail transmission is intended only for the use of the individual or entity named in this transmission. If you are not the intended recipient of this transmission, you are hereby notified that any disclosure, copying or distribution of the contents of this transmission is strictly prohibited and that you should delete the contents of this transmission from your system immediately. Any comments or statements contained in this transmission do not necessarily reflect the views or position of GSI Commerce, Inc. or its subsidiaries and/or affiliates.
Subject: Re: [rt.cpan.org #85706] Missing requirement causes use Failures.
Date: Wed, 29 May 2013 19:59:04 +0200
To: bug-Const-Fast [...] rt.cpan.org
From: Leon Timmermans <fawaka [...] gmail.com>
On Wed, May 29, 2013 at 6:17 PM, dchandler@e-dialog.com via RT <bug-Const-Fast@rt.cpan.org> wrote: Show quoted text
> We had a strange case where Const::Fast built last week version 0.013 and prior are working. Yesterday, when building with version 0.014 it failed when validating the installation. It did so today as well. > > <In ~ executing command #3 > perl -e 'use Const::Fast;' > Can't locate Sub/Exporter.pm in @INC (@INC contains: /u1/mm/srcd1/x86_64-linux /u1/mm/srcd1 /u1/mm/cpand1/x86_64-linux /u1/mm/cpand1 /u1/mm/local/perl/5.10.1/d1/lib/5.10.1/x86_64-linux /u1/mm/local/perl/5.10.1/d1/lib/5.10.1 /u1/mm/local/perl/5.10.1/d1/lib/site_perl/5.10.1/x86_64-linux /u1/mm/local/perl/5.10.1/d1/lib/site_perl/5.10.1 .) at /u1/mm/cpand1/Const/Fast.pm line 12. > BEGIN failed--compilation aborted at /u1/mm/cpand1/Const/Fast.pm line 12. > Compilation failed in require at -e line 1. > BEGIN failed--compilation aborted at -e line 1. > > I found that the Meta.json is missing Sub::Exporter
That is deliberate. Const::Fast itself doesn't require Sub::Exporter anymore. Some uses of it may require it (and possibly I should have added it to recommends or suggests, but none of the CPAN dependents relied on it). What do you mean with validating the install? And how did you get that error? I can't reproduce it on «perl -e 'use Const::Fast;'» (after uninstalling Sub::Exporter). I don't really understand how this fails for you. Leon
On Wed May 29 13:59:43 2013, fawaka@gmail.com wrote: Show quoted text
> On Wed, May 29, 2013 at 6:17 PM, dchandler@e-dialog.com via RT > <bug-Const-Fast@rt.cpan.org> wrote:
> > We had a strange case where Const::Fast built last week version 0.013 > > and prior are working. Yesterday, when building with version 0.014 > > it failed when validating the installation. It did so today as well. > > > > <In ~ executing command #3 > perl -e 'use Const::Fast;' > > Can't locate Sub/Exporter.pm in @INC (@INC contains: > > /u1/mm/srcd1/x86_64-linux /u1/mm/srcd1 /u1/mm/cpand1/x86_64-linux > > /u1/mm/cpand1 /u1/mm/local/perl/5.10.1/d1/lib/5.10.1/x86_64-linux > > /u1/mm/local/perl/5.10.1/d1/lib/5.10.1 > > /u1/mm/local/perl/5.10.1/d1/lib/site_perl/5.10.1/x86_64-linux > > /u1/mm/local/perl/5.10.1/d1/lib/site_perl/5.10.1 .) at > > /u1/mm/cpand1/Const/Fast.pm line 12. > > BEGIN failed--compilation aborted at /u1/mm/cpand1/Const/Fast.pm line > > 12. > > Compilation failed in require at -e line 1. > > BEGIN failed--compilation aborted at -e line 1. > > > > I found that the Meta.json is missing Sub::Exporter
> > That is deliberate. Const::Fast itself doesn't require Sub::Exporter > anymore. Some uses of it may require it (and possibly I should have > added it to recommends or suggests, but none of the CPAN dependents > relied on it). > > What do you mean with validating the install? And how did you get that > error? I can't reproduce it on «perl -e 'use Const::Fast;'» (after > uninstalling Sub::Exporter). I don't really understand how this fails > for you. > > Leon
I've been waiting for 4 months for a clarification, I will close this bugreport when it's 5. Leon
Subject: Re: [rt.cpan.org #85706] Missing requirement causes use Failures.
Date: Fri, 4 Oct 2013 12:19:25 -0400
To: "bug-Const-Fast [...] rt.cpan.org" <bug-Const-Fast [...] rt.cpan.org>, Dana Chandler <dchandler [...] ebay.com>
From: Dana Chandler <dchandler [...] ebay.com>
If Sub::Exporter is required by OTHER modules or is already installed, the installation of Const::Fast will fail. Const::Fast is going into an existing environment, you need to make sub::Exporter::Progressive required when Sub::Exporter is installed. Using Module::AutoInstall can no longer correctly determine the requirements for Const::Fast. Therefore because you UNINSTALLED Sub::Exporter, of course it worked. On 10/4/13 12:12 PM, "Leon Timmermans via RT" <bug-Const-Fast@rt.cpan.org> wrote: Show quoted text
><URL: https://rt.cpan.org/Ticket/Display.html?id=85706 > > >On Wed May 29 13:59:43 2013, fawaka@gmail.com wrote:
>> On Wed, May 29, 2013 at 6:17 PM, dchandler@e-dialog.com via RT >> <bug-Const-Fast@rt.cpan.org> wrote:
>> > We had a strange case where Const::Fast built last week version 0.013 >> > and prior are working. Yesterday, when building with version 0.014 >> > it failed when validating the installation. It did so today as well. >> > >> > <In ~ executing command #3 > perl -e 'use Const::Fast;' >> > Can't locate Sub/Exporter.pm in @INC (@INC contains: >> > /u1/mm/srcd1/x86_64-linux /u1/mm/srcd1 /u1/mm/cpand1/x86_64-linux >> > /u1/mm/cpand1 /u1/mm/local/perl/5.10.1/d1/lib/5.10.1/x86_64-linux >> > /u1/mm/local/perl/5.10.1/d1/lib/5.10.1 >> > /u1/mm/local/perl/5.10.1/d1/lib/site_perl/5.10.1/x86_64-linux >> > /u1/mm/local/perl/5.10.1/d1/lib/site_perl/5.10.1 .) at >> > /u1/mm/cpand1/Const/Fast.pm line 12. >> > BEGIN failed--compilation aborted at /u1/mm/cpand1/Const/Fast.pm line >> > 12. >> > Compilation failed in require at -e line 1. >> > BEGIN failed--compilation aborted at -e line 1. >> > >> > I found that the Meta.json is missing Sub::Exporter
>> >> That is deliberate. Const::Fast itself doesn't require Sub::Exporter >> anymore. Some uses of it may require it (and possibly I should have >> added it to recommends or suggests, but none of the CPAN dependents >> relied on it). >> >> What do you mean with validating the install? And how did you get that >> error? I can't reproduce it on «perl -e 'use Const::Fast;'» (after >> uninstalling Sub::Exporter). I don't really understand how this fails >> for you. >> >> Leon
> >I've been waiting for 4 months for a clarification, I will close this >bugreport when it's 5. > >Leon >
The information contained in this electronic mail transmission is intended only for the use of the individual or entity named in this transmission. If you are not the intended recipient of this transmission, you are hereby notified that any disclosure, copying or distribution of the contents of this transmission is strictly prohibited and that you should delete the contents of this transmission from your system immediately. Any comments or statements contained in this transmission do not necessarily reflect the views or position of eBay Enterprise. or its subsidiaries and/or affiliates.
On Fri Oct 04 12:19:43 2013, dchandler@ebay.com wrote: Show quoted text
> If Sub::Exporter is required by OTHER modules or is already installed, > the > installation of Const::Fast will fail. Const::Fast is going into an > existing environment, you need to make sub::Exporter::Progressive > required > when Sub::Exporter is installed. Using Module::AutoInstall can no > longer > correctly determine the requirements for Const::Fast. Therefore > because > you UNINSTALLED Sub::Exporter, of course it worked.
Your report makes no sense to me nor to anyone else I've showed it. «Can't locate Sub/Exporter.pm in @INC (@INC contains: …) at /u1/mm/cpand1/Const/Fast.pm line 12.» clearly claims there is a «use Sub::Exporter» in Const::Fast, which is evidently not the case in Sub::Exporter 0.014. Our best guess is that * You have an old version of Const in /u1/mm/cpand1 * You do not have Sub::Exporter in the same location * You're installing the new Const::Fast to some other location such as /u1/mm/local/perl/5.10.1/d1/lib/site_perl/5.10.1 * You have cleared that site-lib (or wherever you previously installed Sub::Exporter). This means that: * Even after upgrading, the old Const::Fast will be used. * It will not find Sub::Exporter, because it isn't there I'm closing this as rejected, as I can't imagine this being a bug in my distribution. If you disagree, please attach a perl -V, a perllocal and other information on where stuff gets installed.
Subject: Re: [rt.cpan.org #85706] Missing requirement causes use Failures.
Date: Sat, 5 Oct 2013 15:08:12 -0400
To: "bug-Const-Fast [...] rt.cpan.org" <bug-Const-Fast [...] rt.cpan.org>
From: Dana Chandler <dchandler [...] ebay.com>
No biggie, but just know that if a system already has Sub::Exporter. Then installing your module will break things at run time. Do what you want. Sent from my Verizon Wireless 4G LTE DROID Leon Timmermans via RT <bug-Const-Fast@rt.cpan.org> wrote: <URL: https://rt.cpan.org/Ticket/Display.html?id=85706 > On Fri Oct 04 12:19:43 2013, dchandler@ebay.com wrote: Show quoted text
> If Sub::Exporter is required by OTHER modules or is already installed, > the > installation of Const::Fast will fail. Const::Fast is going into an > existing environment, you need to make sub::Exporter::Progressive > required > when Sub::Exporter is installed. Using Module::AutoInstall can no > longer > correctly determine the requirements for Const::Fast. Therefore > because > you UNINSTALLED Sub::Exporter, of course it worked.
Your report makes no sense to me nor to anyone else I've showed it. «Can't locate Sub/Exporter.pm in @INC (@INC contains: …) at /u1/mm/cpand1/Const/Fast.pm line 12.» clearly claims there is a «use Sub::Exporter» in Const::Fast, which is evidently not the case in Sub::Exporter 0.014. Our best guess is that * You have an old version of Const in /u1/mm/cpand1 * You do not have Sub::Exporter in the same location * You're installing the new Const::Fast to some other location such as /u1/mm/local/perl/5.10.1/d1/lib/site_perl/5.10.1 * You have cleared that site-lib (or wherever you previously installed Sub::Exporter). This means that: * Even after upgrading, the old Const::Fast will be used. * It will not find Sub::Exporter, because it isn't there I'm closing this as rejected, as I can't imagine this being a bug in my distribution. If you disagree, please attach a perl -V, a perllocal and other information on where stuff gets installed. Show quoted text
________________________________ The information contained in this electronic mail transmission is intended only for the use of the individual or entity named in this transmission. If you are not the intended recipient of this transmission, you are hereby notified that any disclosure, copying or distribution of the contents of this transmission is strictly prohibited and that you should delete the contents of this transmission from your system immediately. Any comments or statements contained in this transmission do not necessarily reflect the views or position of eBay Enterprise. or its subsidiaries and/or affiliates.
CC: Dana Chandler <dchandler [...] ebay.com>
Subject: Re: [rt.cpan.org #85706] Missing requirement causes use Failures.
Date: Sat, 5 Oct 2013 15:10:54 -0400
To: "bug-Const-Fast [...] rt.cpan.org" <bug-Const-Fast [...] rt.cpan.org>
From: Dana Chandler <dchandler [...] ebay.com>
Oh when I say the installation will fail, I meant our installation, which validates with an attempt to use modules. It is at the use stage that it fails. Sent from my Verizon Wireless 4G LTE DROID Leon Timmermans via RT <bug-Const-Fast@rt.cpan.org> wrote: <URL: https://rt.cpan.org/Ticket/Display.html?id=85706 > On Fri Oct 04 12:19:43 2013, dchandler@ebay.com wrote: Show quoted text
> If Sub::Exporter is required by OTHER modules or is already installed, > the > installation of Const::Fast will fail. Const::Fast is going into an > existing environment, you need to make sub::Exporter::Progressive > required > when Sub::Exporter is installed. Using Module::AutoInstall can no > longer > correctly determine the requirements for Const::Fast. Therefore > because > you UNINSTALLED Sub::Exporter, of course it worked.
Your report makes no sense to me nor to anyone else I've showed it. «Can't locate Sub/Exporter.pm in @INC (@INC contains: …) at /u1/mm/cpand1/Const/Fast.pm line 12.» clearly claims there is a «use Sub::Exporter» in Const::Fast, which is evidently not the case in Sub::Exporter 0.014. Our best guess is that * You have an old version of Const in /u1/mm/cpand1 * You do not have Sub::Exporter in the same location * You're installing the new Const::Fast to some other location such as /u1/mm/local/perl/5.10.1/d1/lib/site_perl/5.10.1 * You have cleared that site-lib (or wherever you previously installed Sub::Exporter). This means that: * Even after upgrading, the old Const::Fast will be used. * It will not find Sub::Exporter, because it isn't there I'm closing this as rejected, as I can't imagine this being a bug in my distribution. If you disagree, please attach a perl -V, a perllocal and other information on where stuff gets installed. Show quoted text
________________________________ The information contained in this electronic mail transmission is intended only for the use of the individual or entity named in this transmission. If you are not the intended recipient of this transmission, you are hereby notified that any disclosure, copying or distribution of the contents of this transmission is strictly prohibited and that you should delete the contents of this transmission from your system immediately. Any comments or statements contained in this transmission do not necessarily reflect the views or position of eBay Enterprise. or its subsidiaries and/or affiliates.