Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
media-libs/aubio-0.4.9-r2 emerge segfaults on Numpy modules
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1451
Location: Berlin, Germany

PostPosted: Wed May 29, 2024 1:20 pm    Post subject: media-libs/aubio-0.4.9-r2 emerge segfaults on Numpy modules Reply with quote

To wit:
Code:
>>> Compiling source in /var/tmp/portage/media-libs/aubio-0.4.9-r2/work/aubio-0.4.9 ...
"/var/tmp/portage/media-libs/aubio-0.4.9-r2/work/aubio-0.4.9/waf" build --verbose --jobs=17 --notests
Waf: Entering directory `/var/tmp/portage/media-libs/aubio-0.4.9-r2/work/aubio-0.4.9/build'

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.0rc2 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

Traceback (most recent call last):  File "/var/tmp/portage/media-libs/aubio-0.4.9-r2/work/aubio-0.4.9/waf", line 165, in <module>
    Scripting.waf_entry_point(cwd, VERSION, wafdir)
  File "/var/tmp/portage/media-libs/aubio-0.4.9-r2/work/aubio-0.4.9/waflib/Scripting.py", line 119, in waf_entry_point
    run_commands()
  File "/var/tmp/portage/media-libs/aubio-0.4.9-r2/work/aubio-0.4.9/waflib/Scripting.py", line 179, in run_commands
    ctx=run_command(cmd_name)
  File "/var/tmp/portage/media-libs/aubio-0.4.9-r2/work/aubio-0.4.9/waflib/Scripting.py", line 170, in run_command
    ctx.execute()
  File "/var/tmp/portage/media-libs/aubio-0.4.9-r2/work/aubio-0.4.9/waflib/Scripting.py", line 367, in execute
    return execute_method(self)
  File "/var/tmp/portage/media-libs/aubio-0.4.9-r2/work/aubio-0.4.9/waflib/Build.py", line 93, in execute
    self.execute_build()
  File "/var/tmp/portage/media-libs/aubio-0.4.9-r2/work/aubio-0.4.9/waflib/Build.py", line 96, in execute_build
    self.recurse([self.run_dir])
  File "/var/tmp/portage/media-libs/aubio-0.4.9-r2/work/aubio-0.4.9/waflib/Context.py", line 126, in recurse
    user_function(self)
  File "/var/tmp/portage/media-libs/aubio-0.4.9-r2/work/aubio-0.4.9/wscript", line 517, in build
    sphinx(bld)
  File "/var/tmp/portage/media-libs/aubio-0.4.9-r2/work/aubio-0.4.9/wscript", line 566, in sphinx
    import aubio
  File "/usr/lib/python3.11/site-packages/aubio/__init__.py", line 26, in <module>
    from ._aubio import __version__ as version
Unable to import Numpy array from aubio module (error -1)
Unable to import Numpy umath from aubio module (error -1)
/var/tmp/portage/media-libs/aubio-0.4.9-r2/temp/environment: line 5004:    32 Segmentation fault      "${WAF_BINARY}" ${_mywafconfig} ${jobs} "${@}"

How do I find out which modules need to be rebuilt? Or rather, which modules specifically are causing the segfault? Is it the last two, "array" and "umath"? How do I find out which package owns those and rebuild it with numpy-2 support, as the initial warning recommends? Is this related to this bug, that aubio lacks python-3.12 support?

Cheers,

EE
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum