https://bugzilla.redhat.com/show_bug.cgi?id=1242769
Bug ID: 1242769 Summary: perl-Algorithm-CurveFit-1.05-14.fc23 FTBFS: Failed test at t/02bad_deriv.t line 50 Product: Fedora Version: rawhide Component: perl-Algorithm-CurveFit Assignee: jplesnik@redhat.com Reporter: ppisar@redhat.com QA Contact: extras-qa@fedoraproject.org CC: jplesnik@redhat.com, perl-devel@lists.fedoraproject.org
perl-Algorithm-CurveFit-1.05-14.fc23 fails to build in F23 because tests fail:
t/01basic.t ...... ok # Failed test at t/02bad_deriv.t line 50. # Looks like you failed 1 test of 13. t/02bad_deriv.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/13 subtests
Verbose test output:
$ prove -b -v t/02bad_deriv.t t/02bad_deriv.t .. 1..13 ok 1 ok 2 not ok 3
# Failed test at t/02bad_deriv.t line 50. ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 # Looks like you failed 1 test of 13. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/13 subtests
https://bugzilla.redhat.com/show_bug.cgi?id=1242769
--- Comment #1 from Petr Pisar ppisar@redhat.com --- Comparing recent passing koschei build https://apps.fedoraproject.org/koschei/package/perl-Algorithm-CurveFit/671405 and the failed scratch build http://koji.fedoraproject.org/koji/taskinfo?taskID=10349864 does not divulge any significant difference in the build root:
Removed packages: libasan-5.1.1-4.fc23 libatomic-5.1.1-4.fc23 libcilkrts-5.1.1-4.fc23 libmpx-5.1.1-4.fc23 libubsan-5.1.1-4.fc23 Added packages:
I can reproduce the bug locally and installing the five packages does fix it.
https://bugzilla.redhat.com/show_bug.cgi?id=1242769
--- Comment #2 from Petr Pisar ppisar@redhat.com --- The difference is architecture: i686 passed, x86_64 failed.
https://bugzilla.redhat.com/show_bug.cgi?id=1242769
--- Comment #4 from Petr Pisar ppisar@redhat.com --- If I only relink perl from the the same build directory as the affected comes from with old ldflags:
$ gcc -o perl -fstack-protector-strong -L/usr/local/lib -Wl,--enable-new-dtags perlmain.o libperl.so `cat ext.libs` -lpthread -lresolv -lnsl -ldl -lm -lcrypt -lutil -lc
And use the the perl to run the t/02bad_deriv.t, it passes. If I relink the perl with the hardened ldflags:
$ gcc -o perl -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fstack-protector-strong -L/usr/local/lib -Wl,--enable-new-dtags -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld perlmain.o libperl.so `cat ext.libs` -lpthread -lresolv -lnsl -ldl -lm -lcrypt -lutil -lc
the test fails.
Also the test passes with the hardened perl when running under valgrind.
https://bugzilla.redhat.com/show_bug.cgi?id=1242769
--- Comment #5 from Petr Pisar ppisar@redhat.com --- The minimal broken flags are:
$ gcc -o perl -pie perlmain.o libperl.so `cat ext.libs` -lpthread -lresolv -lnsl -ldl -lm -lcrypt -lutil -lc
Removing the "-pie" option helps.
https://bugzilla.redhat.com/show_bug.cgi?id=1242769
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends On| |1238804
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1238804 [Bug 1238804] /usr/bin/perl is not linked with -z now and -pie, perl crashes with -pie
https://bugzilla.redhat.com/show_bug.cgi?id=1242769
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1199775 (harden-failure)
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1199775 [Bug 1199775] Tracking bug for issues with using the Hardened Flags (Fails to Build, segfaults etc.)
https://bugzilla.redhat.com/show_bug.cgi?id=1242769
--- Comment #6 from Fedora End Of Life jkurik@fedoraproject.org --- This message is a reminder that Fedora 23 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 23. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '23'.
Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 23 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
https://bugzilla.redhat.com/show_bug.cgi?id=1242769
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugzilla.redhat.com | |/show_bug.cgi?id=1393834
--- Comment #7 from Petr Pisar ppisar@redhat.com --- We have a similar bug on non-hardened ppc64le (bug #1393834). It looks like a floating point arithmetic issue.
https://bugzilla.redhat.com/show_bug.cgi?id=1242769
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|23 |24
https://bugzilla.redhat.com/show_bug.cgi?id=1242769
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- External Bug ID| |CPAN 121352
https://bugzilla.redhat.com/show_bug.cgi?id=1242769
--- Comment #8 from Fedora End Of Life jkurik@fedoraproject.org --- This message is a reminder that Fedora 24 is nearing its end of life. Approximately 2 (two) weeks from now Fedora will stop maintaining and issuing updates for Fedora 24. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '24'.
Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 24 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
https://bugzilla.redhat.com/show_bug.cgi?id=1242769
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|24 |rawhide
--- Comment #9 from Petr Pisar ppisar@redhat.com --- I recommend removing this package from Fedora. Upstream has not responded to bug reports for years and did not do any new release. This package seems be not required by any other package in Fedora.
https://bugzilla.redhat.com/show_bug.cgi?id=1242769 Bug 1242769 depends on bug 1238804, which changed state.
Bug 1238804 Summary: /usr/bin/perl is not linked with -z now and -pie, perl crashes with -pie https://bugzilla.redhat.com/show_bug.cgi?id=1238804
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution|--- |RAWHIDE
https://bugzilla.redhat.com/show_bug.cgi?id=1242769
Jitka Plesnikova jplesnik@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution|--- |RAWHIDE Last Closed| |2017-09-04 10:02:51
--- Comment #11 from Jitka Plesnikova jplesnik@redhat.com --- The package was retired in rawhide and Fedora 27.
perl-devel@lists.fedoraproject.org