Skip Menu | will be shut down on March 1st, 2021.

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

Owner: Nobody in particular
Requestors: jozef [...]

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

Subject: bin/nytprof* are not installed
Download (untitled) / with headers
text/plain 1.9k
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 rm -f blib/arch/auto/Devel/NYTProf/ cc -shared -O2 -g -L/usr/local/lib NYTProf.o -o blib/arch/auto/Devel/NYTProf/ \ -lrt \ chmod 755 blib/arch/auto/Devel/NYTProf/ cp blib/arch/auto/Devel/NYTProf/ chmod 644 blib/arch/auto/Devel/NYTProf/ cp blib/arch/auto/Devel/NYTProf/ blib/lib/Devel/auto/Devel/NYTProf/ 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/ blib/lib/Devel/auto/Devel/NYTProf/ 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
Download (untitled) / with headers
text/plain 741b
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/ +++ b/t/lib/ @@ -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.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to