Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922782 - =dev-python/scipy-1.12.0 missing dep on dev-cpp/xsimd
Summary: =dev-python/scipy-1.12.0 missing dep on dev-cpp/xsimd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 919556
  Show dependency tree
 
Reported: 2024-01-23 16:16 UTC by Rick Farina (Zero_Chaos)
Modified: 2024-02-19 21:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge--info.txt,22.22 KB, text/plain)
2024-01-23 16:24 UTC, Rick Farina (Zero_Chaos)
Details
build.log (dev-python:scipy-1.11.4:20240123-063047.log,769.38 KB, text/x-log)
2024-01-23 16:29 UTC, Rick Farina (Zero_Chaos)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rick Farina (Zero_Chaos) gentoo-dev 2024-01-23 16:16:51 UTC
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
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-23 16:19:48 UTC
Please include the full build.log and emerge --info.
Comment 2 Rick Farina (Zero_Chaos) gentoo-dev 2024-01-23 16:24:04 UTC
Created attachment 882987 [details]
emerge --info
Comment 3 Rick Farina (Zero_Chaos) gentoo-dev 2024-01-23 16:29:05 UTC
Created attachment 882988 [details]
build.log
Comment 4 Eli Schwartz 2024-01-23 21:19:59 UTC
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.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-19 19:24:43 UTC
Not a regression on stable.

Also, bug wasn't correctly assigned...
Comment 6 Larry the Git Cow gentoo-dev 2024-02-19 21:55:06 UTC
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(-)