Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 240376 - dev-perl/math-pari bump (needed as the current doesn't build with perl-5.10)
Summary: dev-perl/math-pari bump (needed as the current doesn't build with perl-5.10)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-07 13:04 UTC by Michele Beltrame
Modified: 2008-12-09 08:54 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-perl/math-pari 2.010800 (math-pari-2.010800.ebuild,1.33 KB, text/plain)
2008-10-07 13:06 UTC, Michele Beltrame
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michele Beltrame 2008-10-07 13:04:28 UTC
dev-perl/math-pari-2.010709 fails if built in a system with perl-5.10 (from the perl-experimental overlay) with:

------
i686-pc-linux-gnu-gcc -c  -I ../pari-2.1.7/src -I../pari-2.1.7/src/headers -I../pari-2.1.7/src -I./libPARI -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=i686 -pipe   -DVERSION=\"2.010709\" -DXS_VERSION=\"2.010709\" -fPIC "-I/usr/lib/perl5/5.10.0/i686-linux/CORE"  -DPARI_VERSION_EXP=2001007 -DDEBUG_PARI -DLSB_in_U32=0 -Derr=pari_err -DGCC_INLINE Pari.c
Pari.xs: In function 'installPerlFunctionCV':
Pari.xs:1153: error: 'XPVCV' has no member named 'xof_off'
Pari.xs: In function 'callPerlFunction':
Pari.xs:1219: error: 'XPVCV' has no member named 'xof_off'
make: *** [Pari.o] Error 1
------

If one uses perl-5.8.8 it builds and install but still:

* Downgrades pari to an older versione than the latest stable one in portage
* It's not the latest dev-perl/math-pari available on CPAN

I'll attach a bumped and patched ebuild within minutes.
Comment 1 Michele Beltrame 2008-10-07 13:06:47 UTC
Created attachment 167538 [details]
dev-perl/math-pari 2.010800

This uses sci-mathematics/pari-2.3.2 to build. The "hppa" architecture for which there were a couple of patches was removed as I don't have a machine to test it.
Comment 2 Torsten Veller (RETIRED) gentoo-dev 2008-12-08 09:38:51 UTC
Michele, math-pari was bumped. Can you please test if it works?
Comment 3 Michele Beltrame 2008-12-09 08:54:35 UTC
Hi!

The 2.010800 in Portage still does seem to want ~sci-mathemtics/pari-2.1.7, therefore downgrading 2.3.2 if one has it installed. It should probably accept to build with math-pari up to 2.3.2 (which is the latest stable in Gentoo), which works perfectly for this module, just to avoid unwanted downgrades.

Michele.