[meta-intel] emgd-driver-dev and libgl-mesa-dev packaging conflict

Kamble, Nitin A nitin.a.kamble at intel.com
Thu Apr 18 19:37:40 PDT 2013



> -----Original Message-----
> From: meta-intel-bounces at yoctoproject.org [mailto:meta-intel-
> bounces at yoctoproject.org] On Behalf Of Kamble, Nitin A
> Sent: Thursday, April 18, 2013 5:11 PM
> To: Zanussi, Tom; Darren Hart
> Cc: meta-intel at yoctoproject.org
> Subject: Re: [meta-intel] emgd-driver-dev and libgl-mesa-dev packaging
> conflict
> 
> 
> 
> > -----Original Message-----
> > From: Zanussi, Tom
> > Sent: Thursday, April 18, 2013 4:57 PM
> > To: Darren Hart
> > Cc: Kamble, Nitin A; meta-intel at yoctoproject.org
> > Subject: Re: emgd-driver-dev and libgl-mesa-dev packaging conflict
> >
> > On Thu, 2013-04-18 at 15:04 -0700, Darren Hart wrote:
> > >
> > > On 04/18/2013 02:50 PM, Tom Zanussi wrote:
> > > > On Thu, 2013-04-18 at 14:44 -0700, Darren Hart wrote:
> > > >>
> > > >> On 04/18/2013 02:38 PM, Tom Zanussi wrote:
> > > >>> On Thu, 2013-04-18 at 14:31 -0700, Darren Hart wrote:
> > > >>>> Tom and Nitin,
> > > >>>>
> > > >>>> I see the following building for the minnow, which uses the
> > > >>>> meta-intel/common emgd recipes. This is using the master branch
> > > >>>> of poky and meta-intel.
> > > >>>>
> > > >>>> Have you built core-image-sato-sdk with the current set of recipes?
> > > >>>>
> > > >>>
> > > >>> I haven't built core-image-sato-sdk with the current heads, but
> > > >>> I usually do add tools-profile to my builds and the autobuilder
> > > >>> builds core-image-sato-sdk, and hasn't had this problem.
> > > >>>
> > > >>> What do you have in your local.conf?
> > > >>
> > > >> Things I add:
> > > >>
> > > >> LICENSE_FLAGS_WHITELIST = "license_emgd-driver-bin"
> > > >
> > > > Oh, and how about adding 'commercial'?
> > >
> > > OK, added and the gst-ffmpeg stuff gets added. Still fails as described.
> > >
> >
> > crownbay with 'commercial' etc built fine (core-image-sato-sdk with rpm).
> 
> 
> With IPK packaging I am able to reproduce the issue. I think this can be easily
> avoided by reverting this commit
> 
> commit 5e314278e4cf37b7fbb2946f4f42a3236071e131
> Author: Laurentiu Palcu <laurentiu.palcu at intel.com>
> Date:   Wed Mar 13 13:05:48 2013 +0200
> 
>     emgd-driver-bin: add pkgconfig files
> 
>     Add pkgconfig files needed by other projects (for example newer libva
>     packages look for egl.pc file).
> 
>     Pkgconfig files added by this patch:
>      * egl.pc
>      * gl.pc
>      * gles_cm.pc
>      * glesv2.pc
> 
>     Signed-off-by: Laurentiu Palcu <laurentiu.palcu at intel.com>
>     Signed-off-by: Tom Zanussi <tom.zanussi at linux.intel.com>
> 
> 
> 
> This commit was needed for newer libva, now we have pinned EMGD based
> BSPs to older libva, so this commit is not really needed.

I verified that this indeed fixes the issue.

Nitin

> 
> 
> Thanks,
> Nitin
> 
> >
> > Tom
> >
> > > --
> > > Darren
> > >
> > > >
> > > > Tom
> > > >
> > > >> EXTRA_IMAGE_FEATURES = "debug-tweaks"
> > > >>
> > > >> BB_NUMBER_THREADS = "14"
> > > >> PARALLEL_MAKE = "-j 12"
> > > >>
> > > >> PACKAGE_CLASSES ?= "package_ipk"
> > > >>
> > > >> MACHINE = "minnow"
> > > >>
> > > >>
> > > >>
> > > >>
> > > >> Maybe something is bad with my minnow.conf? It should be
> > > >> following what crownbay does in terms of X, EMGD, and VA:
> > > >>
> > > >> #@TYPE: Machine
> > > >> #@NAME: minnow
> > > >>
> > > >> #@WEBTITLE: Intel Atom E640T Processor with Intel EG20T
> > > >> Controller Hub Development Kit (Queens Bay) with Proprietary
> > > >> IEMGD
> > Accelerated Graphics.
> > > >>
> > > >> #@DESCRIPTION: Machine configuration for the Minnow Board
> systems
> > > >>
> > > >> require conf/machine/include/tune-atom.inc
> > > >> require conf/machine/include/ia32-base.inc
> > > >> require conf/machine/include/meta-intel.inc
> > > >>
> > > >> MACHINE_HWCODECS ?= "va-intel"
> > > >> XSERVERCODECS ?= "emgd-driver-video emgd-gst-plugins-va \
> > > >>                   emgd-gst-plugins-mixvideo gst-va-intel"
> > > >>
> > > >> MACHINE_FEATURES += "efi va-impl-mixvideo"
> > > >>
> > > >> PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto-minnow"
> > > >> PREFERRED_VERSION_linux-yocto-minnow = "3.8%"
> > > >>
> > > >> XSERVER ?= "${XSERVER_IA32_BASE} \
> > > >>             ${XSERVER_IA32_EXT} \
> > > >>             ${XSERVER_IA32_EMGD} \
> > > >>            "
> > > >>
> > > >> PREFERRED_VERSION_xserver-xorg ?= "1.9.3"
> > > >> PREFERRED_VERSION_mesa ?= "9.0.2"
> > > >> PREFERRED_VERSION_xf86-input-evdev ?= "2.6.0"
> > > >> PREFERRED_VERSION_emgd-driver-bin ?= "1.16"
> > > >> PREFERRED_VERSION_libva ?= "1.0.16"
> > > >>
> > > >> APPEND += "console=ttyPCH0,115200 console=tty0 vmalloc=256MB"
> > > >> SERIAL_CONSOLE = "115200 ttyPCH0"
> > > >>
> > > >>
> > > >> --
> > > >> Darren
> > > >>
> > > >>
> > > >>>
> > > >>> Tom
> > > >>>
> > > >>>> |  * check_data_file_clashes: Package libgl-mesa-dev wants to
> > > >>>> | install
> > > >>>> file
> > > >>>>
> > /build/yocto/master/minnow_20130223110941/build/tmp/work/minnow-
> p
> > > >>>> oky-linux/core-image-sato-sdk/1.0-r0/rootfs/usr/lib/pkgconfig/gl.
> > > >>>> pc
> > > >>>> |       But that file is already provided by package  *
> > > >>>> | emgd-driver-dev
> > > >>>> |  * opkg_install_cmd: Cannot install package qt4-x11-free-dev.
> > > >>>> |  * check_data_file_clashes: Package libgl-mesa-dev wants to
> > > >>>> | install
> > > >>>> file
> > > >>>>
> > /build/yocto/master/minnow_20130223110941/build/tmp/work/minnow-
> p
> > > >>>> oky-linux/core-image-sato-sdk/1.0-r0/rootfs/usr/lib/pkgconfig/gl.
> > > >>>> pc
> > > >>>> |       But that file is already provided by package  *
> > > >>>> | emgd-driver-dev
> > > >>>> |  * opkg_install_cmd: Cannot install package mesa-demos-dev.
> > > >>>> |  * check_data_file_clashes: Package libgl-mesa-dev wants to
> > > >>>> | install
> > > >>>> file
> > > >>>>
> > /build/yocto/master/minnow_20130223110941/build/tmp/work/minnow-
> p
> > > >>>> oky-linux/core-image-sato-sdk/1.0-r0/rootfs/usr/lib/pkgconfig/gl.
> > > >>>> pc
> > > >>>> |       But that file is already provided by package  *
> > > >>>> | emgd-driver-dev
> > > >>>> |  * opkg_install_cmd: Cannot install package libva-egl-dev.
> > > >>>> |  * check_data_file_clashes: Package libgl-mesa-dev wants to
> > > >>>> | install
> > > >>>> file
> > > >>>>
> > /build/yocto/master/minnow_20130223110941/build/tmp/work/minnow-
> p
> > > >>>> oky-linux/core-image-sato-sdk/1.0-r0/rootfs/usr/lib/pkgconfig/gl.
> > > >>>> pc
> > > >>>> |       But that file is already provided by package  *
> > > >>>> | emgd-driver-dev
> > > >>>> |  * opkg_install_cmd: Cannot install package libva-glx-dev.
> > > >>>> |  * check_data_file_clashes: Package libgl-mesa-dev wants to
> > > >>>> | install
> > > >>>> file
> > > >>>>
> > /build/yocto/master/minnow_20130223110941/build/tmp/work/minnow-
> p
> > > >>>> oky-linux/core-image-sato-sdk/1.0-r0/rootfs/usr/lib/pkgconfig/gl.
> > > >>>> pc
> > > >>>> |       But that file is already provided by package  *
> > > >>>> | emgd-driver-dev
> > > >>>> |  * opkg_install_cmd: Cannot install package libgl-mesa-dev.
> > > >>>> | ERROR: Function failed: do_rootfs (see
> > > >>>>
> > /build/yocto/master/minnow_20130223110941/build/tmp/work/minnow-
> p
> > > >>>> oky-linux/core-image-sato-sdk/1.0-r0/temp/log.do_rootfs.20706
> > > >>>> for further information)
> > > >>>> ERROR: Task 7
> > > >>>>
> (/build/yocto/master/minnow_20130223110941/poky/meta/recipes-
> > sato
> > > >>>> /images/core-image-sato-sdk.bb,
> > > >>>> do_rootfs) failed with exit code '1'
> > > >>>>
> > > >>>
> > > >>>
> > > >>
> > > >
> > > >
> > >
> >
> 
> _______________________________________________
> meta-intel mailing list
> meta-intel at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-intel



More information about the meta-intel mailing list