All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-networking][PATCH] ndisc6: need to set USE_NLS="yes" to use gettext.h
@ 2018-01-16  6:43 Denys Dmytriyenko
  2018-01-23 22:39 ` Denys Dmytriyenko
  0 siblings, 1 reply; 7+ messages in thread
From: Denys Dmytriyenko @ 2018-01-16  6:43 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Denys Dmytriyenko

From: Denys Dmytriyenko <denys@ti.com>

Otherwise we can get gettext-minimal-native dependency instead, which does not
provide gettext.h header.

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
---
 meta-networking/recipes-support/ndisc6/ndisc6_git.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-networking/recipes-support/ndisc6/ndisc6_git.bb b/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
index 48a83b8..58f1230 100644
--- a/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
+++ b/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
@@ -22,6 +22,8 @@ EXTRA_OECONF += "PERL=${USRBINPATH}/perl"
 LDFLAGS += "-fuse-ld=gold"
 TOOLCHAIN = "gcc"
 
+USE_NLS = "yes"
+
 do_configure_prepend() {
     cp ${STAGING_DATADIR_NATIVE}/gettext/gettext.h ${S}/include
     ${S}/autogen.sh
-- 
2.7.4



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

* Re: [meta-networking][PATCH] ndisc6: need to set USE_NLS="yes" to use gettext.h
  2018-01-16  6:43 [meta-networking][PATCH] ndisc6: need to set USE_NLS="yes" to use gettext.h Denys Dmytriyenko
@ 2018-01-23 22:39 ` Denys Dmytriyenko
  2018-01-24 10:53   ` Burton, Ross
  2018-02-08 17:37   ` Denys Dmytriyenko
  0 siblings, 2 replies; 7+ messages in thread
From: Denys Dmytriyenko @ 2018-01-23 22:39 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Denys Dmytriyenko

Ping.


On Tue, Jan 16, 2018 at 01:43:35AM -0500, Denys Dmytriyenko wrote:
> From: Denys Dmytriyenko <denys@ti.com>
> 
> Otherwise we can get gettext-minimal-native dependency instead, which does not
> provide gettext.h header.
> 
> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> ---
>  meta-networking/recipes-support/ndisc6/ndisc6_git.bb | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta-networking/recipes-support/ndisc6/ndisc6_git.bb b/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
> index 48a83b8..58f1230 100644
> --- a/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
> +++ b/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
> @@ -22,6 +22,8 @@ EXTRA_OECONF += "PERL=${USRBINPATH}/perl"
>  LDFLAGS += "-fuse-ld=gold"
>  TOOLCHAIN = "gcc"
>  
> +USE_NLS = "yes"
> +
>  do_configure_prepend() {
>      cp ${STAGING_DATADIR_NATIVE}/gettext/gettext.h ${S}/include
>      ${S}/autogen.sh
> -- 
> 2.7.4
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


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

* Re: [meta-networking][PATCH] ndisc6: need to set USE_NLS="yes" to use gettext.h
  2018-01-23 22:39 ` Denys Dmytriyenko
@ 2018-01-24 10:53   ` Burton, Ross
  2018-01-26 22:10     ` Denys Dmytriyenko
  2018-02-08 17:37   ` Denys Dmytriyenko
  1 sibling, 1 reply; 7+ messages in thread
From: Burton, Ross @ 2018-01-24 10:53 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: OpenEmbedded Devel List, Denys Dmytriyenko

That should only be true for native recipes?

On 23 January 2018 at 22:39, Denys Dmytriyenko <denis@denix.org> wrote:

> Ping.
>
>
> On Tue, Jan 16, 2018 at 01:43:35AM -0500, Denys Dmytriyenko wrote:
> > From: Denys Dmytriyenko <denys@ti.com>
> >
> > Otherwise we can get gettext-minimal-native dependency instead, which
> does not
> > provide gettext.h header.
> >
> > Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> > ---
> >  meta-networking/recipes-support/ndisc6/ndisc6_git.bb | 2 ++
> >  1 file changed, 2 insertions(+)
> >
> > diff --git a/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
> b/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
> > index 48a83b8..58f1230 100644
> > --- a/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
> > +++ b/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
> > @@ -22,6 +22,8 @@ EXTRA_OECONF += "PERL=${USRBINPATH}/perl"
> >  LDFLAGS += "-fuse-ld=gold"
> >  TOOLCHAIN = "gcc"
> >
> > +USE_NLS = "yes"
> > +
> >  do_configure_prepend() {
> >      cp ${STAGING_DATADIR_NATIVE}/gettext/gettext.h ${S}/include
> >      ${S}/autogen.sh
> > --
> > 2.7.4
> >
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


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

* Re: [meta-networking][PATCH] ndisc6: need to set USE_NLS="yes" to use gettext.h
  2018-01-24 10:53   ` Burton, Ross
@ 2018-01-26 22:10     ` Denys Dmytriyenko
  2018-01-26 23:52       ` Burton, Ross
  0 siblings, 1 reply; 7+ messages in thread
From: Denys Dmytriyenko @ 2018-01-26 22:10 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OpenEmbedded Devel List, Denys Dmytriyenko

Not really:

ERROR: ndisc6-1.0.4+gitAUTOINC+4c794b5512-r0 do_configure: Function failed: do_configure (log file is located at .../work/armv7ahf-neon-linux-gnueabi/ndisc6/1.0.4+gitAUTOINC+4c794b5512-r0/temp/log.do_configure.23315)
ERROR: Logfile of failure stored in: .../work/armv7ahf-neon-linux-gnueabi/ndisc6/1.0.4+gitAUTOINC+4c794b5512-r0/temp/log.do_configure.23315
Log data follows:
| DEBUG: Executing shell function do_configure
| cp: cannot stat '.../work/armv7ahf-neon-linux-gnueabi/ndisc6/1.0.4+gitAUTOINC+4c794b5512-r0/recipe-sysroot-native/usr/share/gettext/gettext.h': No such file or directory
| WARNING: .../work/armv7ahf-neon-linux-gnueabi/ndisc6/1.0.4+gitAUTOINC+4c794b5512-r0/temp/run.do_configure.23315:1 exit 1 from 'cp .../work/armv7ahf-neon-linux-gnueabi/ndisc6/1.0.4+gitAUTOINC+4c794b5512-r0/recipe-sysroot-native/usr/share/gettext/gettext.h .../work/armv7ahf-neon-linux-gnueabi/ndisc6/1.0.4+gitAUTOINC+4c794b5512-r0/git/include'
| ERROR: Function failed: do_configure (log file is located at .../work/armv7ahf-neon-linux-gnueabi/ndisc6/1.0.4+gitAUTOINC+4c794b5512-r0/temp/log.do_configure.23315)
ERROR: Task (/OE/arago-rocko/sources/meta-openembedded/meta-networking/recipes-support/ndisc6/ndisc6_git.bb:do_configure) failed with exit code '1'



On Wed, Jan 24, 2018 at 10:53:08AM +0000, Burton, Ross wrote:
> That should only be true for native recipes?
> 
> On 23 January 2018 at 22:39, Denys Dmytriyenko <denis@denix.org> wrote:
> 
> > Ping.
> >
> >
> > On Tue, Jan 16, 2018 at 01:43:35AM -0500, Denys Dmytriyenko wrote:
> > > From: Denys Dmytriyenko <denys@ti.com>
> > >
> > > Otherwise we can get gettext-minimal-native dependency instead, which
> > does not
> > > provide gettext.h header.
> > >
> > > Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> > > ---
> > >  meta-networking/recipes-support/ndisc6/ndisc6_git.bb | 2 ++
> > >  1 file changed, 2 insertions(+)
> > >
> > > diff --git a/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
> > b/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
> > > index 48a83b8..58f1230 100644
> > > --- a/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
> > > +++ b/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
> > > @@ -22,6 +22,8 @@ EXTRA_OECONF += "PERL=${USRBINPATH}/perl"
> > >  LDFLAGS += "-fuse-ld=gold"
> > >  TOOLCHAIN = "gcc"
> > >
> > > +USE_NLS = "yes"
> > > +
> > >  do_configure_prepend() {
> > >      cp ${STAGING_DATADIR_NATIVE}/gettext/gettext.h ${S}/include
> > >      ${S}/autogen.sh
> > > --
> > > 2.7.4
> > >
> > > --
> > > _______________________________________________
> > > Openembedded-devel mailing list
> > > Openembedded-devel@lists.openembedded.org
> > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> > --
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> >


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

* Re: [meta-networking][PATCH] ndisc6: need to set USE_NLS="yes" to use gettext.h
  2018-01-26 22:10     ` Denys Dmytriyenko
@ 2018-01-26 23:52       ` Burton, Ross
  2018-01-27  0:50         ` Denys Dmytriyenko
  0 siblings, 1 reply; 7+ messages in thread
From: Burton, Ross @ 2018-01-26 23:52 UTC (permalink / raw)
  To: Denys Dmytriyenko; +Cc: OpenEmbedded Devel List, Denys Dmytriyenko

Oh right, presumably your distro is turning off NLS.  Yeah if the upstream
doesn't understand how to turn it off, then yes this would be the
workaround.

Ross

On 26 January 2018 at 22:10, Denys Dmytriyenko <denis@denix.org> wrote:

> Not really:
>
> ERROR: ndisc6-1.0.4+gitAUTOINC+4c794b5512-r0 do_configure: Function
> failed: do_configure (log file is located at .../work/armv7ahf-neon-linux-
> gnueabi/ndisc6/1.0.4+gitAUTOINC+4c794b5512-r0/temp/log.do_configure.23315)
> ERROR: Logfile of failure stored in: .../work/armv7ahf-neon-linux-
> gnueabi/ndisc6/1.0.4+gitAUTOINC+4c794b5512-r0/temp/log.do_configure.23315
> Log data follows:
> | DEBUG: Executing shell function do_configure
> | cp: cannot stat '.../work/armv7ahf-neon-linux-gnueabi/ndisc6/1.0.4+
> gitAUTOINC+4c794b5512-r0/recipe-sysroot-native/usr/share/gettext/gettext.h':
> No such file or directory
> | WARNING: .../work/armv7ahf-neon-linux-gnueabi/ndisc6/1.0.4+
> gitAUTOINC+4c794b5512-r0/temp/run.do_configure.23315:1 exit 1 from 'cp
> .../work/armv7ahf-neon-linux-gnueabi/ndisc6/1.0.4+
> gitAUTOINC+4c794b5512-r0/recipe-sysroot-native/usr/share/gettext/gettext.h
> .../work/armv7ahf-neon-linux-gnueabi/ndisc6/1.0.4+
> gitAUTOINC+4c794b5512-r0/git/include'
> | ERROR: Function failed: do_configure (log file is located at
> .../work/armv7ahf-neon-linux-gnueabi/ndisc6/1.0.4+
> gitAUTOINC+4c794b5512-r0/temp/log.do_configure.23315)
> ERROR: Task (/OE/arago-rocko/sources/meta-openembedded/meta-networking/
> recipes-support/ndisc6/ndisc6_git.bb:do_configure) failed with exit code
> '1'
>
>
>
> On Wed, Jan 24, 2018 at 10:53:08AM +0000, Burton, Ross wrote:
> > That should only be true for native recipes?
> >
> > On 23 January 2018 at 22:39, Denys Dmytriyenko <denis@denix.org> wrote:
> >
> > > Ping.
> > >
> > >
> > > On Tue, Jan 16, 2018 at 01:43:35AM -0500, Denys Dmytriyenko wrote:
> > > > From: Denys Dmytriyenko <denys@ti.com>
> > > >
> > > > Otherwise we can get gettext-minimal-native dependency instead, which
> > > does not
> > > > provide gettext.h header.
> > > >
> > > > Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> > > > ---
> > > >  meta-networking/recipes-support/ndisc6/ndisc6_git.bb | 2 ++
> > > >  1 file changed, 2 insertions(+)
> > > >
> > > > diff --git a/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
> > > b/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
> > > > index 48a83b8..58f1230 100644
> > > > --- a/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
> > > > +++ b/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
> > > > @@ -22,6 +22,8 @@ EXTRA_OECONF += "PERL=${USRBINPATH}/perl"
> > > >  LDFLAGS += "-fuse-ld=gold"
> > > >  TOOLCHAIN = "gcc"
> > > >
> > > > +USE_NLS = "yes"
> > > > +
> > > >  do_configure_prepend() {
> > > >      cp ${STAGING_DATADIR_NATIVE}/gettext/gettext.h ${S}/include
> > > >      ${S}/autogen.sh
> > > > --
> > > > 2.7.4
> > > >
> > > > --
> > > > _______________________________________________
> > > > Openembedded-devel mailing list
> > > > Openembedded-devel@lists.openembedded.org
> > > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> > > --
> > > _______________________________________________
> > > Openembedded-devel mailing list
> > > Openembedded-devel@lists.openembedded.org
> > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> > >
>


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

* Re: [meta-networking][PATCH] ndisc6: need to set USE_NLS="yes" to use gettext.h
  2018-01-26 23:52       ` Burton, Ross
@ 2018-01-27  0:50         ` Denys Dmytriyenko
  0 siblings, 0 replies; 7+ messages in thread
From: Denys Dmytriyenko @ 2018-01-27  0:50 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OpenEmbedded Devel List, Denys Dmytriyenko

Yes, but in this case upstream is the ndisc recipe - see do_configure_prepend 
in the patch below that does copying of gettext.h from STAGING_DATADIR_NATIVE.

-- 
Denys


On Fri, Jan 26, 2018 at 11:52:23PM +0000, Burton, Ross wrote:
> Oh right, presumably your distro is turning off NLS.  Yeah if the upstream
> doesn't understand how to turn it off, then yes this would be the
> workaround.
> 
> Ross
> 
> On 26 January 2018 at 22:10, Denys Dmytriyenko <denis@denix.org> wrote:
> 
> > Not really:
> >
> > ERROR: ndisc6-1.0.4+gitAUTOINC+4c794b5512-r0 do_configure: Function
> > failed: do_configure (log file is located at .../work/armv7ahf-neon-linux-
> > gnueabi/ndisc6/1.0.4+gitAUTOINC+4c794b5512-r0/temp/log.do_configure.23315)
> > ERROR: Logfile of failure stored in: .../work/armv7ahf-neon-linux-
> > gnueabi/ndisc6/1.0.4+gitAUTOINC+4c794b5512-r0/temp/log.do_configure.23315
> > Log data follows:
> > | DEBUG: Executing shell function do_configure
> > | cp: cannot stat '.../work/armv7ahf-neon-linux-gnueabi/ndisc6/1.0.4+
> > gitAUTOINC+4c794b5512-r0/recipe-sysroot-native/usr/share/gettext/gettext.h':
> > No such file or directory
> > | WARNING: .../work/armv7ahf-neon-linux-gnueabi/ndisc6/1.0.4+
> > gitAUTOINC+4c794b5512-r0/temp/run.do_configure.23315:1 exit 1 from 'cp
> > .../work/armv7ahf-neon-linux-gnueabi/ndisc6/1.0.4+
> > gitAUTOINC+4c794b5512-r0/recipe-sysroot-native/usr/share/gettext/gettext.h
> > .../work/armv7ahf-neon-linux-gnueabi/ndisc6/1.0.4+
> > gitAUTOINC+4c794b5512-r0/git/include'
> > | ERROR: Function failed: do_configure (log file is located at
> > .../work/armv7ahf-neon-linux-gnueabi/ndisc6/1.0.4+
> > gitAUTOINC+4c794b5512-r0/temp/log.do_configure.23315)
> > ERROR: Task (/OE/arago-rocko/sources/meta-openembedded/meta-networking/
> > recipes-support/ndisc6/ndisc6_git.bb:do_configure) failed with exit code
> > '1'
> >
> >
> >
> > On Wed, Jan 24, 2018 at 10:53:08AM +0000, Burton, Ross wrote:
> > > That should only be true for native recipes?
> > >
> > > On 23 January 2018 at 22:39, Denys Dmytriyenko <denis@denix.org> wrote:
> > >
> > > > Ping.
> > > >
> > > >
> > > > On Tue, Jan 16, 2018 at 01:43:35AM -0500, Denys Dmytriyenko wrote:
> > > > > From: Denys Dmytriyenko <denys@ti.com>
> > > > >
> > > > > Otherwise we can get gettext-minimal-native dependency instead, which
> > > > does not
> > > > > provide gettext.h header.
> > > > >
> > > > > Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> > > > > ---
> > > > >  meta-networking/recipes-support/ndisc6/ndisc6_git.bb | 2 ++
> > > > >  1 file changed, 2 insertions(+)
> > > > >
> > > > > diff --git a/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
> > > > b/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
> > > > > index 48a83b8..58f1230 100644
> > > > > --- a/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
> > > > > +++ b/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
> > > > > @@ -22,6 +22,8 @@ EXTRA_OECONF += "PERL=${USRBINPATH}/perl"
> > > > >  LDFLAGS += "-fuse-ld=gold"
> > > > >  TOOLCHAIN = "gcc"
> > > > >
> > > > > +USE_NLS = "yes"
> > > > > +
> > > > >  do_configure_prepend() {
> > > > >      cp ${STAGING_DATADIR_NATIVE}/gettext/gettext.h ${S}/include
> > > > >      ${S}/autogen.sh
> > > > > --
> > > > > 2.7.4
> > > > >
> > > > > --
> > > > > _______________________________________________
> > > > > Openembedded-devel mailing list
> > > > > Openembedded-devel@lists.openembedded.org
> > > > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> > > > --
> > > > _______________________________________________
> > > > Openembedded-devel mailing list
> > > > Openembedded-devel@lists.openembedded.org
> > > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> > > >
> >


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

* Re: [meta-networking][PATCH] ndisc6: need to set USE_NLS="yes" to use gettext.h
  2018-01-23 22:39 ` Denys Dmytriyenko
  2018-01-24 10:53   ` Burton, Ross
@ 2018-02-08 17:37   ` Denys Dmytriyenko
  1 sibling, 0 replies; 7+ messages in thread
From: Denys Dmytriyenko @ 2018-02-08 17:37 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Denys Dmytriyenko

Ping?

On Tue, Jan 23, 2018 at 05:39:13PM -0500, Denys Dmytriyenko wrote:
> Ping.
> 
> 
> On Tue, Jan 16, 2018 at 01:43:35AM -0500, Denys Dmytriyenko wrote:
> > From: Denys Dmytriyenko <denys@ti.com>
> > 
> > Otherwise we can get gettext-minimal-native dependency instead, which does not
> > provide gettext.h header.
> > 
> > Signed-off-by: Denys Dmytriyenko <denys@ti.com>
> > ---
> >  meta-networking/recipes-support/ndisc6/ndisc6_git.bb | 2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > diff --git a/meta-networking/recipes-support/ndisc6/ndisc6_git.bb b/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
> > index 48a83b8..58f1230 100644
> > --- a/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
> > +++ b/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
> > @@ -22,6 +22,8 @@ EXTRA_OECONF += "PERL=${USRBINPATH}/perl"
> >  LDFLAGS += "-fuse-ld=gold"
> >  TOOLCHAIN = "gcc"
> >  
> > +USE_NLS = "yes"
> > +
> >  do_configure_prepend() {
> >      cp ${STAGING_DATADIR_NATIVE}/gettext/gettext.h ${S}/include
> >      ${S}/autogen.sh
> > -- 
> > 2.7.4
> > 
> > -- 
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


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

end of thread, other threads:[~2018-02-08 17:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-16  6:43 [meta-networking][PATCH] ndisc6: need to set USE_NLS="yes" to use gettext.h Denys Dmytriyenko
2018-01-23 22:39 ` Denys Dmytriyenko
2018-01-24 10:53   ` Burton, Ross
2018-01-26 22:10     ` Denys Dmytriyenko
2018-01-26 23:52       ` Burton, Ross
2018-01-27  0:50         ` Denys Dmytriyenko
2018-02-08 17:37   ` Denys Dmytriyenko

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.