Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#70399 - [sundials] 5.7.0 CMake package config requires static C libraries to be installed

Attached to Project: Community Packages
Opened by John Eivind Helset (jehelset) - Saturday, 10 April 2021, 14:56 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 10 April 2021, 19:26 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

CMake package config of sundials includes the static targets of the C libraries, and also require that the corresponding static libraries are installed. These were probably purged by makepkg due to !staticlibs. Not sure what the best solution to this problem is. "BUILD_STATIC_LIBS" is required to build the F77 interface, so it seems like the SUNDIALS CMake would probably need to be changed a bit if one wanted to build the F77 interface, but not build static C-libraries. To me it seems reasonable since the F77 interface CMake target will prefer the shared version of the C-library. Easy solution would be to just include the static libraries, but maybe this is not acceptable. Or split the package up in runtime and devel, where the devel could ship cmake, headers and static libs. And maybe propose a change upstream to accommodate only shared C with F77 (unless it's already possible and I just missed it).

Additional info:
* 5.7.0
* error at line 777 in SUNDIALSTargets.cmake

Steps to reproduce:

* Create a CMakeLists.txt containing: "find_package(SUNDIALS)"
* In same directory run: "cmake -S . -B build"
This task depends upon

Closed by  Antonio Rojas (arojas)
Saturday, 10 April 2021, 19:26 GMT
Reason for closing:  Fixed
Additional comments about closing:  sundials 5.7.0-2
Comment by Antonio Rojas (arojas) - Saturday, 10 April 2021, 18:29 GMT
Please test if 5.7.0-2 works for you
Comment by John Eivind Helset (jehelset) - Saturday, 10 April 2021, 19:23 GMT
ya, works, thanks.

Loading...