* [PATCH 1/5] sanity: remove warn debug message
2013-06-10 21:45 [PATCH 0/5] Fixup usage of create_wrapper Saul Wold
@ 2013-06-10 21:45 ` Saul Wold
2013-06-10 21:45 ` [PATCH 2/5] createrepo: Fix usage of create_wrapper Saul Wold
` (3 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: Saul Wold @ 2013-06-10 21:45 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
meta/classes/sanity.bbclass | 1 -
1 file changed, 1 deletion(-)
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index 744e30d..a8e3af6 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -353,7 +353,6 @@ def check_git_version(sanity_data, loosever):
if status != 0:
return "Unable to execute git --version, exit code %s\n" % status
version = result.split()[2]
- bb.warn(version)
if loosever(version) < loosever("1.7.5"):
return "Your version of git is older than 1.7.5 and has bugs which will break builds. Please install a newer version of git.\n"
return None
--
1.8.1.4
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH 2/5] createrepo: Fix usage of create_wrapper
2013-06-10 21:45 [PATCH 0/5] Fixup usage of create_wrapper Saul Wold
2013-06-10 21:45 ` [PATCH 1/5] sanity: remove warn debug message Saul Wold
@ 2013-06-10 21:45 ` Saul Wold
2013-06-10 21:45 ` [PATCH 3/5] dpkg: " Saul Wold
` (2 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: Saul Wold @ 2013-06-10 21:45 UTC (permalink / raw)
To: openembedded-core
create_wrapper changed recently and behaves differently now. It does
not directly exec the , but exports them, so the first parameter
needs to be an environemnt variable like a PATH, not a executable.
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
meta/recipes-support/createrepo/createrepo_0.4.11.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-support/createrepo/createrepo_0.4.11.bb b/meta/recipes-support/createrepo/createrepo_0.4.11.bb
index c977c2e..4d71883 100644
--- a/meta/recipes-support/createrepo/createrepo_0.4.11.bb
+++ b/meta/recipes-support/createrepo/createrepo_0.4.11.bb
@@ -35,7 +35,7 @@ do_install_append_class-native () {
for i in ${D}${datadir}/createrepo/genpkgmetadata.py \
${D}${datadir}/createrepo/modifyrepo.py \
${D}${bindir}/rpm-createsolvedb.py ; do
- create_wrapper $i ${STAGING_BINDIR_NATIVE}/python-native/python
+ create_wrapper $i PATH=${STAGING_BINDIR_NATIVE}/python-native:\$PATH
done
create_wrapper ${D}/${bindir}/createrepo \
--
1.8.1.4
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH 3/5] dpkg: Fix usage of create_wrapper
2013-06-10 21:45 [PATCH 0/5] Fixup usage of create_wrapper Saul Wold
2013-06-10 21:45 ` [PATCH 1/5] sanity: remove warn debug message Saul Wold
2013-06-10 21:45 ` [PATCH 2/5] createrepo: Fix usage of create_wrapper Saul Wold
@ 2013-06-10 21:45 ` Saul Wold
2013-06-11 13:57 ` Burton, Ross
2013-06-10 21:45 ` [PATCH 4/5] gnome-doc-utils: " Saul Wold
2013-06-10 21:45 ` [PATCH 5/5] librsvg: configure needs a native gdk-pixbuf binary Saul Wold
4 siblings, 1 reply; 7+ messages in thread
From: Saul Wold @ 2013-06-10 21:45 UTC (permalink / raw)
To: openembedded-core
create_wrapper changed recently and behaves differently now. It does
not directly exec the , but exports them, so the first parameter
needs to be an environemnt variable like a PATH, not a executable.
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
meta/recipes-devtools/dpkg/dpkg.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc
index 28c4f89..02383ed 100644
--- a/meta/recipes-devtools/dpkg/dpkg.inc
+++ b/meta/recipes-devtools/dpkg/dpkg.inc
@@ -56,7 +56,7 @@ do_install_append () {
do_install_append_class-native () {
tmp=`find ${D}${bindir} -type f -exec grep -m 1 -l '#!/.*/perl-native/perl' {} \;`
for i in $tmp; do
- create_wrapper $i ${STAGING_BINDIR_NATIVE}/perl-native/perl
+ create_wrapper $i PATH=${STAGING_BINDIR_NATIVE}/perl-native:\$PATH
done
}
--
1.8.1.4
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [PATCH 3/5] dpkg: Fix usage of create_wrapper
2013-06-10 21:45 ` [PATCH 3/5] dpkg: " Saul Wold
@ 2013-06-11 13:57 ` Burton, Ross
0 siblings, 0 replies; 7+ messages in thread
From: Burton, Ross @ 2013-06-11 13:57 UTC (permalink / raw)
To: Saul Wold; +Cc: openembedded-core
On 10 June 2013 22:45, Saul Wold <sgw@linux.intel.com> wrote:
> create_wrapper changed recently and behaves differently now. It does
> not directly exec the , but exports them, so the first parameter
> needs to be an environemnt variable like a PATH, not a executable.
>
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
> meta/recipes-devtools/dpkg/dpkg.inc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc
> index 28c4f89..02383ed 100644
> --- a/meta/recipes-devtools/dpkg/dpkg.inc
> +++ b/meta/recipes-devtools/dpkg/dpkg.inc
> @@ -56,7 +56,7 @@ do_install_append () {
> do_install_append_class-native () {
> tmp=`find ${D}${bindir} -type f -exec grep -m 1 -l '#!/.*/perl-native/perl' {} \;`
> for i in $tmp; do
> - create_wrapper $i ${STAGING_BINDIR_NATIVE}/perl-native/perl
> + create_wrapper $i PATH=${STAGING_BINDIR_NATIVE}/perl-native:\$PATH
NACK.
The message isn't entirely accurate - the changes to the wrapper
scripts were consistent with the documentation of the function which
clearly says the arguments are NAME=VALUE pairs, but recipes such as
this were using "insider" knowledge that the wrapper was implemented
with "env" to effectively inject perl-native so that is the binary
executed, not the real script itself. This avoids the stupidly small
buffer in binfmt_script that parses the #! lines (128 bytes), which is
what the comment above this block refers to.
Setting the path won't perform this workaround, so this patch (and
similar) re-introduces the problem with deeply nested work
directories.
I guess the real question is why do we wrap scripts one by one instead
of doing some wrapping centrally when writing to the native sysroot
itself? At the moment we're playing whack-a-mole where sufficient
scripts have been wrapped that a specific build appears to work.
Ross
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 4/5] gnome-doc-utils: Fix usage of create_wrapper
2013-06-10 21:45 [PATCH 0/5] Fixup usage of create_wrapper Saul Wold
` (2 preceding siblings ...)
2013-06-10 21:45 ` [PATCH 3/5] dpkg: " Saul Wold
@ 2013-06-10 21:45 ` Saul Wold
2013-06-10 21:45 ` [PATCH 5/5] librsvg: configure needs a native gdk-pixbuf binary Saul Wold
4 siblings, 0 replies; 7+ messages in thread
From: Saul Wold @ 2013-06-10 21:45 UTC (permalink / raw)
To: openembedded-core
create_wrapper changed recently and behaves differently now. It does
not directly exec the , but exports them, so the first parameter
needs to be an environemnt variable like a PATH, not a executable.
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
meta/recipes-gnome/gnome/gnome-doc-utils.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-gnome/gnome/gnome-doc-utils.inc b/meta/recipes-gnome/gnome/gnome-doc-utils.inc
index 9d243a1..3eaebe3 100644
--- a/meta/recipes-gnome/gnome/gnome-doc-utils.inc
+++ b/meta/recipes-gnome/gnome/gnome-doc-utils.inc
@@ -20,7 +20,7 @@ do_install_append() {
}
do_install_append_class-native () {
- create_wrapper ${D}${bindir}/xml2po ${STAGING_BINDIR_NATIVE}/python-native/python
+ create_wrapper ${D}${bindir}/xml2po PATH=${STAGING_BINDIR_NATIVE}/python-native:\$PATH
}
FILES_${PN} += "${datadir}/xml* ${PYTHON_SITEPACKAGES_DIR}/*"
--
1.8.1.4
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH 5/5] librsvg: configure needs a native gdk-pixbuf binary
2013-06-10 21:45 [PATCH 0/5] Fixup usage of create_wrapper Saul Wold
` (3 preceding siblings ...)
2013-06-10 21:45 ` [PATCH 4/5] gnome-doc-utils: " Saul Wold
@ 2013-06-10 21:45 ` Saul Wold
4 siblings, 0 replies; 7+ messages in thread
From: Saul Wold @ 2013-06-10 21:45 UTC (permalink / raw)
To: openembedded-core
Build failure was seen on the autobuilder, so add gdk-pixbuf-native to depends list
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
meta/recipes-gnome/librsvg/librsvg_2.32.1.bb | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb b/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb
index 9b1e0ec..4818422 100644
--- a/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb
+++ b/meta/recipes-gnome/librsvg/librsvg_2.32.1.bb
@@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
SECTION = "x11/utils"
DEPENDS = "cairo glib-2.0 gdk-pixbuf fontconfig freetype libxml2 pango"
+DEPENDS += "gdk-pixbuf-native"
BBCLASSEXTEND = "native"
PR = "r12"
--
1.8.1.4
^ permalink raw reply related [flat|nested] 7+ messages in thread