Bug 1809275 - Invalid data provided in uid_wrapper-config.cmake
Summary: Invalid data provided in uid_wrapper-config.cmake
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: uid_wrapper
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Andreas Schneider
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-02 18:45 UTC by Anderson Sasaki
Modified: 2020-03-31 00:15 UTC (History)
3 users (show)

Fixed In Version: uid_wrapper-1.2.7-3.fc31 uid_wrapper-1.2.7-3.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-12 21:56:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Proposed fix (1.71 KB, patch)
2020-03-03 09:51 UTC, Anderson Sasaki
no flags Details | Diff

Description Anderson Sasaki 2020-03-02 18:45:42 UTC
Description of problem:
This is similar to the bug 1801869

The information provided in the file installed in /usr/lib64/cmake/uid_wrapper/uid_wrapper-config.cmake is invalid. It can't be used when compiling a project using libuid_wrapper.so when the configuration is generated by cmake.

This breaks compilation of projects depending on libuid_wrapper.so

Version-Release number of selected component (if applicable):
uid_wrapper-1.2.7-2.fc31 

How reproducible:
deterministic

Steps to Reproduce:
1. Create a CMakeLists.txt file containing:

cmake_minimum_required (VERSION 2.8.11)
project (HELLO)

find_package(uid_wrapper 1.2.0 REQUIRED)

message("Found uid_wrapper path: ${UID_WRAPPER_LIBRARY}")

2. run:

$ cmake . 2>&1 | grep "Found"

Actual results:
Found uid_wrapper path: lib64/libuid_wrapper.so

Expected results:
Found uid_wrapper path: /usr/lib64/libuid_wrapper.so

Additional info:

Comment 1 Anderson Sasaki 2020-03-03 09:51:43 UTC
Created attachment 1667145 [details]
Proposed fix

Proposed fix; can be reviewed at:
https://src.fedoraproject.org/rpms/uid_wrapper/pull-request/1

Comment 2 Fedora Update System 2020-03-04 09:16:41 UTC
FEDORA-2020-3435693c7f has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-3435693c7f

Comment 3 Fedora Update System 2020-03-04 09:16:59 UTC
FEDORA-2020-f677cb261f has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2020-f677cb261f

Comment 4 Fedora Update System 2020-03-04 20:14:53 UTC
uid_wrapper-1.2.7-3.fc32 has been pushed to the Fedora 32 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-3435693c7f

Comment 5 Fedora Update System 2020-03-04 21:49:09 UTC
uid_wrapper-1.2.7-3.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-f677cb261f

Comment 6 Fedora Update System 2020-03-12 21:56:39 UTC
uid_wrapper-1.2.7-3.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2020-03-31 00:15:50 UTC
FEDORA-2020-3435693c7f has been pushed to the Fedora 32 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.