Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 485850 - multilib media-libs/mesa-9.2.0-r1 nees to search dev-libs/libclc-0.0.1_pre20130819's pkg-config files in the right location
Summary: multilib media-libs/mesa-9.2.0-r1 nees to search dev-libs/libclc-0.0.1_pre201...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-24 12:41 UTC by Dennis Schridde
Modified: 2013-10-13 09:50 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2013-09-24 12:41:36 UTC
A multilib media-libs/mesa-9.2.0-r1 needs a multilib dev-libs/libclc-0.0.1_pre20130819, otherwise the non-default portion of it will fail to configure:

Package libclc was not found in the pkg-config search path.
Perhaps you should add the directory containing `libclc.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libclc' found
Package libclc was not found in the pkg-config search path.
Perhaps you should add the directory containing `libclc.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libclc' found
configure: error: pkg-config cannot use libclc.pc which is required to build clover

If you need a build.log, please tell me. I currently assume that the issue is obvious.
Comment 1 Dennis Schridde 2013-09-28 10:28:30 UTC
libclc has no library at all, so I assume I was wrong about libclc needing to be ported to multilib (unless the headers are platform dependent). Instead it seems that only mesa needs to be adapted to search for the pkg-config file in the right location.
Comment 2 Mario Kicherer 2013-10-09 16:31:13 UTC
After creating a link to /usr/lib/pkgconfig/libclc.pc in /usr/lib32/pkgconfig, it also compiles fine on my machine.
Comment 3 Dennis Schridde 2013-10-10 07:59:03 UTC
(In reply to Mario Kicherer from comment #2)
> After creating a link to /usr/lib/pkgconfig/libclc.pc in
> /usr/lib32/pkgconfig, it also compiles fine on my machine.

I confirm that this workaround works.

Can it be integrated into the libclc ebuild? Or can the mesa ebuild add a temporary directory (including such symlink) to the PKG_CONFIG_PATH used during its configure phase?
Comment 4 Reto Gantenbein (ganto) 2013-10-11 22:53:05 UTC
Same issue here. 

The libclc.pc file is searched in /usr/share/pkgconfig (on amd64) but can be found in /usr/lib/pkgconfig (dev-libs/libclc-0.0.1_pre20130819). Adding a PKG_CONFIG_PATH=/usr/lib/pkgconfig above the econf in the ebuild did resolve the issue for me. I think there is a nicer way how to do it, unfortunately I don't know how.
Comment 5 Dennis Schridde 2013-10-13 09:50:01 UTC
*libclc-0.0.1_pre20130819-r1 (13 Oct 2013)

  13 Oct 2013; Michał Górny <mgorny@gentoo.org>
  +libclc-0.0.1_pre20130819-r1.ebuild, -libclc-0.0.1_pre20130819.ebuild:
  Fix pkg-config file install to use /usr/share (current git does that already).