scipy fails to load with glibc-2.39

Bug #2052659 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glibc (Ubuntu)
Fix Released
High
Simon Chopin
scipy (Ubuntu)
Fix Committed
High
Unassigned

Bug Description

$ python3
Python 3.12.1 (main, Dec 8 2023, 16:20:54) [GCC 13.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import scipy.special._ufuncs
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/scipy/special/__init__.py", line 663, in <module>
    from . import _ufuncs
ImportError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.39' not found (required by /lib/x86_64-linux-gnu/libmvec.so.1)
>>>

Matthias Klose (doko)
Changed in glibc (Ubuntu):
importance: Undecided → High
Changed in scipy (Ubuntu):
importance: Undecided → High
tags: added: rls-nn-incoming
Revision history for this message
Matthias Klose (doko) wrote :

this is fixed by the scipy no-change rebuild. maybe add breaks for glibc?

summary: - scipy fails to build with glibc-2.39
+ scipy fails to load with glibc-2.39
Changed in scipy (Ubuntu):
status: New → Fix Committed
Revision history for this message
Simon Chopin (schopin) wrote :

Fair enough, will do in the next upload. I'm a bit confused though, as GLIBC_2.39 *is* in libm.so.6 according to readelf:

noblerun readelf -W -s /lib/x86_64-linux-gnu/libm.so.6 | grep 2\\.39
   578: 0000000000000000 0 OBJECT GLOBAL DEFAULT ABS GLIBC_2.39
  1074: 0000000000033410 590 FUNC GLOBAL DEFAULT 18 exp10@@GLIBC_2.39

Changed in glibc (Ubuntu):
status: New → Triaged
Simon Chopin (schopin)
Changed in glibc (Ubuntu):
status: Triaged → In Progress
assignee: nobody → Simon Chopin (schopin)
tags: removed: rls-nn-incoming
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package glibc - 2.39-0ubuntu6

---------------
glibc (2.39-0ubuntu6) noble; urgency=medium

  * Renable CET on x32 from i386 again as it may not work but disabling breaks
    the build.

 -- Michael Hudson-Doyle <email address hidden> Thu, 14 Mar 2024 10:39:45 +1300

Changed in glibc (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.