Created attachment 835819 [details] build.log Description of problem: Result: FAIL RPM build errors: Failed 3/124 test programs. 0/1745 subtests failed. make: *** [test_dynamic] Error 255 Version-Release number of selected component (if applicable): perl-PDL-2.6.0.90-1.fc20 How reproducible: always Steps to Reproduce: 1. ppc-koji build --scratch f20 perl-PDL-2.6.0.90-1.fc20.src.rpm 2. 3. Actual results: http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=1568457 Expected results: Additional info: This might be a perl bug exposed by perl-PDL's testsuite
Created attachment 835830 [details] root.log
There is bug in the fortran slatec code: t/foo.t ..................... ok ***MESSAGE FROM ROUTINE PCHIM IN LIBRARY SLATEC. ***POTENTIALLY RECOVERABLE ERROR, PROG ABORTED, TRACEBACK REQUESTED * NUMBER OF DATA POINTS LESS THAN TWO * ERROR NUMBER = -1 * ***END OF MESSAGE ***JOB ABORT DUE TO UNRECOVERED ERROR. 0 ERROR MESSAGE SUMMARY LIBRARY SUBROUTINE MESSAGE START NERR LEVEL COUNT SLATEC PCHIM NUMBER OF DATA POINT -1 1 1 slatec called halt at /builddir/build/BUILD/PDL-2.006_90/blib/lib/PDL/Func.pm line 406. (in cleanup) INVALID MAGIC NO 886729600 886731200 (in cleanup) INVALID MAGIC NO 886729600 -1799157872 t/func.t .................... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 8/16 subtests And then next invalid free in perl while performing slatec library again: t/slatec.t .................. Failed 40/40 subtests It's also caused by the slatec code. Latest 2.007 PDL release fixes some bugs in the slatec.
2.007 is not better.
No distribution seems delivering PDL >= 2.4.11 for PPC64. One can disable Slatec with WITH_SLATEC=0.
After disabling Slatec, tests pass. I will disable the Slatec on PPC64 since F20.
perl-PDL-2.7.0-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/perl-PDL-2.7.0-2.fc20
perl-PDL-2.7.0-2.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
The fix is not sufficient as it will install some files requiring the disabled PDL::Slatec module: $ grep -Hnr PDL::Slatec share/doc/perl-PDL-2.7.0/TODO:137: * PDL::Slatec share/doc/perl-PDL-2.7.0/TODO:212: * Convert PDL::Slatec to use C with f2c of source share/doc/perl-PDL-2.7.0/Release_Notes:1380: and EU::F77 installed, PDL::Slatec will be built. share/doc/perl-PDL-2.7.0/Changes:4964: we now check if PDL::Slatec can actually be used. My share/doc/perl-PDL-2.7.0/Changes:4966: from the PDL::Slatec build time configuration. lib64/perl5/vendor_perl/PDL/Modules.pod:228:=item L<PDL::Slatec|PDL::Slatec> lib64/perl5/vendor_perl/PDL/MatrixOps.pm:46:L<PDL::Slatec|PDL::Slatec> or any of the PDL::GSL family of modules). lib64/perl5/vendor_perl/PDL/Matrix.pm:32:want to read L<PDL::MatrixOps> or L<PDL::Slatec>. lib64/perl5/vendor_perl/PDL/Matrix.pm:90:#use PDL::Slatec; lib64/perl5/vendor_perl/PDL/Matrix.pm:215:eval "use PDL::Slatec"; lib64/perl5/vendor_perl/PDL/Matrix.pm:220: croak "inv: PDL::Slatec not available" unless $has_slatec; lib64/perl5/vendor_perl/PDL/Func.pm:75:Only available if L<PDL::Slatec|PDL::Slatec> is installed. lib64/perl5/vendor_perl/PDL/Func.pm:104:L<PDL::Slatec::chic|PDL::Slatec/chic> and use a hash reference lib64/perl5/vendor_perl/PDL/Func.pm:124:of L<chic|PDL::Slatec/chic>. lib64/perl5/vendor_perl/PDL/Func.pm:166: eval "use PDL::Slatec"; lib64/perl5/vendor_perl/PDL/Func.pm:265: croak "ERROR: Hermite interpolation is not available without PDL::Slatec.\n" lib64/perl5/vendor_perl/PDL/Func.pm:396: croak "ERROR: Hermite interpolation is not available without PDL::Slatec.\n" lib64/perl5/vendor_perl/PDL/Func.pm:404: croak "ERROR: Hermite interpolation is not available without PDL::Slatec.\n" lib64/perl5/vendor_perl/PDL/Fit/Polynomial.pm:75:# use PDL::Slatec; # For matinv() lib64/perl5/vendor_perl/PDL/Fit/Polynomial.pm:136:L<PDL::Slatec/"polyfit"> lib64/perl5/vendor_perl/PDL/Fit/Linfit.pm:118:use PDL::Slatec; # For matinv() lib64/perl5/vendor_perl/PDL/Fit/LM.pm:29:use PDL::Slatec; # for matrix inversion lib64/perl5/vendor_perl/PDL/Filter/LinPred.pm:75:use PDL::Slatec; lib64/perl5/vendor_perl/PDL/Filter/LinPred.pm:173:use PDL::Slatec; lib64/perl5/vendor_perl/PDL/FFT.pm:116:L<PDL::FFTW|PDL::FFTW> and L<PDL::Slatec|PDL::Slatec> - We need to remove the reverse dependencies either.
perl-PDL-2.7.0-3.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/perl-PDL-2.7.0-3.fc20
perl-PDL-2.7.0-3.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.