Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888667 - sci-libs/sundials[lapack,int64]: lapack related tests fail (built with gcc-11)
Summary: sci-libs/sundials[lapack,int64]: lapack related tests fail (built with gcc-11)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: gcc-11 888527
  Show dependency tree
 
Reported: 2022-12-27 21:13 UTC by Sergey Torokhov
Modified: 2023-10-27 03:29 UTC (History)
0 users

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


Attachments
emerge_info.txt (emerge_info.txt,6.84 KB, text/plain)
2022-12-27 21:15 UTC, Sergey Torokhov
Details
build_sundials-6.2.0_gcc-11.3.1.log (build_sundials-6.2.0_gcc-11.3.1.zip,68.21 KB, application/zip)
2022-12-27 21:19 UTC, Sergey Torokhov
Details
build_sundials-5.8.0_gcc-11.3.1.log (build_sundials-5.8.0_gcc-11.3.1.zip,73.79 KB, application/zip)
2022-12-27 21:20 UTC, Sergey Torokhov
Details
build_sundials-5.2.0_gcc-11.3.1.log (build_sundials-5.2.0_gcc-11.3.1.zip,32.36 KB, application/zip)
2022-12-27 21:20 UTC, Sergey Torokhov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Torokhov 2022-12-27 21:13:43 UTC
When sci-libs/sundials[lapack,int64] (5.2.0, 5.8.0, 6.2.0 - i.e. all presented in portage tree) build with GCC-11 then Lapack related tests fail. 

This issue maybe causes sci-libs/cantera-2.6.0-r1[lapack] tests fail for >=sci-lib/sundials-5.8.0.

USE="fortran" depends on USE="int64" for >=sci-libs/sundials-5.8.0 (USE="int64" isn't available for sundials-5.2.0).

If built with GCC-12 then all tests are passed.

The sundials 6.5.0 seems isn't affected this issue and pass tests both for GCC-11 and GCC-12. With this version sci-libs/cantera-2.6.0[lapack] passes tests for me.


Reproducible: Always

Steps to Reproduce:
1. Run 'FEATURES="test" USE="lapack int64" ebuild /usr/portage/sci-libs/sundials-6.2.0.ebuild clean compile test' with GCC-11 (or any other version of sundials)
2. See the build log and notice the failures of lapack related tests.
Comment 1 Sergey Torokhov 2022-12-27 21:15:20 UTC
Created attachment 845259 [details]
emerge_info.txt
Comment 2 Sergey Torokhov 2022-12-27 21:19:57 UTC
Created attachment 845261 [details]
build_sundials-6.2.0_gcc-11.3.1.log
Comment 3 Sergey Torokhov 2022-12-27 21:20:15 UTC
Created attachment 845263 [details]
build_sundials-5.8.0_gcc-11.3.1.log
Comment 4 Sergey Torokhov 2022-12-27 21:20:37 UTC
Created attachment 845265 [details]
build_sundials-5.2.0_gcc-11.3.1.log
Comment 5 Andreas Sturmlechner gentoo-dev 2023-01-08 13:55:59 UTC
(In reply to Sergey Torokhov from comment #0)
> The sundials 6.5.0 seems isn't affected this issue and pass tests both for
> GCC-11 and GCC-12. With this version sci-libs/cantera-2.6.0[lapack] passes
> tests for me.
Seems like 6.5.0 is in tree now, can you confirm the tests work?
Comment 6 Sergey Torokhov 2023-01-14 20:56:48 UTC
Yes, I retested it again after system update and Sundials-6.5.0 passes all test under related conditions. All previous still fail.
Comment 7 Larry the Git Cow gentoo-dev 2023-01-30 10:35:00 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfc20ea17c60b59183334f78da824b39077ebcae

commit bfc20ea17c60b59183334f78da824b39077ebcae
Author:     Sergey Torokhov <torokhov-s-a@yandex.ru>
AuthorDate: 2022-12-27 21:32:46 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2023-01-30 09:59:56 +0000

    sci-libs/cantera: 2.6.0-r2 revision bump
    
    1. EAPI8 bump
    2. Add Python 3.11 compat, rm deprecated open U option (upstream patch)
    3. Rectrict USE=lapack with >=sci-libs/sundials-6.5.0[lapack?]
    4. Set std=c++14 to avoid build fail with upcoming dev-libs/boost-1.82
    and sci-libs/sundials-6.5.0 detection (the last is strange).
    
    Bug: https://bugs.gentoo.org/888667
    Closes: https://bugs.gentoo.org/888527
    Closes: https://bugs.gentoo.org/890427
    
    Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 sci-libs/cantera/cantera-2.6.0-r2.ebuild           | 151 +++++++++++++++++++++
 ...ntera-2.6.0_drop_deprecated_open_U_option.patch |  49 +++++++
 2 files changed, 200 insertions(+)
Comment 8 Larry the Git Cow gentoo-dev 2023-10-27 02:34:44 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=406802a99084b8c9bf57e9b5f7bad816e86ad821

commit 406802a99084b8c9bf57e9b5f7bad816e86ad821
Author:     Sergey Torokhov <torokhov-s-a@yandex.ru>
AuthorDate: 2023-09-03 20:43:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-10-27 02:30:38 +0000

    sci-libs/cantera: 3.0.0 version bump
    
    New release is compatible with cython-3.
    
    The USE="cti" is dropped due to supplied converters have restricted
    functionality or doesn't work (yaml2ck) without full python support.
    
    Python examples aren't provided within tarball since this release.
    
    USE="lapack" support is still restricted using >=sundials-6.5.0.
    
    Closes: https://bugs.gentoo.org/913141
    Bug: https://bugs.gentoo.org/888667
    
    Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-libs/cantera/Manifest                      |   1 +
 sci-libs/cantera/cantera-3.0.0.ebuild          | 139 +++++++++++++++++++++++++
 sci-libs/cantera/files/cantera-3.0.0_env.patch |  25 +++++
 sci-libs/cantera/metadata.xml                  |   3 +-
 4 files changed, 167 insertions(+), 1 deletion(-)