Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the devel-nytprof CPAN distribution.

Report information
The Basics
Id: 46617
Status: resolved
Priority: 0/
Queue: devel-nytprof

People
Owner: Nobody in particular
Requestors: jozef [...] kutej.net
Cc:
AdminCc:

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



Subject: bin/nytprof* are not installed
Hi, # make cc -c -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"2.09\" -DXS_VERSION=\"2.09\" -fPIC "-I/corp/lib/perl/5.10/CORE" -DHAS_CLOCK_GETTIME -W -Wall -Wpointer-arith -Wbad-function-cast -Wno-comment -Wno-sign-compare -Wno-cast-qual -Wmissing-noreturn -Wno-unused-parameter NYTProf.c NYTProf.xs: In function ‘pp_entersub_profiler’: NYTProf.xs:2345: warning: cast from pointer to integer of different size Running Mkbootstrap for Devel::NYTProf () chmod 644 NYTProf.bs rm -f blib/arch/auto/Devel/NYTProf/NYTProf.so cc -shared -O2 -g -L/usr/local/lib NYTProf.o -o blib/arch/auto/Devel/NYTProf/NYTProf.so \ -lrt \ chmod 755 blib/arch/auto/Devel/NYTProf/NYTProf.so cp NYTProf.bs blib/arch/auto/Devel/NYTProf/NYTProf.bs chmod 644 blib/arch/auto/Devel/NYTProf/NYTProf.bs cp blib/arch/auto/Devel/NYTProf/NYTProf.so blib/lib/Devel/auto/Devel/NYTProf/NYTProf.so cp bin/nytprofcsv blib/script/nytprofcsv /corp/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/nytprofcsv cp bin/nytprofhtml blib/script/nytprofhtml /corp/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/nytprofhtml Manifying blib/man1/nytprofcsv.1 Manifying blib/man1/nytprofhtml.1 Manifying blib/man3/Devel::NYTProf::Core.3pm Manifying blib/man3/Devel::NYTProf::Apache.3pm Manifying blib/man3/Devel::NYTProf::Reader.3pm Manifying blib/man3/Devel::NYTProf.3pm Manifying blib/man3/Devel::NYTProf::ReadStream.3pm Manifying blib/man3/Devel::NYTProf::Util.3pm Manifying blib/man3/Devel::NYTProf::Data.3pm # make install cp blib/arch/auto/Devel/NYTProf/NYTProf.so blib/lib/Devel/auto/Devel/NYTProf/NYTProf.so Files found in blib/arch: installing files in blib/lib into architecture dependent library tree Appending installation info to /corp/lib/perl5/site_perl/5.10.0/arch/perllocal.pod The `make` creates "blib/script/nytprof*" but `make install` doesn't install them. Regards, Jozef
This is a permissions issue. Recent versions of CPAN set a flag in Archive::Tar to set unpacked files according to the users umask, but Archive::Tar does this "wrong" and it strips the executable bit. This is a problem because tests want to run bin/nytprof*. Instead, tests should run the copies in blib/script, which are set with an executable bit during "make". --- a/t/lib/NYTProfTest.pm +++ b/t/lib/NYTProfTest.pm @@ -50,7 +50,7 @@ chdir('t') if -d 't'; if (-d '../blib') { unshift @INC, '../blib/arch', '../blib/lib'; } -my $bindir = (grep {-d} qw(./bin ../bin))[0]; +my $bindir = (grep {-d} qw(./blib/script ../blib/script))[0]; my $nytprofcsv = "$bindir/nytprofcsv"; my $nytprofhtml = "$bindir/nytprofhtml";
Fixed (applied patch) in r751.