Greetings!

I am unable to build 2.08 or 2.07 for our developers on our platform
(CentOS 4.7/x86_64, morally equivalent to RHEL 4). Below, please find
my errors in building 2.08--the errors in building 2.07 are far fewer,
but in a similar vein.

Another wrinkle that may or may not be relevant is I may not build
directly from CPAN: I may may only install RPM's, which I'm building
using cpan2rpm.

Any help would be appreciated.

Thanks!

-- Lorrie

cpan2rpm Devel-NYTProf-2.08.tar.gz
-- cpan2rpm - Ver: 2.028 --
Signatures not set up
Upgrade check
Fetch: HTTP

-- module: Devel-NYTProf-2.08.tar.gz --
Metadata retrieval
Tarball extraction: [/usr/src/redhat/SOURCES/Devel-
NYTProf-2.08.tar.gz]
Generating spec file
SPEC: /usr/src/redhat/SPECS/Devel-NYTProf.spec
Generating package
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.83636
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /usr/src/redhat/BUILD
+ rm -rf Devel-NYTProf-2.08
+ /bin/gzip -dc /usr/src/redhat/SOURCES/Devel-NYTProf-2.08.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd Devel-NYTProf-2.08
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ chmod -R u+w /usr/src/redhat/BUILD/Devel-NYTProf-2.08
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.83636
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd Devel-NYTProf-2.08
+ LANG=C
+ export LANG
+ unset DISPLAY
+ grep -rsl '^#!.*perl' .
+ grep -v '.bak$'
+ xargs --no-run-if-empty /usr/bin/perl -MExtUtils::MakeMaker -e 'MY-
>fixin(@ARGV)'
+ CFLAGS='-O2 -g -pipe -m64'
++ /usr/bin/perl -MExtUtils::MakeMaker -e ' print qq|PREFIX=/var/tmp/
perl-Devel-NYTProf-2.08-root/usr| if $ExtUtils::MakeMaker::VERSION =~ /
5\.9[1-6]|6\.0[0-5]/ '
+ /usr/bin/perl Makefile.PL
Looking for header files and functions...
Found clock_gettime in time.h
Found deflateInit2 in zlib.h
Your perl was compiled with gcc (version 3.4.6 20060404 (Red Hat
3.4.6-9)), okay.
Checking if your kit is complete...
Looks good
Writing Makefile for Devel::NYTProf
+ /usr/bin/make
cp lib/Devel/NYTProf/js/bg.png blib/lib/Devel/NYTProf/js/bg.png
cp benchmark.pl blib/lib/Devel/benchmark.pl
cp lib/Devel/NYTProf/js/asc.png blib/lib/Devel/NYTProf/js/asc.png
cp lib/Devel/NYTProf/Data.pm blib/lib/Devel/NYTProf/Data.pm
cp lib/Devel/NYTProf/SubInfo.pm blib/lib/Devel/NYTProf/SubInfo.pm
cp lib/Devel/NYTProf/js/desc.png blib/lib/Devel/NYTProf/js/desc.png
cp perftest.pl blib/lib/Devel/perftest.pl
cp lib/Devel/NYTProf/FileInfo.pm blib/lib/Devel/NYTProf/FileInfo.pm
cp lib/Devel/NYTProf/Test.pm blib/lib/Devel/NYTProf/Test.pm
cp lib/Devel/NYTProf/Reader.pm blib/lib/Devel/NYTProf/Reader.pm
cp lib/Devel/NYTProf/ReadStream.pm blib/lib/Devel/NYTProf/
ReadStream.pm
cp lib/Devel/NYTProf.pm blib/lib/Devel/NYTProf.pm
cp lib/Devel/NYTProf/js/style.tablesorter.css blib/lib/Devel/NYTProf/
js/style.tablesorter.css
cp lib/Devel/NYTProf/Apache.pm blib/lib/Devel/NYTProf/Apache.pm
cp lib/Devel/NYTProf/Core.pm blib/lib/Devel/NYTProf/Core.pm
cp lib/Devel/NYTProf/Util.pm blib/lib/Devel/NYTProf/Util.pm
cp lib/Devel/NYTProf/js/jquery.tablesorter.min.js blib/lib/Devel/
NYTProf/js/jquery.tablesorter.min.js
cp lib/Devel/NYTProf/Constants.pm blib/lib/Devel/NYTProf/Constants.pm
cp lib/Devel/NYTProf/js/jquery.min.js blib/lib/Devel/NYTProf/js/
jquery.min.js
/usr/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp  -typemap /usr/lib/
perl5/5.8.5/ExtUtils/typemap -typemap typemap  NYTProf.xs >
NYTProf.xsc && mv NYTProf.xsc NYTProf.c
gcc -c   -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -
pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -
I/usr/include/gdbm -O2 -g -pipe -m64   -DVERSION=\"2.08\" -DXS_VERSION=
\"2.08\" -fPIC "-I/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/
CORE"  -DHAS_CLOCK_GETTIME -DHAS_ZLIB -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:2264: warning: cast from pointer to integer of different
size
NYTProf.xs: In function `compressed_io_croak':
NYTProf.xs:389: warning: function might be possible candidate for
attribute `noreturn'
Running Mkbootstrap for Devel::NYTProf ()
chmod 644 NYTProf.bs
rm -f blib/arch/auto/Devel/NYTProf/NYTProf.so
gcc  -shared NYTProf.o  -o blib/arch/auto/Devel/NYTProf/NYTProf.so   -
lrt -lz
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
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/
nytprofcsv
cp bin/nytprofhtml blib/script/nytprofhtml
/usr/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::Apache.3pm
Manifying blib/man3/Devel::NYTProf::Core.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
+ /usr/bin/make test
cp blib/arch/auto/Devel/NYTProf/NYTProf.so blib/lib/Devel/auto/Devel/
NYTProf/NYTProf.so
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00.load............# Testing Devel::NYTProf 2.08 on perl 5.008005
x86_64-linux-thread-multi
t/
00.load............ok
t/
22.readstream......ok
t/
30.util............ok
t/
50.errno...........ok
t/
80.version.........ok
t/90.pod.............skipped
        all skipped: Test::Pod 1.00 required for testing POD
t/91.pod_coverage....skipped
        all skipped: Test::Pod::Coverage 1.04 required for testing POD
coverage
t/test01.............#     Failed test (t/lib/NYTProfTest.pm at line
109)
t/test01.............ok 25/25# Looks like you failed 1 tests of
25.
t/
test01.............dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/25 tests, 96.00% okay
t/test02.............NOK 1#     Failed test (t/lib/NYTProfTest.pm at
line 109)
t/test02.............ok 21/21# Looks like you failed 1 tests of
21.
t/
test02.............dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/21 tests, 95.24% okay
t/test03.............#     Failed test (t/lib/NYTProfTest.pm at line
109)
t/test03.............ok 21/21# Looks like you failed 1 tests of
21.
t/
test03.............dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/21 tests, 95.24% okay
t/test05.............#     Failed test (t/lib/NYTProfTest.pm at line
109)
t/test05.............ok 21/21# Looks like you failed 1 tests of
21.
t/
test05.............dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/21 tests, 95.24% okay
t/test06.............#     Failed test (t/lib/NYTProfTest.pm at line
109)
t/test06.............ok 21/21# Looks like you failed 1 tests of
21.
t/
test06.............dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/21 tests, 95.24% okay
t/test07.............#     Failed test (t/lib/NYTProfTest.pm at line
109)
t/test07.............ok 21/21# Looks like you failed 1 tests of
21.
t/
test07.............dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/21 tests, 95.24% okay
t/test08.............#     Failed test (t/lib/NYTProfTest.pm at line
109)
t/test08.............ok 21/21# Looks like you failed 1 tests of
21.
t/
test08.............dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/21 tests, 95.24% okay
t/test09.............#     Failed test (t/lib/NYTProfTest.pm at line
109)
t/test09.............ok 21/21# Looks like you failed 1 tests of
21.
t/
test09.............dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/21 tests, 95.24% okay
t/test10.............#     Failed test (t/lib/NYTProfTest.pm at line
109)
t/test10.............ok 21/21# Looks like you failed 1 tests of
21.
t/
test10.............dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/21 tests, 95.24% okay
t/test11.............#     Failed test (t/lib/NYTProfTest.pm at line
109)
t/test11.............ok 21/21# Looks like you failed 1 tests of
21.
t/
test11.............dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/21 tests, 95.24% okay
t/test12.............#     Failed test (t/lib/NYTProfTest.pm at line
109)
t/test12.............ok 21/21# Looks like you failed 1 tests of
21.
t/
test12.............dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/21 tests, 95.24% okay
t/test13.............#     Failed test (t/lib/NYTProfTest.pm at line
109)
t/test13.............ok 21/21# Looks like you failed 1 tests of
21.
t/
test13.............dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/21 tests, 95.24% okay
t/test14.............#     Failed test (t/lib/NYTProfTest.pm at line
109)
t/test14.............ok 21/21# Looks like you failed 1 tests of
21.
t/
test14.............dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/21 tests, 95.24% okay
t/test16.............skipped
        all skipped: needs perl >= 5.10
t/test20-streval.....#     Failed test (t/lib/NYTProfTest.pm at line
109)
t/test20-streval.....ok 21/21# Looks like you failed 1 tests of
21.
t/test20-
streval.....dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/21 tests, 95.24% okay
t/test21-streval3....#     Failed test (t/lib/NYTProfTest.pm at line
109)
t/test21-streval3....ok 21/21# Looks like you failed 1 tests of
21.
t/test21-
streval3....dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/21 tests, 95.24% okay
t/test30-fork.0......#     Failed test (t/lib/NYTProfTest.pm at line
109)
t/test30-fork.0......ok 21/21# Looks like you failed 1 tests of
21.
t/test30-fork.
0......dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/21 tests, 95.24% okay
t/test40pmc..........#     Failed test (t/lib/NYTProfTest.pm at line
109)
t/test40pmc..........ok 21/21# Looks like you failed 1 tests of
21.
t/
test40pmc..........dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/21 tests, 95.24% okay
t/test50-disable.....#     Failed test (t/lib/NYTProfTest.pm at line
109)
t/test50-disable.....ok 21/21# Looks like you failed 1 tests of
21.
t/test50-
disable.....dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/21 tests, 95.24% okay
t/test51-enable......#     Failed test (t/lib/NYTProfTest.pm at line
109)
t/test51-enable......ok 21/21# Looks like you failed 1 tests of
21.
t/test51-
enable......dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/21 tests, 95.24% okay
t/test60-subname.....#     Failed test (t/lib/NYTProfTest.pm at line
109)
t/test60-subname.....ok 9/9# Looks like you failed 1 tests of
9.
t/test60-
subname.....dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/9 tests, 88.89% okay
t/test61-submerge....#     Failed test (t/lib/NYTProfTest.pm at line
109)
t/test61-submerge....ok 9/9# Looks like you failed 1 tests of
9.
t/test61-
submerge....dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/9 tests, 88.89% okay
t/test70-subexcl.....#     Failed test (t/lib/NYTProfTest.pm at line
109)
t/test70-subexcl.....ok 5/5# Looks like you failed 1 tests of
5.
t/test70-
subexcl.....dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/5 tests, 80.00% okay
t/test80-recurs......#     Failed test (t/lib/NYTProfTest.pm at line
109)
t/test80-recurs......ok 9/9# Looks like you failed 1 tests of
9.
t/test80-
recurs......dubious
        Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 1
        Failed 1/9 tests, 88.89% okay
Failed Test         Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/test01.t             1   256    25    1   4.00%  1
t/test02.t             1   256    21    1   4.76%  1
t/test03.t             1   256    21    1   4.76%  1
t/test05.t             1   256    21    1   4.76%  1
t/test06.t             1   256    21    1   4.76%  1
t/test07.t             1   256    21    1   4.76%  1
t/test08.t             1   256    21    1   4.76%  1
t/test09.t             1   256    21    1   4.76%  1
t/test10.t             1   256    21    1   4.76%  1
t/test11.t             1   256    21    1   4.76%  1
t/test12.t             1   256    21    1   4.76%  1
t/test13.t             1   256    21    1   4.76%  1
t/test14.t             1   256    21    1   4.76%  1
t/test20-streval.t     1   256    21    1   4.76%  1
t/test21-streval3.t    1   256    21    1   4.76%  1
t/test30-fork.0.t      1   256    21    1   4.76%  1
t/test40pmc.t          1   256    21    1   4.76%  1
t/test50-disable.t     1   256    21    1   4.76%  1
t/test51-enable.t      1   256    21    1   4.76%  1
t/test60-subname.t     1   256     9    1  11.11%  1
t/test61-submerge.t    1   256     9    1  11.11%  1
t/test70-subexcl.t     1   256     5    1  20.00%  1
t/test80-recurs.t      1   256     9    1  11.11%  1
3 tests skipped.
Failed 23/31 test scripts, 25.81% okay. 23/479 subtests failed, 95.20%
okay.
make: *** [test_dynamic] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.83636 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.83636 (%build)
RPM build failed [1] at /usr/bin/cpan2rpm line 1052.
-- Done --


--~--~---------~--~----~------------~-------~--~----~
You've received this message because you are subscribed to
the Devel::NYTProf Development User group.

Group hosted at:  http://groups.google.com/group/develnytprof-dev
Project hosted at:  http://perl-devel-nytprof.googlecode.com
CPAN distribution:  http://search.cpan.org/dist/Devel-NYTProf

To post, email:  [email protected]
To unsubscribe, email:  [email protected]
-~----------~----~----~----~------~----~------~--~---

Reply via email to