ndisc6: need to set USE_NLS="yes" to use gettext.h
PATCH 1/1 ndisc6: need to set USE_NLS="yes" to use gettext.h
From: Denys Dmytriyenko <[email protected]>
Otherwise we can get gettext-minimal-native dependency instead, which does not provide gettext.h header.
--- meta-networking/recipes-support/ndisc6/ndisc6_git.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-networking/recipes-support/ndisc6/ndisc6_git.bb +2 -0
@@ -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
Signature · 1 line
2.7.4
Ping.
Quoted 31 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
Otherwise we can get gettext-minimal-native dependency instead, which does not provide
gettext.hheader.Signed-off-by Denys Dmytriyenko <[email protected]>--- meta-networking/recipes-support/ndisc6/ndisc6_git.bb | 2 ++ 1 file changed, 2 insertions(+)meta-networking/recipes-support/ndisc6/ndisc6_git.bb +2
-0@@ -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.shSignature · 7 lines
2.7.4 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
That should only be true for native recipes?
Quoted 43 lines · Denys Dmytriyenko
Ping.
Quoted 3 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
Otherwise we can get gettext-minimal-native dependency instead, which
does not
Review
Quoted 8 lines
provide
gettext.hheader.Signed-off-by Denys Dmytriyenko <[email protected]>--- meta-networking/recipes-support/ndisc6/ndisc6_git.bb | 2 ++ 1 file changed, 2 insertions(+)(quoted diff) +0
-0b/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
Quoted 15 lines
index 48a83b8..58f1230 100644
meta-networking/recipes-support/ndisc6/ndisc6_git.bb +2
-1@@ -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
Quoted 5 lines
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
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'
Quoted 47 lines · Ross
That should only be true for native recipes?
Quoted 43 lines · Denys Dmytriyenko
Ping.
Quoted 3 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
Otherwise we can get gettext-minimal-native dependency instead, which
does not
Review
Quoted 8 lines
provide
gettext.hheader.Signed-off-by Denys Dmytriyenko <[email protected]>--- meta-networking/recipes-support/ndisc6/ndisc6_git.bb | 2 ++ 1 file changed, 2 insertions(+)(quoted diff) +0
-0b/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
Quoted 15 lines
index 48a83b8..58f1230 100644
meta-networking/recipes-support/ndisc6/ndisc6_git.bb +2
-1@@ -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
Quoted 5 lines
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
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
Quoted 76 lines · 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 functiondo_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'Quoted 47 lines · Ross
That should only be true for native recipes?
Quoted 43 lines · Denys Dmytriyenko
Ping.
Quoted 3 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
Otherwise we can get gettext-minimal-native dependency instead, which
does not
Review
Quoted 8 lines
provide
gettext.hheader.Signed-off-by Denys Dmytriyenko <[email protected]>--- meta-networking/recipes-support/ndisc6/ndisc6_git.bb | 2 ++ 1 file changed, 2 insertions(+)(quoted diff) +0
-0b/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
Quoted 15 lines
index 48a83b8..58f1230 100644
meta-networking/recipes-support/ndisc6/ndisc6_git.bb +2
-1@@ -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
Quoted 5 lines
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
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.
Signature · 1 line
Denys
Quoted 84 lines · Ross
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
Quoted 76 lines · 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 functiondo_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'Quoted 47 lines · Ross
That should only be true for native recipes?
Quoted 43 lines · Denys Dmytriyenko
Ping.
Quoted 3 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
Otherwise we can get gettext-minimal-native dependency instead, which
does not
Review
Quoted 8 lines
provide
gettext.hheader.Signed-off-by Denys Dmytriyenko <[email protected]>--- meta-networking/recipes-support/ndisc6/ndisc6_git.bb | 2 ++ 1 file changed, 2 insertions(+)(quoted diff) +0
-0b/meta-networking/recipes-support/ndisc6/ndisc6_git.bb
Quoted 15 lines
index 48a83b8..58f1230 100644
meta-networking/recipes-support/ndisc6/ndisc6_git.bb +2
-1@@ -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
Quoted 5 lines
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Ping?
Quoted 40 lines · Denys Dmytriyenko
Ping.
Quoted 31 lines · Denys Dmytriyenko
From: Denys Dmytriyenko <[email protected]>
Otherwise we can get gettext-minimal-native dependency instead, which does not provide
gettext.hheader.Signed-off-by Denys Dmytriyenko <[email protected]>--- meta-networking/recipes-support/ndisc6/ndisc6_git.bb | 2 ++ 1 file changed, 2 insertions(+)meta-networking/recipes-support/ndisc6/ndisc6_git.bb +2
-0@@ -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.shSignature · 7 lines
2.7.4 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-develSignature · 4 lines
_______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel