All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] glib-2.0: Re-add the gettext depend
@ 2018-01-18 19:12 Alistair Francis
  2018-01-18 19:23 ` Joshua Lock
  2018-01-18 20:02 ` Burton, Ross
  0 siblings, 2 replies; 5+ messages in thread
From: Alistair Francis @ 2018-01-18 19:12 UTC (permalink / raw)
  To: openembedded-core

Commit "glib-2.0: rationalise build dependencies"
(8b0ca0cb54c91611213556bdb99316d5e7ac5b3b) broke mingw glib builds with
the following error:

This patch fixes the issue by re-adding the gettext dependency.

Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
---
 meta/recipes-core/glib-2.0/glib.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
index 354d95cfe3..e6997ae88f 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -24,6 +24,7 @@ DEPENDS = "glib-2.0-native \
            virtual/libiconv \
            libffi \
            zlib \
+           gettext \
            ${@bb.utils.contains('PTEST_ENABLED', '1', 'dbus', '', d)}"
 
 PACKAGES += "${PN}-codegen ${PN}-utils"
-- 
2.14.1



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

* Re: [PATCH] glib-2.0: Re-add the gettext depend
  2018-01-18 19:12 [PATCH] glib-2.0: Re-add the gettext depend Alistair Francis
@ 2018-01-18 19:23 ` Joshua Lock
  2018-01-18 19:28   ` Alistair Francis
  2018-01-18 20:02 ` Burton, Ross
  1 sibling, 1 reply; 5+ messages in thread
From: Joshua Lock @ 2018-01-18 19:23 UTC (permalink / raw)
  To: openembedded-core



On 18/01/18 19:12, Alistair Francis wrote:
> Commit "glib-2.0: rationalise build dependencies"
> (8b0ca0cb54c91611213556bdb99316d5e7ac5b3b) broke mingw glib builds with
> the following error:
> 
> This patch fixes the issue by re-adding the gettext dependency.
> 
> Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
> ---
>   meta/recipes-core/glib-2.0/glib.inc | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc
> index 354d95cfe3..e6997ae88f 100644
> --- a/meta/recipes-core/glib-2.0/glib.inc
> +++ b/meta/recipes-core/glib-2.0/glib.inc
> @@ -24,6 +24,7 @@ DEPENDS = "glib-2.0-native \
>              virtual/libiconv \
>              libffi \
>              zlib \
> +           gettext \

If this is only required for mingw we should add it in a mingw override, 
something like (untested):

DEPENDS_mingw32 += "gettext"

That way we:
a) know that it's a mingw dependency (and to test that toolchain before 
removing)
b) don't bloat the DEPENDS where gettext isn't a strict requirement.

>              ${@bb.utils.contains('PTEST_ENABLED', '1', 'dbus', '', d)}"
>   
>   PACKAGES += "${PN}-codegen ${PN}-utils"
> 


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

* Re: [PATCH] glib-2.0: Re-add the gettext depend
  2018-01-18 19:23 ` Joshua Lock
@ 2018-01-18 19:28   ` Alistair Francis
  0 siblings, 0 replies; 5+ messages in thread
From: Alistair Francis @ 2018-01-18 19:28 UTC (permalink / raw)
  To: Joshua Lock; +Cc: OE-core

On Thu, Jan 18, 2018 at 11:23 AM, Joshua Lock
<joshua.g.lock@linux.intel.com> wrote:
>
>
> On 18/01/18 19:12, Alistair Francis wrote:
>>
>> Commit "glib-2.0: rationalise build dependencies"
>> (8b0ca0cb54c91611213556bdb99316d5e7ac5b3b) broke mingw glib builds with
>> the following error:
>>
>> This patch fixes the issue by re-adding the gettext dependency.
>>
>> Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
>> ---
>>   meta/recipes-core/glib-2.0/glib.inc | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/meta/recipes-core/glib-2.0/glib.inc
>> b/meta/recipes-core/glib-2.0/glib.inc
>> index 354d95cfe3..e6997ae88f 100644
>> --- a/meta/recipes-core/glib-2.0/glib.inc
>> +++ b/meta/recipes-core/glib-2.0/glib.inc
>> @@ -24,6 +24,7 @@ DEPENDS = "glib-2.0-native \
>>              virtual/libiconv \
>>              libffi \
>>              zlib \
>> +           gettext \
>
>
> If this is only required for mingw we should add it in a mingw override,
> something like (untested):
>
> DEPENDS_mingw32 += "gettext"
>
> That way we:
> a) know that it's a mingw dependency (and to test that toolchain before
> removing)
> b) don't bloat the DEPENDS where gettext isn't a strict requirement.

That seems fine to me, the only issue I see is that previously this
wasn't just a mingw depend, so there could be other causes and mingw
is just what I test.

Alistair

>
>>              ${@bb.utils.contains('PTEST_ENABLED', '1', 'dbus', '', d)}"
>>     PACKAGES += "${PN}-codegen ${PN}-utils"
>>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


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

* Re: [PATCH] glib-2.0: Re-add the gettext depend
  2018-01-18 19:12 [PATCH] glib-2.0: Re-add the gettext depend Alistair Francis
  2018-01-18 19:23 ` Joshua Lock
@ 2018-01-18 20:02 ` Burton, Ross
  2018-01-19  1:06   ` Alistair Francis
  1 sibling, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2018-01-18 20:02 UTC (permalink / raw)
  To: Alistair Francis; +Cc: OE-core

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

On 18 January 2018 at 19:12, Alistair Francis <alistair.francis@xilinx.com>
wrote:

> Commit "glib-2.0: rationalise build dependencies"
> (8b0ca0cb54c91611213556bdb99316d5e7ac5b3b) broke mingw glib builds with
> the following error:
>

The error is missing from the log, but is this the libintl problem?  If so
that's what the libintl dependency a few lines up is for, the problem is in
meta-mingw.  I submitted a patch earlier but it wasn't merged by the
maintainer so I just pushed it myself.

Ross

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

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

* Re: [PATCH] glib-2.0: Re-add the gettext depend
  2018-01-18 20:02 ` Burton, Ross
@ 2018-01-19  1:06   ` Alistair Francis
  0 siblings, 0 replies; 5+ messages in thread
From: Alistair Francis @ 2018-01-19  1:06 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE-core

On Thu, Jan 18, 2018 at 12:02 PM, Burton, Ross <ross.burton@intel.com> wrote:
> On 18 January 2018 at 19:12, Alistair Francis <alistair.francis@xilinx.com>
> wrote:
>>
>> Commit "glib-2.0: rationalise build dependencies"
>> (8b0ca0cb54c91611213556bdb99316d5e7ac5b3b) broke mingw glib builds with
>> the following error:
>
>
> The error is missing from the log, but is this the libintl problem?  If so
> that's what the libintl dependency a few lines up is for, the problem is in
> meta-mingw.  I submitted a patch earlier but it wasn't merged by the
> maintainer so I just pushed it myself.

That is the problem, it is fixed now. Thanks for fixing that Ross.

Alistair

>
> Ross
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>


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

end of thread, other threads:[~2018-01-19  1:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-18 19:12 [PATCH] glib-2.0: Re-add the gettext depend Alistair Francis
2018-01-18 19:23 ` Joshua Lock
2018-01-18 19:28   ` Alistair Francis
2018-01-18 20:02 ` Burton, Ross
2018-01-19  1:06   ` 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.