Skip to content

Regression in scipy build #5131

@ryanking13

Description

@ryanking13

🐛 Bug

It seems like scipy build is partially broken since Oct 19~21.

For some reason, _unuran module is built as a static library, breaking scipy tests. This often happens when SIDE_MODULE flag is not correctly passed when linking the shared library, but it is mysterious why is happens.

[735/1329] Linking target scipy/stats/_unuran/unuran_wrapper.cpython-312-wasm32-emscripten.so
emcc: warning: linking a library with `-shared` will emit a static object file.  This is a form of emulation to support existing build systems.  If you want to build a runtime shared library use the SIDE_MODULE setting. [-Wemcc]
emcc: warning: ignoring unsupported linker flag: `--version-script=/root/repo/packages/scipy/build/scipy-1.14.1/scipy/_build_utils/link-version-pyinit.map` [-Wlinkflags]

Since there was no change in Pyodide side, I am guessing it has something to do with build dependencies of Scipy.

I've noticed that the latest successful scipy build used meson 1.5.2 while the one with error used 1.6.0 (released 2 days ago) so it might be related somehow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions