Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 554912 - dev-perl/PDL-2.012: Version bump
Summary: dev-perl/PDL-2.012: Version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-14 18:51 UTC by Andreas Proteus
Modified: 2016-10-29 18:00 UTC (History)
1 user (show)

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


Attachments
Output of emerge --info (emerge.info,6.63 KB, text/plain)
2015-07-14 18:51 UTC, Andreas Proteus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Proteus 2015-07-14 18:51:43 UTC
Created attachment 406810 [details]
Output of emerge --info

Evaluating even the simplest mathematical expression results in a segmentation fault.

For example the perl script:

# pdl-test.pl
use PDL;
$x = pdl [1 .. 10];
print "$x\n";
$y =  $x * $x;
print "$y\n"; 

Gives: 

$ perl ./pdl-test.pl
[1 2 3 4 5 6 7 8 9 10]
*** Error in `perl': realloc(): invalid next size: 0x08daf318 *** 

Same happens if I run the commands in the pdl or pdl2 shells.

I have tried both versions of Perl  currently in portage.
I have run perl-cleaner --reallyall etc.

I suspect version 2.4.11 currently in portage is too old.
I fetched from GitHub the latest version (2.012), I manually installed it to /usr/local/ and it works as expected.
Comment 1 Patrice Clement gentoo-dev 2015-08-04 08:38:22 UTC
(In reply to Andreas Proteus from comment #0)
> I suspect version 2.4.11 currently in portage is too old.
> I fetched from GitHub the latest version (2.012), I manually installed it to
> /usr/local/ and it works as expected.

This is one hell of a gigantic monster.

https://metacpan.org/release/PDL

We are many versions behind. euscan didn't pick up on the new releases. :/
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2015-08-19 05:17:58 UTC
Talking with upstream, they say a split for PDL is in the works.

And given the complexity of trying to work out what is needed and what to make change to keep it working is reaching mind-blow (https://github.com/PDLPorters/pdl/issues/139), I'm going to propose we just delay a bit till they get that rolling, as it will make the optional dependency logic much more modular: 

https://github.com/PDLPorters/pdl/issues/119

When we do that, we'll have to handle the split, but it shouldn't be so confusing as there's only one package in tree using it, plplot.

And then we can tease out the perl parts in PLPlot and actually ship https://metacpan.org/release/PDL-Graphics-PLplot instead of using the bundled version in PLPlot, and then throw the "pdl" useflag on that, or something.
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2016-10-27 18:03:53 UTC
(In reply to Andreas Proteus from comment #0)
> Created attachment 406810 [details]
> Output of emerge --info
> 
> Evaluating even the simplest mathematical expression results in a
> segmentation fault.

Confirmed, also the tests all segfault.
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2016-10-29 18:00:39 UTC
2.17.0 is in tree