Skip Menu |
 

This queue is for tickets about the Time-HiRes CPAN distribution.

Report information
The Basics
Id: 121633
Status: resolved
Priority: 0/
Queue: Time-HiRes

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

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



Subject: . in @INC fix not working
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Message-ID: <rt-4.0.18-13362-1494591889-380.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 1355
Download (untitled) / with headers
text/plain 1.3k
Show quoted text
> perl-5.26.0-RC1/dist/Time-HiRes$ ../../perl -I../../lib Makefile.PL
Configuring Time::HiRes... Using hints hints/linux.pl... do "hints/linux.pl" failed, '.' is no longer in @INC; did you mean do "./hints/linux.pl"? at Makefile.PL line 424. ... https://perl5.git.perl.org/perl.git/blobdiff/3cf6d6323b374dd6f32717ffa188a6ed9aa3f2d3..8b69401c2ba8d1ced2e17c24d6b51a7ce3882664:/dist/Time-HiRes/Makefile.PL attempted to re-add . but this fails as File::Spec(::Unix) will ignore the '.' Show quoted text
> ./perl -I ./lib -MFile::Spec -E'say File::Spec->catfile( ".","hints","$^O" );'
hints/linux I don't know if this is a bug or a feature in File::Spec(::Unix) - I suspect the latter. perl -V: Show quoted text
> ../../perl -V -I ../../lib | head -n50
Summary of my perl5 (revision 5 version 26 subversion 0) configuration: Platform: osname=linux osvers=3.13.0-105-generic archname=x86_64-linux uname='linux givengaindev 3.13.0-105-generic #152-ubuntu smp fri dec 2 15:37:11 utc 2016 x86_64 x86_64 x86_64 gnulinux ' config_args='-Dprefix=/opt/tools -Dotherlibdirs=/opt/tools/testing/lib -d -A ccflags=-fPIC' hint=recommended useposix=true d_sigaction=define useithreads=undef usemultiplicity=undef use64bitint=define use64bitall=define uselongdouble=undef usemymalloc=n default_inc_excludes_dot=define bincompat5005=undef
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-13362-1494591889-380.0-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-13362-1494591889-380.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-23538-1513635206-1270.121633-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 1185
Download (untitled) / with headers
text/plain 1.1k
On Fri May 12 08:24:50 2017, LEEJO wrote: Show quoted text
> > perl-5.26.0-RC1/dist/Time-HiRes$ ../../perl -I../../lib Makefile.PL
> Configuring Time::HiRes... > Using hints hints/linux.pl... > do "hints/linux.pl" failed, '.' is no longer in @INC; did you mean do > "./hints/linux.pl"? at Makefile.PL line 424. > ... > > https://perl5.git.perl.org/perl.git/blobdiff/3cf6d6323b374dd6f32717ffa188a6ed9aa3f2d3..8b69401c2ba8d1ced2e17c24d6b51a7ce3882664:/dist/Time- > HiRes/Makefile.PL attempted to re-add . but this fails as > File::Spec(::Unix) will ignore the '.' >
> > ./perl -I ./lib -MFile::Spec -E'say File::Spec->catfile( > > ".","hints","$^O" );'
> hints/linux > > I don't know if this is a bug or a feature in File::Spec(::Unix) - I > suspect the latter. > > perl -V: >
> > ../../perl -V -I ../../lib | head -n50
This is fixed in Perl 5 blead, where Time::HiRes is at version 1.9748. ##### $ ../../perl -I../../lib Makefile.PL --configure Configuring Time::HiRes... Using hints hints/linux.pl... ##### However, CPAN is two versions behind that. Could one of the releasors ( DEWEG, JHI, RJBS, ZEFRAM) do a new CPAN release? That would resolve this ticket. Thank you very much. Jim Keenan
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-23538-1513635206-1270.121633-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-13362-1494591889-380.0-0-0 [...] rt.cpan.org> <rt-4.0.18-23538-1513635206-1270.121633-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-17186-1516262485-884.121633-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 423
Download (untitled) / with headers
text/plain 423b
##### Show quoted text
> $ ../../perl -I../../lib Makefile.PL --configure > Configuring Time::HiRes... > Using hints hints/linux.pl... > ##### > > However, CPAN is two versions behind that. Could one of the releasors > ( DEWEG, JHI, RJBS, ZEFRAM) do a new CPAN release? That would resolve > this ticket.
The latest CPAN release is as of this writing 1.9753, and the blead is at 1.9752. Closing. Show quoted text
> Thank you very much. > Jim Keenan


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.