[yocto] "bitbake core-image-sato" yields "No package 'gdk-x11-3.0' found" build failure

Burton, Ross ross.burton at intel.com
Mon Oct 29 14:02:53 PDT 2018


That is... interesting.

Can you verify that this file has been built by gtk+3?

$ oe-pkgdata-util find-path '*/gdk-x11-3.0.pc'
gtk+3-dev: /usr/lib/pkgconfig/gdk-x11-3.0.pc

If so can you find any gdk-x11-3.0.pc files under
/opt/yocto/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/matchbox-panel-2/2.11-r0/recipe-sysroot?
 Probably under usr/lib/pkgconfig.

Ross
On Mon, 29 Oct 2018 at 19:34, Joe Flowers <joe.flowers at nofreewill.com> wrote:
>
> HI Ross,
>
> It still doesn't work.
>
>
> local.conf
> https://pastebin.com/2Ng0wSCi
>
>
> log.do_configure.27655
> https://pastebin.com/4EX9vqmK
>
>
> config.log
> https://pastebin.com/DY2FnM7w
>
>
> Thanks for trying to help me.
>
> Joe
> ----------------
>
>
> On Mon, Oct 29, 2018 at 11:43 AM Burton, Ross <ross.burton at intel.com> wrote:
>>
>> x11 is in the default DISTRO_FEATURES for poky, so you don't need to add that.
>>
>> If core-image-x11 works then core-image-sato should build fine.  Try
>> deleting your tmp/ and trying again, if that doesn't work then
>> pastebin both temp/log.do_configure and config.log from the recipe
>> that is failing (matchbox-panel).
>>
>> Ross
>> On Mon, 29 Oct 2018 at 13:21, Joe Flowers <joe.flowers at nofreewill.com> wrote:
>> >
>> > Thanks, Ross.
>> >
>> > 1.
>> > Both of these commands worked:
>> >
>> > MACHINE=wandboard bitbake core-image-x11
>> > MACHINE=wandboard bitbake gtk+3
>> >
>> > 2.
>> > I've attached my local.conf.
>> >
>> > If the attachment does not go through, then I will copy and paste it into my next message.
>> >
>> > Thanks!
>> >
>> > Joe
>> > -------------------------------
>> >
>> >
>> > On Mon, Oct 29, 2018 at 7:54 AM Burton, Ross <ross.burton at intel.com> wrote:
>> >>
>> >> Can you share your local.conf?  Does bitbake gtk+3 work?
>> >>
>> >> Ross
>> >> On Mon, 29 Oct 2018 at 06:42, Joe Flowers <joe.flowers at nofreewill.com> wrote:
>> >> >
>> >> > Hello everyone,
>> >> >
>> >> > 1.
>> >> > I am trying to build a core-image-sato image for a WandBoard but am getting stuck at this error message:
>> >> >
>> >> > "| No package 'gdk-x11-3.0' found"
>> >> >
>> >> > See below for more details.
>> >> >
>> >> >
>> >> > 2.
>> >> > I have grepped this list's archives and run into someone with the same problem, but a solution was never included in the thread.
>> >> >
>> >> > https://lists.yoctoproject.org/pipermail/yocto/2017-December/039149.html
>> >> >
>> >> >
>> >> > Help please.
>> >> >
>> >> > Joe
>> >> >
>> >> > ------------------------------
>> >> >
>> >> > Command
>> >> >
>> >> > MACHINE=wandboard bitbake core-image-sato
>> >> >
>> >> > produces this error message:
>> >> >
>> >> > ...
>> >> > ...
>> >> > | checking for pkg-config... /opt/yocto/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/matchbox-panel-2/2.11-r0/recipe-sysroot-native/usr/bin/pkg-config
>> >> > | configure: WARNING: using cross tools not prefixed with host triplet
>> >> > | checking pkg-config is at least version 0.9.0... yes
>> >> > | checking for glib-2.0
>> >> > |                   gmodule-export-2.0
>> >> > |                   x11
>> >> > |                   gdk-x11-3.0
>> >> > |                   gtk+-3.0... no
>> >> > | configure: error: Package requirements (glib-2.0
>> >> > |                   gmodule-export-2.0
>> >> > |                   x11
>> >> > |                   gdk-x11-3.0
>> >> > |                   gtk+-3.0) were not met:
>> >> > |
>> >> > | No package 'gdk-x11-3.0' found
>> >> > |
>> >> > | Consider adjusting the PKG_CONFIG_PATH environment variable if you
>> >> > | installed software in a non-standard prefix.
>> >> > |
>> >> > | Alternatively, you may set the environment variables MATCHBOX_PANEL_CFLAGS
>> >> > | and MATCHBOX_PANEL_LIBS to avoid the need to call pkg-config.
>> >> > | See the pkg-config man page for more details.
>> >> > | NOTE: The following config.log files may provide further information.
>> >> > | NOTE: /opt/yocto/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/matchbox-panel-2/2.11-r0/build/config.log
>> >> > | ERROR: configure failed
>> >> > | WARNING: exit code 1 from a shell command.
>> >> > | ERROR: Function failed: do_configure (log file is located at /opt/yocto/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/matchbox-panel-2/2.11-r0/temp/log.do_configure.40754)
>> >> > ERROR: Task (/opt/yocto/sources/poky/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb:do_configure) failed with exit code '1'
>> >> > NOTE: Tasks Summary: Attempted 3024 tasks of which 2828 didn't need to be rerun and 1 failed.
>> >> >
>> >> > Summary: 1 task failed:
>> >> >   /opt/yocto/sources/poky/meta/recipes-sato/matchbox-panel-2/matchbox-panel-2_2.11.bb:do_configure
>> >> > Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
>> >> > joe at ubuntu:/opt/yocto/build$
>> >> >
>> >> > ------------------------------
>> >> >
>> >> > --
>> >> > _______________________________________________
>> >> > yocto mailing list
>> >> > yocto at yoctoproject.org
>> >> > https://lists.yoctoproject.org/listinfo/yocto


More information about the yocto mailing list