[oe] New kmod {libdir} breaks udev 182 build

Otavio Salvador otavio at ossystems.com.br
Mon May 14 12:33:09 UTC 2012


On Mon, May 14, 2012 at 8:18 AM, Thilo Fromm <fromm at dresearch-fe.de> wrote:
> 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?

I have some build failure.

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br




More information about the Openembedded-devel mailing list