Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Math::Pari patch for 5.10.0

by haoess (Curate)
on Mar 08, 2008 at 11:41 UTC ( #672966=note: print w/ replies, xml ) Need Help??


in reply to Math::Pari patch for 5.10.0

The patch applies cleanly and make runs fine, but make test doesn't:

fw@hal:~/.cpan/build/Math-Pari-2.010709-Jg2s99$ LC_ALL=C make test cd libPARI && make LIBPERL_A="libperl.a" LINKTYPE="dynamic" OPTIMIZE=" +-O2" PREFIX="/opt/perl-33445" PASTHRU_DEFINE="" PASTHRU_INC="" make[1]: Entering directory `/home/fw/.cpan/build/Math-Pari-2.010709-J +g2s99/libPARI' make[1]: Leaving directory `/home/fw/.cpan/build/Math-Pari-2.010709-Jg +2s99/libPARI' make[1]: Entering directory `/home/fw/.cpan/build/Math-Pari-2.010709-J +g2s99/libPARI' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/fw/.cpan/build/Math-Pari-2.010709-Jg +2s99/libPARI' PERL_DL_NONLAZY=1 /opt/perl-33445/bin/perl5.11.0 "-MExtUtils::Command: +:MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00_Pari..........ok t/55_analyz........ok t/55_elliptic......ok t/55_graph.........# Can't locate Term/Gnuplot.pm in @INC, ignoring pl +otting t/55_graph.........ok t/55_linear........ok t/55_nfields.......1/161 PARI: *** Warning: insufficient precision + for fundamental units, not given. t/55_nfields.......24/161 PARI: *** Warning: not a fundamental dis +criminant in quadclassunit. t/55_nfields.......ok t/55_number........ok t/55_objets........ All 62 subtests passed t/55_ploth.........# Can't locate Term/Gnuplot.pm in @INC, ignoring pl +otting t/55_ploth.........ok t/55_polyser.......ok t/55_program.......ok t/55_sumiter.......ok t/55_trans.........ok t/PlotRect.........# Can't locate Term/Gnuplot.pm in @INC, ignoring th +e test t/PlotRect.........skipped: Can't locate Term/Gnuplot.pm in @INC t/zz_leak..........ok Test Summary Report ------------------- Files=15, Tests=1245, 8 wallclock secs ( 0.26 usr 0.02 sys + 6.82 c +usr 0.09 csys = 7.19 CPU) Result: FAIL Failed 1/15 test programs. 0/1245 subtests failed. make: *** [test_dynamic] Error 255 fw@hal:~/.cpan/build/Math-Pari-2.010709-Jg2s99$ /opt/perl-33445/bin/pe +rl5.11.0 -V
Summary of my perl5 (revision 5 version 11 subversion 0 patch 33445) c +onfiguration: Platform: osname=linux, osvers=2.6.22-14-generic, archname=i686-linux uname='linux hal 2.6.22-14-generic #1 smp tue feb 12 07:42:25 utc +2008 i686 gnulinux ' config_args='-de -Dusedevel -Dprefix=/opt/perl-33445/ -Dmad' hint=recommended, useposix=true, d_sigaction=define useithreads=undef, usemultiplicity=undef useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=und +ef use64bitint=undef, use64bitall=undef, uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -pipe -fstack-protector -I +/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64', optimize='-O2', cppflags='-fno-strict-aliasing -pipe -fstack-protector -I/usr/loca +l/include' ccversion='', gccversion='4.1.3 20070929 (prerelease) (Ubuntu 4.1. +2-16ubuntu2)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=1 +2 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', + lseeksize=8 alignbytes=4, prototype=define Linker and Libraries: ld='cc', ldflags =' -fstack-protector -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc libc=/lib/libc-2.6.1.so, so=so, useshrplib=false, libperl=libperl. +a gnulibc_version='2.6.1' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E' cccdlflags='-fPIC', lddlflags='-shared -O2 -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: PERL_DONT_CREATE_GVSV PERL_MAD PERL_MALLOC_WRA +P USE_LARGE_FILES USE_PERLIO Locally applied patches: DEVEL Built under linux Compiled at Mar 5 2008 20:16:06 @INC: /opt/perl-33445/lib/5.11.0/i686-linux /opt/perl-33445/lib/5.11.0 /opt/perl-33445/lib/site_perl/5.11.0/i686-linux /opt/perl-33445/lib/site_perl/5.11.0

Looks strange, since there are no failing subtests.

-- Frank


Comment on Re: Math::Pari patch for 5.10.0
Select or Download Code
Re^2: Math::Pari patch for 5.10.0
by syphilis (Canon) on Mar 09, 2008 at 05:59 UTC
    I note you're running blead (5.11.0). The problem there might lie with something other than Math::Pari (eg Test::Harness).

    Do you have a perl-5.10.0 to try it out on ? From where does one obtain the perl-5.11.0 source ? (I can't find it anywhere, though quite a few people seem to have located it ... I'll keep looking for it.)

    Cheers,
    Rob
      I note you're running blead (5.11.0). The problem there might lie with something other than Math::Pari (eg Test::Harness).

      I get the same error with a fresh compiled 5.10 and Test::Harness 3.10.

      From where does one obtain the perl-5.11.0 source ?

      Have a look at http://dev.perl.org/perl5/source.html.

      -- Frank

        I get the same error with a fresh compiled 5.10 and Test::Harness 3.10

        On my perl-5.10 I had Test-Harness-2.64. I updated to version 3.10, and Math-Pari still builds and tests flawlessly for me. Maybe you ought to switch to Win32 :-)))

        Sorry, I don't know why 'make test' reports that absurd "FAIL" for you. It may signify a problem with Math::Pari ... or it may signify a problem with something else.

        Cheers,
        Rob
      From where does one obtain the perl-5.11.0 source ? (I can't find it anywhere, though quite a few people seem to have located it ... I'll keep looking for it.)
      See perlhack (at least for the next however-many weeks until the Perforce-to-git move is done, at which time perlhack will probably be updated, but since the location of the new repo isn't determined, I don't know how to link to what will be the new perlhack :)

      Note that there has been no 5.11.0 release, but there will be at some point. Anything that calls itself 5.11.0 now is a work in progress.

        Anything that calls itself 5.11.0 now is a work in progress

        I wondered whether that might be the case. I think I'll wait for an official release of 5.11.0 (or at least for a 5.11.0 release candidate) before I go testing it out. Thanks for the info ysth.

        Cheers,
        Rob

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://672966]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (16)
As of 2014-08-27 17:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (246 votes), past polls