Discussion:
[yocto] "bitbake core-image-sato" yields "No package 'gdk-x11-3.0' found" build failure
Joe Flowers
2018-10-29 06:41:28 UTC
Permalink
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.
***@ubuntu:/opt/yocto/build$

------------------------------
Burton, Ross
2018-10-29 11:54:46 UTC
Permalink
Can you share your local.conf? Does bitbake gtk+3 work?

Ross
Post by Joe Flowers
Hello everyone,
1.
"| 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
...
...
| 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
|
| 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.
/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.
------------------------------
--
_______________________________________________
yocto mailing list
https://lists.yoctoproject.org/listinfo/yocto
--
Joe Flowers
2018-10-29 13:20:40 UTC
Permalink
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
-------------------------------
Post by Burton, Ross
Can you share your local.conf? Does bitbake gtk+3 work?
Ross
Post by Joe Flowers
Hello everyone,
1.
I am trying to build a core-image-sato image for a WandBoard but am
"| 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.
Post by Joe Flowers
https://lists.yoctoproject.org/pipermail/yocto/2017-December/039149.html
Help please.
Joe
------------------------------
Command
MACHINE=wandboard bitbake core-image-sato
...
...
| 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
Post by Joe Flowers
| 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
|
| 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
Post by Joe Flowers
| 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.
/opt/yocto/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/matchbox-panel-2/2.11-r0/build/config.log
Post by Joe Flowers
| 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)
Post by Joe Flowers
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'
Post by Joe Flowers
NOTE: Tasks Summary: Attempted 3024 tasks of which 2828 didn't need to
be rerun and 1 failed.
do_configure
Post by Joe Flowers
Summary: There were 2 ERROR messages shown, returning a non-zero exit
code.
Post by Joe Flowers
------------------------------
--
_______________________________________________
yocto mailing list
https://lists.yoctoproject.org/listinfo/yocto
Burton, Ross
2018-10-29 15:43:05 UTC
Permalink
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
Post by Joe Flowers
Thanks, Ross.
1.
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
-------------------------------
Post by Burton, Ross
Can you share your local.conf? Does bitbake gtk+3 work?
Ross
Post by Joe Flowers
Hello everyone,
1.
"| 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
...
...
| 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
|
| 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.
/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.
------------------------------
--
_______________________________________________
yocto mailing list
https://lists.yoctoproject.org/listinfo/yocto
--
Joe Flowers
2018-10-29 19:33:47 UTC
Permalink
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
----------------
Post by Burton, Ross
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
Post by Joe Flowers
Thanks, Ross.
1.
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.
Post by Joe Flowers
Thanks!
Joe
-------------------------------
Post by Burton, Ross
Can you share your local.conf? Does bitbake gtk+3 work?
Ross
Post by Joe Flowers
Hello everyone,
1.
I am trying to build a core-image-sato image for a WandBoard but am
"| 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
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Help please.
Joe
------------------------------
Command
MACHINE=wandboard bitbake core-image-sato
...
...
| 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
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
| 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
|
| 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
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
| 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.
/opt/yocto/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/matchbox-panel-2/2.11-r0/build/config.log
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
| 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)
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
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'
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
NOTE: Tasks Summary: Attempted 3024 tasks of which 2828 didn't need
to be rerun and 1 failed.
do_configure
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Summary: There were 2 ERROR messages shown, returning a non-zero exit
code.
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
------------------------------
--
_______________________________________________
yocto mailing list
https://lists.yoctoproject.org/listinfo/yocto
Burton, Ross
2018-10-29 21:02:53 UTC
Permalink
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
Post by Joe Flowers
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
----------------
Post by Burton, Ross
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
Post by Joe Flowers
Thanks, Ross.
1.
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
-------------------------------
Post by Burton, Ross
Can you share your local.conf? Does bitbake gtk+3 work?
Ross
Post by Joe Flowers
Hello everyone,
1.
"| 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
...
...
| 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
|
| 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.
/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.
------------------------------
--
_______________________________________________
yocto mailing list
https://lists.yoctoproject.org/listinfo/yocto
--
Joe Flowers
2018-10-30 03:04:59 UTC
Permalink
Thanks, Ross.

Below is the output you requested. gdk-x11-3.0.pc does not seem to exist.

Below, should that be "wandboard" and not "qemux86" ?

***@ubuntu:/opt/yocto/build$
***@ubuntu:/opt/yocto/build$ oe-pkgdata-util find-path '*/gdk-x11-3.0.pc'
ERROR: Unable to find pkgdata directory /opt/yocto/build/tmp/pkgdata/qemux86
***@ubuntu:/opt/yocto/build$ cd ..
***@ubuntu:/opt/yocto$ oe-pkgdata-util find-path '*/gdk-x11-3.0.pc'
ERROR: Unable to find pkgdata directory /opt/yocto/build/tmp/pkgdata/qemux86
***@ubuntu:/opt/yocto$
***@ubuntu:/opt/yocto$
***@ubuntu:/opt/yocto$ find /opt/yocto -name *.pc* 1> ~/find4.txt
2>/dev/null
***@ubuntu:/opt/yocto$ cat ~/find4.txt | grep gdk | grep x11
***@ubuntu:/opt/yocto$


Thank you!
Post by Burton, Ross
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
Post by Joe Flowers
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
----------------
Post by Burton, Ross
x11 is in the default DISTRO_FEATURES for poky, so you don't need to
add that.
Post by Joe Flowers
Post by Burton, Ross
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
Post by Joe Flowers
Thanks, Ross.
1.
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.
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Thanks!
Joe
-------------------------------
Post by Burton, Ross
Can you share your local.conf? Does bitbake gtk+3 work?
Ross
On Mon, 29 Oct 2018 at 06:42, Joe Flowers <
Post by Joe Flowers
Hello everyone,
1.
I am trying to build a core-image-sato image for a WandBoard but
"| 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
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Help please.
Joe
------------------------------
Command
MACHINE=wandboard bitbake core-image-sato
...
...
| 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
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
| configure: WARNING: using cross tools not prefixed with host
triplet
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
| 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
|
| No package 'gdk-x11-3.0' found
|
| Consider adjusting the PKG_CONFIG_PATH environment variable if
you
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
| installed software in a non-standard prefix.
|
| Alternatively, you may set the environment variables
MATCHBOX_PANEL_CFLAGS
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
| 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.
/opt/yocto/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/matchbox-panel-2/2.11-r0/build/config.log
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
| 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)
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
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'
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
NOTE: Tasks Summary: Attempted 3024 tasks of which 2828 didn't
need to be rerun and 1 failed.
do_configure
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Summary: There were 2 ERROR messages shown, returning a non-zero
exit code.
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
------------------------------
--
_______________________________________________
yocto mailing list
https://lists.yoctoproject.org/listinfo/yocto
Joe Flowers
2018-10-30 03:14:17 UTC
Permalink
My bad.

It looks like it is here:
/usr/lib/x86_64-linux-gnu/pkgconfig/gdk-x11-3.0.pc



***@ubuntu:/opt/yocto$ find / -name *.pc* 1> ~/find5.txt 2>/dev/null
***@ubuntu:/opt/yocto$ cat ~/find5.txt | grep gdk | grep x11
/usr/lib/x86_64-linux-gnu/pkgconfig/gdk-x11-3.0.pc
***@ubuntu:/opt/yocto$ ls -lart
/usr/lib/x86_64-linux-gnu/pkgconfig/gdk-x11-3.0.pc
-rw-r--r-- 1 root root 616 Apr 5 2017
/usr/lib/x86_64-linux-gnu/pkgconfig/gdk-x11-3.0.pc
Post by Joe Flowers
Thanks, Ross.
Below is the output you requested. gdk-x11-3.0.pc does not seem to exist.
Below, should that be "wandboard" and not "qemux86" ?
ERROR: Unable to find pkgdata directory
/opt/yocto/build/tmp/pkgdata/qemux86
ERROR: Unable to find pkgdata directory
/opt/yocto/build/tmp/pkgdata/qemux86
2>/dev/null
Thank you!
Post by Burton, Ross
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
Post by Joe Flowers
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
----------------
Post by Burton, Ross
x11 is in the default DISTRO_FEATURES for poky, so you don't need to
add that.
Post by Joe Flowers
Post by Burton, Ross
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
Post by Joe Flowers
Thanks, Ross.
1.
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.
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Thanks!
Joe
-------------------------------
Post by Burton, Ross
Can you share your local.conf? Does bitbake gtk+3 work?
Ross
On Mon, 29 Oct 2018 at 06:42, Joe Flowers <
Post by Joe Flowers
Hello everyone,
1.
I am trying to build a core-image-sato image for a WandBoard but
"| 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
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Help please.
Joe
------------------------------
Command
MACHINE=wandboard bitbake core-image-sato
...
...
| 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
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
| configure: WARNING: using cross tools not prefixed with host
triplet
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
| 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
|
| No package 'gdk-x11-3.0' found
|
| Consider adjusting the PKG_CONFIG_PATH environment variable if
you
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
| installed software in a non-standard prefix.
|
| Alternatively, you may set the environment variables
MATCHBOX_PANEL_CFLAGS
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
| 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.
/opt/yocto/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/matchbox-panel-2/2.11-r0/build/config.log
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
| 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)
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
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'
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
NOTE: Tasks Summary: Attempted 3024 tasks of which 2828 didn't
need to be rerun and 1 failed.
do_configure
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Summary: There were 2 ERROR messages shown, returning a non-zero
exit code.
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
------------------------------
--
_______________________________________________
yocto mailing list
https://lists.yoctoproject.org/listinfo/yocto
Joe Flowers
2018-10-30 03:24:04 UTC
Permalink
Contents of gdk-x11-3.0.pc:
---------
prefix=/usr
exec_prefix=${prefix}
libdir=/usr/lib/x86_64-linux-gnu
includedir=${prefix}/include
targets=x11 broadway wayland mir

Name: GDK
Description: GTK+ Drawing Kit
Version: 3.18.9
Requires: pango pangocairo gdk-pixbuf-2.0 >= 2.30.0 cairo >= 1.14.0
cairo-gobject >= 1.14.0
Requires.private: gio-unix-2.0 >= 2.45.8 fontconfig x11 xext xinerama xi
xrandr xcursor xfixes xcomposite xdamage wayland-client >= 1.5.91 xkbcommon
= 0.2.0 wayland-cursor >= 1.5.91 wayland-egl mirclient >= 0.11.0 mircookie
= 0.17.0 cairo-xlib cairo cairo cairo epoxy >= 1.0
Libs: -L${libdir} -lgdk-3
Cflags: -I${includedir}/gtk-3.0

---------
My bad.
/usr/lib/x86_64-linux-gnu/pkgconfig/gdk-x11-3.0.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/gdk-x11-3.0.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/gdk-x11-3.0.pc
-rw-r--r-- 1 root root 616 Apr 5 2017
/usr/lib/x86_64-linux-gnu/pkgconfig/gdk-x11-3.0.pc
Post by Joe Flowers
Thanks, Ross.
Below is the output you requested. gdk-x11-3.0.pc does not seem to exist.
Below, should that be "wandboard" and not "qemux86" ?
ERROR: Unable to find pkgdata directory
/opt/yocto/build/tmp/pkgdata/qemux86
ERROR: Unable to find pkgdata directory
/opt/yocto/build/tmp/pkgdata/qemux86
2>/dev/null
Thank you!
Post by Burton, Ross
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
Post by Joe Flowers
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
----------------
Post by Burton, Ross
x11 is in the default DISTRO_FEATURES for poky, so you don't need to
add that.
Post by Joe Flowers
Post by Burton, Ross
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
Post by Joe Flowers
Thanks, Ross.
1.
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.
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Thanks!
Joe
-------------------------------
Post by Burton, Ross
Can you share your local.conf? Does bitbake gtk+3 work?
Ross
On Mon, 29 Oct 2018 at 06:42, Joe Flowers <
Post by Joe Flowers
Hello everyone,
1.
I am trying to build a core-image-sato image for a WandBoard but
"| 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
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Help please.
Joe
------------------------------
Command
MACHINE=wandboard bitbake core-image-sato
...
...
| 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
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
| configure: WARNING: using cross tools not prefixed with host
triplet
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
| 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
|
| No package 'gdk-x11-3.0' found
|
| Consider adjusting the PKG_CONFIG_PATH environment variable if
you
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
| installed software in a non-standard prefix.
|
| Alternatively, you may set the environment variables
MATCHBOX_PANEL_CFLAGS
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
| 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.
/opt/yocto/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/matchbox-panel-2/2.11-r0/build/config.log
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
| 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)
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
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'
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
NOTE: Tasks Summary: Attempted 3024 tasks of which 2828 didn't
need to be rerun and 1 failed.
do_configure
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Summary: There were 2 ERROR messages shown, returning a non-zero
exit code.
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
Post by Burton, Ross
Post by Joe Flowers
------------------------------
--
_______________________________________________
yocto mailing list
https://lists.yoctoproject.org/listinfo/yocto
Burton, Ross
2018-10-30 11:03:27 UTC
Permalink
Post by Joe Flowers
Below is the output you requested. gdk-x11-3.0.pc does not seem to exist.
Below, should that be "wandboard" and not "qemux86" ?
ERROR: Unable to find pkgdata directory /opt/yocto/build/tmp/pkgdata/qemux86
ERROR: Unable to find pkgdata directory /opt/yocto/build/tmp/pkgdata/qemux86
Yes, the pkgdata directory should be wandaboard but you haven't set
that in local.conf (you should), you've been setting it in the
environment so you need to set it in the environment when calling
oe-pkgdata-util (this is why you should set it in local.conf).

Was this after building gtk+3? If I'm reading your build paths
correctly, what is the content of
/opt/yocto/build/tmp/sysroots-components/cortexa9hf-neon-poky-linux-gnueabi/gtk+3/usr/lib/pkgconfig/

Any file on the host isn't what we're after, they're not used in cross
compilation.

Ross
--

Loading...