make 3.82: set DEFAULT_PREFERENCE = "-1"
PATCH RESEND 2/4 base.bbclass: add make-native to default dependencies
In reply to Michael SmithThis should work around package incompatibilities with whatever version of make is installed on the build system.
--- classes/base.bbclass | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
classes/base.bbclass +2 -1
@@ -71,7 +71,8 @@ def base_deps(d): if not bb.data.getVar('INHIBIT_DEFAULT_DEPS', d): if (bb.data.getVar('HOST_SYS', d, 1) != bb.data.getVar('BUILD_SYS', d, 1)): - deps += " virtual/${TARGET_PREFIX}gcc virtual/libc " + deps += (" virtual/${TARGET_PREFIX}gcc virtual/libc " + "make-native") elif bb.data.inherits_class('native', d) and \ bb.data.getVar('PN', d, True) not in \ ("linux-libc-headers-native", "quilt-native",
Signature · 1 line
1.7.0.4
PATCH RESEND 3/4 glibc, glibc-initial: depend on make-native
In reply to Michael SmithIn case the version of make installed on the build host is incompatible, we'll use make-native.
--- recipes/glibc/glibc-initial.inc | 2 +- recipes/glibc/glibc.inc | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-)
recipes/glibc/glibc-initial.inc +1 -1
@@ -1,5 +1,5 @@ SECTION = "libs" -DEPENDS = "virtual/${TARGET_PREFIX}gcc-initial linux-libc-headers" +DEPENDS = "virtual/${TARGET_PREFIX}gcc-initial linux-libc-headers make-native" PROVIDES = "virtual/${TARGET_PREFIX}libc-initial" PACKAGES = ""
recipes/glibc/glibc.inc +3 -1
@@ -4,7 +4,9 @@ SECTION = "libs" PRIORITY = "required" LICENSE = "LGPL" # nptl needs unwind support in gcc, which can't be built without glibc. -DEPENDS = "virtual/${TARGET_PREFIX}gcc-intermediate linux-libc-headers" +DEPENDS = "virtual/${TARGET_PREFIX}gcc-intermediate \ + linux-libc-headers \ + make-native" #this leads to circular deps, so lets not add it yet #RDEPENDS_ldd += " bash" PROVIDES = "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc"
Signature · 1 line
1.7.0.4
PATCH RESEND 4/4 eglibc, eglibc-initial: depend on make-native
In reply to Michael SmithIn case the version of make installed on the build host is incompatible, we'll use make-native.
--- recipes/eglibc/eglibc-initial.inc | 2 +- recipes/eglibc/eglibc.inc | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-)
recipes/eglibc/eglibc-initial.inc +1 -1
@@ -1,5 +1,5 @@ SECTION = "libs" -DEPENDS = "linux-libc-headers virtual/${TARGET_PREFIX}gcc-initial" +DEPENDS = "linux-libc-headers virtual/${TARGET_PREFIX}gcc-initial make-native" PROVIDES = "virtual/${TARGET_PREFIX}libc-initial" PACKAGES = ""
recipes/eglibc/eglibc.inc +3 -1
@@ -5,7 +5,9 @@ PRIORITY = "required" LICENSE = "LGPL" INC_PR = "r15" # nptl needs unwind support in gcc, which can't be built without glibc. -DEPENDS = "virtual/${TARGET_PREFIX}gcc-intermediate linux-libc-headers" +DEPENDS = "virtual/${TARGET_PREFIX}gcc-intermediate \ + linux-libc-headers \ + make-native" #this leads to circular deps, so lets not add it yet #RDEPENDS_ldd += " bash" # nptl needs libgcc but dlopens it, so our shlibs code doesn't detect this
Signature · 1 line
1.7.0.4
PATCH RESEND 1/4 make 3.82: set DEFAULT_PREFERENCE = "-1"
This version has introduced several backwards incompatibilities and some packages are known not to build with 3.82. In particular:
- glibc-initial fails in do_install when prefix="".
- eglibc manual/Makefile has not yet been patched (see 3a06f50f)
--- recipes/make/make_3.82.bb | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
recipes/make/make_3.82.bb +3 -0
@@ -1,5 +1,8 @@ require make.inc +# Stock eglibc fails to build with make 3.82. +DEFAULT_PREFERENCE = "-1" + BBCLASSEXTEND = "native" SRC_URI[md5sum] = "1a11100f3c63fcf5753818e59d63088f" SRC_URI[sha256sum] = "e2c1a73f179c40c71e2fe8abf8a8a0688b8499538512984da4a76958d0402966"
Signature · 1 line
1.7.0.4
ping
Quoted 24 lines · Michael Smith
This version has introduced several backwards incompatibilities and some packages are known not to build with 3.82. In particular:
- glibc-initial fails in
do_installwhen prefix="".
- eglibc manual/Makefile has not yet been patched (see3a06f50f)Signed-off-by Michael Smith <[email protected]>--- recipes/make/make_3.82.bb | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)recipes/make/make_3.82.bb +3
-0@@ -1,5 +1,8 @@ require make.inc +# Stock eglibc fails to build with make 3.82. +DEFAULT_PREFERENCE = "-1" + BBCLASSEXTEND = "native" SRC_URI[md5sum] = "1a11100f3c63fcf5753818e59d63088f" SRC_URI[sha256sum] = "e2c1a73f179c40c71e2fe8abf8a8a0688b8499538512984da4a76958d0402966"
Am Freitag, den 08.10.2010, 09:39 -0400 schrieb Michael Smith:
Quoted 5 lines
This version has introduced several backwards incompatibilities and some packages are known not to build with 3.82. In particular:
- glibc-initial fails in
do_installwhen prefix="".
- eglibc manual/Makefile has not yet been patched (see3a06f50f)
Are there patches for these problems available upstream?
recipes/make/make_3.82.bb line 3
Quoted 13 lines
Signed-off-by Michael Smith <[email protected]>--- recipes/make/make_3.82.bb | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)recipes/make/make_3.82.bb +1
-0@@ -1,5 +1,8 @@ require make.inc +# Stock eglibc fails to build with make 3.82.
What do you mean by »stock«? The pristine upstream version or the version in OE?
recipes/make/make_3.82.bb line 8
Quoted 5 lines
recipes/make/make_3.82.bb +2
-0+DEFAULT_PREFERENCE = "-1" + BBCLASSEXTEND = "native" SRC_URI[md5sum] = "1a11100f3c63fcf5753818e59d63088f" SRC_URI[sha256sum] = "e2c1a73f179c40c71e2fe8abf8a8a0688b8499538512984da4a76958d0402966"
Thanks,
Paul
Quoted 8 lines · Paul Menzel
Am Freitag, den 08.10.2010, 09:39 -0400 schrieb Michael Smith:
Quoted 5 lines
This version has introduced several backwards incompatibilities and some packages are known not to build with 3.82. In particular:
- glibc-initial fails in
do_installwhen prefix="".
- eglibc manual/Makefile has not yet been patched (see3a06f50f)Are there patches for these problems available upstream?
For eglibc, yes. For glibc-initial, no - this one seems like a make bug and I don't have time to hunt it down.
Quoted 12 lines
Quoted 12 lines
Signed-off-by Michael Smith <[email protected]>--- recipes/make/make_3.82.bb | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)recipes/make/make_3.82.bb +0
-0@@ -1,5 +1,8 @@ require make.inc
Quoted 4 lines
recipes/make/make_3.82.bb line 3
Quoted 1 line
recipes/make/make_3.82.bb +1
-0+# Stock eglibc fails to build with make 3.82.What do you mean by »stock«? The pristine upstream version or the version in OE?
The older versions in OE. Later upstream versions might have the patch.
Quoted 11 lines
recipes/make/make_3.82.bb line 8
Quoted 6 lines
recipes/make/make_3.82.bb +2
-0+DEFAULT_PREFERENCE = "-1" + BBCLASSEXTEND = "native" SRC_URI[md5sum] = "1a11100f3c63fcf5753818e59d63088f" SRC_URI[sha256sum] = "e2c1a73f179c40c71e2fe8abf8a8a0688b8499538512984da4a76958d0402966"Thanks,
Paul
Re: [PATCH resend 2/4] base.bbclass: add make-native to default dependencies
In reply to Michael Smithping
Quoted 22 lines · Michael Smith
This should work around package incompatibilities with whatever version of make is installed on the build system.
Signed-off-by Michael Smith <[email protected]>--- classes/base.bbclass | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)classes/base.bbclass +2
-1@@ -71,7 +71,8 @@ def base_deps(d): if not bb.data.getVar('INHIBIT_DEFAULT_DEPS', d): if (bb.data.getVar('HOST_SYS', d, 1) != bb.data.getVar('BUILD_SYS', d, 1)): - deps += " virtual/${TARGET_PREFIX}gcc virtual/libc " + deps += (" virtual/${TARGET_PREFIX}gcc virtual/libc " + "make-native") elif bb.data.inherits_class('native', d) and \ bb.data.getVar('PN', d, True) not in \ ("linux-libc-headers-native", "quilt-native",