Bug 1809275

Summary: Invalid data provided in uid_wrapper-config.cmake
Product: [Fedora] Fedora Reporter: Anderson Sasaki <ansasaki>
Component: uid_wrapperAssignee: Andreas Schneider <asn>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 31CC: asn, jhrozek, madam
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-12 21:56:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Proposed fix none

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.