public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH][V2 1/3] pythonnative: set PYTHON_EXECUTABLE so that cmake can find it
@ 2014-12-03 12:40 Andreas Müller
  2014-12-03 12:40 ` [PATCH][V2 2/3] gettext-native: build libintl so that other native recipes can use them Andreas Müller
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Andreas Müller @ 2014-12-03 12:40 UTC (permalink / raw)
  To: openembedded-core, raj.khem

| CMake Error at /home/a.mueller/tmp/oe-core-glibc/sysroots/x86_64-linux/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
|   Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 meta/classes/pythonnative.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/pythonnative.bbclass b/meta/classes/pythonnative.bbclass
index fdd22bb..9fccee9 100644
--- a/meta/classes/pythonnative.bbclass
+++ b/meta/classes/pythonnative.bbclass
@@ -2,5 +2,6 @@
 inherit python-dir
 
 PYTHON="${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}"
+PYTHON_EXECUTABLE="${PYTHON}"
 EXTRANATIVEPATH += "${PYTHON_PN}-native"
 DEPENDS += " ${PYTHON_PN}-native "
-- 
1.8.3.1



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

* [PATCH][V2 2/3] gettext-native: build libintl so that other native recipes can use them
  2014-12-03 12:40 [PATCH][V2 1/3] pythonnative: set PYTHON_EXECUTABLE so that cmake can find it Andreas Müller
@ 2014-12-03 12:40 ` Andreas Müller
  2014-12-15 10:30   ` Andreas Müller
  2014-12-24 18:58   ` Saul Wold
  2014-12-03 12:40 ` [PATCH][V2 3/3] fix cross-localedef build with gettext-native in sysroot Andreas Müller
  2014-12-15  9:12 ` [PATCH][V2 1/3] pythonnative: set PYTHON_EXECUTABLE so that cmake can find it Andreas Müller
  2 siblings, 2 replies; 7+ messages in thread
From: Andreas Müller @ 2014-12-03 12:40 UTC (permalink / raw)
  To: openembedded-core, raj.khem

I have a native recipe around which directly compiles/links against libintl.
Gettext contains this code (usually supplied by glibc) as fallback. In native
case this code is used by default because we don't have glibc there. This patch
changes static linking into dynamic linking making libintl code shareable.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 meta/recipes-core/gettext/gettext_0.18.3.2.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-core/gettext/gettext_0.18.3.2.bb b/meta/recipes-core/gettext/gettext_0.18.3.2.bb
index 65d4103..98838d7 100644
--- a/meta/recipes-core/gettext/gettext_0.18.3.2.bb
+++ b/meta/recipes-core/gettext/gettext_0.18.3.2.bb
@@ -39,6 +39,9 @@ EXTRA_OECONF += "--without-lispdir \
                  --with-included-libunistring \
                 "
 
+# we have no glib intl
+EXTRA_OECONF_append_class-native = "--with-included-gettext --enable-shared"
+
 acpaths = '-I ${S}/gettext-runtime/m4 \
            -I ${S}/gettext-tools/m4'
 
-- 
1.8.3.1



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

* [PATCH][V2 3/3] fix cross-localedef build with gettext-native in sysroot
  2014-12-03 12:40 [PATCH][V2 1/3] pythonnative: set PYTHON_EXECUTABLE so that cmake can find it Andreas Müller
  2014-12-03 12:40 ` [PATCH][V2 2/3] gettext-native: build libintl so that other native recipes can use them Andreas Müller
@ 2014-12-03 12:40 ` Andreas Müller
  2014-12-15 10:31   ` Andreas Müller
  2014-12-15  9:12 ` [PATCH][V2 1/3] pythonnative: set PYTHON_EXECUTABLE so that cmake can find it Andreas Müller
  2 siblings, 1 reply; 7+ messages in thread
From: Andreas Müller @ 2014-12-03 12:40 UTC (permalink / raw)
  To: openembedded-core, raj.khem

with previous patch applied and gettext build before cross-localedef,
cross-localedef failed with.

/usr/bin/ld: cannot find -lintl

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 ...d-dragging-in-gettext-s-libintl.h-libintl.patch | 104 +++++++++++++++++++++
 .../glibc/cross-localedef-native_2.20.bb           |   1 +
 2 files changed, 105 insertions(+)
 create mode 100644 meta/recipes-core/glibc/cross-localedef-native/avoid-dragging-in-gettext-s-libintl.h-libintl.patch

diff --git a/meta/recipes-core/glibc/cross-localedef-native/avoid-dragging-in-gettext-s-libintl.h-libintl.patch b/meta/recipes-core/glibc/cross-localedef-native/avoid-dragging-in-gettext-s-libintl.h-libintl.patch
new file mode 100644
index 0000000..e19be03
--- /dev/null
+++ b/meta/recipes-core/glibc/cross-localedef-native/avoid-dragging-in-gettext-s-libintl.h-libintl.patch
@@ -0,0 +1,104 @@
+From d90df9d5f818df18ddccaf5405ffa65a63ea70a7 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
+Date: Wed, 3 Dec 2014 12:57:14 +0100
+Subject: [PATCH] avoid dragging in gettext's libintl.h / libintl
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+modify configure.ac and configure to make sure that we don't need to revisit in
+case autoconf is run in localedef subdirectory
+
+Upstream-Status: submitted [1]
+
+[1] https://github.com/kraj/localedef/pull/1
+
+Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
+---
+ localedef/configure         | 45 ---------------------------------------------
+ localedef/configure.ac      |  1 -
+ include/libintl.h |  2 +-
+ 3 files changed, 1 insertion(+), 47 deletions(-)
+
+diff --git a/localedef/configure b/localedef/configure
+index 10f5f77..e4bb869 100755
+--- a/localedef/configure
++++ b/localedef/configure
+@@ -3893,51 +3893,6 @@ $as_echo "#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1" >>confdefs.h
+ 
+ fi
+ 
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettext in -lintl" >&5
+-$as_echo_n "checking for gettext in -lintl... " >&6; }
+-if ${ac_cv_lib_intl_gettext+:} false; then :
+-  $as_echo_n "(cached) " >&6
+-else
+-  ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lintl  $LIBS"
+-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+-/* end confdefs.h.  */
+-
+-/* Override any GCC internal prototype to avoid an error.
+-   Use char because int might match the return type of a GCC
+-   builtin and then its argument prototype would still apply.  */
+-#ifdef __cplusplus
+-extern "C"
+-#endif
+-char gettext ();
+-int
+-main ()
+-{
+-return gettext ();
+-  ;
+-  return 0;
+-}
+-_ACEOF
+-if ac_fn_c_try_link "$LINENO"; then :
+-  ac_cv_lib_intl_gettext=yes
+-else
+-  ac_cv_lib_intl_gettext=no
+-fi
+-rm -f core conftest.err conftest.$ac_objext \
+-    conftest$ac_exeext conftest.$ac_ext
+-LIBS=$ac_check_lib_save_LIBS
+-fi
+-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_gettext" >&5
+-$as_echo "$ac_cv_lib_intl_gettext" >&6; }
+-if test "x$ac_cv_lib_intl_gettext" = xyes; then :
+-  cat >>confdefs.h <<_ACEOF
+-#define HAVE_LIBINTL 1
+-_ACEOF
+-
+-  LIBS="-lintl $LIBS"
+-
+-fi
+-
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
+ $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
+ if ${ac_cv_lib_posix4_nanosleep+:} false; then :
+diff --git a/configure.ac b/configure.ac
+index 33c8ff9..0004168 100644
+--- a/localedef/configure.ac
++++ b/localedef/configure.ac
+@@ -58,7 +58,6 @@ LOCAL_CHECK_FUNC([stpcpy], [#include <string.h>])
+ LOCAL_CHECK_FUNC([strsep], [#include <string.h>])
+ LOCAL_CHECK_VAR([program_invocation_name], [#include <errno.h>])
+ LOCAL_CHECK_VAR([program_invocation_short_name], [#include <errno.h>])
+-AC_CHECK_LIB([intl], [gettext])
+ AC_CHECK_LIB([posix4], [nanosleep])
+ 
+ # These two macros are taken from GCC's config/acx.m4.
+diff --git a/include/libintl.h b/include/libintl.h
+index 096aa8c..86143b6 100644
+--- a/localedef/include/libintl.h
++++ b/localedef/include/libintl.h
+@@ -1,5 +1,5 @@
+ #ifdef HAVE_LIBINTL_H
+-#include_next <libintl.h>
++#include "../intl/libintl.h"
+ #endif
+ 
+ #ifndef _
+-- 
+1.8.3.1
+
diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.20.bb b/meta/recipes-core/glibc/cross-localedef-native_2.20.bb
index ccf56a9..50a280b 100644
--- a/meta/recipes-core/glibc/cross-localedef-native_2.20.bb
+++ b/meta/recipes-core/glibc/cross-localedef-native_2.20.bb
@@ -19,6 +19,7 @@ PV = "2.20"
 SRC_URI = "git://sourceware.org/git/glibc.git;branch=release/${PV}/master;name=glibc \
            git://github.com/kraj/localedef;branch=master;name=localedef;destsuffix=git/localedef \
 	   file://fix_for_centos_5.8.patch \
+           file://avoid-dragging-in-gettext-s-libintl.h-libintl.patch \
            ${EGLIBCPATCHES} \
           "
 EGLIBCPATCHES = "\
-- 
1.8.3.1



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

* Re: [PATCH][V2 1/3] pythonnative: set PYTHON_EXECUTABLE so that cmake can find it
  2014-12-03 12:40 [PATCH][V2 1/3] pythonnative: set PYTHON_EXECUTABLE so that cmake can find it Andreas Müller
  2014-12-03 12:40 ` [PATCH][V2 2/3] gettext-native: build libintl so that other native recipes can use them Andreas Müller
  2014-12-03 12:40 ` [PATCH][V2 3/3] fix cross-localedef build with gettext-native in sysroot Andreas Müller
@ 2014-12-15  9:12 ` Andreas Müller
  2 siblings, 0 replies; 7+ messages in thread
From: Andreas Müller @ 2014-12-15  9:12 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Wed, Dec 3, 2014 at 1:40 PM, Andreas Müller
<schnitzeltony@googlemail.com> wrote:
> | CMake Error at /home/a.mueller/tmp/oe-core-glibc/sysroots/x86_64-linux/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
> |   Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE)
>
> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> ---
>  meta/classes/pythonnative.bbclass | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/classes/pythonnative.bbclass b/meta/classes/pythonnative.bbclass
> index fdd22bb..9fccee9 100644
> --- a/meta/classes/pythonnative.bbclass
> +++ b/meta/classes/pythonnative.bbclass
> @@ -2,5 +2,6 @@
>  inherit python-dir
>
>  PYTHON="${STAGING_BINDIR_NATIVE}/${PYTHON_PN}-native/${PYTHON_PN}"
> +PYTHON_EXECUTABLE="${PYTHON}"
>  EXTRANATIVEPATH += "${PYTHON_PN}-native"
>  DEPENDS += " ${PYTHON_PN}-native "
> --
> 1.8.3.1
>
ping


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

* Re: [PATCH][V2 2/3] gettext-native: build libintl so that other native recipes can use them
  2014-12-03 12:40 ` [PATCH][V2 2/3] gettext-native: build libintl so that other native recipes can use them Andreas Müller
@ 2014-12-15 10:30   ` Andreas Müller
  2014-12-24 18:58   ` Saul Wold
  1 sibling, 0 replies; 7+ messages in thread
From: Andreas Müller @ 2014-12-15 10:30 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer, Khem Raj

On Wed, Dec 3, 2014 at 1:40 PM, Andreas Müller
<schnitzeltony@googlemail.com> wrote:
> I have a native recipe around which directly compiles/links against libintl.
> Gettext contains this code (usually supplied by glibc) as fallback. In native
> case this code is used by default because we don't have glibc there. This patch
> changes static linking into dynamic linking making libintl code shareable.
>
> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> ---
>  meta/recipes-core/gettext/gettext_0.18.3.2.bb | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/meta/recipes-core/gettext/gettext_0.18.3.2.bb b/meta/recipes-core/gettext/gettext_0.18.3.2.bb
> index 65d4103..98838d7 100644
> --- a/meta/recipes-core/gettext/gettext_0.18.3.2.bb
> +++ b/meta/recipes-core/gettext/gettext_0.18.3.2.bb
> @@ -39,6 +39,9 @@ EXTRA_OECONF += "--without-lispdir \
>                   --with-included-libunistring \
>                  "
>
> +# we have no glib intl
> +EXTRA_OECONF_append_class-native = "--with-included-gettext --enable-shared"
> +
>  acpaths = '-I ${S}/gettext-runtime/m4 \
>             -I ${S}/gettext-tools/m4'
>
> --
> 1.8.3.1
>
ping


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

* Re: [PATCH][V2 3/3] fix cross-localedef build with gettext-native in sysroot
  2014-12-03 12:40 ` [PATCH][V2 3/3] fix cross-localedef build with gettext-native in sysroot Andreas Müller
@ 2014-12-15 10:31   ` Andreas Müller
  0 siblings, 0 replies; 7+ messages in thread
From: Andreas Müller @ 2014-12-15 10:31 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer, Khem Raj

On Wed, Dec 3, 2014 at 1:40 PM, Andreas Müller
<schnitzeltony@googlemail.com> wrote:
> with previous patch applied and gettext build before cross-localedef,
> cross-localedef failed with.
>
> /usr/bin/ld: cannot find -lintl
>
> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> ---
>  ...d-dragging-in-gettext-s-libintl.h-libintl.patch | 104 +++++++++++++++++++++
>  .../glibc/cross-localedef-native_2.20.bb           |   1 +
>  2 files changed, 105 insertions(+)
>  create mode 100644 meta/recipes-core/glibc/cross-localedef-native/avoid-dragging-in-gettext-s-libintl.h-libintl.patch
>
> diff --git a/meta/recipes-core/glibc/cross-localedef-native/avoid-dragging-in-gettext-s-libintl.h-libintl.patch b/meta/recipes-core/glibc/cross-localedef-native/avoid-dragging-in-gettext-s-libintl.h-libintl.patch
> new file mode 100644
> index 0000000..e19be03
> --- /dev/null
> +++ b/meta/recipes-core/glibc/cross-localedef-native/avoid-dragging-in-gettext-s-libintl.h-libintl.patch
> @@ -0,0 +1,104 @@
> +From d90df9d5f818df18ddccaf5405ffa65a63ea70a7 Mon Sep 17 00:00:00 2001
> +From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
> +Date: Wed, 3 Dec 2014 12:57:14 +0100
> +Subject: [PATCH] avoid dragging in gettext's libintl.h / libintl
> +MIME-Version: 1.0
> +Content-Type: text/plain; charset=UTF-8
> +Content-Transfer-Encoding: 8bit
> +
> +modify configure.ac and configure to make sure that we don't need to revisit in
> +case autoconf is run in localedef subdirectory
> +
> +Upstream-Status: submitted [1]
> +
> +[1] https://github.com/kraj/localedef/pull/1
> +
> +Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> +---
> + localedef/configure         | 45 ---------------------------------------------
> + localedef/configure.ac      |  1 -
> + include/libintl.h |  2 +-
> + 3 files changed, 1 insertion(+), 47 deletions(-)
> +
> +diff --git a/localedef/configure b/localedef/configure
> +index 10f5f77..e4bb869 100755
> +--- a/localedef/configure
> ++++ b/localedef/configure
> +@@ -3893,51 +3893,6 @@ $as_echo "#define HAVE_PROGRAM_INVOCATION_SHORT_NAME 1" >>confdefs.h
> +
> + fi
> +
> +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettext in -lintl" >&5
> +-$as_echo_n "checking for gettext in -lintl... " >&6; }
> +-if ${ac_cv_lib_intl_gettext+:} false; then :
> +-  $as_echo_n "(cached) " >&6
> +-else
> +-  ac_check_lib_save_LIBS=$LIBS
> +-LIBS="-lintl  $LIBS"
> +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
> +-/* end confdefs.h.  */
> +-
> +-/* Override any GCC internal prototype to avoid an error.
> +-   Use char because int might match the return type of a GCC
> +-   builtin and then its argument prototype would still apply.  */
> +-#ifdef __cplusplus
> +-extern "C"
> +-#endif
> +-char gettext ();
> +-int
> +-main ()
> +-{
> +-return gettext ();
> +-  ;
> +-  return 0;
> +-}
> +-_ACEOF
> +-if ac_fn_c_try_link "$LINENO"; then :
> +-  ac_cv_lib_intl_gettext=yes
> +-else
> +-  ac_cv_lib_intl_gettext=no
> +-fi
> +-rm -f core conftest.err conftest.$ac_objext \
> +-    conftest$ac_exeext conftest.$ac_ext
> +-LIBS=$ac_check_lib_save_LIBS
> +-fi
> +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_gettext" >&5
> +-$as_echo "$ac_cv_lib_intl_gettext" >&6; }
> +-if test "x$ac_cv_lib_intl_gettext" = xyes; then :
> +-  cat >>confdefs.h <<_ACEOF
> +-#define HAVE_LIBINTL 1
> +-_ACEOF
> +-
> +-  LIBS="-lintl $LIBS"
> +-
> +-fi
> +-
> + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
> + $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
> + if ${ac_cv_lib_posix4_nanosleep+:} false; then :
> +diff --git a/configure.ac b/configure.ac
> +index 33c8ff9..0004168 100644
> +--- a/localedef/configure.ac
> ++++ b/localedef/configure.ac
> +@@ -58,7 +58,6 @@ LOCAL_CHECK_FUNC([stpcpy], [#include <string.h>])
> + LOCAL_CHECK_FUNC([strsep], [#include <string.h>])
> + LOCAL_CHECK_VAR([program_invocation_name], [#include <errno.h>])
> + LOCAL_CHECK_VAR([program_invocation_short_name], [#include <errno.h>])
> +-AC_CHECK_LIB([intl], [gettext])
> + AC_CHECK_LIB([posix4], [nanosleep])
> +
> + # These two macros are taken from GCC's config/acx.m4.
> +diff --git a/include/libintl.h b/include/libintl.h
> +index 096aa8c..86143b6 100644
> +--- a/localedef/include/libintl.h
> ++++ b/localedef/include/libintl.h
> +@@ -1,5 +1,5 @@
> + #ifdef HAVE_LIBINTL_H
> +-#include_next <libintl.h>
> ++#include "../intl/libintl.h"
> + #endif
> +
> + #ifndef _
> +--
> +1.8.3.1
> +
> diff --git a/meta/recipes-core/glibc/cross-localedef-native_2.20.bb b/meta/recipes-core/glibc/cross-localedef-native_2.20.bb
> index ccf56a9..50a280b 100644
> --- a/meta/recipes-core/glibc/cross-localedef-native_2.20.bb
> +++ b/meta/recipes-core/glibc/cross-localedef-native_2.20.bb
> @@ -19,6 +19,7 @@ PV = "2.20"
>  SRC_URI = "git://sourceware.org/git/glibc.git;branch=release/${PV}/master;name=glibc \
>             git://github.com/kraj/localedef;branch=master;name=localedef;destsuffix=git/localedef \
>            file://fix_for_centos_5.8.patch \
> +           file://avoid-dragging-in-gettext-s-libintl.h-libintl.patch \
>             ${EGLIBCPATCHES} \
>            "
>  EGLIBCPATCHES = "\
> --
> 1.8.3.1
>
ping


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

* Re: [PATCH][V2 2/3] gettext-native: build libintl so that other native recipes can use them
  2014-12-03 12:40 ` [PATCH][V2 2/3] gettext-native: build libintl so that other native recipes can use them Andreas Müller
  2014-12-15 10:30   ` Andreas Müller
@ 2014-12-24 18:58   ` Saul Wold
  1 sibling, 0 replies; 7+ messages in thread
From: Saul Wold @ 2014-12-24 18:58 UTC (permalink / raw)
  To: Andreas Müller, openembedded-core, raj.khem

On 12/03/2014 04:40 AM, Andreas Müller wrote:
> I have a native recipe around which directly compiles/links against libintl.
> Gettext contains this code (usually supplied by glibc) as fallback. In native
> case this code is used by default because we don't have glibc there. This patch
> changes static linking into dynamic linking making libintl code shareable.
>
> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> ---
>   meta/recipes-core/gettext/gettext_0.18.3.2.bb | 3 +++
>   1 file changed, 3 insertions(+)
>
> diff --git a/meta/recipes-core/gettext/gettext_0.18.3.2.bb b/meta/recipes-core/gettext/gettext_0.18.3.2.bb
> index 65d4103..98838d7 100644
> --- a/meta/recipes-core/gettext/gettext_0.18.3.2.bb
> +++ b/meta/recipes-core/gettext/gettext_0.18.3.2.bb
> @@ -39,6 +39,9 @@ EXTRA_OECONF += "--without-lispdir \
>                    --with-included-libunistring \
>                   "
>
> +# we have no glib intl
> +EXTRA_OECONF_append_class-native = "--with-included-gettext --enable-shared"
> +

This patch might be causing problems in other places, we had a recent 
failure on the Autobuilder:

> | Building program /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-deb/build/build/tmp/work/x86_64-linux/apt-native/0.9.9.4-r0/build/bin/methods/mirror
> | /usr/bin/ld: /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-deb/build/build/tmp/work/x86_64-linux/apt-native/0.9.9.4-r0/build/obj/methods/mirror.o: undefined reference to symbol 'libintl_dgettext'
> | /usr/bin/ld: note: 'libintl_dgettext' is defined in DSO /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-deb/build/build/tmp/sysroots/x86_64-linux/usr/lib/libintl.so.8 so try adding it to the linker command line
> | /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-deb/build/build/tmp/sysroots/x86_64-linux/usr/lib/libintl.so.8: could not read symbols: Invalid operation
> | collect2: error: ld returned 1 exit status
> | make[2]: *** [/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-deb/build/build/tmp/work/x86_64-linux/apt-native/0.9.9.4-r0/build/bin/methods/mirror] Error 1
> | make[1]: *** [all] Error 2
> | make: *** [all] Error 2
> | ERROR: oe_runmake failed
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_compile (log file is located at /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-deb/build/build/tmp/work/x86_64-linux/apt-native/0.9.9.4-r0/temp/log.do_compile.12994)
> NOTE: recipe apt-native-0.9.9.4-r0: task do_compile: Failed

Since gettext affects alot of other projects, can you try a world build 
to ensure there is not other issues with this change. Or check at least 
check more native recipes.

Thanks

Sau!
>   acpaths = '-I ${S}/gettext-runtime/m4 \
>              -I ${S}/gettext-tools/m4'
>
>


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

end of thread, other threads:[~2014-12-24 18:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-03 12:40 [PATCH][V2 1/3] pythonnative: set PYTHON_EXECUTABLE so that cmake can find it Andreas Müller
2014-12-03 12:40 ` [PATCH][V2 2/3] gettext-native: build libintl so that other native recipes can use them Andreas Müller
2014-12-15 10:30   ` Andreas Müller
2014-12-24 18:58   ` Saul Wold
2014-12-03 12:40 ` [PATCH][V2 3/3] fix cross-localedef build with gettext-native in sysroot Andreas Müller
2014-12-15 10:31   ` Andreas Müller
2014-12-15  9:12 ` [PATCH][V2 1/3] pythonnative: set PYTHON_EXECUTABLE so that cmake can find it Andreas Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox