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#73143 - [sundials] Invalid CMake package-config.

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

Details

Description:

I just upgraded to sundials 6.0.0-1, and noticed that the CMake-package-config is broken (https://gitlab.com/jehelset/hysj/-/jobs/1919521003).

Fails on line 92, which has a malformed conditional:

if( AND NOT TARGET caliper)
find_package(CALIPER PATHS )
endif()

Didn't have time to look at the actual CMake-configuration steps that are taken in the building of the package. So I don't know if the error is upstream yet, I just wanted to get the report in.

Steps to reproduce:
- Create a CMake project that uses the SUNDIALS-package.
This task depends upon

Closed by  Antonio Rojas (arojas)
Saturday, 25 December 2021, 14:58 GMT
Reason for closing:  Fixed
Additional comments about closing:  sundials 6.0.0-3
Comment by John Eivind Helset (jehelset) - Saturday, 25 December 2021, 00:13 GMT
Line 92 of /usr/lib/cmake/sundials/SUNDIALSConfig.cmake to be precise!
Comment by Antonio Rojas (arojas) - Saturday, 25 December 2021, 09:40 GMT
It's an upstream issue, pushed a workaround
Comment by John Eivind Helset (jehelset) - Saturday, 25 December 2021, 14:58 GMT
  • Field changed: Percent Complete (100% → 0%)

Loading...