Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 714058

Summary: dev-libs/check-0.14.0-r1[abi_x86_64,abi_x86_32]: wrong libdir in /usr/lib64/pkgconfig/check.pc
Product: Gentoo Linux Reporter: Marco Genasci <fedeliallalinea>
Component: Current packagesAssignee: Joonas Niilola <juippis>
Status: RESOLVED FIXED    
Severity: normal CC: alex
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=711390
https://bugs.gentoo.org/show_bug.cgi?id=729642
Whiteboard:
Package list:
Runtime testing required: ---

Description Marco Genasci 2020-03-23 12:46:59 UTC
This check version return wrong pkgconfig --libs, I'm in amd64 arch and problem is present only if check is compiled for 32 and 64 bit support

$ pkg-config --libs check
-L/usr/lib -lcheck

That cause /usr/lib/libcheck.so: error adding symbols: file in wrong format for example compiling net-libs/libaccounts-glib-1.24-r1

The problem seems in the /usr/lib64/pkgconfig/check.pc file that have libdir=${exec_prefix}/lib instead of libdir=${exec_prefix}/lib64

The 0.14.0 version is not affected by this problem.

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2020-03-23 13:14:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06d2b112fde3faca9767a93835c07009ada5b177

commit 06d2b112fde3faca9767a93835c07009ada5b177
Author:     Joonas Niilola <juippis@gentoo.org>
AuthorDate: 2020-03-23 13:12:07 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-03-23 13:13:50 +0000

    dev-libs/check: update subunit logic, fix pkgconfig file
    
     - subunit & doc handling patches from #711390
     - .pc libdir issue when using multilib #714058
    
    Bug: https://bugs.gentoo.org/711390
    Closes: https://bugs.gentoo.org/714058
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-libs/check/check-0.14.0-r2.ebuild              | 58 ++++++++++++++++++++++
 .../check-0.14.0-r2-disable-automagic-dep.patch    | 23 +++++++++
 2 files changed, 81 insertions(+)
Comment 2 Andreas Sturmlechner gentoo-dev 2020-03-24 11:29:05 UTC
*** Bug 714114 has been marked as a duplicate of this bug. ***