* [PATCH 0/6] fixes for nativesdk, tcl and binconfig.bbclass
@ 2017-02-15 6:25 Robert Yang
2017-02-15 6:25 ` [PATCH 1/6] python-native: PROVIDES python-io-native Robert Yang
` (5 more replies)
0 siblings, 6 replies; 11+ messages in thread
From: Robert Yang @ 2017-02-15 6:25 UTC (permalink / raw)
To: openembedded-core
The following changes since commit d1109378d730c5cf50240c4d1a468e3aef5208ea:
nss: Fix nss-native so the checksum doesn't change with BUILD_ARCH (2017-02-09 10:50:54 +0000)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib rbt/6fixes
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=rbt/6fixes
Robert Yang (6):
python-native: PROVIDES python-io-native
btrfs-tools: remove udev from DEPENDS
tcl: extend to nativesdk
gawk/json-glib/libcheck: extend to nativesdk
tcl: fix sed in do_install()
binconfig.bbclass: fix get_binconfig_mangle()
meta/classes/binconfig.bbclass | 4 ++--
meta/recipes-devtools/btrfs-tools/btrfs-tools_4.8.5.bb | 2 +-
meta/recipes-devtools/python/python-native_2.7.12.bb | 9 ++++++++-
meta/recipes-devtools/tcltk/tcl_8.6.6.bb | 6 +++---
meta/recipes-extended/gawk/gawk_4.1.4.bb | 2 ++
meta/recipes-gnome/json-glib/json-glib_1.2.2.bb | 2 +-
meta/recipes-support/libcheck/libcheck_0.10.0.bb | 2 +-
7 files changed, 18 insertions(+), 9 deletions(-)
--
2.10.2
^ permalink raw reply [flat|nested] 11+ messages in thread
* [PATCH 1/6] python-native: PROVIDES python-io-native
2017-02-15 6:25 [PATCH 0/6] fixes for nativesdk, tcl and binconfig.bbclass Robert Yang
@ 2017-02-15 6:25 ` Robert Yang
2017-02-15 6:25 ` [PATCH 2/6] btrfs-tools: remove udev from DEPENDS Robert Yang
` (4 subsequent siblings)
5 siblings, 0 replies; 11+ messages in thread
From: Robert Yang @ 2017-02-15 6:25 UTC (permalink / raw)
To: openembedded-core
python-six-native depends on it.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
meta/recipes-devtools/python/python-native_2.7.12.bb | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/python/python-native_2.7.12.bb b/meta/recipes-devtools/python/python-native_2.7.12.bb
index de83cbd..9a6430d 100644
--- a/meta/recipes-devtools/python/python-native_2.7.12.bb
+++ b/meta/recipes-devtools/python/python-native_2.7.12.bb
@@ -25,7 +25,14 @@ FILESEXTRAPATHS =. "${FILE_DIRNAME}/${PN}:"
inherit native
-RPROVIDES += "python-distutils-native python-compression-native python-textutils-native python-codecs-native python-core-native python-unittest-native"
+RPROVIDES += "python-distutils-native \
+ python-compression-native \
+ python-textutils-native \
+ python-codecs-native \
+ python-core-native \
+ python-unittest-native \
+ python-io-native \
+"
EXTRA_OECONF_append = " --bindir=${bindir}/${PN} --with-system-expat=${STAGING_DIR_HOST}"
--
2.10.2
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 2/6] btrfs-tools: remove udev from DEPENDS
2017-02-15 6:25 [PATCH 0/6] fixes for nativesdk, tcl and binconfig.bbclass Robert Yang
2017-02-15 6:25 ` [PATCH 1/6] python-native: PROVIDES python-io-native Robert Yang
@ 2017-02-15 6:25 ` Robert Yang
2017-02-17 15:14 ` Burton, Ross
2017-02-15 6:25 ` [PATCH 3/6] tcl: extend to nativesdk Robert Yang
` (3 subsequent siblings)
5 siblings, 1 reply; 11+ messages in thread
From: Robert Yang @ 2017-02-15 6:25 UTC (permalink / raw)
To: openembedded-core
The log said that udev was added to DEPENDS because btrfs-tools installs
a udev rule, this was incorrect, and it caused a side effect:
$ bitbake btrfs-tools-native
ERROR: Nothing PROVIDES 'udev-native' (but virtual:native:btrfs-tools_4.8.5.bb DEPENDS on or otherwise requires it). Close matches:
[snip]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
meta/recipes-devtools/btrfs-tools/btrfs-tools_4.8.5.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.8.5.bb b/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.8.5.bb
index 7047c43..ab6aacb 100644
--- a/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.8.5.bb
+++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.8.5.bb
@@ -10,7 +10,7 @@ HOMEPAGE = "https://btrfs.wiki.kernel.org"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=fcb02dc552a041dee27e4b85c7396067"
SECTION = "base"
-DEPENDS = "util-linux attr e2fsprogs lzo acl udev"
+DEPENDS = "util-linux attr e2fsprogs lzo acl"
RDEPENDS_${PN} = "libgcc"
SRCREV = "144a19145e248513c7a676defad59836830535c6"
--
2.10.2
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 3/6] tcl: extend to nativesdk
2017-02-15 6:25 [PATCH 0/6] fixes for nativesdk, tcl and binconfig.bbclass Robert Yang
2017-02-15 6:25 ` [PATCH 1/6] python-native: PROVIDES python-io-native Robert Yang
2017-02-15 6:25 ` [PATCH 2/6] btrfs-tools: remove udev from DEPENDS Robert Yang
@ 2017-02-15 6:25 ` Robert Yang
2017-02-15 6:25 ` [PATCH 4/6] gawk/json-glib/libcheck: " Robert Yang
` (2 subsequent siblings)
5 siblings, 0 replies; 11+ messages in thread
From: Robert Yang @ 2017-02-15 6:25 UTC (permalink / raw)
To: openembedded-core
Fixed:
$ bitbake nativesdk-expect
ERROR: Nothing PROVIDES 'nativesdk-tcl' (but virtual:nativesdk:expect_5.45.bb DEPENDS on or otherwise requires it). Close matches:
[snip]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
meta/recipes-devtools/tcltk/tcl_8.6.6.bb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-devtools/tcltk/tcl_8.6.6.bb b/meta/recipes-devtools/tcltk/tcl_8.6.6.bb
index 2dd0a7a..c828b38 100644
--- a/meta/recipes-devtools/tcltk/tcl_8.6.6.bb
+++ b/meta/recipes-devtools/tcltk/tcl_8.6.6.bb
@@ -54,8 +54,8 @@ do_install() {
autotools_do_install install-private-headers
ln -sf ./tclsh${VER} ${D}${bindir}/tclsh
ln -sf tclsh8.6 ${D}${bindir}/tclsh${VER}
- sed -i "s+-L${B}+-L${STAGING_LIBDIR}+g" tclConfig.sh
- sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tclConfig.sh
+ sed -i "s;-L${B};-L${STAGING_LIBDIR};g" tclConfig.sh
+ sed -i "s;${WORKDIR};${STAGING_INCDIR};g" tclConfig.sh
install -d ${D}${bindir_crossscripts}
install -m 0755 tclConfig.sh ${D}${bindir_crossscripts}
install -m 0755 tclConfig.sh ${D}${libdir}
@@ -78,7 +78,7 @@ RDEPENDS_${PN} += "tcl-lib"
RDEPENDS_${PN}_class-native = ""
RDEPENDS_${PN}-ptest += "libgcc"
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
do_compile_ptest() {
oe_runmake tcltest
--
2.10.2
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 4/6] gawk/json-glib/libcheck: extend to nativesdk
2017-02-15 6:25 [PATCH 0/6] fixes for nativesdk, tcl and binconfig.bbclass Robert Yang
` (2 preceding siblings ...)
2017-02-15 6:25 ` [PATCH 3/6] tcl: extend to nativesdk Robert Yang
@ 2017-02-15 6:25 ` Robert Yang
2017-02-15 6:25 ` [PATCH 5/6] tcl: fix sed in do_install() Robert Yang
2017-02-15 6:25 ` [PATCH 6/6] binconfig.bbclass: fix get_binconfig_mangle() Robert Yang
5 siblings, 0 replies; 11+ messages in thread
From: Robert Yang @ 2017-02-15 6:25 UTC (permalink / raw)
To: openembedded-core
They are required by nativesdk-cve-check-tool.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
meta/recipes-extended/gawk/gawk_4.1.4.bb | 2 ++
meta/recipes-gnome/json-glib/json-glib_1.2.2.bb | 2 +-
meta/recipes-support/libcheck/libcheck_0.10.0.bb | 2 +-
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-extended/gawk/gawk_4.1.4.bb b/meta/recipes-extended/gawk/gawk_4.1.4.bb
index b888df1..dda38ef 100644
--- a/meta/recipes-extended/gawk/gawk_4.1.4.bb
+++ b/meta/recipes-extended/gawk/gawk_4.1.4.bb
@@ -45,3 +45,5 @@ do_install_ptest() {
do cp ${S}/test/$i* ${D}${PTEST_PATH}/test; \
done
}
+
+BBCLASSEXTEND = "nativesdk"
diff --git a/meta/recipes-gnome/json-glib/json-glib_1.2.2.bb b/meta/recipes-gnome/json-glib/json-glib_1.2.2.bb
index 4e272be..6869ba9 100644
--- a/meta/recipes-gnome/json-glib/json-glib_1.2.2.bb
+++ b/meta/recipes-gnome/json-glib/json-glib_1.2.2.bb
@@ -17,4 +17,4 @@ inherit gnomebase gettext lib_package gobject-introspection gtk-doc manpages
PACKAGECONFIG[manpages] = "--enable-man --with-xml-catalog=${STAGING_ETCDIR_NATIVE}/xml/catalog.xml, --disable-man, libxslt-native xmlto-native"
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-support/libcheck/libcheck_0.10.0.bb b/meta/recipes-support/libcheck/libcheck_0.10.0.bb
index c0b459f..9d34198 100644
--- a/meta/recipes-support/libcheck/libcheck_0.10.0.bb
+++ b/meta/recipes-support/libcheck/libcheck_0.10.0.bb
@@ -21,4 +21,4 @@ RREPLACES_${PN} = "check (<= 0.9.5)"
RDEPENDS_${PN} += "gawk"
RDEPENDS_${PN}_class-native = ""
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
--
2.10.2
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 5/6] tcl: fix sed in do_install()
2017-02-15 6:25 [PATCH 0/6] fixes for nativesdk, tcl and binconfig.bbclass Robert Yang
` (3 preceding siblings ...)
2017-02-15 6:25 ` [PATCH 4/6] gawk/json-glib/libcheck: " Robert Yang
@ 2017-02-15 6:25 ` Robert Yang
2017-02-15 6:25 ` [PATCH 6/6] binconfig.bbclass: fix get_binconfig_mangle() Robert Yang
5 siblings, 0 replies; 11+ messages in thread
From: Robert Yang @ 2017-02-15 6:25 UTC (permalink / raw)
To: openembedded-core
The command:
sed -i "s+${WORKDIR}+${STAGING_INCDIR}+g" tclConfig.sh
was used for replacing "${WORKDIR}", but it also replaced
"-L${WORKDIR}", but binconfig.bbclass would replace "-L${WORKDIR}", too,
which caused incorrect result, use "'${WORKDIR}" to fix the problem.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
meta/recipes-devtools/tcltk/tcl_8.6.6.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/tcltk/tcl_8.6.6.bb b/meta/recipes-devtools/tcltk/tcl_8.6.6.bb
index c828b38..40cd18f 100644
--- a/meta/recipes-devtools/tcltk/tcl_8.6.6.bb
+++ b/meta/recipes-devtools/tcltk/tcl_8.6.6.bb
@@ -55,7 +55,7 @@ do_install() {
ln -sf ./tclsh${VER} ${D}${bindir}/tclsh
ln -sf tclsh8.6 ${D}${bindir}/tclsh${VER}
sed -i "s;-L${B};-L${STAGING_LIBDIR};g" tclConfig.sh
- sed -i "s;${WORKDIR};${STAGING_INCDIR};g" tclConfig.sh
+ sed -i "s;'${WORKDIR};'${STAGING_INCDIR};g" tclConfig.sh
install -d ${D}${bindir_crossscripts}
install -m 0755 tclConfig.sh ${D}${bindir_crossscripts}
install -m 0755 tclConfig.sh ${D}${libdir}
--
2.10.2
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [PATCH 6/6] binconfig.bbclass: fix get_binconfig_mangle()
2017-02-15 6:25 [PATCH 0/6] fixes for nativesdk, tcl and binconfig.bbclass Robert Yang
` (4 preceding siblings ...)
2017-02-15 6:25 ` [PATCH 5/6] tcl: fix sed in do_install() Robert Yang
@ 2017-02-15 6:25 ` Robert Yang
2017-02-16 10:56 ` Martin Jansa
5 siblings, 1 reply; 11+ messages in thread
From: Robert Yang @ 2017-02-15 6:25 UTC (permalink / raw)
To: openembedded-core
The command was:
s += " -e 's:-L${libdir}:-LOELIBDIR:;'"
s += " -e 's:-I${includedir}:-IOEINCDIR:;'"
s += " -e 's:OELIBDIR:${STAGING_LIBDIR}:;'"
s += " -e 's:OEINCDIR:${STAGING_INCDIR}:;'"
s += " -e 's:-I${WORKDIR}:-I${STAGING_INCDIR}:'"
s += " -e 's:-L${WORKDIR}:-L${STAGING_LIBDIR}:'"
The STAGING_LIBDIR and STAGING_INCDIR now contains WORKDIR, so the
result would be incorrect like:
TCL_INCLUDE_SPEC='-IFIXMESTAGINGDIRTARGET/usr/include/recipe-sysroot/usr/include/tcl8.6'
Note, the "/usr/include/recipe-sysroot" is not needed. Move the last two
sed commands ahead will fix the problem.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
meta/classes/binconfig.bbclass | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/classes/binconfig.bbclass b/meta/classes/binconfig.bbclass
index 5372294..1be5fc4 100644
--- a/meta/classes/binconfig.bbclass
+++ b/meta/classes/binconfig.bbclass
@@ -13,14 +13,14 @@ def get_binconfig_mangle(d):
s += " -e 's:=%s${exec_prefix}/:=\\1OEEXECPREFIX/:'" % optional_quote
s += " -e 's:-L${libdir}:-LOELIBDIR:;'"
s += " -e 's:-I${includedir}:-IOEINCDIR:;'"
+ s += " -e 's:-L${WORKDIR}:-LOELIBDIR:'"
+ s += " -e 's:-I${WORKDIR}:-I-IOEINCDIR:'"
s += " -e 's:OEBASELIBDIR:${STAGING_BASELIBDIR}:;'"
s += " -e 's:OELIBDIR:${STAGING_LIBDIR}:;'"
s += " -e 's:OEINCDIR:${STAGING_INCDIR}:;'"
s += " -e 's:OEDATADIR:${STAGING_DATADIR}:'"
s += " -e 's:OEPREFIX:${STAGING_DIR_HOST}${prefix}:'"
s += " -e 's:OEEXECPREFIX:${STAGING_DIR_HOST}${exec_prefix}:'"
- s += " -e 's:-I${WORKDIR}:-I${STAGING_INCDIR}:'"
- s += " -e 's:-L${WORKDIR}:-L${STAGING_LIBDIR}:'"
if d.getVar("OE_BINCONFIG_EXTRA_MANGLE", False):
s += d.getVar("OE_BINCONFIG_EXTRA_MANGLE")
--
2.10.2
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 6/6] binconfig.bbclass: fix get_binconfig_mangle()
2017-02-15 6:25 ` [PATCH 6/6] binconfig.bbclass: fix get_binconfig_mangle() Robert Yang
@ 2017-02-16 10:56 ` Martin Jansa
2017-02-17 3:33 ` Robert Yang
0 siblings, 1 reply; 11+ messages in thread
From: Martin Jansa @ 2017-02-16 10:56 UTC (permalink / raw)
To: Robert Yang; +Cc: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 2346 bytes --]
On Tue, Feb 14, 2017 at 10:25:11PM -0800, Robert Yang wrote:
> The command was:
> s += " -e 's:-L${libdir}:-LOELIBDIR:;'"
> s += " -e 's:-I${includedir}:-IOEINCDIR:;'"
> s += " -e 's:OELIBDIR:${STAGING_LIBDIR}:;'"
> s += " -e 's:OEINCDIR:${STAGING_INCDIR}:;'"
> s += " -e 's:-I${WORKDIR}:-I${STAGING_INCDIR}:'"
> s += " -e 's:-L${WORKDIR}:-L${STAGING_LIBDIR}:'"
>
> The STAGING_LIBDIR and STAGING_INCDIR now contains WORKDIR, so the
> result would be incorrect like:
> TCL_INCLUDE_SPEC='-IFIXMESTAGINGDIRTARGET/usr/include/recipe-sysroot/usr/include/tcl8.6'
>
> Note, the "/usr/include/recipe-sysroot" is not needed. Move the last two
> sed commands ahead will fix the problem.
>
> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> ---
> meta/classes/binconfig.bbclass | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/classes/binconfig.bbclass b/meta/classes/binconfig.bbclass
> index 5372294..1be5fc4 100644
> --- a/meta/classes/binconfig.bbclass
> +++ b/meta/classes/binconfig.bbclass
> @@ -13,14 +13,14 @@ def get_binconfig_mangle(d):
> s += " -e 's:=%s${exec_prefix}/:=\\1OEEXECPREFIX/:'" % optional_quote
> s += " -e 's:-L${libdir}:-LOELIBDIR:;'"
> s += " -e 's:-I${includedir}:-IOEINCDIR:;'"
> + s += " -e 's:-L${WORKDIR}:-LOELIBDIR:'"
> + s += " -e 's:-I${WORKDIR}:-I-IOEINCDIR:'"
Is the "-I-I" intentional?
> s += " -e 's:OEBASELIBDIR:${STAGING_BASELIBDIR}:;'"
> s += " -e 's:OELIBDIR:${STAGING_LIBDIR}:;'"
> s += " -e 's:OEINCDIR:${STAGING_INCDIR}:;'"
> s += " -e 's:OEDATADIR:${STAGING_DATADIR}:'"
> s += " -e 's:OEPREFIX:${STAGING_DIR_HOST}${prefix}:'"
> s += " -e 's:OEEXECPREFIX:${STAGING_DIR_HOST}${exec_prefix}:'"
> - s += " -e 's:-I${WORKDIR}:-I${STAGING_INCDIR}:'"
> - s += " -e 's:-L${WORKDIR}:-L${STAGING_LIBDIR}:'"
> if d.getVar("OE_BINCONFIG_EXTRA_MANGLE", False):
> s += d.getVar("OE_BINCONFIG_EXTRA_MANGLE")
>
> --
> 2.10.2
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 201 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 6/6] binconfig.bbclass: fix get_binconfig_mangle()
2017-02-16 10:56 ` Martin Jansa
@ 2017-02-17 3:33 ` Robert Yang
0 siblings, 0 replies; 11+ messages in thread
From: Robert Yang @ 2017-02-17 3:33 UTC (permalink / raw)
To: Martin Jansa; +Cc: openembedded-core
On 02/16/2017 06:56 PM, Martin Jansa wrote:
> On Tue, Feb 14, 2017 at 10:25:11PM -0800, Robert Yang wrote:
>> The command was:
>> s += " -e 's:-L${libdir}:-LOELIBDIR:;'"
>> s += " -e 's:-I${includedir}:-IOEINCDIR:;'"
>> s += " -e 's:OELIBDIR:${STAGING_LIBDIR}:;'"
>> s += " -e 's:OEINCDIR:${STAGING_INCDIR}:;'"
>> s += " -e 's:-I${WORKDIR}:-I${STAGING_INCDIR}:'"
>> s += " -e 's:-L${WORKDIR}:-L${STAGING_LIBDIR}:'"
>>
>> The STAGING_LIBDIR and STAGING_INCDIR now contains WORKDIR, so the
>> result would be incorrect like:
>> TCL_INCLUDE_SPEC='-IFIXMESTAGINGDIRTARGET/usr/include/recipe-sysroot/usr/include/tcl8.6'
>>
>> Note, the "/usr/include/recipe-sysroot" is not needed. Move the last two
>> sed commands ahead will fix the problem.
>>
>> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
>> ---
>> meta/classes/binconfig.bbclass | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/meta/classes/binconfig.bbclass b/meta/classes/binconfig.bbclass
>> index 5372294..1be5fc4 100644
>> --- a/meta/classes/binconfig.bbclass
>> +++ b/meta/classes/binconfig.bbclass
>> @@ -13,14 +13,14 @@ def get_binconfig_mangle(d):
>> s += " -e 's:=%s${exec_prefix}/:=\\1OEEXECPREFIX/:'" % optional_quote
>> s += " -e 's:-L${libdir}:-LOELIBDIR:;'"
>> s += " -e 's:-I${includedir}:-IOEINCDIR:;'"
>> + s += " -e 's:-L${WORKDIR}:-LOELIBDIR:'"
>> + s += " -e 's:-I${WORKDIR}:-I-IOEINCDIR:'"
>
> Is the "-I-I" intentional?
Sorry, it's a typo, updated in the repo:
diff --git a/meta/classes/binconfig.bbclass b/meta/classes/binconfig.bbclass
index 5372294..39c3e2b 100644
--- a/meta/classes/binconfig.bbclass
+++ b/meta/classes/binconfig.bbclass
@@ -13,14 +13,14 @@ def get_binconfig_mangle(d):
s += " -e 's:=%s${exec_prefix}/:=\\1OEEXECPREFIX/:'" % optional_quote
s += " -e 's:-L${libdir}:-LOELIBDIR:;'"
s += " -e 's:-I${includedir}:-IOEINCDIR:;'"
+ s += " -e 's:-L${WORKDIR}:-LOELIBDIR:'"
+ s += " -e 's:-I${WORKDIR}:-IOEINCDIR:'"
s += " -e 's:OEBASELIBDIR:${STAGING_BASELIBDIR}:;'"
s += " -e 's:OELIBDIR:${STAGING_LIBDIR}:;'"
s += " -e 's:OEINCDIR:${STAGING_INCDIR}:;'"
s += " -e 's:OEDATADIR:${STAGING_DATADIR}:'"
s += " -e 's:OEPREFIX:${STAGING_DIR_HOST}${prefix}:'"
s += " -e 's:OEEXECPREFIX:${STAGING_DIR_HOST}${exec_prefix}:'"
- s += " -e 's:-I${WORKDIR}:-I${STAGING_INCDIR}:'"
- s += " -e 's:-L${WORKDIR}:-L${STAGING_LIBDIR}:'"
if d.getVar("OE_BINCONFIG_EXTRA_MANGLE", False):
s += d.getVar("OE_BINCONFIG_EXTRA_MANGLE")
// Robert
>
>> s += " -e 's:OEBASELIBDIR:${STAGING_BASELIBDIR}:;'"
>> s += " -e 's:OELIBDIR:${STAGING_LIBDIR}:;'"
>> s += " -e 's:OEINCDIR:${STAGING_INCDIR}:;'"
>> s += " -e 's:OEDATADIR:${STAGING_DATADIR}:'"
>> s += " -e 's:OEPREFIX:${STAGING_DIR_HOST}${prefix}:'"
>> s += " -e 's:OEEXECPREFIX:${STAGING_DIR_HOST}${exec_prefix}:'"
>> - s += " -e 's:-I${WORKDIR}:-I${STAGING_INCDIR}:'"
>> - s += " -e 's:-L${WORKDIR}:-L${STAGING_LIBDIR}:'"
>> if d.getVar("OE_BINCONFIG_EXTRA_MANGLE", False):
>> s += d.getVar("OE_BINCONFIG_EXTRA_MANGLE")
>>
>> --
>> 2.10.2
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
^ permalink raw reply related [flat|nested] 11+ messages in thread
* Re: [PATCH 2/6] btrfs-tools: remove udev from DEPENDS
2017-02-15 6:25 ` [PATCH 2/6] btrfs-tools: remove udev from DEPENDS Robert Yang
@ 2017-02-17 15:14 ` Burton, Ross
2017-02-20 2:24 ` Robert Yang
0 siblings, 1 reply; 11+ messages in thread
From: Burton, Ross @ 2017-02-17 15:14 UTC (permalink / raw)
To: Robert Yang; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 605 bytes --]
On 15 February 2017 at 06:25, Robert Yang <liezhi.yang@windriver.com> wrote:
> The log said that udev was added to DEPENDS because btrfs-tools installs
> a udev rule, this was incorrect, and it caused a side effect:
>
> $ bitbake btrfs-tools-native
>
> ERROR: Nothing PROVIDES 'udev-native' (but virtual:native:btrfs-tools_4.
> 8.5.bb DEPENDS on or otherwise requires it). Close matches:
> [snip]
>
Are you sure? The configure.ac does this:
UDEVDIR=
if pkg-config udev --atleast-version 190; then
UDEVDIR="$(pkg-config udev --variable=udevdir)"
fi
AC_SUBST(UDEVDIR)
Ross
[-- Attachment #2: Type: text/html, Size: 1454 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [PATCH 2/6] btrfs-tools: remove udev from DEPENDS
2017-02-17 15:14 ` Burton, Ross
@ 2017-02-20 2:24 ` Robert Yang
0 siblings, 0 replies; 11+ messages in thread
From: Robert Yang @ 2017-02-20 2:24 UTC (permalink / raw)
To: Burton, Ross; +Cc: OE-core
On 02/17/2017 11:14 PM, Burton, Ross wrote:
>
> On 15 February 2017 at 06:25, Robert Yang <liezhi.yang@windriver.com
> <mailto:liezhi.yang@windriver.com>> wrote:
>
> The log said that udev was added to DEPENDS because btrfs-tools installs
> a udev rule, this was incorrect, and it caused a side effect:
>
> $ bitbake btrfs-tools-native
>
> ERROR: Nothing PROVIDES 'udev-native' (but
> virtual:native:btrfs-tools_4.8.5.bb <http://btrfs-tools_4.8.5.bb> DEPENDS on
> or otherwise requires it). Close matches:
> [snip]
>
>
> Are you sure? The configure.ac <http://configure.ac> does this:
Sorry, I only looked at the log, now updated in the repo:
git://git.openembedded.org/openembedded-core-contrib rbt/6fixes
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=rbt/6fixes
Robert Yang (6):
python-native: PROVIDES python-io-native
btrfs-tools: remove udev from DEPENDS
tcl: extend to nativesdk
gawk/json-glib/libcheck: extend to nativesdk
tcl: fix sed in do_install()
binconfig.bbclass: fix get_binconfig_mangle()
Author: Robert Yang <liezhi.yang@windriver.com>
Date: Wed Feb 8 19:30:30 2017 -0800
btrfs-tools: only target requires udev
The native doesn't have to depend on udev, fixed:
$ bitbake btrfs-tools-native
ERROR: Nothing PROVIDES 'udev-native' (but
virtual:native:btrfs-tools_4.8.5.bb DEPENDS on or otherwise requires it). Close
matches:
[snip]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.8.5.bb
b/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.8.5.bb
index 7047c434024..8a85933fe5b 100644
--- a/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.8.5.bb
+++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools_4.8.5.bb
@@ -10,7 +10,8 @@ HOMEPAGE = "https://btrfs.wiki.kernel.org"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=fcb02dc552a041dee27e4b85c7396067"
SECTION = "base"
-DEPENDS = "util-linux attr e2fsprogs lzo acl udev"
+DEPENDS = "util-linux attr e2fsprogs lzo acl"
+DEPENDS_append_class-target = " udev"
RDEPENDS_${PN} = "libgcc"
SRCREV = "144a19145e248513c7a676defad59836830535c6"
// Robert
>
> UDEVDIR=
> if pkg-config udev --atleast-version 190; then
> UDEVDIR="$(pkg-config udev --variable=udevdir)"
> fi
> AC_SUBST(UDEVDIR)
>
> Ross
^ permalink raw reply related [flat|nested] 11+ messages in thread
end of thread, other threads:[~2017-02-20 2:24 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-15 6:25 [PATCH 0/6] fixes for nativesdk, tcl and binconfig.bbclass Robert Yang
2017-02-15 6:25 ` [PATCH 1/6] python-native: PROVIDES python-io-native Robert Yang
2017-02-15 6:25 ` [PATCH 2/6] btrfs-tools: remove udev from DEPENDS Robert Yang
2017-02-17 15:14 ` Burton, Ross
2017-02-20 2:24 ` Robert Yang
2017-02-15 6:25 ` [PATCH 3/6] tcl: extend to nativesdk Robert Yang
2017-02-15 6:25 ` [PATCH 4/6] gawk/json-glib/libcheck: " Robert Yang
2017-02-15 6:25 ` [PATCH 5/6] tcl: fix sed in do_install() Robert Yang
2017-02-15 6:25 ` [PATCH 6/6] binconfig.bbclass: fix get_binconfig_mangle() Robert Yang
2017-02-16 10:56 ` Martin Jansa
2017-02-17 3:33 ` Robert Yang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox