Bug 2193023 - find_package draco, imported target "draco::draco_static" references the file "/usr/lib64/libdraco.a" does not exist.
Summary: find_package draco, imported target "draco::draco_static" references the file...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: draco
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Luya Tshimbalanga
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-04 03:03 UTC by Felix Wang
Modified: 2023-05-04 17:16 UTC (History)
1 user (show)

Fixed In Version: draco-1.5.6-3.fc39
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-04 17:16:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Felix Wang 2023-05-04 03:03:19 UTC
After installing draco-devel package and use find_package(draco REQUIRED) in cmake file, the following errors appeared, due to the missing draco static lib that removed from the spec file:
CMake Error at /usr/share/cmake/draco/draco-targets.cmake:83 (message):
  The imported target "draco::draco_static" references the file

     "/usr/lib64/libdraco.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/share/cmake/draco/draco-targets.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/share/cmake/draco/draco-config.cmake:27 (include)
  CMakeLists.txt:17 (find_package)

Reproducible: Always

Comment 1 Fedora Update System 2023-05-04 17:15:07 UTC
FEDORA-2023-61bc45563c has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-61bc45563c

Comment 2 Fedora Update System 2023-05-04 17:16:25 UTC
FEDORA-2023-61bc45563c has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.