scipy 1.11.4 fails to compile Reproducible: Always Steps to Reproduce: 1. don't have dev-cpp-xsimd installed 2. try to build scipy 3. be sad Actual Results: [879/1619] x86_64-pc-linux-gnu-g++ -Iscipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p -Iscipy/stats -I../scipy-1.11.4/scipy/stats -I../../../../../../../usr/lib/python3.11/site-packages/pythran -I../../../../../../../usr/lib/python3.11/site-packages/numpy/core/include -I/usr/include/python3.11 -fvisibility=hidden -fvisibility-inlines-hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++14 -O3 -O3 -mtune=core2 -pipe -frecord-gcc-switches -DNDEBUG -fPIC -DENABLE_PYTHON_MODULE -D__PYTHRAN__=3 -DPYTHRAN_BLAS_NONE -Wno-cpp -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-unused-function -Wno-unused-variable -Wno-int-in-bool-context -MD -MQ scipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p/meson-generated_..__stats_pythran.cpp.o -MF scipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p/meson-generated_..__stats_pythran.cpp.o.d -o scipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p/meson-generated_..__stats_pythran.cpp.o -c scipy/stats/_stats_pythran.cpp FAILED: scipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p/meson-generated_..__stats_pythran.cpp.o x86_64-pc-linux-gnu-g++ -Iscipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p -Iscipy/stats -I../scipy-1.11.4/scipy/stats -I../../../../../../../usr/lib/python3.11/site-packages/pythran -I../../../../../../../usr/lib/python3.11/site-packages/numpy/core/include -I/usr/include/python3.11 -fvisibility=hidden -fvisibility-inlines-hidden -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++14 -O3 -O3 -mtune=core2 -pipe -frecord-gcc-switches -DNDEBUG -fPIC -DENABLE_PYTHON_MODULE -D__PYTHRAN__=3 -DPYTHRAN_BLAS_NONE -Wno-cpp -Wno-deprecated-declarations -Wno-unused-but-set-variable -Wno-unused-function -Wno-unused-variable -Wno-int-in-bool-context -MD -MQ scipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p/meson-generated_..__stats_pythran.cpp.o -MF scipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p/meson-generated_..__stats_pythran.cpp.o.d -o scipy/stats/_stats_pythran.cpython-311-x86_64-linux-gnu.so.p/meson-generated_..__stats_pythran.cpp.o -c scipy/stats/_stats_pythran.cpp In file included from scipy/stats/_stats_pythran.cpp:34: ../../../../../../../usr/lib/python3.11/site-packages/pythran/pythonic/include/numpy/ceil.hpp:8:10: fatal error: xsimd/xsimd.hpp: No such file or directory 8 | #include <xsimd/xsimd.hpp> | ^~~~~~~~~~~~~~~~~ compilation terminated. Expected Results: install success
Please include the full build.log and emerge --info.
Created attachment 882987 [details] emerge --info
Created attachment 882988 [details] build.log
commit 0c0d0150a89e320b064c09bfa5e6726bbd83a9da Author: Michał Górny <mgorny@gentoo.org> AuthorDate: Thu Sep 7 15:28:17 2023 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: Thu Sep 7 15:30:49 2023 dev-python/pythran: Bump to 0.14.0 Signed-off-by: Michał Górny <mgorny@gentoo.org> This commit seems to have removed the bundled dev-cpp/xsimd code copy, and replaced it with a DEPEND on the system package, but not an *R* depend. Fascinating.
Not a regression on stable. Also, bug wasn't correctly assigned...
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=158e789930eabbefaf87d393a473a6450c7aebd6 commit 158e789930eabbefaf87d393a473a6450c7aebd6 Author: Eli Schwartz <eschwartz93@gmail.com> AuthorDate: 2024-02-19 19:40:25 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-02-19 21:54:38 +0000 dev-python/pythran: fix broken runtime metadata Regression in commit 0c0d0150a89e320b064c09bfa5e6726bbd83a9da. xsimd is a runtime dependency of pythran, by nature of what pythran is and does. It defaults upstream to bundling it, but we remove that and use the system package. When performing that devendoring, it was mistakenly added as a build time dependency (even though xsimd is not used at build time at all!) but not a runtime dependency. This accidentally worked for people who both installed pythran from source instead of using a binhost, and who don't ever use `emerge -c --with-bdeps=n`. But it was very broken. It is also logically used for the testsuite. Revbump but don't drop keywords. It is a purely metadata-only fix and we want that fix out ASAP. Closes: https://bugs.gentoo.org/922782 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> .../pythran/{pythran-0.15.0.ebuild => pythran-0.15.0-r1.ebuild} | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)