ruby-gsl dep8 fails on ppc64el

Bug #2035228 reported by Sergio Durigan Junior
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gsl (Ubuntu)
Fix Released
High
Sergio Durigan Junior

Bug Description

With the latest update of gsl from Debian, ruby-gsl's dep8 test start failing on ppc64el:

421s ===============================================================================
421s Failure: test_random32_bsd_0(RngTest):
421s random32-bsd, 10000 steps (852261210 observed vs 1663114331 expected).
421s <false> is not true.
421s /tmp/autopkgtest.r5vIrM/build.JWr/src/test/gsl/rng_test.rb:92:in `block (3 levels) in <class:RngTest>'
421s ===============================================================================
421s : (0.007176)
421s test_random32_glibc2_0: .: (0.001215)
421s test_random32_libc5_0: F
421s ===============================================================================
421s Failure: test_random32_libc5_0(RngTest):
421s random32-libc5, 10000 steps (367802360 observed vs 1967452027 expected).
421s <false> is not true.
421s /tmp/autopkgtest.r5vIrM/build.JWr/src/test/gsl/rng_test.rb:92:in `block (3 levels) in <class:RngTest>'
421s ===============================================================================
421s : (0.002615)
421s test_random64_bsd_0: F
421s ===============================================================================
421s Failure: test_random64_bsd_0(RngTest):
421s random64-bsd, 10000 steps (210970120 observed vs 864469165 expected).
421s <false> is not true.
421s /tmp/autopkgtest.r5vIrM/build.JWr/src/test/gsl/rng_test.rb:92:in `block (3 levels) in <class:RngTest>'
421s ===============================================================================
421s : (0.002551)
421s test_random64_glibc2_0: .: (0.001151)
421s test_random64_libc5_0: F
421s ===============================================================================
421s Failure: test_random64_libc5_0(RngTest):
421s random64-libc5, 10000 steps (221021662 observed vs 2106639801 expected).
421s <false> is not true.
421s /tmp/autopkgtest.r5vIrM/build.JWr/src/test/gsl/rng_test.rb:92:in `block (3 levels) in <class:RngTest>'
421s ===============================================================================
421s : (0.002627)

This looks like a precision problem caused by excessive optimization in the architecture.

Revision history for this message
Sergio Durigan Junior (sergiodj) wrote :

I built a version of gsl using -O2 instead of -O3 on ppc64el and confirmed that the problem went away.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gsl - 2.7.1+dfsg-5ubuntu1

---------------
gsl (2.7.1+dfsg-5ubuntu1) mantic; urgency=medium

  * d/rules: Use -O2 instead of -O3 on ppc64el. (LP: #2035228)

 -- Sergio Durigan Junior <email address hidden> Tue, 12 Sep 2023 11:47:39 -0400

Changed in gsl (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.