All of lore.kernel.org
 help / color / mirror / Atom feed
* morty: matchbox-desktop fails due to missing gdk-x11-3.0
@ 2017-05-31 16:17 Ștefan Golinschi
  2017-06-01  7:00 ` Jussi Kukkonen
  0 siblings, 1 reply; 3+ messages in thread
From: Ștefan Golinschi @ 2017-05-31 16:17 UTC (permalink / raw)
  To: poky

[-- Attachment #1: Type: text/plain, Size: 3430 bytes --]

I am trying to build a core-image-sato image for an imx6s SoC, but the
build fails during the build of matchbox-desktop due to a missing package:
gdk-x11-3.0.
In my local.conf:
IMAGE_INSTALL_append = " gdk-pixbuf".
Any help?

Below is the error log:
$ bitbake core-image-sato
ERROR: matchbox-panel-2-2.11-r0 do_configure: configure failed
ERROR: matchbox-panel-2-2.11-r0 do_configure: Function failed: do_configure
(log file is located at
/home/user/workspace/yocto/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/matchbox-panel-2/2.11-r0/temp/log.do_configure.17394)
ERROR: Logfile of failure stored in:
/home/user/workspace/yocto/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/matchbox-panel-2/2.11-r0/temp/log.do_configure.17394
...
| checking dynamic linker characteristics... GNU/Linux ld.so
| checking how to hardcode library paths into programs... immediate
| checking whether stripping libraries is possible... yes
| checking if libtool supports shared libraries... yes
| checking whether to build shared libraries... yes
| checking whether to build static libraries... no
| checking whether gcc understands -Wall... yes
| checking whether gcc understands -Wstrict-prototypes... yes
| checking whether gcc understands -Wnested-externs... yes
| checking whether gcc understands -Werror=missing-prototypes... yes
| checking whether gcc understands -Werror=implicit-function-declaration...
yes
| checking whether gcc understands -Werror=pointer-arith... yes
| checking whether gcc understands -Werror=init-self... yes
| checking whether gcc understands -Werror=format-security... no
| checking whether gcc understands -Werror=format=2... yes
| checking whether gcc understands -Werror=missing-include-dirs... yes
| checking whether gcc understands -Werror=return-type... yes
| checking what warning flags to pass to the C compiler...  -Wall
-Wstrict-prototypes -Wnested-externs -Werror=missing-prototypes
-Werror=implicit-function-declaration -Werror=pointer-arith
-Werror=init-self -Werror=format=2 -Werror=missing-include-dirs
-Werror=return-type
| checking what language compliance flags to pass to the C compiler...
| checking for arm-poky-linux-gnueabi-pkg-config... no
| checking for pkg-config...
/home/user/workspace/yocto/build/tmp/sysroots/x86_64-linux/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 MATCHBOX_PANEL... 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.
| WARNING:
/home/user/workspace/yocto/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/matchbox-panel-2/2.11-r0/temp/run.do_configure.17394:1
exit 1 from 'exit 1'
| ERROR: Function failed: do_configure (log file is located at
/home/user/workspace/yocto/build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/matchbox-panel-2/2.11-r0/temp/log.do_configure.17394)

Thanks,
Stefan

[-- Attachment #2: Type: text/html, Size: 4091 bytes --]

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

* Re: morty: matchbox-desktop fails due to missing gdk-x11-3.0
  2017-05-31 16:17 morty: matchbox-desktop fails due to missing gdk-x11-3.0 Ștefan Golinschi
@ 2017-06-01  7:00 ` Jussi Kukkonen
  2017-06-01  7:51   ` Ștefan Golinschi
  0 siblings, 1 reply; 3+ messages in thread
From: Jussi Kukkonen @ 2017-06-01  7:00 UTC (permalink / raw)
  To: Ștefan Golinschi; +Cc: poky

[-- Attachment #1: Type: text/plain, Size: 4273 bytes --]

On 31 May 2017 at 19:17, Ștefan Golinschi <stefan.golinschi@gmail.com>
wrote:

> I am trying to build a core-image-sato image for an imx6s SoC, but the
> build fails during the build of matchbox-desktop due to a missing package:
> gdk-x11-3.0.
> In my local.conf:
> IMAGE_INSTALL_append = " gdk-pixbuf".
> Any help?
>
> Below is the error log:
> $ bitbake core-image-sato
> ERROR: matchbox-panel-2-2.11-r0 do_configure: configure failed
> ERROR: matchbox-panel-2-2.11-r0 do_configure: Function failed:
> do_configure (log file is located at /home/user/workspace/yocto/
> build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/
> matchbox-panel-2/2.11-r0/temp/log.do_configure.17394)
> ERROR: Logfile of failure stored in: /home/user/workspace/yocto/
> build/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/
> matchbox-panel-2/2.11-r0/temp/log.do_configure.17394
> ...
> | checking dynamic linker characteristics... GNU/Linux ld.so
> | checking how to hardcode library paths into programs... immediate
> | checking whether stripping libraries is possible... yes
> | checking if libtool supports shared libraries... yes
> | checking whether to build shared libraries... yes
> | checking whether to build static libraries... no
> | checking whether gcc understands -Wall... yes
> | checking whether gcc understands -Wstrict-prototypes... yes
> | checking whether gcc understands -Wnested-externs... yes
> | checking whether gcc understands -Werror=missing-prototypes... yes
> | checking whether gcc understands -Werror=implicit-function-declaration...
> yes
> | checking whether gcc understands -Werror=pointer-arith... yes
> | checking whether gcc understands -Werror=init-self... yes
> | checking whether gcc understands -Werror=format-security... no
> | checking whether gcc understands -Werror=format=2... yes
> | checking whether gcc understands -Werror=missing-include-dirs... yes
> | checking whether gcc understands -Werror=return-type... yes
> | checking what warning flags to pass to the C compiler...  -Wall
> -Wstrict-prototypes -Wnested-externs -Werror=missing-prototypes
> -Werror=implicit-function-declaration -Werror=pointer-arith
> -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs
> -Werror=return-type
> | checking what language compliance flags to pass to the C compiler...
> | checking for arm-poky-linux-gnueabi-pkg-config... no
> | checking for pkg-config... /home/user/workspace/yocto/
> build/tmp/sysroots/x86_64-linux/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 MATCHBOX_PANEL... 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
>


For the record this is matchbox-panel failing, not matchbox-desktop.

That failure is quite surprising ... Does anything modify the gtk+3 recipe
or configuration? Otherwise I don't see how gtk+3 could avoid providing
gdk-x11-3.0.pc in a situation where matchbox-panel would still try to
build.

I think this could happen e.g. if you have "x11" in distro features but
force gtk+3 to build without x11 packageconfig.

Jussi


|
> | 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.
> | WARNING: /home/user/workspace/yocto/build/tmp/work/cortexa9hf-
> neon-poky-linux-gnueabi/matchbox-panel-2/2.11-r0/temp/run.do_configure.17394:1
> exit 1 from 'exit 1'
> | ERROR: Function failed: do_configure (log file is located at
> /home/user/workspace/yocto/build/tmp/work/cortexa9hf-
> neon-poky-linux-gnueabi/matchbox-panel-2/2.11-r0/temp/
> log.do_configure.17394)
>
> Thanks,
> Stefan
>
> --
> _______________________________________________
> poky mailing list
> poky@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
>
>

[-- Attachment #2: Type: text/html, Size: 5883 bytes --]

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

* Re: morty: matchbox-desktop fails due to missing gdk-x11-3.0
  2017-06-01  7:00 ` Jussi Kukkonen
@ 2017-06-01  7:51   ` Ștefan Golinschi
  0 siblings, 0 replies; 3+ messages in thread
From: Ștefan Golinschi @ 2017-06-01  7:51 UTC (permalink / raw)
  To: Jussi Kukkonen; +Cc: poky

[-- Attachment #1: Type: text/plain, Size: 5033 bytes --]

You are right. I have a .bbappend to gtk+3 in meta-freescale layer[morty]
that breaks the build. This is the .bbappend in case:

cat meta-freescale/recipes-graphics/gtk+/gtk+3_%.bb
PACKAGECONFIG_remove_imxgpu2d = " \
    ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "x11", "", d)} \
"

CFLAGS_append_imxgpu2d = " \
    -DLINUX \
    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '-DEGL_API_FB
-DEGL_API_WL', '', d)} \
"
Ignoring this .bbappend makes the build of core-image-sato succeed.

Stefan

On Thu, Jun 1, 2017 at 10:00 AM, Jussi Kukkonen <jussi.kukkonen@intel.com>
wrote:

> On 31 May 2017 at 19:17, Ștefan Golinschi <stefan.golinschi@gmail.com>
> wrote:
>
>> I am trying to build a core-image-sato image for an imx6s SoC, but the
>> build fails during the build of matchbox-desktop due to a missing package:
>> gdk-x11-3.0.
>> In my local.conf:
>> IMAGE_INSTALL_append = " gdk-pixbuf".
>> Any help?
>>
>> Below is the error log:
>> $ bitbake core-image-sato
>> ERROR: matchbox-panel-2-2.11-r0 do_configure: configure failed
>> ERROR: matchbox-panel-2-2.11-r0 do_configure: Function failed:
>> do_configure (log file is located at /home/user/workspace/yocto/bui
>> ld/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/matchbox-
>> panel-2/2.11-r0/temp/log.do_configure.17394)
>> ERROR: Logfile of failure stored in: /home/user/workspace/yocto/bui
>> ld/tmp/work/cortexa9hf-neon-poky-linux-gnueabi/matchbox-
>> panel-2/2.11-r0/temp/log.do_configure.17394
>> ...
>> | checking dynamic linker characteristics... GNU/Linux ld.so
>> | checking how to hardcode library paths into programs... immediate
>> | checking whether stripping libraries is possible... yes
>> | checking if libtool supports shared libraries... yes
>> | checking whether to build shared libraries... yes
>> | checking whether to build static libraries... no
>> | checking whether gcc understands -Wall... yes
>> | checking whether gcc understands -Wstrict-prototypes... yes
>> | checking whether gcc understands -Wnested-externs... yes
>> | checking whether gcc understands -Werror=missing-prototypes... yes
>> | checking whether gcc understands -Werror=implicit-function-declaration...
>> yes
>> | checking whether gcc understands -Werror=pointer-arith... yes
>> | checking whether gcc understands -Werror=init-self... yes
>> | checking whether gcc understands -Werror=format-security... no
>> | checking whether gcc understands -Werror=format=2... yes
>> | checking whether gcc understands -Werror=missing-include-dirs... yes
>> | checking whether gcc understands -Werror=return-type... yes
>> | checking what warning flags to pass to the C compiler...  -Wall
>> -Wstrict-prototypes -Wnested-externs -Werror=missing-prototypes
>> -Werror=implicit-function-declaration -Werror=pointer-arith
>> -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs
>> -Werror=return-type
>> | checking what language compliance flags to pass to the C compiler...
>> | checking for arm-poky-linux-gnueabi-pkg-config... no
>> | checking for pkg-config... /home/user/workspace/yocto/bui
>> ld/tmp/sysroots/x86_64-linux/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 MATCHBOX_PANEL... 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
>>
>
>
> For the record this is matchbox-panel failing, not matchbox-desktop.
>
> That failure is quite surprising ... Does anything modify the gtk+3 recipe
> or configuration? Otherwise I don't see how gtk+3 could avoid providing
> gdk-x11-3.0.pc in a situation where matchbox-panel would still try to
> build.
>
> I think this could happen e.g. if you have "x11" in distro features but
> force gtk+3 to build without x11 packageconfig.
>
> Jussi
>
>
> |
>> | 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.
>> | WARNING: /home/user/workspace/yocto/build/tmp/work/cortexa9hf-neon-
>> poky-linux-gnueabi/matchbox-panel-2/2.11-r0/temp/run.do_configure.17394:1
>> exit 1 from 'exit 1'
>> | ERROR: Function failed: do_configure (log file is located at
>> /home/user/workspace/yocto/build/tmp/work/cortexa9hf-neon-
>> poky-linux-gnueabi/matchbox-panel-2/2.11-r0/temp/log.do_configure.17394)
>>
>> Thanks,
>> Stefan
>>
>> --
>> _______________________________________________
>> poky mailing list
>> poky@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/poky
>>
>>
>


-- 
Ștefan-Alexandru Golinschi

[-- Attachment #2: Type: text/html, Size: 7405 bytes --]

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

end of thread, other threads:[~2017-06-01  7:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-31 16:17 morty: matchbox-desktop fails due to missing gdk-x11-3.0 Ștefan Golinschi
2017-06-01  7:00 ` Jussi Kukkonen
2017-06-01  7:51   ` Ștefan Golinschi

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.