All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] [meta] dbus: Fix X11 compille errors
@ 2018-06-01 22:14 Alistair Francis
  2018-06-01 22:14 ` [PATCH 2/2] [meta] atk: Specify gettext-native dependency Alistair Francis
  2018-06-02  5:06 ` [PATCH 1/2] [meta] dbus: Fix X11 compille errors Alexander Kanavin
  0 siblings, 2 replies; 16+ messages in thread
From: Alistair Francis @ 2018-06-01 22:14 UTC (permalink / raw)
  To: openembedded-core

When building with X11 set in DISTRO_FEATURES we need to specify that we
depend on X11 native for building dbus. Otherwise we see missing include
file compile errors.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
---
 meta/recipes-core/dbus/dbus_1.12.8.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/dbus/dbus_1.12.8.bb b/meta/recipes-core/dbus/dbus_1.12.8.bb
index b3ddaafab5..40868628f6 100644
--- a/meta/recipes-core/dbus/dbus_1.12.8.bb
+++ b/meta/recipes-core/dbus/dbus_1.12.8.bb
@@ -6,6 +6,7 @@ LICENSE = "AFL-2 | GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \
                     file://dbus/dbus.h;beginline=6;endline=20;md5=7755c9d7abccd5dbd25a6a974538bb3c"
 DEPENDS = "expat virtual/libintl autoconf-archive"
+DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11-native', '', d)}"
 RDEPENDS_dbus_class-native = ""
 RDEPENDS_dbus_class-nativesdk = ""
 PACKAGES += "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '${PN}-ptest', '', d)}"
-- 
2.17.0



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

* [PATCH 2/2] [meta] atk: Specify gettext-native dependency
  2018-06-01 22:14 [PATCH 1/2] [meta] dbus: Fix X11 compille errors Alistair Francis
@ 2018-06-01 22:14 ` Alistair Francis
  2018-06-04 10:06   ` Burton, Ross
  2018-06-02  5:06 ` [PATCH 1/2] [meta] dbus: Fix X11 compille errors Alexander Kanavin
  1 sibling, 1 reply; 16+ messages in thread
From: Alistair Francis @ 2018-06-01 22:14 UTC (permalink / raw)
  To: openembedded-core

atk requires xgettext to compile, specify it as a dependency.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
---
 meta/recipes-support/atk/atk_2.28.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-support/atk/atk_2.28.1.bb b/meta/recipes-support/atk/atk_2.28.1.bb
index 657c69d576..1198005804 100644
--- a/meta/recipes-support/atk/atk_2.28.1.bb
+++ b/meta/recipes-support/atk/atk_2.28.1.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
                     file://atk/atkutil.c;endline=18;md5=6fd31cd2fdc9b30f619ca8d819bc12d3 \
                     file://atk/atk.h;endline=18;md5=fcd7710187e0eae485e356c30d1b0c3b"
 
-DEPENDS = "glib-2.0"
+DEPENDS = "glib-2.0 gettext-native"
 
 GNOMEBASEBUILDCLASS = "meson"
 inherit gnomebase gtk-doc gettext upstream-version-is-even gobject-introspection
-- 
2.17.0



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

* Re: [PATCH 1/2] [meta] dbus: Fix X11 compille errors
  2018-06-01 22:14 [PATCH 1/2] [meta] dbus: Fix X11 compille errors Alistair Francis
  2018-06-01 22:14 ` [PATCH 2/2] [meta] atk: Specify gettext-native dependency Alistair Francis
@ 2018-06-02  5:06 ` Alexander Kanavin
  2018-06-02 16:16   ` Alistair Francis
  1 sibling, 1 reply; 16+ messages in thread
From: Alexander Kanavin @ 2018-06-02  5:06 UTC (permalink / raw)
  To: Alistair Francis; +Cc: openembedded-core

Wait, why is this problem not seen by anyone else, particularly on the
autobuilder? Can you provide the failure log please?

And do the same for the other patch to atk.

Alex

2018-06-02 1:14 GMT+03:00 Alistair Francis <alistair.francis@wdc.com>:
> When building with X11 set in DISTRO_FEATURES we need to specify that we
> depend on X11 native for building dbus. Otherwise we see missing include
> file compile errors.
>
> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
> ---
>  meta/recipes-core/dbus/dbus_1.12.8.bb | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-core/dbus/dbus_1.12.8.bb b/meta/recipes-core/dbus/dbus_1.12.8.bb
> index b3ddaafab5..40868628f6 100644
> --- a/meta/recipes-core/dbus/dbus_1.12.8.bb
> +++ b/meta/recipes-core/dbus/dbus_1.12.8.bb
> @@ -6,6 +6,7 @@ LICENSE = "AFL-2 | GPLv2+"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \
>                      file://dbus/dbus.h;beginline=6;endline=20;md5=7755c9d7abccd5dbd25a6a974538bb3c"
>  DEPENDS = "expat virtual/libintl autoconf-archive"
> +DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11-native', '', d)}"
>  RDEPENDS_dbus_class-native = ""
>  RDEPENDS_dbus_class-nativesdk = ""
>  PACKAGES += "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '${PN}-ptest', '', d)}"
> --
> 2.17.0
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


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

* Re: [PATCH 1/2] [meta] dbus: Fix X11 compille errors
  2018-06-02  5:06 ` [PATCH 1/2] [meta] dbus: Fix X11 compille errors Alexander Kanavin
@ 2018-06-02 16:16   ` Alistair Francis
  0 siblings, 0 replies; 16+ messages in thread
From: Alistair Francis @ 2018-06-02 16:16 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: OE-core

On Fri, Jun 1, 2018 at 10:06 PM, Alexander Kanavin
<alex.kanavin@gmail.com> wrote:
> Wait, why is this problem not seen by anyone else, particularly on the
> autobuilder? Can you provide the failure log please?

That is a good question.

I'll attach the logs when I'm back at work on Monday. I am building
for RISC-V which is probably why I see it when others don't.

Alistair

>
> And do the same for the other patch to atk.
>
> Alex
>
> 2018-06-02 1:14 GMT+03:00 Alistair Francis <alistair.francis@wdc.com>:
>> When building with X11 set in DISTRO_FEATURES we need to specify that we
>> depend on X11 native for building dbus. Otherwise we see missing include
>> file compile errors.
>>
>> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
>> ---
>>  meta/recipes-core/dbus/dbus_1.12.8.bb | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/meta/recipes-core/dbus/dbus_1.12.8.bb b/meta/recipes-core/dbus/dbus_1.12.8.bb
>> index b3ddaafab5..40868628f6 100644
>> --- a/meta/recipes-core/dbus/dbus_1.12.8.bb
>> +++ b/meta/recipes-core/dbus/dbus_1.12.8.bb
>> @@ -6,6 +6,7 @@ LICENSE = "AFL-2 | GPLv2+"
>>  LIC_FILES_CHKSUM = "file://COPYING;md5=10dded3b58148f3f1fd804b26354af3e \
>>                      file://dbus/dbus.h;beginline=6;endline=20;md5=7755c9d7abccd5dbd25a6a974538bb3c"
>>  DEPENDS = "expat virtual/libintl autoconf-archive"
>> +DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libx11-native', '', d)}"
>>  RDEPENDS_dbus_class-native = ""
>>  RDEPENDS_dbus_class-nativesdk = ""
>>  PACKAGES += "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '${PN}-ptest', '', d)}"
>> --
>> 2.17.0
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


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

* Re: [PATCH 2/2] [meta] atk: Specify gettext-native dependency
  2018-06-01 22:14 ` [PATCH 2/2] [meta] atk: Specify gettext-native dependency Alistair Francis
@ 2018-06-04 10:06   ` Burton, Ross
  2018-06-04 17:17     ` Alistair Francis
  0 siblings, 1 reply; 16+ messages in thread
From: Burton, Ross @ 2018-06-04 10:06 UTC (permalink / raw)
  To: Alistair Francis; +Cc: OE-core

So why isn't the inherit gettext sufficient?

Ross

On 1 June 2018 at 23:14, Alistair Francis <alistair.francis@wdc.com> wrote:
> atk requires xgettext to compile, specify it as a dependency.
>
> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
> ---
>  meta/recipes-support/atk/atk_2.28.1.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-support/atk/atk_2.28.1.bb b/meta/recipes-support/atk/atk_2.28.1.bb
> index 657c69d576..1198005804 100644
> --- a/meta/recipes-support/atk/atk_2.28.1.bb
> +++ b/meta/recipes-support/atk/atk_2.28.1.bb
> @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
>                      file://atk/atkutil.c;endline=18;md5=6fd31cd2fdc9b30f619ca8d819bc12d3 \
>                      file://atk/atk.h;endline=18;md5=fcd7710187e0eae485e356c30d1b0c3b"
>
> -DEPENDS = "glib-2.0"
> +DEPENDS = "glib-2.0 gettext-native"
>
>  GNOMEBASEBUILDCLASS = "meson"
>  inherit gnomebase gtk-doc gettext upstream-version-is-even gobject-introspection
> --
> 2.17.0
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


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

* Re: [PATCH 2/2] [meta] atk: Specify gettext-native dependency
  2018-06-04 10:06   ` Burton, Ross
@ 2018-06-04 17:17     ` Alistair Francis
  2018-06-04 17:20       ` Alexander Kanavin
  0 siblings, 1 reply; 16+ messages in thread
From: Alistair Francis @ 2018-06-04 17:17 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core

On Mon, Jun 4, 2018 at 3:06 AM, Burton, Ross <ross.burton@intel.com> wrote:
> So why isn't the inherit gettext sufficient?

I'm not sure. Here is the error I see when compiling for RISC-V before
this patch:

ERROR: atk-2.28.1-r0 do_configure: meson failed
ERROR: atk-2.28.1-r0 do_configure: Function failed: do_configure (log
file is located at
/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/temp/log.do_configure.206408)
ERROR: Logfile of failure stored in:
/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/temp/log.do_configure.206408
Log data follows:
| DEBUG: Executing shell function do_configure
| The Meson build system
| Version: 0.46.1
| Source dir: /scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/atk-2.28.1
| Build dir: /scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/build
| Build type: cross build
| Project name: atk
| Native C compiler: gcc (gcc 7.3.0 "gcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0")
| Appending CFLAGS from environment: ' -O2 -pipe -g
-feliminate-unused-debug-types
-fdebug-prefix-map=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0=/usr/src/debug/atk/2.28.1-r0
-fdebug-prefix-map=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot=
-fdebug-prefix-map=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot-native=
'
| Appending LDFLAGS from environment: '-Wl,-O1 -Wl,--hash-style=gnu
-Wl,--as-needed'
| Cross C compiler: riscv64-oe-linux-gcc
--sysroot=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot
(gcc 7.3.0)
| Host machine cpu family: riscv64
| Host machine cpu: riscv64
| Target machine cpu family: riscv64
| Target machine cpu: riscv64
| Build machine cpu family: x86_64
| Build machine cpu: x86_64
| Compiler for C supports arguments -fvisibility=hidden: YES
| WARNING: -Wl,-Bsymbolic looks like a linker argument, but
has_argument and other similar methods only support checking compiler
arguments. Using them to check linker arguments are never supported,
and results are likely to be wrong regardless of the compiler you are
using. has_link_argument or other similar method can be used instead.
| Compiler for C supports arguments -Wl,-Bsymbolic: YES
| WARNING: -Wl,-z,relro looks like a linker argument, but has_argument
and other similar methods only support checking compiler arguments.
Using them to check linker arguments are never supported, and results
are likely to be wrong regardless of the compiler you are using.
has_link_argument or other similar method can be used instead.
| Compiler for C supports arguments -Wl,-z,relro: YES
| WARNING: -Wl,-z,now looks like a linker argument, but has_argument
and other similar methods only support checking compiler arguments.
Using them to check linker arguments are never supported, and results
are likely to be wrong regardless of the compiler you are using.
has_link_argument or other similar method can be used instead.
| Compiler for C supports arguments -Wl,-z,now: YES
| Checking for function "bind_textdomain_codeset": YES
| Cross dependency gobject-2.0 found: YES 2.56.1
| Configuring atk.pc using configuration
| Configuring config.h using configuration
| Configuring atkversion.h using configuration
| Native dependency glib-2.0 found: YES 2.56.1
| Native dependency gobject-introspection-1.0 found: YES 1.56.1
|
| po/meson.build:3:5: ERROR:  Can not do gettext because xgettext is
not installed.
|
| A full log can be found at
/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/build/meson-logs/meson-log.txt
| Build started at 2018-06-04T17:13:59.406076
| Main binary: /scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot-native/usr/bin/python3-native/python3
| Python system: Linux
| The Meson build system
| Version: 0.46.1
| Source dir: /scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/atk-2.28.1
| Build dir: /scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/build
| Build type: cross build
| Project name: atk
| Sanity testing C compiler: gcc
| Is cross compiler: False.
| Sanity check compiler command line: gcc
/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/build/meson-private/sanitycheckc.c
-o /scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/build/meson-private/sanitycheckc.exe
| Sanity check compile stdout:
|
| -----
| Sanity check compile stderr:
|
| -----
| Running test binary command:
/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/build/meson-private/sanitycheckc.exe
| Sanity testing C compiler: riscv64-oe-linux-gcc
--sysroot=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot
| Is cross compiler: True.
| Sanity check compiler command line: riscv64-oe-linux-gcc
--sysroot=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot
--sysroot=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot
-O2 -pipe -g -feliminate-unused-debug-types
-fdebug-prefix-map=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0=/usr/src/debug/atk/2.28.1-r0
-fdebug-prefix-map=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot=
-fdebug-prefix-map=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot-native=
-c /scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/build/meson-private/sanitycheckc.c
-o /scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/build/meson-private/sanitycheckc_cross.exe
| Sanity check compile stdout:
|
| -----
| Sanity check compile stderr:
|
| -----
| Native C compiler: gcc (gcc 7.3.0 "gcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0")
| Appending CFLAGS from environment: ' -O2 -pipe -g
-feliminate-unused-debug-types
-fdebug-prefix-map=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0=/usr/src/debug/atk/2.28.1-r0
-fdebug-prefix-map=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot=
-fdebug-prefix-map=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot-native=
'
| Appending LDFLAGS from environment: '-Wl,-O1 -Wl,--hash-style=gnu
-Wl,--as-needed'
| Cross C compiler: riscv64-oe-linux-gcc
--sysroot=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot
(gcc 7.3.0)
| Host machine cpu family: riscv64
| Host machine cpu: riscv64
| Target machine cpu family: riscv64
| Target machine cpu: riscv64
| Build machine cpu family: x86_64
| Build machine cpu: x86_64
| Running compile:
| Working directory:  /tmp/tmp2xeyif9n
| Command line:  riscv64-oe-linux-gcc
--sysroot=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot
/tmp/tmp2xeyif9n/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o
/tmp/tmp2xeyif9n/output.obj
--sysroot=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot
-O2 -g -feliminate-unused-debug-types
-fdebug-prefix-map=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0=/usr/src/debug/atk/2.28.1-r0
-fdebug-prefix-map=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot=
-fdebug-prefix-map=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot-native=
-O0 -fvisibility=hidden
|
| Code:
|  int i;
|
| Compiler stdout:
|
| Compiler stderr:
|
| Compiler for C supports arguments -fvisibility=hidden: YES
| WARNING: -Wl,-Bsymbolic looks like a linker argument, but
has_argument and other similar methods only support checking compiler
arguments. Using them to check linker arguments are never supported,
and results are likely to be wrong regardless of the compiler you are
using. has_link_argument or other similar method can be used instead.
| Running compile:
| Working directory:  /tmp/tmpegyr805m
| Command line:  riscv64-oe-linux-gcc
--sysroot=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot
/tmp/tmpegyr805m/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o
/tmp/tmpegyr805m/output.obj
--sysroot=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot
-O2 -g -feliminate-unused-debug-types
-fdebug-prefix-map=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0=/usr/src/debug/atk/2.28.1-r0
-fdebug-prefix-map=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot=
-fdebug-prefix-map=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot-native=
-O0 -Wl,-Bsymbolic
|
| Code:
|  int i;
|
| Compiler stdout:
|
| Compiler stderr:
|
| Compiler for C supports arguments -Wl,-Bsymbolic: YES
| WARNING: -Wl,-z,relro looks like a linker argument, but has_argument
and other similar methods only support checking compiler arguments.
Using them to check linker arguments are never supported, and results
are likely to be wrong regardless of the compiler you are using.
has_link_argument or other similar method can be used instead.
| Running compile:
| Working directory:  /tmp/tmpfywmkhvm
| Command line:  riscv64-oe-linux-gcc
--sysroot=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot
/tmp/tmpfywmkhvm/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o
/tmp/tmpfywmkhvm/output.obj
--sysroot=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot
-O2 -g -feliminate-unused-debug-types
-fdebug-prefix-map=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0=/usr/src/debug/atk/2.28.1-r0
-fdebug-prefix-map=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot=
-fdebug-prefix-map=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot-native=
-O0 -Wl,-z,relro
|
| Code:
|  int i;
|
| Compiler stdout:
|
| Compiler stderr:
|
| Compiler for C supports arguments -Wl,-z,relro: YES
| WARNING: -Wl,-z,now looks like a linker argument, but has_argument
and other similar methods only support checking compiler arguments.
Using them to check linker arguments are never supported, and results
are likely to be wrong regardless of the compiler you are using.
has_link_argument or other similar method can be used instead.
| Running compile:
| Working directory:  /tmp/tmpx2j_agle
| Command line:  riscv64-oe-linux-gcc
--sysroot=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot
/tmp/tmpx2j_agle/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -c -o
/tmp/tmpx2j_agle/output.obj
--sysroot=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot
-O2 -g -feliminate-unused-debug-types
-fdebug-prefix-map=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0=/usr/src/debug/atk/2.28.1-r0
-fdebug-prefix-map=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot=
-fdebug-prefix-map=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot-native=
-O0 -Wl,-z,now
|
| Code:
|  int i;
|
| Compiler stdout:
|
| Compiler stderr:
|
| Compiler for C supports arguments -Wl,-z,now: YES
| Running compile:
| Working directory:  /tmp/tmph8r3gbyu
| Command line:  riscv64-oe-linux-gcc
--sysroot=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot
/tmp/tmph8r3gbyu/testfile.c -pipe -D_FILE_OFFSET_BITS=64 -o
/tmp/tmph8r3gbyu/output.exe
--sysroot=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot
-O2 -g -feliminate-unused-debug-types
-fdebug-prefix-map=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0=/usr/src/debug/atk/2.28.1-r0
-fdebug-prefix-map=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot=
-fdebug-prefix-map=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot-native=
--sysroot=/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot
-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -O0 -std=c99
|
| Code:
|
|         #define bind_textdomain_codeset
meson_disable_define_of_bind_textdomain_codeset
|
|         #include <limits.h>
|         #undef bind_textdomain_codeset
|
|         #ifdef __cplusplus
|         extern "C"
|         #endif
|         char bind_textdomain_codeset ();
|
|         #if defined __stub_bind_textdomain_codeset || defined
__stub___bind_textdomain_codeset
|         fail fail fail this function is not going to work
|         #endif
|
|         int main () {
|           return bind_textdomain_codeset ();
|         }
| Compiler stdout:
|
| Compiler stderr:
|
| Checking for function "bind_textdomain_codeset": YES
| Determining dependency 'gobject-2.0' with pkg-config executable
'/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot-native/usr/bin/pkg-config'
| Cross dependency gobject-2.0 found: YES 2.56.1
| Configuring atk.pc using configuration
| Configuring config.h using configuration
| Configuring atkversion.h using configuration
| Determining dependency 'glib-2.0' with pkg-config executable
'/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot-native/usr/bin/pkg-config'
| Native dependency glib-2.0 found: YES 2.56.1
| Determining dependency 'gobject-introspection-1.0' with pkg-config
executable '/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/recipe-sysroot-native/usr/bin/pkg-config'
| Native dependency gobject-introspection-1.0 found: YES 1.56.1
| Got pkgconfig variable g_ir_scanner : /usr/bin/g-ir-scanner-wrapper
| Got pkgconfig variable g_ir_compiler : /usr/bin/g-ir-compiler-wrapper
| Got pkgconfig variable girdir :
| Got pkgconfig variable girdir :
| Adding test "testdocument".
| Adding test "testrole".
| Adding test "testrelation".
| Adding test "teststateset".
| Adding test "testvalue".
|
| po/meson.build:3:5: ERROR:  Can not do gettext because xgettext is
not installed.
| ERROR: meson failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at
/scratch/alistair/yocto/oe-master/build/tmp-glibc/work/riscv64-oe-linux/atk/2.28.1-r0/temp/log.do_configure.206408)
ERROR: Task (/scratch/alistair/yocto/oe-master/meta/recipes-support/atk/atk_2.28.1.bb:do_configure)
failed with exit code '1'


Alistair

>
> Ross
>
> On 1 June 2018 at 23:14, Alistair Francis <alistair.francis@wdc.com> wrote:
>> atk requires xgettext to compile, specify it as a dependency.
>>
>> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
>> ---
>>  meta/recipes-support/atk/atk_2.28.1.bb | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/meta/recipes-support/atk/atk_2.28.1.bb b/meta/recipes-support/atk/atk_2.28.1.bb
>> index 657c69d576..1198005804 100644
>> --- a/meta/recipes-support/atk/atk_2.28.1.bb
>> +++ b/meta/recipes-support/atk/atk_2.28.1.bb
>> @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
>>                      file://atk/atkutil.c;endline=18;md5=6fd31cd2fdc9b30f619ca8d819bc12d3 \
>>                      file://atk/atk.h;endline=18;md5=fcd7710187e0eae485e356c30d1b0c3b"
>>
>> -DEPENDS = "glib-2.0"
>> +DEPENDS = "glib-2.0 gettext-native"
>>
>>  GNOMEBASEBUILDCLASS = "meson"
>>  inherit gnomebase gtk-doc gettext upstream-version-is-even gobject-introspection
>> --
>> 2.17.0
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


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

* Re: [PATCH 2/2] [meta] atk: Specify gettext-native dependency
  2018-06-04 17:17     ` Alistair Francis
@ 2018-06-04 17:20       ` Alexander Kanavin
  2018-06-04 18:46         ` Alistair Francis
  0 siblings, 1 reply; 16+ messages in thread
From: Alexander Kanavin @ 2018-06-04 17:20 UTC (permalink / raw)
  To: Alistair Francis, Burton, Ross; +Cc: OE-core

On 06/04/2018 08:17 PM, Alistair Francis wrote:
> On Mon, Jun 4, 2018 at 3:06 AM, Burton, Ross <ross.burton@intel.com> wrote:
>> So why isn't the inherit gettext sufficient?
> 
> I'm not sure. Here is the error I see when compiling for RISC-V before
> this patch:

So is the error specific to risc-v? You should dig deeper in that 
direction then.

Alex


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

* Re: [PATCH 2/2] [meta] atk: Specify gettext-native dependency
  2018-06-04 17:20       ` Alexander Kanavin
@ 2018-06-04 18:46         ` Alistair Francis
  2018-06-04 23:18           ` Burton, Ross
  0 siblings, 1 reply; 16+ messages in thread
From: Alistair Francis @ 2018-06-04 18:46 UTC (permalink / raw)
  To: Alexander Kanavin; +Cc: OE-core

On Mon, Jun 4, 2018 at 10:20 AM, Alexander Kanavin
<alexander.kanavin@linux.intel.com> wrote:
> On 06/04/2018 08:17 PM, Alistair Francis wrote:
>>
>> On Mon, Jun 4, 2018 at 3:06 AM, Burton, Ross <ross.burton@intel.com>
>> wrote:
>>>
>>> So why isn't the inherit gettext sufficient?
>>
>>
>> I'm not sure. Here is the error I see when compiling for RISC-V before
>> this patch:
>
>
> So is the error specific to risc-v? You should dig deeper in that direction
> then.

Ok, it looks like the line: if d.getVar('INHIBIT_DEFAULT_DEPS') and
not oe.utils.inherits(d, 'cross-canadian'): is evaluating as true in
gettext.bbclass so we don't depend on gettext-native.

Do I need to ensure cross-canadian is set for RISC-V builds then?

Alistair

>
> Alex


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

* Re: [PATCH 2/2] [meta] atk: Specify gettext-native dependency
  2018-06-04 18:46         ` Alistair Francis
@ 2018-06-04 23:18           ` Burton, Ross
  2018-06-15 17:40             ` Alistair Francis
  0 siblings, 1 reply; 16+ messages in thread
From: Burton, Ross @ 2018-06-04 23:18 UTC (permalink / raw)
  To: Alistair Francis; +Cc: OE-core

That implies that INHIBIT_DEFAULT_DEPS is also evaluating to true,
which it shouldn't be in ATK.

I'd definitely be checking if that is the case, and if you can
replicate the failure with e.g. qemuarm.

Ross

On 4 June 2018 at 19:46, Alistair Francis <alistair23@gmail.com> wrote:
> On Mon, Jun 4, 2018 at 10:20 AM, Alexander Kanavin
> <alexander.kanavin@linux.intel.com> wrote:
>> On 06/04/2018 08:17 PM, Alistair Francis wrote:
>>>
>>> On Mon, Jun 4, 2018 at 3:06 AM, Burton, Ross <ross.burton@intel.com>
>>> wrote:
>>>>
>>>> So why isn't the inherit gettext sufficient?
>>>
>>>
>>> I'm not sure. Here is the error I see when compiling for RISC-V before
>>> this patch:
>>
>>
>> So is the error specific to risc-v? You should dig deeper in that direction
>> then.
>
> Ok, it looks like the line: if d.getVar('INHIBIT_DEFAULT_DEPS') and
> not oe.utils.inherits(d, 'cross-canadian'): is evaluating as true in
> gettext.bbclass so we don't depend on gettext-native.
>
> Do I need to ensure cross-canadian is set for RISC-V builds then?
>
> Alistair
>
>>
>> Alex


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

* Re: [PATCH 2/2] [meta] atk: Specify gettext-native dependency
  2018-06-04 23:18           ` Burton, Ross
@ 2018-06-15 17:40             ` Alistair Francis
  2018-06-30 18:43               ` Marko Lindqvist
  0 siblings, 1 reply; 16+ messages in thread
From: Alistair Francis @ 2018-06-15 17:40 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core

On Mon, Jun 4, 2018 at 4:18 PM, Burton, Ross <ross.burton@intel.com> wrote:
> That implies that INHIBIT_DEFAULT_DEPS is also evaluating to true,
> which it shouldn't be in ATK.
>
> I'd definitely be checking if that is the case, and if you can
> replicate the failure with e.g. qemuarm.

I can't replicate it with qemuarm and checking with bitbake -e I can't
see anywhere that the variable is set. Any ideas on what to try to
figure out how it is set?

Alistair

>
> Ross
>
> On 4 June 2018 at 19:46, Alistair Francis <alistair23@gmail.com> wrote:
>> On Mon, Jun 4, 2018 at 10:20 AM, Alexander Kanavin
>> <alexander.kanavin@linux.intel.com> wrote:
>>> On 06/04/2018 08:17 PM, Alistair Francis wrote:
>>>>
>>>> On Mon, Jun 4, 2018 at 3:06 AM, Burton, Ross <ross.burton@intel.com>
>>>> wrote:
>>>>>
>>>>> So why isn't the inherit gettext sufficient?
>>>>
>>>>
>>>> I'm not sure. Here is the error I see when compiling for RISC-V before
>>>> this patch:
>>>
>>>
>>> So is the error specific to risc-v? You should dig deeper in that direction
>>> then.
>>
>> Ok, it looks like the line: if d.getVar('INHIBIT_DEFAULT_DEPS') and
>> not oe.utils.inherits(d, 'cross-canadian'): is evaluating as true in
>> gettext.bbclass so we don't depend on gettext-native.
>>
>> Do I need to ensure cross-canadian is set for RISC-V builds then?
>>
>> Alistair
>>
>>>
>>> Alex


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

* Re: [PATCH 2/2] [meta] atk: Specify gettext-native dependency
  2018-06-15 17:40             ` Alistair Francis
@ 2018-06-30 18:43               ` Marko Lindqvist
  2018-07-01 18:03                 ` Marko Lindqvist
  0 siblings, 1 reply; 16+ messages in thread
From: Marko Lindqvist @ 2018-06-30 18:43 UTC (permalink / raw)
  To: Alistair Francis; +Cc: OE-core

 This error happens to me with both qemux86 and qemuarm64. Haven't
tested any others yet.


 - ML

On 15 June 2018 at 20:40, Alistair Francis <alistair23@gmail.com> wrote:
> On Mon, Jun 4, 2018 at 4:18 PM, Burton, Ross <ross.burton@intel.com> wrote:
>> That implies that INHIBIT_DEFAULT_DEPS is also evaluating to true,
>> which it shouldn't be in ATK.
>>
>> I'd definitely be checking if that is the case, and if you can
>> replicate the failure with e.g. qemuarm.
>
> I can't replicate it with qemuarm and checking with bitbake -e I can't
> see anywhere that the variable is set. Any ideas on what to try to
> figure out how it is set?
>
> Alistair
>
>>
>> Ross
>>
>> On 4 June 2018 at 19:46, Alistair Francis <alistair23@gmail.com> wrote:
>>> On Mon, Jun 4, 2018 at 10:20 AM, Alexander Kanavin
>>> <alexander.kanavin@linux.intel.com> wrote:
>>>> On 06/04/2018 08:17 PM, Alistair Francis wrote:
>>>>>
>>>>> On Mon, Jun 4, 2018 at 3:06 AM, Burton, Ross <ross.burton@intel.com>
>>>>> wrote:
>>>>>>
>>>>>> So why isn't the inherit gettext sufficient?
>>>>>
>>>>>
>>>>> I'm not sure. Here is the error I see when compiling for RISC-V before
>>>>> this patch:
>>>>
>>>>
>>>> So is the error specific to risc-v? You should dig deeper in that direction
>>>> then.
>>>
>>> Ok, it looks like the line: if d.getVar('INHIBIT_DEFAULT_DEPS') and
>>> not oe.utils.inherits(d, 'cross-canadian'): is evaluating as true in
>>> gettext.bbclass so we don't depend on gettext-native.
>>>
>>> Do I need to ensure cross-canadian is set for RISC-V builds then?
>>>
>>> Alistair
>>>
>>>>
>>>> Alex
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


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

* Re: [PATCH 2/2] [meta] atk: Specify gettext-native dependency
  2018-06-30 18:43               ` Marko Lindqvist
@ 2018-07-01 18:03                 ` Marko Lindqvist
  2018-07-01 18:20                   ` Marko Lindqvist
  0 siblings, 1 reply; 16+ messages in thread
From: Marko Lindqvist @ 2018-07-01 18:03 UTC (permalink / raw)
  To: Alistair Francis; +Cc: OE-core

 I think the problem is not with INHIBIT_DEFAULT_DEPS, but with
USE_NLS on the next couple of lines. With USE_NLS disabled, the
automatic dependency is gettext-minimal-native (not providing
xgettext, I think), and not gettext-native.

 1) tmp-glibc/work/aarch64-oe-linux/atk/2.28.1-r0/recipe-sysroot-native/sysroot-providers/gettext-minimal-native
is there
 2) Adding gettext-minimal-native as atk dependency does not fix the
issue like adding gettext-native dependency does


 - ML


On 30 June 2018 at 21:43, Marko Lindqvist <cazfi74@gmail.com> wrote:
>  This error happens to me with both qemux86 and qemuarm64. Haven't
> tested any others yet.
>
>
>  - ML
>
> On 15 June 2018 at 20:40, Alistair Francis <alistair23@gmail.com> wrote:
>> On Mon, Jun 4, 2018 at 4:18 PM, Burton, Ross <ross.burton@intel.com> wrote:
>>> That implies that INHIBIT_DEFAULT_DEPS is also evaluating to true,
>>> which it shouldn't be in ATK.
>>>
>>> I'd definitely be checking if that is the case, and if you can
>>> replicate the failure with e.g. qemuarm.
>>
>> I can't replicate it with qemuarm and checking with bitbake -e I can't
>> see anywhere that the variable is set. Any ideas on what to try to
>> figure out how it is set?
>>
>> Alistair
>>
>>>
>>> Ross
>>>
>>> On 4 June 2018 at 19:46, Alistair Francis <alistair23@gmail.com> wrote:
>>>> On Mon, Jun 4, 2018 at 10:20 AM, Alexander Kanavin
>>>> <alexander.kanavin@linux.intel.com> wrote:
>>>>> On 06/04/2018 08:17 PM, Alistair Francis wrote:
>>>>>>
>>>>>> On Mon, Jun 4, 2018 at 3:06 AM, Burton, Ross <ross.burton@intel.com>
>>>>>> wrote:
>>>>>>>
>>>>>>> So why isn't the inherit gettext sufficient?
>>>>>>
>>>>>>
>>>>>> I'm not sure. Here is the error I see when compiling for RISC-V before
>>>>>> this patch:
>>>>>
>>>>>
>>>>> So is the error specific to risc-v? You should dig deeper in that direction
>>>>> then.
>>>>
>>>> Ok, it looks like the line: if d.getVar('INHIBIT_DEFAULT_DEPS') and
>>>> not oe.utils.inherits(d, 'cross-canadian'): is evaluating as true in
>>>> gettext.bbclass so we don't depend on gettext-native.
>>>>
>>>> Do I need to ensure cross-canadian is set for RISC-V builds then?
>>>>
>>>> Alistair
>>>>
>>>>>
>>>>> Alex
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core


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

* Re: [PATCH 2/2] [meta] atk: Specify gettext-native dependency
  2018-07-01 18:03                 ` Marko Lindqvist
@ 2018-07-01 18:20                   ` Marko Lindqvist
  2018-07-03 14:37                     ` Burton, Ross
  0 siblings, 1 reply; 16+ messages in thread
From: Marko Lindqvist @ 2018-07-01 18:20 UTC (permalink / raw)
  To: Alistair Francis; +Cc: OE-core

 3) Adding 'USE_NLS = "yes"' to atk recipe fixes the problem for me.


 - ML


On 1 July 2018 at 21:03, Marko Lindqvist <cazfi74@gmail.com> wrote:
>  I think the problem is not with INHIBIT_DEFAULT_DEPS, but with
> USE_NLS on the next couple of lines. With USE_NLS disabled, the
> automatic dependency is gettext-minimal-native (not providing
> xgettext, I think), and not gettext-native.
>
>  1) tmp-glibc/work/aarch64-oe-linux/atk/2.28.1-r0/recipe-sysroot-native/sysroot-providers/gettext-minimal-native
> is there
>  2) Adding gettext-minimal-native as atk dependency does not fix the
> issue like adding gettext-native dependency does
>
>
>  - ML
>
>
> On 30 June 2018 at 21:43, Marko Lindqvist <cazfi74@gmail.com> wrote:
>>  This error happens to me with both qemux86 and qemuarm64. Haven't
>> tested any others yet.
>>
>>
>>  - ML
>>
>> On 15 June 2018 at 20:40, Alistair Francis <alistair23@gmail.com> wrote:
>>> On Mon, Jun 4, 2018 at 4:18 PM, Burton, Ross <ross.burton@intel.com> wrote:
>>>> That implies that INHIBIT_DEFAULT_DEPS is also evaluating to true,
>>>> which it shouldn't be in ATK.
>>>>
>>>> I'd definitely be checking if that is the case, and if you can
>>>> replicate the failure with e.g. qemuarm.
>>>
>>> I can't replicate it with qemuarm and checking with bitbake -e I can't
>>> see anywhere that the variable is set. Any ideas on what to try to
>>> figure out how it is set?
>>>
>>> Alistair
>>>
>>>>
>>>> Ross
>>>>
>>>> On 4 June 2018 at 19:46, Alistair Francis <alistair23@gmail.com> wrote:
>>>>> On Mon, Jun 4, 2018 at 10:20 AM, Alexander Kanavin
>>>>> <alexander.kanavin@linux.intel.com> wrote:
>>>>>> On 06/04/2018 08:17 PM, Alistair Francis wrote:
>>>>>>>
>>>>>>> On Mon, Jun 4, 2018 at 3:06 AM, Burton, Ross <ross.burton@intel.com>
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> So why isn't the inherit gettext sufficient?
>>>>>>>
>>>>>>>
>>>>>>> I'm not sure. Here is the error I see when compiling for RISC-V before
>>>>>>> this patch:
>>>>>>
>>>>>>
>>>>>> So is the error specific to risc-v? You should dig deeper in that direction
>>>>>> then.
>>>>>
>>>>> Ok, it looks like the line: if d.getVar('INHIBIT_DEFAULT_DEPS') and
>>>>> not oe.utils.inherits(d, 'cross-canadian'): is evaluating as true in
>>>>> gettext.bbclass so we don't depend on gettext-native.
>>>>>
>>>>> Do I need to ensure cross-canadian is set for RISC-V builds then?
>>>>>
>>>>> Alistair
>>>>>
>>>>>>
>>>>>> Alex
>>> --
>>> _______________________________________________
>>> Openembedded-core mailing list
>>> Openembedded-core@lists.openembedded.org
>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core


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

* Re: [PATCH 2/2] [meta] atk: Specify gettext-native dependency
  2018-07-01 18:20                   ` Marko Lindqvist
@ 2018-07-03 14:37                     ` Burton, Ross
  2018-07-16  7:56                       ` Marko Lindqvist
  0 siblings, 1 reply; 16+ messages in thread
From: Burton, Ross @ 2018-07-03 14:37 UTC (permalink / raw)
  To: Marko Lindqvist; +Cc: OE-core

What was missing all along is that we're talking specifically about
atk-native here, which disables NLS explicitly.  As Meson doesn't yet
expose a way to turn off i18n we need to stop that.  For now, adding
USE_NLS=yes is a suitable workaround (and what glib already does).
Marko, can you send this patch?

Arguably, meson.bbclass could do this, but that would be forcing a
gettext dependency on everything using Meson.

Ross



On 1 July 2018 at 19:20, Marko Lindqvist <cazfi74@gmail.com> wrote:
>  3) Adding 'USE_NLS = "yes"' to atk recipe fixes the problem for me.
>
>
>  - ML
>
>
> On 1 July 2018 at 21:03, Marko Lindqvist <cazfi74@gmail.com> wrote:
>>  I think the problem is not with INHIBIT_DEFAULT_DEPS, but with
>> USE_NLS on the next couple of lines. With USE_NLS disabled, the
>> automatic dependency is gettext-minimal-native (not providing
>> xgettext, I think), and not gettext-native.
>>
>>  1) tmp-glibc/work/aarch64-oe-linux/atk/2.28.1-r0/recipe-sysroot-native/sysroot-providers/gettext-minimal-native
>> is there
>>  2) Adding gettext-minimal-native as atk dependency does not fix the
>> issue like adding gettext-native dependency does
>>
>>
>>  - ML
>>
>>
>> On 30 June 2018 at 21:43, Marko Lindqvist <cazfi74@gmail.com> wrote:
>>>  This error happens to me with both qemux86 and qemuarm64. Haven't
>>> tested any others yet.
>>>
>>>
>>>  - ML
>>>
>>> On 15 June 2018 at 20:40, Alistair Francis <alistair23@gmail.com> wrote:
>>>> On Mon, Jun 4, 2018 at 4:18 PM, Burton, Ross <ross.burton@intel.com> wrote:
>>>>> That implies that INHIBIT_DEFAULT_DEPS is also evaluating to true,
>>>>> which it shouldn't be in ATK.
>>>>>
>>>>> I'd definitely be checking if that is the case, and if you can
>>>>> replicate the failure with e.g. qemuarm.
>>>>
>>>> I can't replicate it with qemuarm and checking with bitbake -e I can't
>>>> see anywhere that the variable is set. Any ideas on what to try to
>>>> figure out how it is set?
>>>>
>>>> Alistair
>>>>
>>>>>
>>>>> Ross
>>>>>
>>>>> On 4 June 2018 at 19:46, Alistair Francis <alistair23@gmail.com> wrote:
>>>>>> On Mon, Jun 4, 2018 at 10:20 AM, Alexander Kanavin
>>>>>> <alexander.kanavin@linux.intel.com> wrote:
>>>>>>> On 06/04/2018 08:17 PM, Alistair Francis wrote:
>>>>>>>>
>>>>>>>> On Mon, Jun 4, 2018 at 3:06 AM, Burton, Ross <ross.burton@intel.com>
>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>> So why isn't the inherit gettext sufficient?
>>>>>>>>
>>>>>>>>
>>>>>>>> I'm not sure. Here is the error I see when compiling for RISC-V before
>>>>>>>> this patch:
>>>>>>>
>>>>>>>
>>>>>>> So is the error specific to risc-v? You should dig deeper in that direction
>>>>>>> then.
>>>>>>
>>>>>> Ok, it looks like the line: if d.getVar('INHIBIT_DEFAULT_DEPS') and
>>>>>> not oe.utils.inherits(d, 'cross-canadian'): is evaluating as true in
>>>>>> gettext.bbclass so we don't depend on gettext-native.
>>>>>>
>>>>>> Do I need to ensure cross-canadian is set for RISC-V builds then?
>>>>>>
>>>>>> Alistair
>>>>>>
>>>>>>>
>>>>>>> Alex
>>>> --
>>>> _______________________________________________
>>>> Openembedded-core mailing list
>>>> Openembedded-core@lists.openembedded.org
>>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core


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

* Re: [PATCH 2/2] [meta] atk: Specify gettext-native dependency
  2018-07-03 14:37                     ` Burton, Ross
@ 2018-07-16  7:56                       ` Marko Lindqvist
  2018-07-16 15:30                         ` Burton, Ross
  0 siblings, 1 reply; 16+ messages in thread
From: Marko Lindqvist @ 2018-07-16  7:56 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core

 Sorry, I'm on vacation, so it would be good if someone else can do the patch.


 - ML


On 3 July 2018 at 17:37, Burton, Ross <ross.burton@intel.com> wrote:
> What was missing all along is that we're talking specifically about
> atk-native here, which disables NLS explicitly.  As Meson doesn't yet
> expose a way to turn off i18n we need to stop that.  For now, adding
> USE_NLS=yes is a suitable workaround (and what glib already does).
> Marko, can you send this patch?
>
> Arguably, meson.bbclass could do this, but that would be forcing a
> gettext dependency on everything using Meson.
>
> Ross
>
>
>
> On 1 July 2018 at 19:20, Marko Lindqvist <cazfi74@gmail.com> wrote:
>>  3) Adding 'USE_NLS = "yes"' to atk recipe fixes the problem for me.
>>
>>
>>  - ML
>>
>>
>> On 1 July 2018 at 21:03, Marko Lindqvist <cazfi74@gmail.com> wrote:
>>>  I think the problem is not with INHIBIT_DEFAULT_DEPS, but with
>>> USE_NLS on the next couple of lines. With USE_NLS disabled, the
>>> automatic dependency is gettext-minimal-native (not providing
>>> xgettext, I think), and not gettext-native.
>>>
>>>  1) tmp-glibc/work/aarch64-oe-linux/atk/2.28.1-r0/recipe-sysroot-native/sysroot-providers/gettext-minimal-native
>>> is there
>>>  2) Adding gettext-minimal-native as atk dependency does not fix the
>>> issue like adding gettext-native dependency does
>>>
>>>
>>>  - ML
>>>
>>>
>>> On 30 June 2018 at 21:43, Marko Lindqvist <cazfi74@gmail.com> wrote:
>>>>  This error happens to me with both qemux86 and qemuarm64. Haven't
>>>> tested any others yet.
>>>>
>>>>
>>>>  - ML
>>>>
>>>> On 15 June 2018 at 20:40, Alistair Francis <alistair23@gmail.com> wrote:
>>>>> On Mon, Jun 4, 2018 at 4:18 PM, Burton, Ross <ross.burton@intel.com> wrote:
>>>>>> That implies that INHIBIT_DEFAULT_DEPS is also evaluating to true,
>>>>>> which it shouldn't be in ATK.
>>>>>>
>>>>>> I'd definitely be checking if that is the case, and if you can
>>>>>> replicate the failure with e.g. qemuarm.
>>>>>
>>>>> I can't replicate it with qemuarm and checking with bitbake -e I can't
>>>>> see anywhere that the variable is set. Any ideas on what to try to
>>>>> figure out how it is set?
>>>>>
>>>>> Alistair
>>>>>
>>>>>>
>>>>>> Ross
>>>>>>
>>>>>> On 4 June 2018 at 19:46, Alistair Francis <alistair23@gmail.com> wrote:
>>>>>>> On Mon, Jun 4, 2018 at 10:20 AM, Alexander Kanavin
>>>>>>> <alexander.kanavin@linux.intel.com> wrote:
>>>>>>>> On 06/04/2018 08:17 PM, Alistair Francis wrote:
>>>>>>>>>
>>>>>>>>> On Mon, Jun 4, 2018 at 3:06 AM, Burton, Ross <ross.burton@intel.com>
>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>> So why isn't the inherit gettext sufficient?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> I'm not sure. Here is the error I see when compiling for RISC-V before
>>>>>>>>> this patch:
>>>>>>>>
>>>>>>>>
>>>>>>>> So is the error specific to risc-v? You should dig deeper in that direction
>>>>>>>> then.
>>>>>>>
>>>>>>> Ok, it looks like the line: if d.getVar('INHIBIT_DEFAULT_DEPS') and
>>>>>>> not oe.utils.inherits(d, 'cross-canadian'): is evaluating as true in
>>>>>>> gettext.bbclass so we don't depend on gettext-native.
>>>>>>>
>>>>>>> Do I need to ensure cross-canadian is set for RISC-V builds then?
>>>>>>>
>>>>>>> Alistair
>>>>>>>
>>>>>>>>
>>>>>>>> Alex
>>>>> --
>>>>> _______________________________________________
>>>>> Openembedded-core mailing list
>>>>> Openembedded-core@lists.openembedded.org
>>>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core


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

* Re: [PATCH 2/2] [meta] atk: Specify gettext-native dependency
  2018-07-16  7:56                       ` Marko Lindqvist
@ 2018-07-16 15:30                         ` Burton, Ross
  0 siblings, 0 replies; 16+ messages in thread
From: Burton, Ross @ 2018-07-16 15:30 UTC (permalink / raw)
  To: Marko Lindqvist; +Cc: OE-core

Sent.

Ross

On 16 July 2018 at 08:56, Marko Lindqvist <cazfi74@gmail.com> wrote:
>  Sorry, I'm on vacation, so it would be good if someone else can do the patch.
>
>
>  - ML
>
>
> On 3 July 2018 at 17:37, Burton, Ross <ross.burton@intel.com> wrote:
>> What was missing all along is that we're talking specifically about
>> atk-native here, which disables NLS explicitly.  As Meson doesn't yet
>> expose a way to turn off i18n we need to stop that.  For now, adding
>> USE_NLS=yes is a suitable workaround (and what glib already does).
>> Marko, can you send this patch?
>>
>> Arguably, meson.bbclass could do this, but that would be forcing a
>> gettext dependency on everything using Meson.
>>
>> Ross
>>
>>
>>
>> On 1 July 2018 at 19:20, Marko Lindqvist <cazfi74@gmail.com> wrote:
>>>  3) Adding 'USE_NLS = "yes"' to atk recipe fixes the problem for me.
>>>
>>>
>>>  - ML
>>>
>>>
>>> On 1 July 2018 at 21:03, Marko Lindqvist <cazfi74@gmail.com> wrote:
>>>>  I think the problem is not with INHIBIT_DEFAULT_DEPS, but with
>>>> USE_NLS on the next couple of lines. With USE_NLS disabled, the
>>>> automatic dependency is gettext-minimal-native (not providing
>>>> xgettext, I think), and not gettext-native.
>>>>
>>>>  1) tmp-glibc/work/aarch64-oe-linux/atk/2.28.1-r0/recipe-sysroot-native/sysroot-providers/gettext-minimal-native
>>>> is there
>>>>  2) Adding gettext-minimal-native as atk dependency does not fix the
>>>> issue like adding gettext-native dependency does
>>>>
>>>>
>>>>  - ML
>>>>
>>>>
>>>> On 30 June 2018 at 21:43, Marko Lindqvist <cazfi74@gmail.com> wrote:
>>>>>  This error happens to me with both qemux86 and qemuarm64. Haven't
>>>>> tested any others yet.
>>>>>
>>>>>
>>>>>  - ML
>>>>>
>>>>> On 15 June 2018 at 20:40, Alistair Francis <alistair23@gmail.com> wrote:
>>>>>> On Mon, Jun 4, 2018 at 4:18 PM, Burton, Ross <ross.burton@intel.com> wrote:
>>>>>>> That implies that INHIBIT_DEFAULT_DEPS is also evaluating to true,
>>>>>>> which it shouldn't be in ATK.
>>>>>>>
>>>>>>> I'd definitely be checking if that is the case, and if you can
>>>>>>> replicate the failure with e.g. qemuarm.
>>>>>>
>>>>>> I can't replicate it with qemuarm and checking with bitbake -e I can't
>>>>>> see anywhere that the variable is set. Any ideas on what to try to
>>>>>> figure out how it is set?
>>>>>>
>>>>>> Alistair
>>>>>>
>>>>>>>
>>>>>>> Ross
>>>>>>>
>>>>>>> On 4 June 2018 at 19:46, Alistair Francis <alistair23@gmail.com> wrote:
>>>>>>>> On Mon, Jun 4, 2018 at 10:20 AM, Alexander Kanavin
>>>>>>>> <alexander.kanavin@linux.intel.com> wrote:
>>>>>>>>> On 06/04/2018 08:17 PM, Alistair Francis wrote:
>>>>>>>>>>
>>>>>>>>>> On Mon, Jun 4, 2018 at 3:06 AM, Burton, Ross <ross.burton@intel.com>
>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>> So why isn't the inherit gettext sufficient?
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> I'm not sure. Here is the error I see when compiling for RISC-V before
>>>>>>>>>> this patch:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> So is the error specific to risc-v? You should dig deeper in that direction
>>>>>>>>> then.
>>>>>>>>
>>>>>>>> Ok, it looks like the line: if d.getVar('INHIBIT_DEFAULT_DEPS') and
>>>>>>>> not oe.utils.inherits(d, 'cross-canadian'): is evaluating as true in
>>>>>>>> gettext.bbclass so we don't depend on gettext-native.
>>>>>>>>
>>>>>>>> Do I need to ensure cross-canadian is set for RISC-V builds then?
>>>>>>>>
>>>>>>>> Alistair
>>>>>>>>
>>>>>>>>>
>>>>>>>>> Alex
>>>>>> --
>>>>>> _______________________________________________
>>>>>> Openembedded-core mailing list
>>>>>> Openembedded-core@lists.openembedded.org
>>>>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core


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

end of thread, other threads:[~2018-07-16 15:30 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-01 22:14 [PATCH 1/2] [meta] dbus: Fix X11 compille errors Alistair Francis
2018-06-01 22:14 ` [PATCH 2/2] [meta] atk: Specify gettext-native dependency Alistair Francis
2018-06-04 10:06   ` Burton, Ross
2018-06-04 17:17     ` Alistair Francis
2018-06-04 17:20       ` Alexander Kanavin
2018-06-04 18:46         ` Alistair Francis
2018-06-04 23:18           ` Burton, Ross
2018-06-15 17:40             ` Alistair Francis
2018-06-30 18:43               ` Marko Lindqvist
2018-07-01 18:03                 ` Marko Lindqvist
2018-07-01 18:20                   ` Marko Lindqvist
2018-07-03 14:37                     ` Burton, Ross
2018-07-16  7:56                       ` Marko Lindqvist
2018-07-16 15:30                         ` Burton, Ross
2018-06-02  5:06 ` [PATCH 1/2] [meta] dbus: Fix X11 compille errors Alexander Kanavin
2018-06-02 16:16   ` Alistair Francis

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.