Skip to contentSkip to conversation

eglibc: fix build with make-3.82

PATCH In review Vasily Khoruzhick 2 participants 4 messages Nov 2, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 eglibc: fix build with make-3.82

Add patch to fix this error when building eglibc-2.12 with make-3.82:

make[2]: Entering directory `eglibc-2_12/libc/manual' Makefile:246: *** mixed implicit and normal rules. Stop.

---
 recipes/eglibc/eglibc_2.12.bb              |    3 ++-
 recipes/eglibc/files/eglibc-make-382.patch |   15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)
 create mode 100644 recipes/eglibc/files/eglibc-make-382.patch
recipes/eglibc/eglibc_2.12.bb +2 -1
index 40ab65c..956f64b 100644
@@ -4,7 +4,7 @@ DEFAULT_PREFERENCE = "-1"
 DEPENDS += "gperf-native"
 FILESPATHPKG =. "eglibc-svn:"
 PV = "2.12"
-PR = "${INC_PR}.6"
+PR = "${INC_PR}.7"
 PR_append = "+svnr${SRCPV}"
 SRCREV="11762"
 EGLIBC_BRANCH="eglibc-2_12"
@@ -16,6 +16,7 @@ SRC_URI = "svn://svn.eglibc.org/branches;module=${EGLIBC_BRANCH};proto=svn \
            file://sh4_local-fpscr_values.patch \
            file://eglibc-dont-cache-slibdir.patch \
            file://armv4-eabi-compile-fix.patch \
+           file://eglibc-make-382.patch \
            file://etc/ld.so.conf \
            file://generate-supported.mk"
 S = "${WORKDIR}/${EGLIBC_BRANCH}/libc"
recipes/eglibc/files/eglibc-make-382.patch new file +15 -0
new file mode 100644
index 0000000..5ecad90
@@ -0,0 +1,15 @@
+http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=blob_plain;f=source/base/glibc/make-3.82-fix.patch;hb=8217c32ecc2e14962847ba3d8a272eb64a3dba4f
+
+--- libc/manual/Makefile
++++ libc/manual/Makefile
+@@ -232,7 +232,9 @@
+ .PHONY: stubs
+ stubs: $(objpfx)stubs
+ endif
+-$(objpfx)stubs ../po/manual.pot $(objpfx)stamp%:
++$(objpfx)stubs ../po/manual.pot:
++	touch $@
++$(objpfx)stamp%:
+ 	$(make-target-directory)
+ 	touch $@
+ 
Signature · 1 line
1.7.3.2
#1 lore raw
Quoted 3 lines · Vasily Khoruzhick

Add patch to fix this error when building eglibc-2.12 with make-3.82:

thanks for the patch. while you are at it can you also patch other versions of eglibc
that would be nice.

Quoted 61 lines

make[2]: Entering directory `eglibc-2_12/libc/manual' Makefile:246: *** mixed implicit and normal rules.  Stop.

---
 recipes/eglibc/eglibc_2.12.bb              |    3 ++- recipes/eglibc/files/eglibc-make-382.patch |   15 +++++++++++++++

 2 files changed, 17 insertions(+), 1 deletions(-)

 create mode 100644 recipes/eglibc/files/eglibc-make-382.patch

recipes/eglibc/eglibc_2.12.bb +0 -0
index 40ab65c..956f64b 100644
@@ -4,7 +4,7 @@ DEFAULT_PREFERENCE = "-1"

 DEPENDS += "gperf-native"
 FILESPATHPKG =. "eglibc-svn:"
 PV = "2.12"

recipes/eglibc/eglibc_2.12.bb +1 -1
-PR = "${INC_PR}.6"
+PR = "${INC_PR}.7"

 PR_append = "+svnr${SRCPV}"
 SRCREV="11762"
 EGLIBC_BRANCH="eglibc-2_12"

recipes/eglibc/eglibc_2.12.bb +1 -0
@@ -16,6 +16,7 @@ SRC_URI = "svn://svn.eglibc.org/branches;module=${EGLIBC_BRANCH};proto=svn \
            file://sh4_local-fpscr_values.patch \
            file://eglibc-dont-cache-slibdir.patch \
            file://armv4-eabi-compile-fix.patch \
+           file://eglibc-make-382.patch \
            file://etc/ld.so.conf \

           file://generate-supported.mk"
 S = "${WORKDIR}/${EGLIBC_BRANCH}/libc"

recipes/eglibc/files/eglibc-make-382.patch new file +15 -1
new file mode 100644
index 0000000..5ecad90
@@ -0,0 +1,15 @@
+http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=blob_plain;f=source/base/glibc/make-3.82-fix.patch;hb=8217c32ecc2e14962847ba3d8a272eb64a3dba4f
+
+--- libc/manual/Makefile
++++ libc/manual/Makefile
+@@ -232,7 +232,9 @@
+ .PHONY: stubs
+ stubs: $(objpfx)stubs
+ endif
+-$(objpfx)stubs ../po/manual.pot $(objpfx)stamp%:
++$(objpfx)stubs ../po/manual.pot:
++      touch $@
++$(objpfx)stamp%:
+       $(make-target-directory)
+       touch $@
+
--

1.7.3.2

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#2 lore raw
Quoted 1 line · On Tuesday 02 November 2010 23:49:33 Khem Raj wrote:

On Tue, Nov 2, 2010 at 2:15 PM, Vasily Khoruzhick <[email protected]>

Quoted 6 lines · wrote:
Quoted 3 lines

Add patch to fix this error when building eglibc-2.12

with make-3.82:

thanks for the patch. while you are at it can you also patch other versions of eglibc
that would be nice.

Would be 2.11 and 2.12 enough? Not sure that I can test other versions (even compile-test)

Regards
Vasily

#3 lore raw
Quoted 5 lines · Vasily Khoruzhick
Quoted 1 line · On Tuesday 02 November 2010 23:49:33 Khem Raj wrote:

On Tue, Nov 2, 2010 at 2:15 PM, Vasily Khoruzhick <[email protected]>

Quoted 2 lines · wrote:
Quoted 1 line

Add patch to fix this error when building eglibc-2.12

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

with make-3.82:

thanks for the patch. while you are at it can you also patch other versions of eglibc
that would be nice.

Would be 2.11 and 2.12 enough? Not sure that I can test other versions (even compile-test)

as much as you can is welcome.

Quoted 3 lines

Regards
Vasily