* [PATCH 00/10] Small fixes
@ 2011-07-20 21:06 Martin Jansa
2011-07-20 21:06 ` [PATCH 01/10] tcmode-default: set preferred version also for (e)glibc-locale Martin Jansa
` (12 more replies)
0 siblings, 13 replies; 29+ messages in thread
From: Martin Jansa @ 2011-07-20 21:06 UTC (permalink / raw)
To: openembedded-core
Fixes for recipes using intltool, distributions not having locales support in libc and distutils fix
The following changes since commit 0d03800caffc2341b74190d38f7a372223c89f4c:
lsbsetup_1.0.bb: Change the hardcoded /usr/lib to support multilib (2011-07-20 15:43:43 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib jansa/pull
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/pull
Martin Jansa (10):
tcmode-default: set preferred version also for (e)glibc-locale
eglibc-package: don't fail without localedef/gconv
intltool: inherit perlnative
polkit: inherit perlnative
shared-mime-info: inherit perlnative
xkeyboard-config: inherit perlnative
avahi: inherit perlnative
vte: inherit perlnative
python: save Makefile.sysroot in do_compile
python: add patch to fix cross compilation on host with linux-3.0
meta/conf/distro/include/tcmode-default.inc | 2 ++
meta/recipes-connectivity/avahi/avahi.inc | 2 +-
meta/recipes-core/eglibc/eglibc-package.inc | 8 ++++++--
meta/recipes-devtools/intltool/intltool.inc | 3 +--
.../python/python/07-linux3-regen-fix.patch | 18 ++++++++++++++++++
meta/recipes-devtools/python/python_2.6.6.bb | 8 +++++---
meta/recipes-extended/polkit/polkit_0.101.bb | 2 +-
.../xorg-lib/xkeyboard-config_2.1.bb | 2 +-
.../shared-mime-info/shared-mime-info.inc | 2 +-
meta/recipes-support/vte/vte.inc | 2 +-
10 files changed, 37 insertions(+), 12 deletions(-)
create mode 100644 meta/recipes-devtools/python/python/07-linux3-regen-fix.patch
--
1.7.6
^ permalink raw reply [flat|nested] 29+ messages in thread
* [PATCH 01/10] tcmode-default: set preferred version also for (e)glibc-locale
2011-07-20 21:06 [PATCH 00/10] Small fixes Martin Jansa
@ 2011-07-20 21:06 ` Martin Jansa
2011-07-20 21:06 ` [PATCH 02/10] eglibc-package: don't fail without localedef/gconv Martin Jansa
` (11 subsequent siblings)
12 siblings, 0 replies; 29+ messages in thread
From: Martin Jansa @ 2011-07-20 21:06 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/conf/distro/include/tcmode-default.inc | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
index e27a1b4..86538f1 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -50,10 +50,12 @@ PREFERRED_VERSION_binutils-cross-canadian ?= "${BINUVERSION}"
PREFERRED_VERSION_linux-libc-headers ?= "${LINUXLIBCVERSION}"
PREFERRED_VERSION_linux-libc-headers-nativesdk ?= "${LINUXLIBCVERSION}"
PREFERRED_VERSION_glibc ?= "${GLIBCVERSION}"
+PREFERRED_VERSION_glibc-locale ?= "${GLIBCVERSION}"
PREFERRED_VERSION_glibc-nativesdk ?= "${GLIBCVERSION}"
PREFERRED_VERSION_glibc-initial ?= "${GLIBCVERSION}"
PREFERRED_VERSION_glibc-initial-nativesdk ?= "${GLIBCVERSION}"
PREFERRED_VERSION_eglibc ?= "${EGLIBCVERSION}"
+PREFERRED_VERSION_eglibc-locale ?= "${EGLIBCVERSION}"
PREFERRED_VERSION_eglibc-nativesdk ?= "${EGLIBCVERSION}"
PREFERRED_VERSION_eglibc-initial ?= "${EGLIBCVERSION}"
PREFERRED_VERSION_eglibc-initial-nativesdk ?= "${EGLIBCVERSION}"
--
1.7.6
^ permalink raw reply related [flat|nested] 29+ messages in thread
* [PATCH 02/10] eglibc-package: don't fail without localedef/gconv
2011-07-20 21:06 [PATCH 00/10] Small fixes Martin Jansa
2011-07-20 21:06 ` [PATCH 01/10] tcmode-default: set preferred version also for (e)glibc-locale Martin Jansa
@ 2011-07-20 21:06 ` Martin Jansa
2011-08-26 10:12 ` Phil Blundell
2011-07-20 21:06 ` [PATCH 03/10] intltool: inherit perlnative Martin Jansa
` (10 subsequent siblings)
12 siblings, 1 reply; 29+ messages in thread
From: Martin Jansa @ 2011-07-20 21:06 UTC (permalink / raw)
To: openembedded-core
* in some cases we don't have localedef/gconv built
ie when DISTRO_FEATURES lacks one of libc-charsets, libc-locales, libc-locale-code
then is better ignore localedef/gconv instead of do_install_locale
failing like in this bugreport:
http://bugzilla.yoctoproject.org/show_bug.cgi?id=1209
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-core/eglibc/eglibc-package.inc | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc
index faf68f7..9e71150 100644
--- a/meta/recipes-core/eglibc/eglibc-package.inc
+++ b/meta/recipes-core/eglibc/eglibc-package.inc
@@ -98,8 +98,12 @@ do_install_locale () {
if [ "${base_libdir}" != "${libdir}" ]; then
cp -fpPR ${D}${base_libdir}/* ${dest}${base_libdir}
fi
- mv ${D}${bindir}/localedef ${dest}${bindir}
- mv ${D}${libdir}/gconv ${dest}${libdir}
+ if [ -f ${D}${bindir}/localedef ]; then
+ mv -f ${D}${bindir}/localedef ${dest}${bindir}
+ fi
+ if [ -f ${D}${libdir}/gconv ]; then
+ mv -f ${D}${libdir}/gconv ${dest}${libdir}
+ fi
cp -fpPR ${D}${libdir}/* ${dest}${libdir}
mv ${D}${datadir}/i18n ${dest}${datadir}
cp -fpPR ${D}${datadir}/* ${dest}${datadir}
--
1.7.6
^ permalink raw reply related [flat|nested] 29+ messages in thread
* [PATCH 03/10] intltool: inherit perlnative
2011-07-20 21:06 [PATCH 00/10] Small fixes Martin Jansa
2011-07-20 21:06 ` [PATCH 01/10] tcmode-default: set preferred version also for (e)glibc-locale Martin Jansa
2011-07-20 21:06 ` [PATCH 02/10] eglibc-package: don't fail without localedef/gconv Martin Jansa
@ 2011-07-20 21:06 ` Martin Jansa
2011-07-21 5:35 ` Frans Meulenbroeks
2011-07-20 21:06 ` [PATCH 04/10] polkit: " Martin Jansa
` (9 subsequent siblings)
12 siblings, 1 reply; 29+ messages in thread
From: Martin Jansa @ 2011-07-20 21:06 UTC (permalink / raw)
To: openembedded-core
* otherwise /usr/bin/env perl will pick perl from host and
DEPENDS = libxml-parser-perl-native
doesn't help (and do_configure fails on hosts without libxml-parser-perl installed)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-devtools/intltool/intltool.inc | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-devtools/intltool/intltool.inc b/meta/recipes-devtools/intltool/intltool.inc
index a4bccd3..5f0eb02 100644
--- a/meta/recipes-devtools/intltool/intltool.inc
+++ b/meta/recipes-devtools/intltool/intltool.inc
@@ -10,7 +10,6 @@ DEPENDS = "libxml-parser-perl-native"
#RDEPENDS_${PN} = "libxml-parser-perl"
RRECOMMENDS_${PN} = "perl-modules"
-inherit autotools pkgconfig
+inherit autotools pkgconfig perlnative
-export PERL_virtclass-native = "/usr/bin/env perl"
BBCLASSEXTEND = "native"
--
1.7.6
^ permalink raw reply related [flat|nested] 29+ messages in thread
* [PATCH 04/10] polkit: inherit perlnative
2011-07-20 21:06 [PATCH 00/10] Small fixes Martin Jansa
` (2 preceding siblings ...)
2011-07-20 21:06 ` [PATCH 03/10] intltool: inherit perlnative Martin Jansa
@ 2011-07-20 21:06 ` Martin Jansa
2011-07-20 21:14 ` Phil Blundell
2011-07-20 21:06 ` [PATCH 05/10] shared-mime-info: " Martin Jansa
` (8 subsequent siblings)
12 siblings, 1 reply; 29+ messages in thread
From: Martin Jansa @ 2011-07-20 21:06 UTC (permalink / raw)
To: openembedded-core
* otherwise perl from host is used and if there isn't libxml-parser-perl installed on host it fails with:
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-extended/polkit/polkit_0.101.bb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-extended/polkit/polkit_0.101.bb b/meta/recipes-extended/polkit/polkit_0.101.bb
index 6769914..fed3baf 100644
--- a/meta/recipes-extended/polkit/polkit_0.101.bb
+++ b/meta/recipes-extended/polkit/polkit_0.101.bb
@@ -13,7 +13,7 @@ DEPENDS = "libpam expat dbus-glib eggdbus intltool"
RDEPENDS_${PN} = "libpam"
EXTRA_OECONF = "--with-authfw=pam --with-os-type=moblin --disable-man-pages --disable-gtk-doc --disable-introspection"
-inherit autotools pkgconfig
+inherit autotools pkgconfig perlnative
FILES_${PN} += "${libdir}/${PN}-1/extensions/*.so \
${datadir}/${PN}-1/actions/* \
--
1.7.6
^ permalink raw reply related [flat|nested] 29+ messages in thread
* [PATCH 05/10] shared-mime-info: inherit perlnative
2011-07-20 21:06 [PATCH 00/10] Small fixes Martin Jansa
` (3 preceding siblings ...)
2011-07-20 21:06 ` [PATCH 04/10] polkit: " Martin Jansa
@ 2011-07-20 21:06 ` Martin Jansa
2011-07-20 21:06 ` [PATCH 06/10] xkeyboard-config: " Martin Jansa
` (7 subsequent siblings)
12 siblings, 0 replies; 29+ messages in thread
From: Martin Jansa @ 2011-07-20 21:06 UTC (permalink / raw)
To: openembedded-core
* otherwise perl from host is used and if there isn't libxml-parser-perl
installed on host it fails with:
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
.../shared-mime-info/shared-mime-info.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-support/shared-mime-info/shared-mime-info.inc b/meta/recipes-support/shared-mime-info/shared-mime-info.inc
index 64eef9d..8b10535 100644
--- a/meta/recipes-support/shared-mime-info/shared-mime-info.inc
+++ b/meta/recipes-support/shared-mime-info/shared-mime-info.inc
@@ -10,7 +10,7 @@ DEPENDS_virtclass-native = "libxml2-native intltool-native glib-2.0-native"
SRC_URI = "http://freedesktop.org/~hadess/shared-mime-info-${PV}.tar.bz2"
-inherit autotools pkgconfig gettext
+inherit autotools pkgconfig gettext perlnative
EXTRA_OECONF = "--disable-update-mimedb"
--
1.7.6
^ permalink raw reply related [flat|nested] 29+ messages in thread
* [PATCH 06/10] xkeyboard-config: inherit perlnative
2011-07-20 21:06 [PATCH 00/10] Small fixes Martin Jansa
` (4 preceding siblings ...)
2011-07-20 21:06 ` [PATCH 05/10] shared-mime-info: " Martin Jansa
@ 2011-07-20 21:06 ` Martin Jansa
2011-07-20 21:06 ` [PATCH 07/10] avahi: " Martin Jansa
` (6 subsequent siblings)
12 siblings, 0 replies; 29+ messages in thread
From: Martin Jansa @ 2011-07-20 21:06 UTC (permalink / raw)
To: openembedded-core
* otherwise perl from host is used and if there isn't libxml-parser-perl
installed on host it fails with:
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
.../xorg-lib/xkeyboard-config_2.1.bb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.1.bb b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.1.bb
index b077fa3..5633d9c 100644
--- a/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.1.bb
+++ b/meta/recipes-graphics/xorg-lib/xkeyboard-config_2.1.bb
@@ -26,7 +26,7 @@ EXTRA_OECONF = "--with-xkb-rules-symlink=xorg"
RDEPENDS_${PN} += "xkbcomp"
FILES_${PN} += "${datadir}/X11/xkb"
-inherit autotools pkgconfig
+inherit autotools pkgconfig perlnative
do_install_append () {
install -d ${D}/usr/share/X11/xkb/compiled
--
1.7.6
^ permalink raw reply related [flat|nested] 29+ messages in thread
* [PATCH 07/10] avahi: inherit perlnative
2011-07-20 21:06 [PATCH 00/10] Small fixes Martin Jansa
` (5 preceding siblings ...)
2011-07-20 21:06 ` [PATCH 06/10] xkeyboard-config: " Martin Jansa
@ 2011-07-20 21:06 ` Martin Jansa
2011-07-20 21:06 ` [PATCH 08/10] vte: " Martin Jansa
` (5 subsequent siblings)
12 siblings, 0 replies; 29+ messages in thread
From: Martin Jansa @ 2011-07-20 21:06 UTC (permalink / raw)
To: openembedded-core
* otherwise perl from host is used and if there isn't libxml-parser-perl
installed on host it fails with:
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-connectivity/avahi/avahi.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-connectivity/avahi/avahi.inc b/meta/recipes-connectivity/avahi/avahi.inc
index dc7a5ae..5695403 100644
--- a/meta/recipes-connectivity/avahi/avahi.inc
+++ b/meta/recipes-connectivity/avahi/avahi.inc
@@ -21,7 +21,7 @@ SRC_URI = "http://avahi.org/download/avahi-${PV}.tar.gz \
file://99avahi-autoipd \
file://initscript.patch"
-inherit autotools pkgconfig update-rc.d gettext
+inherit autotools pkgconfig update-rc.d gettext perlnative
EXTRA_OECONF = "--with-distro=debian \
--with-avahi-priv-access-group=adm \
--
1.7.6
^ permalink raw reply related [flat|nested] 29+ messages in thread
* [PATCH 08/10] vte: inherit perlnative
2011-07-20 21:06 [PATCH 00/10] Small fixes Martin Jansa
` (6 preceding siblings ...)
2011-07-20 21:06 ` [PATCH 07/10] avahi: " Martin Jansa
@ 2011-07-20 21:06 ` Martin Jansa
2011-07-20 21:06 ` [PATCH 09/10] python: save Makefile.sysroot in do_compile Martin Jansa
` (4 subsequent siblings)
12 siblings, 0 replies; 29+ messages in thread
From: Martin Jansa @ 2011-07-20 21:06 UTC (permalink / raw)
To: openembedded-core
* otherwise perl from host is used and if there isn't libxml-parser-perl
installed on host it fails with:
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-support/vte/vte.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-support/vte/vte.inc b/meta/recipes-support/vte/vte.inc
index 6138f8c..1ff0ba0 100644
--- a/meta/recipes-support/vte/vte.inc
+++ b/meta/recipes-support/vte/vte.inc
@@ -4,7 +4,7 @@ LICENSE = "LGPLv2.1+"
DEPENDS = " glib-2.0 gtk+ intltool-native ncurses"
RDEPENDS_libvte = "vte-termcap"
-inherit gnome
+inherit gnome perlnative
EXTRA_OECONF = "--disable-gtk-doc --disable-python"
--
1.7.6
^ permalink raw reply related [flat|nested] 29+ messages in thread
* [PATCH 09/10] python: save Makefile.sysroot in do_compile
2011-07-20 21:06 [PATCH 00/10] Small fixes Martin Jansa
` (7 preceding siblings ...)
2011-07-20 21:06 ` [PATCH 08/10] vte: " Martin Jansa
@ 2011-07-20 21:06 ` Martin Jansa
2011-07-20 21:06 ` [PATCH 10/10] python: add patch to fix cross compilation on host with linux-3.0 Martin Jansa
` (3 subsequent siblings)
12 siblings, 0 replies; 29+ messages in thread
From: Martin Jansa @ 2011-07-20 21:06 UTC (permalink / raw)
To: openembedded-core
* otherwise calling do_install twice results in Makefile.sysroot == Makefile.orig and distutils using wrong LIBDIR (from host)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-devtools/python/python_2.6.6.bb | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-devtools/python/python_2.6.6.bb b/meta/recipes-devtools/python/python_2.6.6.bb
index 800ba04..76f32f2 100644
--- a/meta/recipes-devtools/python/python_2.6.6.bb
+++ b/meta/recipes-devtools/python/python_2.6.6.bb
@@ -1,7 +1,7 @@
require python.inc
DEPENDS = "python-native db gdbm openssl readline sqlite3 zlib"
DEPENDS_sharprom = "python-native db readline zlib gdbm openssl"
-PR = "${INC_PR}.8"
+PR = "${INC_PR}.9"
LIC_FILES_CHKSUM = "file://LICENSE;md5=38fdd546420fab09ac6bd3d8a1c83eb6"
DISTRO_SRC_URI ?= "file://sitecustomize.py"
@@ -54,6 +54,9 @@ do_compile() {
sed -i -e 's,${includedir},${STAGING_INCDIR},' Makefile
sed -i -e 's,${libdir},${STAGING_LIBDIR},' Makefile
install -m 0644 Makefile ${STAGING_LIBDIR}/python${PYTHON_MAJMIN}/config/
+ # save copy of it now, because if we do it in do_install and
+ # then call do_install twice we get Makefile.orig == Makefile.sysroot
+ install -m 0644 Makefile Makefile.sysroot
oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/pgen \
HOSTPYTHON=${STAGING_BINDIR_NATIVE}/python \
@@ -75,7 +78,6 @@ do_compile() {
do_install() {
# make install needs the original Makefile, or otherwise the inclues would
# go to ${D}${STAGING...}/...
- install -m 0644 Makefile Makefile.sysroot
install -m 0644 Makefile.orig Makefile
oe_runmake HOSTPGEN=${STAGING_BINDIR_NATIVE}/pgen \
@@ -86,7 +88,6 @@ do_install() {
DESTDIR=${D} LIBDIR=${libdir} install
install -m 0644 Makefile.sysroot ${D}/${libdir}/python${PYTHON_MAJMIN}/config/Makefile
- rm Makefile.sysroot
if [ -e ${WORKDIR}/sitecustomize.py ]; then
install -m 0644 ${WORKDIR}/sitecustomize.py ${D}/${libdir}/python${PYTHON_MAJMIN}
--
1.7.6
^ permalink raw reply related [flat|nested] 29+ messages in thread
* [PATCH 10/10] python: add patch to fix cross compilation on host with linux-3.0
2011-07-20 21:06 [PATCH 00/10] Small fixes Martin Jansa
` (8 preceding siblings ...)
2011-07-20 21:06 ` [PATCH 09/10] python: save Makefile.sysroot in do_compile Martin Jansa
@ 2011-07-20 21:06 ` Martin Jansa
2011-07-20 22:02 ` [PATCH 00/10] Small fixes Tom Rini
` (2 subsequent siblings)
12 siblings, 0 replies; 29+ messages in thread
From: Martin Jansa @ 2011-07-20 21:06 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
.../python/python/07-linux3-regen-fix.patch | 18 ++++++++++++++++++
meta/recipes-devtools/python/python_2.6.6.bb | 1 +
2 files changed, 19 insertions(+), 0 deletions(-)
create mode 100644 meta/recipes-devtools/python/python/07-linux3-regen-fix.patch
diff --git a/meta/recipes-devtools/python/python/07-linux3-regen-fix.patch b/meta/recipes-devtools/python/python/07-linux3-regen-fix.patch
new file mode 100644
index 0000000..d7fb313
--- /dev/null
+++ b/meta/recipes-devtools/python/python/07-linux3-regen-fix.patch
@@ -0,0 +1,18 @@
+Upstream-Status: Inappropriate [embedded specific]
+
+Without this patch it calls cross-compiled python if host is running linux-3.0
+python$EXE ../../Tools/scripts/h2py.py -i '(u_long)' /usr/include/netinet/in.h
+| ./regen: line 3: /OE/shr-core/tmp/work/armv4t-oe-linux-gnueabi/python-2.6.6-nk2.8/Python-2.6.6/python: cannot execute binary file
+
+diff -uNr Python-2.6.6.orig//Lib/plat-linux3/regen Python-2.6.6/Lib/plat-linux3/regen
+--- Python-2.6.6.orig//Lib/plat-linux3/regen 1970-01-01 01:00:00.000000000 +0100
++++ Python-2.6.6/Lib/plat-linux3/regen 2001-08-09 14:48:17.000000000 +0200
+@@ -0,0 +1,8 @@
++#! /bin/sh
++case `uname` in
++Linux*) ;;
++*) echo Probably not on a Linux system 1>&2
++ exit 1;;
++esac
++set -v
++h2py -i '(u_long)' /usr/include/sys/types.h /usr/include/netinet/in.h /usr/include/dlfcn.h
diff --git a/meta/recipes-devtools/python/python_2.6.6.bb b/meta/recipes-devtools/python/python_2.6.6.bb
index 76f32f2..598fea8 100644
--- a/meta/recipes-devtools/python/python_2.6.6.bb
+++ b/meta/recipes-devtools/python/python_2.6.6.bb
@@ -15,6 +15,7 @@ SRC_URI = "\
file://05-enable-ctypes-cross-build.patch \
file://06-ctypes-libffi-fix-configure.patch \
file://06-avoid_usr_lib_termcap_path_in_linking.patch \
+ file://07-linux3-regen-fix.patch \
file://99-ignore-optimization-flag.patch \
${DISTRO_SRC_URI} \
file://multilib.patch \
--
1.7.6
^ permalink raw reply related [flat|nested] 29+ messages in thread
* Re: [PATCH 04/10] polkit: inherit perlnative
2011-07-20 21:06 ` [PATCH 04/10] polkit: " Martin Jansa
@ 2011-07-20 21:14 ` Phil Blundell
0 siblings, 0 replies; 29+ messages in thread
From: Phil Blundell @ 2011-07-20 21:14 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Wed, 2011-07-20 at 23:06 +0200, Martin Jansa wrote:
> * otherwise perl from host is used and if there isn't libxml-parser-perl installed on host it fails with:
> checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
Is it the case that any recipe depending on intltool is going to have
this issue? If so, maybe we could have a recipe_sanity check for that.
p.
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: [PATCH 00/10] Small fixes
2011-07-20 21:06 [PATCH 00/10] Small fixes Martin Jansa
` (9 preceding siblings ...)
2011-07-20 21:06 ` [PATCH 10/10] python: add patch to fix cross compilation on host with linux-3.0 Martin Jansa
@ 2011-07-20 22:02 ` Tom Rini
2011-07-21 2:03 ` Saul Wold
2011-07-21 0:18 ` Khem Raj
2011-07-22 15:32 ` Saul Wold
12 siblings, 1 reply; 29+ messages in thread
From: Tom Rini @ 2011-07-20 22:02 UTC (permalink / raw)
To: openembedded-core
On 07/20/2011 02:06 PM, Martin Jansa wrote:
> Fixes for recipes using intltool, distributions not having locales support in libc and distutils fix
>
> The following changes since commit 0d03800caffc2341b74190d38f7a372223c89f4c:
>
> lsbsetup_1.0.bb: Change the hardcoded /usr/lib to support multilib (2011-07-20 15:43:43 +0100)
>
> are available in the git repository at:
> git://git.openembedded.org/openembedded-core-contrib jansa/pull
> http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/pull
>
> Martin Jansa (10):
> tcmode-default: set preferred version also for (e)glibc-locale
> eglibc-package: don't fail without localedef/gconv
> intltool: inherit perlnative
> polkit: inherit perlnative
> shared-mime-info: inherit perlnative
> xkeyboard-config: inherit perlnative
> avahi: inherit perlnative
> vte: inherit perlnative
> python: save Makefile.sysroot in do_compile
> python: add patch to fix cross compilation on host with linux-3.0
So, with the long path series I posted most of the perlnative's should
be handled automatically with cpan having fixed up the tool in question.
I suspect however that we have a few things like intltool that need
perlnative but don't today.
--
Tom Rini
Mentor Graphics Corporation
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: [PATCH 00/10] Small fixes
2011-07-20 21:06 [PATCH 00/10] Small fixes Martin Jansa
` (10 preceding siblings ...)
2011-07-20 22:02 ` [PATCH 00/10] Small fixes Tom Rini
@ 2011-07-21 0:18 ` Khem Raj
2011-07-21 0:54 ` Tom Rini
2011-07-22 15:32 ` Saul Wold
12 siblings, 1 reply; 29+ messages in thread
From: Khem Raj @ 2011-07-21 0:18 UTC (permalink / raw)
To: openembedded-core
On 07/20/2011 02:06 PM, Martin Jansa wrote:
> Fixes for recipes using intltool, distributions not having locales support in libc and distutils fix
>
> The following changes since commit 0d03800caffc2341b74190d38f7a372223c89f4c:
>
> lsbsetup_1.0.bb: Change the hardcoded /usr/lib to support multilib (2011-07-20 15:43:43 +0100)
>
> are available in the git repository at:
> git://git.openembedded.org/openembedded-core-contrib jansa/pull
> http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/pull
>
> Martin Jansa (10):
> tcmode-default: set preferred version also for (e)glibc-locale
> eglibc-package: don't fail without localedef/gconv
> intltool: inherit perlnative
> polkit: inherit perlnative
> shared-mime-info: inherit perlnative
> xkeyboard-config: inherit perlnative
> avahi: inherit perlnative
> vte: inherit perlnative
I guess all inherit perlnative patches can me squashed into one
> python: save Makefile.sysroot in do_compile
> python: add patch to fix cross compilation on host with linux-3.0
>
> meta/conf/distro/include/tcmode-default.inc | 2 ++
> meta/recipes-connectivity/avahi/avahi.inc | 2 +-
> meta/recipes-core/eglibc/eglibc-package.inc | 8 ++++++--
> meta/recipes-devtools/intltool/intltool.inc | 3 +--
> .../python/python/07-linux3-regen-fix.patch | 18 ++++++++++++++++++
> meta/recipes-devtools/python/python_2.6.6.bb | 8 +++++---
> meta/recipes-extended/polkit/polkit_0.101.bb | 2 +-
> .../xorg-lib/xkeyboard-config_2.1.bb | 2 +-
> .../shared-mime-info/shared-mime-info.inc | 2 +-
> meta/recipes-support/vte/vte.inc | 2 +-
> 10 files changed, 37 insertions(+), 12 deletions(-)
> create mode 100644 meta/recipes-devtools/python/python/07-linux3-regen-fix.patch
>
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: [PATCH 00/10] Small fixes
2011-07-21 0:18 ` Khem Raj
@ 2011-07-21 0:54 ` Tom Rini
2011-07-21 6:11 ` Martin Jansa
0 siblings, 1 reply; 29+ messages in thread
From: Tom Rini @ 2011-07-21 0:54 UTC (permalink / raw)
To: openembedded-core
On 07/20/2011 05:18 PM, Khem Raj wrote:
> On 07/20/2011 02:06 PM, Martin Jansa wrote:
>> Fixes for recipes using intltool, distributions not having locales
>> support in libc and distutils fix
>>
>> The following changes since commit
>> 0d03800caffc2341b74190d38f7a372223c89f4c:
>>
>> lsbsetup_1.0.bb: Change the hardcoded /usr/lib to support multilib
>> (2011-07-20 15:43:43 +0100)
>>
>> are available in the git repository at:
>> git://git.openembedded.org/openembedded-core-contrib jansa/pull
>>
>> http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/pull
>>
>>
>> Martin Jansa (10):
>> tcmode-default: set preferred version also for (e)glibc-locale
>> eglibc-package: don't fail without localedef/gconv
>> intltool: inherit perlnative
>> polkit: inherit perlnative
>> shared-mime-info: inherit perlnative
>> xkeyboard-config: inherit perlnative
>> avahi: inherit perlnative
>> vte: inherit perlnative
>
> I guess all inherit perlnative patches can me squashed into one
Or not done? :)
--
Tom Rini
Mentor Graphics Corporation
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: [PATCH 00/10] Small fixes
2011-07-20 22:02 ` [PATCH 00/10] Small fixes Tom Rini
@ 2011-07-21 2:03 ` Saul Wold
0 siblings, 0 replies; 29+ messages in thread
From: Saul Wold @ 2011-07-21 2:03 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On 07/20/2011 03:02 PM, Tom Rini wrote:
> On 07/20/2011 02:06 PM, Martin Jansa wrote:
>> Fixes for recipes using intltool, distributions not having locales support in libc and distutils fix
>>
>> The following changes since commit 0d03800caffc2341b74190d38f7a372223c89f4c:
>>
>> lsbsetup_1.0.bb: Change the hardcoded /usr/lib to support multilib (2011-07-20 15:43:43 +0100)
>>
>> are available in the git repository at:
>> git://git.openembedded.org/openembedded-core-contrib jansa/pull
>> http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/pull
>>
>> Martin Jansa (10):
>> tcmode-default: set preferred version also for (e)glibc-locale
>> eglibc-package: don't fail without localedef/gconv
>> intltool: inherit perlnative
>> polkit: inherit perlnative
>> shared-mime-info: inherit perlnative
>> xkeyboard-config: inherit perlnative
>> avahi: inherit perlnative
>> vte: inherit perlnative
>> python: save Makefile.sysroot in do_compile
>> python: add patch to fix cross compilation on host with linux-3.0
>
> So, with the long path series I posted most of the perlnative's should
> be handled automatically with cpan having fixed up the tool in question.
> I suspect however that we have a few things like intltool that need
> perlnative but don't today.
>
Are they really still required after Tom's perlnative cpan fix goes in?
I guess I need a test case to try and duplicate the failure better since
I don't see it on any of my 3 build machines!
Sau!
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: [PATCH 03/10] intltool: inherit perlnative
2011-07-20 21:06 ` [PATCH 03/10] intltool: inherit perlnative Martin Jansa
@ 2011-07-21 5:35 ` Frans Meulenbroeks
0 siblings, 0 replies; 29+ messages in thread
From: Frans Meulenbroeks @ 2011-07-21 5:35 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 932 bytes --]
General remark:
I suspect lots of recipes depend on perl if only in their configure scripts.
I guess doing per-patckage staging could improve the visibility of this.
Also wrt /usr/bin/env perl:
I haven't peeked into the source of env, but ideally non-native recipes
should maybe not rely on host packages, only on the ones we build.
E.g. no /usr/bin in PATH wehn building these (and yes, I know that is not
trivial and will trigger some bugs and it also does not help against hard
coded paths, and probalby some progs will cause a pain (e.g. /bin/sh)).
Maybe a chrooted system would be better, but I vaguely recall that this was
once discussed (and presumably rejected).
Another thing we could do is have our own env program which (in this case)
does not return a path to perl if the native package is not there (and
thereby causing things to fail instead of silently using the host perl).
Have fun!
Frans.
[-- Attachment #2: Type: text/html, Size: 967 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: [PATCH 00/10] Small fixes
2011-07-21 0:54 ` Tom Rini
@ 2011-07-21 6:11 ` Martin Jansa
2011-07-21 9:39 ` Richard Purdie
2011-07-21 14:28 ` Tom Rini
0 siblings, 2 replies; 29+ messages in thread
From: Martin Jansa @ 2011-07-21 6:11 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 1358 bytes --]
On Wed, Jul 20, 2011 at 05:54:55PM -0700, Tom Rini wrote:
> On 07/20/2011 05:18 PM, Khem Raj wrote:
> > On 07/20/2011 02:06 PM, Martin Jansa wrote:
> >> Fixes for recipes using intltool, distributions not having locales
> >> support in libc and distutils fix
> >>
> >> The following changes since commit
> >> 0d03800caffc2341b74190d38f7a372223c89f4c:
> >>
> >> lsbsetup_1.0.bb: Change the hardcoded /usr/lib to support multilib
> >> (2011-07-20 15:43:43 +0100)
> >>
> >> are available in the git repository at:
> >> git://git.openembedded.org/openembedded-core-contrib jansa/pull
> >>
> >> http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/pull
> >>
> >>
> >> Martin Jansa (10):
> >> tcmode-default: set preferred version also for (e)glibc-locale
> >> eglibc-package: don't fail without localedef/gconv
> >> intltool: inherit perlnative
> >> polkit: inherit perlnative
> >> shared-mime-info: inherit perlnative
> >> xkeyboard-config: inherit perlnative
> >> avahi: inherit perlnative
> >> vte: inherit perlnative
> >
> > I guess all inherit perlnative patches can me squashed into one
>
> Or not done? :)
I still see this issue, with
http://patches.openembedded.org/patch/8069/
applied.
Regards,
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: [PATCH 00/10] Small fixes
2011-07-21 6:11 ` Martin Jansa
@ 2011-07-21 9:39 ` Richard Purdie
2011-07-21 16:44 ` Khem Raj
2011-07-21 14:28 ` Tom Rini
1 sibling, 1 reply; 29+ messages in thread
From: Richard Purdie @ 2011-07-21 9:39 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Thu, 2011-07-21 at 08:11 +0200, Martin Jansa wrote:
> On Wed, Jul 20, 2011 at 05:54:55PM -0700, Tom Rini wrote:
> > On 07/20/2011 05:18 PM, Khem Raj wrote:
> > > On 07/20/2011 02:06 PM, Martin Jansa wrote:
> > >> Fixes for recipes using intltool, distributions not having locales
> > >> support in libc and distutils fix
> > >>
> > >> The following changes since commit
> > >> 0d03800caffc2341b74190d38f7a372223c89f4c:
> > >>
> > >> lsbsetup_1.0.bb: Change the hardcoded /usr/lib to support multilib
> > >> (2011-07-20 15:43:43 +0100)
> > >>
> > >> are available in the git repository at:
> > >> git://git.openembedded.org/openembedded-core-contrib jansa/pull
> > >>
> > >> http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/pull
> > >>
> > >>
> > >> Martin Jansa (10):
> > >> tcmode-default: set preferred version also for (e)glibc-locale
> > >> eglibc-package: don't fail without localedef/gconv
> > >> intltool: inherit perlnative
> > >> polkit: inherit perlnative
> > >> shared-mime-info: inherit perlnative
> > >> xkeyboard-config: inherit perlnative
> > >> avahi: inherit perlnative
> > >> vte: inherit perlnative
> > >
> > > I guess all inherit perlnative patches can me squashed into one
> >
> > Or not done? :)
>
> I still see this issue, with
> http://patches.openembedded.org/patch/8069/
> applied.
I'm wondering if a better approach to fixing this might be to change
intltool.m4 so where it says AC_PATH_PROG(INTLTOOL_PERL, perl), it says
AC_PATH_PROG(INTLTOOL_PERL, nativeperl) instead, at least in the
sysroot.
Another option would be a class that did:
DEPENDS =+ "intltool"
export INTLTOOL_PERL = "nativeperl"
although I think I prefer correcting the intltool m4 macro slightly
more. Or do we just add the export to the core in bitbake.conf or
autotools.bbclass?...
Cheers,
Richard
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: [PATCH 00/10] Small fixes
2011-07-21 6:11 ` Martin Jansa
2011-07-21 9:39 ` Richard Purdie
@ 2011-07-21 14:28 ` Tom Rini
2011-07-21 14:53 ` Martin Jansa
1 sibling, 1 reply; 29+ messages in thread
From: Tom Rini @ 2011-07-21 14:28 UTC (permalink / raw)
To: openembedded-core
On 07/20/2011 11:11 PM, Martin Jansa wrote:
> On Wed, Jul 20, 2011 at 05:54:55PM -0700, Tom Rini wrote:
>> On 07/20/2011 05:18 PM, Khem Raj wrote:
>>> On 07/20/2011 02:06 PM, Martin Jansa wrote:
>>>> Fixes for recipes using intltool, distributions not having locales
>>>> support in libc and distutils fix
>>>>
>>>> The following changes since commit
>>>> 0d03800caffc2341b74190d38f7a372223c89f4c:
>>>>
>>>> lsbsetup_1.0.bb: Change the hardcoded /usr/lib to support multilib
>>>> (2011-07-20 15:43:43 +0100)
>>>>
>>>> are available in the git repository at:
>>>> git://git.openembedded.org/openembedded-core-contrib jansa/pull
>>>>
>>>> http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/pull
>>>>
>>>>
>>>> Martin Jansa (10):
>>>> tcmode-default: set preferred version also for (e)glibc-locale
>>>> eglibc-package: don't fail without localedef/gconv
>>>> intltool: inherit perlnative
>>>> polkit: inherit perlnative
>>>> shared-mime-info: inherit perlnative
>>>> xkeyboard-config: inherit perlnative
>>>> avahi: inherit perlnative
>>>> vte: inherit perlnative
>>>
>>> I guess all inherit perlnative patches can me squashed into one
>>
>> Or not done? :)
>
> I still see this issue, with
> http://patches.openembedded.org/patch/8069/
> applied.
That's not enough. You then need the cpan mangling patch applied on top.
--
Tom Rini
Mentor Graphics Corporation
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: [PATCH 00/10] Small fixes
2011-07-21 14:28 ` Tom Rini
@ 2011-07-21 14:53 ` Martin Jansa
2011-07-21 15:35 ` Tom Rini
0 siblings, 1 reply; 29+ messages in thread
From: Martin Jansa @ 2011-07-21 14:53 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 1632 bytes --]
On Thu, Jul 21, 2011 at 07:28:36AM -0700, Tom Rini wrote:
> On 07/20/2011 11:11 PM, Martin Jansa wrote:
> > On Wed, Jul 20, 2011 at 05:54:55PM -0700, Tom Rini wrote:
> >> On 07/20/2011 05:18 PM, Khem Raj wrote:
> >>> On 07/20/2011 02:06 PM, Martin Jansa wrote:
> >>>> Fixes for recipes using intltool, distributions not having locales
> >>>> support in libc and distutils fix
> >>>>
> >>>> The following changes since commit
> >>>> 0d03800caffc2341b74190d38f7a372223c89f4c:
> >>>>
> >>>> lsbsetup_1.0.bb: Change the hardcoded /usr/lib to support multilib
> >>>> (2011-07-20 15:43:43 +0100)
> >>>>
> >>>> are available in the git repository at:
> >>>> git://git.openembedded.org/openembedded-core-contrib jansa/pull
> >>>>
> >>>> http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/pull
> >>>>
> >>>>
> >>>> Martin Jansa (10):
> >>>> tcmode-default: set preferred version also for (e)glibc-locale
> >>>> eglibc-package: don't fail without localedef/gconv
> >>>> intltool: inherit perlnative
> >>>> polkit: inherit perlnative
> >>>> shared-mime-info: inherit perlnative
> >>>> xkeyboard-config: inherit perlnative
> >>>> avahi: inherit perlnative
> >>>> vte: inherit perlnative
> >>>
> >>> I guess all inherit perlnative patches can me squashed into one
> >>
> >> Or not done? :)
> >
> > I still see this issue, with
> > http://patches.openembedded.org/patch/8069/
> > applied.
>
> That's not enough. You then need the cpan mangling patch applied on top.
I had both..
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: [PATCH 00/10] Small fixes
2011-07-21 14:53 ` Martin Jansa
@ 2011-07-21 15:35 ` Tom Rini
0 siblings, 0 replies; 29+ messages in thread
From: Tom Rini @ 2011-07-21 15:35 UTC (permalink / raw)
To: openembedded-core
On 07/21/2011 07:53 AM, Martin Jansa wrote:
> On Thu, Jul 21, 2011 at 07:28:36AM -0700, Tom Rini wrote:
>> On 07/20/2011 11:11 PM, Martin Jansa wrote:
>>> On Wed, Jul 20, 2011 at 05:54:55PM -0700, Tom Rini wrote:
>>>> On 07/20/2011 05:18 PM, Khem Raj wrote:
>>>>> On 07/20/2011 02:06 PM, Martin Jansa wrote:
>>>>>> Fixes for recipes using intltool, distributions not having locales
>>>>>> support in libc and distutils fix
>>>>>>
>>>>>> The following changes since commit
>>>>>> 0d03800caffc2341b74190d38f7a372223c89f4c:
>>>>>>
>>>>>> lsbsetup_1.0.bb: Change the hardcoded /usr/lib to support multilib
>>>>>> (2011-07-20 15:43:43 +0100)
>>>>>>
>>>>>> are available in the git repository at:
>>>>>> git://git.openembedded.org/openembedded-core-contrib jansa/pull
>>>>>>
>>>>>> http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/pull
>>>>>>
>>>>>>
>>>>>> Martin Jansa (10):
>>>>>> tcmode-default: set preferred version also for (e)glibc-locale
>>>>>> eglibc-package: don't fail without localedef/gconv
>>>>>> intltool: inherit perlnative
>>>>>> polkit: inherit perlnative
>>>>>> shared-mime-info: inherit perlnative
>>>>>> xkeyboard-config: inherit perlnative
>>>>>> avahi: inherit perlnative
>>>>>> vte: inherit perlnative
>>>>>
>>>>> I guess all inherit perlnative patches can me squashed into one
>>>>
>>>> Or not done? :)
>>>
>>> I still see this issue, with
>>> http://patches.openembedded.org/patch/8069/
>>> applied.
>>
>> That's not enough. You then need the cpan mangling patch applied on top.
>
> I had both..
I guess we need to go down the path Richard was suggesting then, as I
think he's not a fan of making perl-native be an explicit depend so much.
--
Tom Rini
Mentor Graphics Corporation
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: [PATCH 00/10] Small fixes
2011-07-21 9:39 ` Richard Purdie
@ 2011-07-21 16:44 ` Khem Raj
2011-07-21 21:54 ` Richard Purdie
0 siblings, 1 reply; 29+ messages in thread
From: Khem Raj @ 2011-07-21 16:44 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Thu, Jul 21, 2011 at 2:39 AM, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> On Thu, 2011-07-21 at 08:11 +0200, Martin Jansa wrote:
>> On Wed, Jul 20, 2011 at 05:54:55PM -0700, Tom Rini wrote:
>> > On 07/20/2011 05:18 PM, Khem Raj wrote:
>> > > On 07/20/2011 02:06 PM, Martin Jansa wrote:
>> > >> Fixes for recipes using intltool, distributions not having locales
>> > >> support in libc and distutils fix
>> > >>
>> > >> The following changes since commit
>> > >> 0d03800caffc2341b74190d38f7a372223c89f4c:
>> > >>
>> > >> lsbsetup_1.0.bb: Change the hardcoded /usr/lib to support multilib
>> > >> (2011-07-20 15:43:43 +0100)
>> > >>
>> > >> are available in the git repository at:
>> > >> git://git.openembedded.org/openembedded-core-contrib jansa/pull
>> > >>
>> > >> http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/pull
>> > >>
>> > >>
>> > >> Martin Jansa (10):
>> > >> tcmode-default: set preferred version also for (e)glibc-locale
>> > >> eglibc-package: don't fail without localedef/gconv
>> > >> intltool: inherit perlnative
>> > >> polkit: inherit perlnative
>> > >> shared-mime-info: inherit perlnative
>> > >> xkeyboard-config: inherit perlnative
>> > >> avahi: inherit perlnative
>> > >> vte: inherit perlnative
>> > >
>> > > I guess all inherit perlnative patches can me squashed into one
>> >
>> > Or not done? :)
>>
>> I still see this issue, with
>> http://patches.openembedded.org/patch/8069/
>> applied.
>
> I'm wondering if a better approach to fixing this might be to change
> intltool.m4 so where it says AC_PATH_PROG(INTLTOOL_PERL, perl), it says
> AC_PATH_PROG(INTLTOOL_PERL, nativeperl) instead, at least in the
> sysroot.
>
yeah though it wont work for folks who would want to use intltool on the target
unless nativeperl is installed on target too
> Another option would be a class that did:
>
> DEPENDS =+ "intltool"
> export INTLTOOL_PERL = "nativeperl"
this might work well.
>
> although I think I prefer correcting the intltool m4 macro slightly
> more. Or do we just add the export to the core in bitbake.conf or
> autotools.bbclass?...
>
> Cheers,
>
> Richard
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: [PATCH 00/10] Small fixes
2011-07-21 16:44 ` Khem Raj
@ 2011-07-21 21:54 ` Richard Purdie
0 siblings, 0 replies; 29+ messages in thread
From: Richard Purdie @ 2011-07-21 21:54 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Thu, 2011-07-21 at 09:44 -0700, Khem Raj wrote:
> On Thu, Jul 21, 2011 at 2:39 AM, Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
> > On Thu, 2011-07-21 at 08:11 +0200, Martin Jansa wrote:
> >> On Wed, Jul 20, 2011 at 05:54:55PM -0700, Tom Rini wrote:
> >> > On 07/20/2011 05:18 PM, Khem Raj wrote:
> >> > > On 07/20/2011 02:06 PM, Martin Jansa wrote:
> >> > >> Fixes for recipes using intltool, distributions not having locales
> >> > >> support in libc and distutils fix
> >> > >>
> >> > >> The following changes since commit
> >> > >> 0d03800caffc2341b74190d38f7a372223c89f4c:
> >> > >>
> >> > >> lsbsetup_1.0.bb: Change the hardcoded /usr/lib to support multilib
> >> > >> (2011-07-20 15:43:43 +0100)
> >> > >>
> >> > >> are available in the git repository at:
> >> > >> git://git.openembedded.org/openembedded-core-contrib jansa/pull
> >> > >>
> >> > >> http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/pull
> >> > >>
> >> > >>
> >> > >> Martin Jansa (10):
> >> > >> tcmode-default: set preferred version also for (e)glibc-locale
> >> > >> eglibc-package: don't fail without localedef/gconv
> >> > >> intltool: inherit perlnative
> >> > >> polkit: inherit perlnative
> >> > >> shared-mime-info: inherit perlnative
> >> > >> xkeyboard-config: inherit perlnative
> >> > >> avahi: inherit perlnative
> >> > >> vte: inherit perlnative
> >> > >
> >> > > I guess all inherit perlnative patches can me squashed into one
> >> >
> >> > Or not done? :)
> >>
> >> I still see this issue, with
> >> http://patches.openembedded.org/patch/8069/
> >> applied.
> >
> > I'm wondering if a better approach to fixing this might be to change
> > intltool.m4 so where it says AC_PATH_PROG(INTLTOOL_PERL, perl), it says
> > AC_PATH_PROG(INTLTOOL_PERL, nativeperl) instead, at least in the
> > sysroot.
> >
>
> yeah though it wont work for folks who would want to use intltool on the target
> unless nativeperl is installed on target too
Well, this change should only affect the sysroot install, not the target
device.
Cheers,
Richard
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: [PATCH 00/10] Small fixes
2011-07-20 21:06 [PATCH 00/10] Small fixes Martin Jansa
` (11 preceding siblings ...)
2011-07-21 0:18 ` Khem Raj
@ 2011-07-22 15:32 ` Saul Wold
12 siblings, 0 replies; 29+ messages in thread
From: Saul Wold @ 2011-07-22 15:32 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Martin Jansa
On 07/20/2011 02:06 PM, Martin Jansa wrote:
> Fixes for recipes using intltool, distributions not having locales support in libc and distutils fix
>
> The following changes since commit 0d03800caffc2341b74190d38f7a372223c89f4c:
>
> lsbsetup_1.0.bb: Change the hardcoded /usr/lib to support multilib (2011-07-20 15:43:43 +0100)
>
> are available in the git repository at:
> git://git.openembedded.org/openembedded-core-contrib jansa/pull
> http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=jansa/pull
>
> Martin Jansa (10):
> tcmode-default: set preferred version also for (e)glibc-locale
> eglibc-package: don't fail without localedef/gconv
These two were pulled
> intltool: inherit perlnative
> polkit: inherit perlnative
> shared-mime-info: inherit perlnative
> xkeyboard-config: inherit perlnative
> avahi: inherit perlnative
> vte: inherit perlnative
There has been discussion about how to correctly handle this on the list
> python: save Makefile.sysroot in do_compile
> python: add patch to fix cross compilation on host with linux-3.0
These two were pulled.
4/10 merged into OE-Core
Thanks
Sau!
>
> meta/conf/distro/include/tcmode-default.inc | 2 ++
> meta/recipes-connectivity/avahi/avahi.inc | 2 +-
> meta/recipes-core/eglibc/eglibc-package.inc | 8 ++++++--
> meta/recipes-devtools/intltool/intltool.inc | 3 +--
> .../python/python/07-linux3-regen-fix.patch | 18 ++++++++++++++++++
> meta/recipes-devtools/python/python_2.6.6.bb | 8 +++++---
> meta/recipes-extended/polkit/polkit_0.101.bb | 2 +-
> .../xorg-lib/xkeyboard-config_2.1.bb | 2 +-
> .../shared-mime-info/shared-mime-info.inc | 2 +-
> meta/recipes-support/vte/vte.inc | 2 +-
> 10 files changed, 37 insertions(+), 12 deletions(-)
> create mode 100644 meta/recipes-devtools/python/python/07-linux3-regen-fix.patch
>
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: [PATCH 02/10] eglibc-package: don't fail without localedef/gconv
2011-07-20 21:06 ` [PATCH 02/10] eglibc-package: don't fail without localedef/gconv Martin Jansa
@ 2011-08-26 10:12 ` Phil Blundell
2011-08-26 11:31 ` Martin Jansa
0 siblings, 1 reply; 29+ messages in thread
From: Phil Blundell @ 2011-08-26 10:12 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Wed, 2011-07-20 at 23:06 +0200, Martin Jansa wrote:
>- mv ${D}${libdir}/gconv ${dest}${libdir}
> + if [ -f ${D}${libdir}/gconv ]; then
> + mv -f ${D}${libdir}/gconv ${dest}${libdir}
> + fi
This can't be right: gconv will be a directory if it exists at all and
hence "test -f gconv" will never be true.
Since this patch was applied I'm getting a whole bunch of "installed but
not shipped" warnings for /lib/gconv/*. Could you please look into
that?
thanks
p.
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: [PATCH 02/10] eglibc-package: don't fail without localedef/gconv
2011-08-26 10:12 ` Phil Blundell
@ 2011-08-26 11:31 ` Martin Jansa
2011-08-26 11:41 ` [PATCH] eglibc: fix gconv packaging after 5486cac29db6e67051fff7637a0abc9aeab661e5 Martin Jansa
0 siblings, 1 reply; 29+ messages in thread
From: Martin Jansa @ 2011-08-26 11:31 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 843 bytes --]
On Fri, Aug 26, 2011 at 11:12:43AM +0100, Phil Blundell wrote:
> On Wed, 2011-07-20 at 23:06 +0200, Martin Jansa wrote:
> >- mv ${D}${libdir}/gconv ${dest}${libdir}
> > + if [ -f ${D}${libdir}/gconv ]; then
> > + mv -f ${D}${libdir}/gconv ${dest}${libdir}
> > + fi
>
> This can't be right: gconv will be a directory if it exists at all and
> hence "test -f gconv" will never be true.
>
> Since this patch was applied I'm getting a whole bunch of "installed but
> not shipped" warnings for /lib/gconv/*. Could you please look into
> that?
You're right, sorry about that (I didn't notice that because I didn't
have them built at all and later didn't get that those not packaged
files are caused by me).
Sending patch changing it to -e in few seconds.
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
* [PATCH] eglibc: fix gconv packaging after 5486cac29db6e67051fff7637a0abc9aeab661e5
2011-08-26 11:31 ` Martin Jansa
@ 2011-08-26 11:41 ` Martin Jansa
2011-08-29 13:09 ` Richard Purdie
0 siblings, 1 reply; 29+ messages in thread
From: Martin Jansa @ 2011-08-26 11:41 UTC (permalink / raw)
To: openembedded-core
* gconv is directory so test -f was always false as reported by Phil Blundell in
http://lists.linuxtogo.org/pipermail/openembedded-core/2011-August/008973.html
* -e used also for localedef which is file, just to be more consistent
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-core/eglibc/eglibc-package.inc | 4 ++--
meta/recipes-core/eglibc/eglibc_2.12.bb | 2 +-
meta/recipes-core/eglibc/eglibc_2.13.bb | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/meta/recipes-core/eglibc/eglibc-package.inc b/meta/recipes-core/eglibc/eglibc-package.inc
index 5308bb9..adda5e9 100644
--- a/meta/recipes-core/eglibc/eglibc-package.inc
+++ b/meta/recipes-core/eglibc/eglibc-package.inc
@@ -100,10 +100,10 @@ do_install_locale () {
if [ "${base_libdir}" != "${libdir}" ]; then
cp -fpPR ${D}${base_libdir}/* ${dest}${base_libdir}
fi
- if [ -f ${D}${bindir}/localedef ]; then
+ if [ -e ${D}${bindir}/localedef ]; then
mv -f ${D}${bindir}/localedef ${dest}${bindir}
fi
- if [ -f ${D}${libdir}/gconv ]; then
+ if [ -e ${D}${libdir}/gconv ]; then
mv -f ${D}${libdir}/gconv ${dest}${libdir}
fi
cp -fpPR ${D}${libdir}/* ${dest}${libdir}
diff --git a/meta/recipes-core/eglibc/eglibc_2.12.bb b/meta/recipes-core/eglibc/eglibc_2.12.bb
index 1a69bdc..a71c4d4 100644
--- a/meta/recipes-core/eglibc/eglibc_2.12.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.12.bb
@@ -1,7 +1,7 @@
require eglibc.inc
DEPENDS += "gperf-native"
-PR = "r22"
+PR = "r23"
SRCREV = "14158"
diff --git a/meta/recipes-core/eglibc/eglibc_2.13.bb b/meta/recipes-core/eglibc/eglibc_2.13.bb
index f382448..3b19e7b 100644
--- a/meta/recipes-core/eglibc/eglibc_2.13.bb
+++ b/meta/recipes-core/eglibc/eglibc_2.13.bb
@@ -3,7 +3,7 @@ require eglibc.inc
SRCREV = "14157"
DEPENDS += "gperf-native"
-PR = "r13"
+PR = "r14"
PR_append = "+svnr${SRCPV}"
EGLIBC_BRANCH="eglibc-2_13"
--
1.7.6.1
^ permalink raw reply related [flat|nested] 29+ messages in thread
* Re: [PATCH] eglibc: fix gconv packaging after 5486cac29db6e67051fff7637a0abc9aeab661e5
2011-08-26 11:41 ` [PATCH] eglibc: fix gconv packaging after 5486cac29db6e67051fff7637a0abc9aeab661e5 Martin Jansa
@ 2011-08-29 13:09 ` Richard Purdie
0 siblings, 0 replies; 29+ messages in thread
From: Richard Purdie @ 2011-08-29 13:09 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Fri, 2011-08-26 at 13:41 +0200, Martin Jansa wrote:
> * gconv is directory so test -f was always false as reported by Phil Blundell in
> http://lists.linuxtogo.org/pipermail/openembedded-core/2011-August/008973.html
> * -e used also for localedef which is file, just to be more consistent
>
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
> meta/recipes-core/eglibc/eglibc-package.inc | 4 ++--
> meta/recipes-core/eglibc/eglibc_2.12.bb | 2 +-
> meta/recipes-core/eglibc/eglibc_2.13.bb | 2 +-
> 3 files changed, 4 insertions(+), 4 deletions(-)
Merged to master, thanks.
Richard
^ permalink raw reply [flat|nested] 29+ messages in thread
end of thread, other threads:[~2011-08-29 13:14 UTC | newest]
Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-20 21:06 [PATCH 00/10] Small fixes Martin Jansa
2011-07-20 21:06 ` [PATCH 01/10] tcmode-default: set preferred version also for (e)glibc-locale Martin Jansa
2011-07-20 21:06 ` [PATCH 02/10] eglibc-package: don't fail without localedef/gconv Martin Jansa
2011-08-26 10:12 ` Phil Blundell
2011-08-26 11:31 ` Martin Jansa
2011-08-26 11:41 ` [PATCH] eglibc: fix gconv packaging after 5486cac29db6e67051fff7637a0abc9aeab661e5 Martin Jansa
2011-08-29 13:09 ` Richard Purdie
2011-07-20 21:06 ` [PATCH 03/10] intltool: inherit perlnative Martin Jansa
2011-07-21 5:35 ` Frans Meulenbroeks
2011-07-20 21:06 ` [PATCH 04/10] polkit: " Martin Jansa
2011-07-20 21:14 ` Phil Blundell
2011-07-20 21:06 ` [PATCH 05/10] shared-mime-info: " Martin Jansa
2011-07-20 21:06 ` [PATCH 06/10] xkeyboard-config: " Martin Jansa
2011-07-20 21:06 ` [PATCH 07/10] avahi: " Martin Jansa
2011-07-20 21:06 ` [PATCH 08/10] vte: " Martin Jansa
2011-07-20 21:06 ` [PATCH 09/10] python: save Makefile.sysroot in do_compile Martin Jansa
2011-07-20 21:06 ` [PATCH 10/10] python: add patch to fix cross compilation on host with linux-3.0 Martin Jansa
2011-07-20 22:02 ` [PATCH 00/10] Small fixes Tom Rini
2011-07-21 2:03 ` Saul Wold
2011-07-21 0:18 ` Khem Raj
2011-07-21 0:54 ` Tom Rini
2011-07-21 6:11 ` Martin Jansa
2011-07-21 9:39 ` Richard Purdie
2011-07-21 16:44 ` Khem Raj
2011-07-21 21:54 ` Richard Purdie
2011-07-21 14:28 ` Tom Rini
2011-07-21 14:53 ` Martin Jansa
2011-07-21 15:35 ` Tom Rini
2011-07-22 15:32 ` Saul Wold
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.