Packages fails during src_configure phase with error: CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): ************************************************************************ ERROR: Could not find HYPRE. Please check the variables: HYPRE_INCLUDE_DIR and HYPRE_LIBRARY_DIR ************************************************************************ (missing: HYPRE_LIBRARY) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) cmake/tpl/FindHYPRE.cmake:70 (find_package_handle_standard_args) cmake/tpl/SundialsHypre.cmake:48 (find_package) cmake/SundialsSetupTPLs.cmake:103 (include) CMakeLists.txt:167 (include) -- Configuring incomplete, errors occurred! Reproducible: Always As there are also many warnings for deprecated options, I looked into the ebuild and found several other issues: * F77 support needs static-libs enabled, which causes a RequiredUseDefaults issue on pkgcheck with the x32 profile on amd64 * issues, where mpi and fortran USE flags where not passed to dependencies accordingly * cxx support is now mandatory, USE flag has become obsolete I've compiled an updated ebuild with corrected variables and added F2003 support, attached here, and also an improved patch for the license and notice files, which uses the GNUInstallDirs variables, instead of hardcoded paths. If F77 support isn't strictly needed for any revdep, maybe we can think of removing support for F77 to remove the now default enabled static-libs USE flag. I have a PR ready, if you're happy with the changes. The location of the compiled F2003 modules is unknown to me. I've decided to put the mod files into /usr/$(get_libdir)/fortran. Feel free to ping me, if there's a dedicated location for those files. Output of emerge --info attached as file, due to comment size limit.
Created attachment 704943 [details] sundials-5.7.0:20210429-204446.log build log
Created attachment 704946 [details] emerge-info-sundials-5.7.0.txt output of emerge --info sundials
Created attachment 704949 [details] sundials-5.7.0-r1.ebuild updated ebuild
Created attachment 704952 [details] sundials-5.7.0-fix-license-install-path.patch updated patch
Created attachment 704955 [details, diff] sundials-5.7.0_5.7.0-r1.patch patch with diff of sundials-5.7.0.ebuild and sundials-5.7.0-r1.ebuild
The package currently has several optional dependencies, which are not managed by the ebuild, like e.g. petsc, trilinos and others.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5c0a08d3cecd7466fbda92233bbbd498e275505 commit e5c0a08d3cecd7466fbda92233bbbd498e275505 Author: Bernd Waibel <waebbl-gentoo@posteo.net> AuthorDate: 2021-10-04 18:56:43 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2021-10-04 19:33:18 +0000 sci-libs/sundials: add 5.8.0 Closes: https://bugs.gentoo.org/787341 Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> sci-libs/sundials/Manifest | 1 + .../sundials-5.8.0-fix-license-install-path.patch | 29 ++++++ sci-libs/sundials/sundials-5.8.0.ebuild | 114 +++++++++++++++++++++ 3 files changed, 144 insertions(+)