Bug 2014748 - check.pc specifies libdir=/usr/lib (not lib64) on x86_64
Summary: check.pc specifies libdir=/usr/lib (not lib64) on x86_64
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: check
Version: 34
Hardware: x86_64
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Jerry James
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-16 10:32 UTC by Andrew Price
Modified: 2021-10-29 23:07 UTC (History)
10 users (show)

Fixed In Version: check-0.15.2-5.fc34 check-0.15.2-5.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-25 15:14:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Andrew Price 2021-10-16 10:32:00 UTC
Description of problem:

When 32-bit libpthread and libc are installed in a 64-bit environment and I compile a check-based test suite, I get

/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc

This is because check.pc has libdir=/usr/lib but it should be /usr/lib64 as libcheck.so is at /usr/lib64/libcheck.so

Version-Release number of selected component (if applicable):
check-0.15.2-3.fc34.x86_64
check-devel-0.15.2-3.fc34.x86_64

Steps to Reproduce:
1. # dnf install glibc-devel.i686
2. $ printf "int main(void){}" | gcc -xc `pkgconf --libs --cflags check` -

Actual results:

/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc

Expected results:
No messages from ld

Comment 1 Fedora Update System 2021-10-17 19:33:55 UTC
FEDORA-2021-742113f8a1 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-742113f8a1

Comment 2 Fedora Update System 2021-10-17 19:33:55 UTC
FEDORA-2021-410dbaff39 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-410dbaff39

Comment 3 Fedora Update System 2021-10-17 22:19:21 UTC
FEDORA-2021-410dbaff39 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-410dbaff39`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-410dbaff39

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2021-10-18 15:55:59 UTC
FEDORA-2021-742113f8a1 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-742113f8a1`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-742113f8a1

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2021-10-25 15:14:01 UTC
FEDORA-2021-410dbaff39 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2021-10-29 23:07:36 UTC
FEDORA-2021-742113f8a1 has been pushed to the Fedora 35 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.