All of lore.kernel.org
 help / color / mirror / Atom feed
* New kmod {libdir} breaks udev 182 build
@ 2012-05-14 11:18 Thilo Fromm
  2012-05-14 12:33 ` Otavio Salvador
  2012-05-14 17:26 ` Khem Raj
  0 siblings, 2 replies; 7+ messages in thread
From: Thilo Fromm @ 2012-05-14 11:18 UTC (permalink / raw)
  To: openembedded-devel

Hi guys,

I've got an issue with
openembedded-core/meta/recipes-kernel/kmod/kmod_git.bb, with the way
{libdir} is set in line 19:

libdir = "${base_libdir}"

"git blame" claims this was added by Khem Raj on 2012-05-08. This line
causes libkmod to put its pkgconfig ".pc" file in the staging area at
"/lib/pkgconfig/libkmod.pc". This is sad because other recipes would
only look at /usr/lib/pkgconfig/ and /usr/share/pkgconfig.

Take meta-openembedded/meta-oe/recipes-core/udev/udev_182.bb, for
example. The build predictably fails with

checking for KMOD... no
configure: error: Package requirements (libkmod >= 5) were not met:

No package 'libkmod' found


So what's the right thing do do here? Use a different package install
path for libkmod, or point udev to /lib/pkgconfig by extending its
PKG_CONFIG_PATH correspondingly?

Regards,
Thilo

-- 
Dipl.-Ing (FH) Thilo Fromm, MSc., Embedded Systems Architect
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, D-10319 Berlin, Germany
Tel: +49 (30) 515 932 228   mailto:fromm@dresearch-fe.de
Fax: +49 (30) 515 932 77    http://www.dresearch.de
Amtsgericht: Berlin Charlottenburg, HRB 130120 B
Ust.-IDNr. DE273952058
Geschäftsführer: Dr. M. Weber, W. Mögle



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-05-15 10:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-14 11:18 New kmod {libdir} breaks udev 182 build Thilo Fromm
2012-05-14 12:33 ` Otavio Salvador
2012-05-14 17:26 ` Khem Raj
2012-05-15  8:39   ` Thilo Fromm
2012-05-15  8:41     ` Martin Ertsås
2012-05-15  9:33       ` Koen Kooi
2012-05-15  9:59         ` Thilo Fromm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.