Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 890427 - sci-libs/cantera-2.6.0-r1 fails to compile (DASH-SYSTEM): ERROR: Expected system installation of Sundials, but it could not be found
Summary: sci-libs/cantera-2.6.0-r1 fails to compile (DASH-SYSTEM): ERROR: Expected sys...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergey Torokhov
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-01-11 06:19 UTC by Agostino Sarubbo
Modified: 2023-01-30 10:34 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,50.99 KB, text/plain)
2023-01-11 06:19 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-01-11 06:19:03 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-libs/cantera-2.6.0-r1 fails to compile (DASH-SYSTEM).
Discovered on: amd64 (internal ref: dash_tinderbox)

NOTE:
(DASH-SYSTEM) in the summary means that the bug was found on a machine that runs /bin/sh as dash but this bug MAY or MAY NOT BE related to dash.
Comment 1 Agostino Sarubbo gentoo-dev 2023-01-11 06:19:05 UTC
Created attachment 848179 [details]
build.log

build log and emerge --info
Comment 2 Sergey Torokhov 2023-01-14 21:34:18 UTC
It's strange but the issue is cause by using `cxx_flags="-std=c++11"` of sci-libs/cantera-2.6.0-r1 scons config option is sci-libs/sundials-6.5.0 is intalled.

If it's changed to `cxx_flags="-std=c++14"` then configuration phase will passed.

The issue will be fixed in next 2.6.0-r2 revision, anyway this c++ standard should be used if compile with upcoming boost-1.82.0.
Comment 3 Larry the Git Cow gentoo-dev 2023-01-30 10:34:59 UTC
The bug has been closed via 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(+)