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
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
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
##### 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