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#73647 - gflags 2.2.2-3 CMake package is unusable

Attached to Project: Community Packages
Opened by Sergiu Deitsch (sd) - Sunday, 06 February 2022, 12:33 GMT
Last edited by Konstantin Gizdov (kgizdov) - Monday, 07 February 2022, 15:18 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Christian Rebischke (Shibumi)
Konstantin Gizdov (kgizdov)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Calling find_package (gflags 2.2.2) now results in a CMake error:

CMake Error at /usr/lib64/cmake/gflags/gflags-nonamespace-targets.cmake:114 (message):
The imported target "gflags_static" references the file

"/usr/lib/libgflags.a"

but this file does not exist. Possible reasons include:

* The file was deleted, renamed, or moved to another location.

* An install or uninstall procedure did not complete successfully.

* The installation package was faulty and contained

"/usr/lib64/cmake/gflags/gflags-nonamespace-targets.cmake"

but not all the files it references.

Call Stack (most recent call first):
/usr/lib64/cmake/gflags/gflags-config.cmake:17 (include)
CMakeLists.txt:82 (find_package)


Additional info:
* package version(s): gflags-2.2.2-3
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:

Call find_package (gflags 2.2.2) in a CMakeLists.txt. Calling (gflags 2.2.2 COMPONENTS shared) instead does not resolve the issue.
This task depends upon

Closed by  Konstantin Gizdov (kgizdov)
Monday, 07 February 2022, 15:18 GMT
Reason for closing:  Fixed
Additional comments about closing:  gflags 2.2.2-4

Loading...