Skip to contentSkip to conversation

Laurentiu Palcu : m4: upgrade to 1.4.17

oe-commits Andrea Adami 2 participants 5 messages Oct 30, 2013 – Nov 2, 2013 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 20131027112740.5FC1D50317@opal

#1 lore raw
Quoted 108 lines · On Sun, Oct 27, 2013 at 12:27 PM, <[email protected]> wrote:
Module: openembedded-core.git
Branch: master
Commit: b7505d7c279888bd1675c1a8387edcf87cae8aac
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b7505d7c279888bd1675c1a8387edcf87cae8aac
Author: Laurentiu Palcu <[email protected]>
Date:   Wed Oct 16 14:59:35 2013 +0300

m4: upgrade to 1.4.17

Refreshed remove-gets.patch to apply correctly and changed license checksum since some years were added to the license file.

---

 meta/recipes-devtools/m4/m4-1.4.16.inc             |   16 ----------------
 meta/recipes-devtools/m4/m4-1.4.17.inc             |   13 +++++++++++++
 .../{m4-native_1.4.16.bb => m4-native_1.4.17.bb}   |    0
 meta/recipes-devtools/m4/m4/remove-gets.patch      |   18 ++++++++++--------
 .../m4/{m4_1.4.16.bb => m4_1.4.17.bb}              |    0
 5 files changed, 23 insertions(+), 24 deletions(-)
meta/recipes-devtools/m4/m4-1.4.16.inc deleted +0 -16
deleted file mode 100644
index 01016d6..0000000
@@ -1,16 +0,0 @@
-require m4.inc
-
-LICENSE = "GPLv3"
-
-LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\
-                   file://examples/COPYING;md5=fbc986d45b3dae6725c29870dd6b669d"
-
-PR = "r4"
-SRC_URI += "file://ac_config_links.patch \
-            file://remove-gets.patch \
-           "
-
-SRC_URI[md5sum] = "a5dfb4f2b7370e9d34293d23fd09b280"
-SRC_URI[sha256sum] = "e9176a35bb13a1b08482359aa554ee8072794f58f00e4827bf0e06b570c827da"
-
-
meta/recipes-devtools/m4/m4-1.4.17.inc new file +13 -0
new file mode 100644
index 0000000..790678e
@@ -0,0 +1,13 @@
+require m4.inc
+
+LICENSE = "GPLv3"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\
+                   file://examples/COPYING;md5=4031593b2166d6c47cae282d944a7ede"
+
+SRC_URI += "file://ac_config_links.patch \
+            file://remove-gets.patch \
+           "
+
+SRC_URI[md5sum] = "a5e9954b1dae036762f7b13673a2cf76"
+SRC_URI[sha256sum] = "3ce725133ee552b8b4baca7837fb772940b25e81b2a9dc92537aeaf733538c9e"
meta/recipes-devtools/m4/m4-native_1.4.17.bb renamed from meta/recipes-devtools/m4/m4-native_1.4.16.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/m4/m4-native_1.4.16.bb
rename to meta/recipes-devtools/m4/m4-native_1.4.17.bb
meta/recipes-devtools/m4/m4/remove-gets.patch +10 -8
index 9c396d9..effb353 100644
@@ -4,18 +4,20 @@ undefining it.
 
 Upstream-Status: Pending
 Signed-off-by: Khem Raj <[email protected]>
-Index: m4-1.4.16/lib/stdio.in.h
+Index: m4-1.4.17/lib/stdio.in.h
 ===================================================================
---- m4-1.4.16.orig/lib/stdio.in.h      2011-03-01 08:39:29.000000000 -0800
-+++ m4-1.4.16/lib/stdio.in.h   2012-07-03 08:32:08.145935928 -0700
-@@ -161,8 +161,10 @@
+--- m4-1.4.17.orig/lib/stdio.in.h      2013-10-16 14:41:01.678496227 +0300
++++ m4-1.4.17/lib/stdio.in.h   2013-10-16 14:41:48.849427839 +0300
+@@ -717,10 +717,12 @@
  /* It is very rare that the developer ever has full control of stdin,
-    so any use of gets warrants an unconditional warning.  Assume it is
-    always declared, since it is required by C89.  */
+    so any use of gets warrants an unconditional warning; besides, C11
+    removed it.  */
 +#if defined gets
  #undef gets
+ #if HAVE_RAW_DECL_GETS
  _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+ #endif
 +#endif
 
- #if @GNULIB_FOPEN@
- # if @REPLACE_FOPEN@
+
+ #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@
meta/recipes-devtools/m4/m4_1.4.17.bb renamed from meta/recipes-devtools/m4/m4_1.4.16.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/m4/m4_1.4.16.bb
rename to meta/recipes-devtools/m4/m4_1.4.17.bb
Quoted 4 lines

_______________________________________________
Openembedded-commits mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-commits

This patch breaks the build of m4-native on Gentoo, it stalls on do_configure:

checking whether sigaltstack...

Cheers

Andrea

#2 lore raw

Andreas

Can you replace remove-gets.patch with the one here

http://paste.ubuntu.com/6333696/

and see if it helps ?

-khem

Quoted 126 lines · Andrea Adami
Quoted 108 lines · On Sun, Oct 27, 2013 at 12:27 PM, <[email protected]> wrote:
Module: openembedded-core.git
Branch: master
Commit: b7505d7c279888bd1675c1a8387edcf87cae8aac
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b7505d7c279888bd1675c1a8387edcf87cae8aac
Author: Laurentiu Palcu <[email protected]>
Date:   Wed Oct 16 14:59:35 2013 +0300

m4: upgrade to 1.4.17

Refreshed remove-gets.patch to apply correctly and changed license checksum since some years were added to the license file.

---

 meta/recipes-devtools/m4/m4-1.4.16.inc             |   16 ----------------
 meta/recipes-devtools/m4/m4-1.4.17.inc             |   13 +++++++++++++
 .../{m4-native_1.4.16.bb => m4-native_1.4.17.bb}   |    0
 meta/recipes-devtools/m4/m4/remove-gets.patch      |   18 ++++++++++--------
 .../m4/{m4_1.4.16.bb => m4_1.4.17.bb}              |    0
 5 files changed, 23 insertions(+), 24 deletions(-)
meta/recipes-devtools/m4/m4-1.4.16.inc deleted +0 -16
deleted file mode 100644
index 01016d6..0000000
@@ -1,16 +0,0 @@
-require m4.inc
-
-LICENSE = "GPLv3"
-
-LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\
-                   file://examples/COPYING;md5=fbc986d45b3dae6725c29870dd6b669d"
-
-PR = "r4"
-SRC_URI += "file://ac_config_links.patch \
-            file://remove-gets.patch \
-           "
-
-SRC_URI[md5sum] = "a5dfb4f2b7370e9d34293d23fd09b280"
-SRC_URI[sha256sum] = "e9176a35bb13a1b08482359aa554ee8072794f58f00e4827bf0e06b570c827da"
-
-
meta/recipes-devtools/m4/m4-1.4.17.inc new file +13 -0
new file mode 100644
index 0000000..790678e
@@ -0,0 +1,13 @@
+require m4.inc
+
+LICENSE = "GPLv3"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\
+                   file://examples/COPYING;md5=4031593b2166d6c47cae282d944a7ede"
+
+SRC_URI += "file://ac_config_links.patch \
+            file://remove-gets.patch \
+           "
+
+SRC_URI[md5sum] = "a5e9954b1dae036762f7b13673a2cf76"
+SRC_URI[sha256sum] = "3ce725133ee552b8b4baca7837fb772940b25e81b2a9dc92537aeaf733538c9e"
meta/recipes-devtools/m4/m4-native_1.4.17.bb renamed from meta/recipes-devtools/m4/m4-native_1.4.16.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/m4/m4-native_1.4.16.bb
rename to meta/recipes-devtools/m4/m4-native_1.4.17.bb
meta/recipes-devtools/m4/m4/remove-gets.patch +10 -8
index 9c396d9..effb353 100644
@@ -4,18 +4,20 @@ undefining it.
 
 Upstream-Status: Pending
 Signed-off-by: Khem Raj <[email protected]>
-Index: m4-1.4.16/lib/stdio.in.h
+Index: m4-1.4.17/lib/stdio.in.h
 ===================================================================
---- m4-1.4.16.orig/lib/stdio.in.h      2011-03-01 08:39:29.000000000 -0800
-+++ m4-1.4.16/lib/stdio.in.h   2012-07-03 08:32:08.145935928 -0700
-@@ -161,8 +161,10 @@
+--- m4-1.4.17.orig/lib/stdio.in.h      2013-10-16 14:41:01.678496227 +0300
++++ m4-1.4.17/lib/stdio.in.h   2013-10-16 14:41:48.849427839 +0300
+@@ -717,10 +717,12 @@
  /* It is very rare that the developer ever has full control of stdin,
-    so any use of gets warrants an unconditional warning.  Assume it is
-    always declared, since it is required by C89.  */
+    so any use of gets warrants an unconditional warning; besides, C11
+    removed it.  */
 +#if defined gets
  #undef gets
+ #if HAVE_RAW_DECL_GETS
  _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+ #endif
 +#endif
 
- #if @GNULIB_FOPEN@
- # if @REPLACE_FOPEN@
+
+ #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@
meta/recipes-devtools/m4/m4_1.4.17.bb renamed from meta/recipes-devtools/m4/m4_1.4.16.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/m4/m4_1.4.16.bb
rename to meta/recipes-devtools/m4/m4_1.4.17.bb
Quoted 4 lines

_______________________________________________
Openembedded-commits mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-commits

This patch breaks the build of m4-native on Gentoo, it stalls on do_configure:

checking whether sigaltstack...

Cheers

Andrea
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#3 lore raw
Quoted 10 lines · Khem Raj

Andreas

Can you replace remove-gets.patch with the one here

http://paste.ubuntu.com/6333696/

and see if it helps ?

-khem

I've tried but with same results.
Howerver this was doing an incremental build.

I'm happy to say the issue has disappeared after cleaning all and rebuilding from scratch.

...
checking for sigaltstack... yes
...

Sorry for the noise and thanks.

Andrea

Quoted 127 lines · Andrea Adami
Quoted 126 lines · On Sun, Oct 27, 2013 at 12:27 PM, <[email protected]> wrote:
Quoted 108 lines
Module: openembedded-core.git
Branch: master
Commit: b7505d7c279888bd1675c1a8387edcf87cae8aac
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b7505d7c279888bd1675c1a8387edcf87cae8aac
Author: Laurentiu Palcu <[email protected]>
Date:   Wed Oct 16 14:59:35 2013 +0300

m4: upgrade to 1.4.17

Refreshed remove-gets.patch to apply correctly and changed license checksum since some years were added to the license file.

---

 meta/recipes-devtools/m4/m4-1.4.16.inc             |   16 ----------------
 meta/recipes-devtools/m4/m4-1.4.17.inc             |   13 +++++++++++++
 .../{m4-native_1.4.16.bb => m4-native_1.4.17.bb}   |    0
 meta/recipes-devtools/m4/m4/remove-gets.patch      |   18 ++++++++++--------
 .../m4/{m4_1.4.16.bb => m4_1.4.17.bb}              |    0
 5 files changed, 23 insertions(+), 24 deletions(-)
meta/recipes-devtools/m4/m4-1.4.16.inc deleted +0 -16
deleted file mode 100644
index 01016d6..0000000
@@ -1,16 +0,0 @@
-require m4.inc
-
-LICENSE = "GPLv3"
-
-LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\
-                   file://examples/COPYING;md5=fbc986d45b3dae6725c29870dd6b669d"
-
-PR = "r4"
-SRC_URI += "file://ac_config_links.patch \
-            file://remove-gets.patch \
-           "
-
-SRC_URI[md5sum] = "a5dfb4f2b7370e9d34293d23fd09b280"
-SRC_URI[sha256sum] = "e9176a35bb13a1b08482359aa554ee8072794f58f00e4827bf0e06b570c827da"
-
-
meta/recipes-devtools/m4/m4-1.4.17.inc new file +13 -0
new file mode 100644
index 0000000..790678e
@@ -0,0 +1,13 @@
+require m4.inc
+
+LICENSE = "GPLv3"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\
+                   file://examples/COPYING;md5=4031593b2166d6c47cae282d944a7ede"
+
+SRC_URI += "file://ac_config_links.patch \
+            file://remove-gets.patch \
+           "
+
+SRC_URI[md5sum] = "a5e9954b1dae036762f7b13673a2cf76"
+SRC_URI[sha256sum] = "3ce725133ee552b8b4baca7837fb772940b25e81b2a9dc92537aeaf733538c9e"
meta/recipes-devtools/m4/m4-native_1.4.17.bb renamed from meta/recipes-devtools/m4/m4-native_1.4.16.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/m4/m4-native_1.4.16.bb
rename to meta/recipes-devtools/m4/m4-native_1.4.17.bb
meta/recipes-devtools/m4/m4/remove-gets.patch +10 -8
index 9c396d9..effb353 100644
@@ -4,18 +4,20 @@ undefining it.
 
 Upstream-Status: Pending
 Signed-off-by: Khem Raj <[email protected]>
-Index: m4-1.4.16/lib/stdio.in.h
+Index: m4-1.4.17/lib/stdio.in.h
 ===================================================================
---- m4-1.4.16.orig/lib/stdio.in.h      2011-03-01 08:39:29.000000000 -0800
-+++ m4-1.4.16/lib/stdio.in.h   2012-07-03 08:32:08.145935928 -0700
-@@ -161,8 +161,10 @@
+--- m4-1.4.17.orig/lib/stdio.in.h      2013-10-16 14:41:01.678496227 +0300
++++ m4-1.4.17/lib/stdio.in.h   2013-10-16 14:41:48.849427839 +0300
+@@ -717,10 +717,12 @@
  /* It is very rare that the developer ever has full control of stdin,
-    so any use of gets warrants an unconditional warning.  Assume it is
-    always declared, since it is required by C89.  */
+    so any use of gets warrants an unconditional warning; besides, C11
+    removed it.  */
 +#if defined gets
  #undef gets
+ #if HAVE_RAW_DECL_GETS
  _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+ #endif
 +#endif
 
- #if @GNULIB_FOPEN@
- # if @REPLACE_FOPEN@
+
+ #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@
meta/recipes-devtools/m4/m4_1.4.17.bb renamed from meta/recipes-devtools/m4/m4_1.4.16.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/m4/m4_1.4.16.bb
rename to meta/recipes-devtools/m4/m4_1.4.17.bb
Quoted 4 lines

_______________________________________________
Openembedded-commits mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-commits

This patch breaks the build of m4-native on Gentoo, it stalls on do_configure:

checking whether sigaltstack...

Cheers

Andrea
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#4 lore raw
Quoted 18 lines · Andrea Adami
Quoted 10 lines · Khem Raj

Andreas

Can you replace remove-gets.patch with the one here

http://paste.ubuntu.com/6333696/

and see if it helps ?

-khem

I've tried but with same results.
Howerver this was doing an incremental build.

I'm happy to say the issue has disappeared after cleaning all and rebuilding from scratch.

Quoted 8 lines

...
checking for sigaltstack... yes
...

Sorry for the noise and thanks.

Andrea

Well, I spoke too soon (Halloween party calling...) I was building from scratch with the patch reverted.

So, yes, on Gentoo 32bit 0: m4-native-1.4.17-r0 do_configure stalls forever on "checking for sigaltstack...".
This with the modified patch as well.

Sorry to report...

Cheers
Andrea

Quoted 130 lines
Quoted 130 lines · Andrea Adami
Quoted 126 lines · On Sun, Oct 27, 2013 at 12:27 PM, <[email protected]> wrote:
Quoted 108 lines
Module: openembedded-core.git
Branch: master
Commit: b7505d7c279888bd1675c1a8387edcf87cae8aac
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b7505d7c279888bd1675c1a8387edcf87cae8aac
Author: Laurentiu Palcu <[email protected]>
Date:   Wed Oct 16 14:59:35 2013 +0300

m4: upgrade to 1.4.17

Refreshed remove-gets.patch to apply correctly and changed license checksum since some years were added to the license file.

---

 meta/recipes-devtools/m4/m4-1.4.16.inc             |   16 ----------------
 meta/recipes-devtools/m4/m4-1.4.17.inc             |   13 +++++++++++++
 .../{m4-native_1.4.16.bb => m4-native_1.4.17.bb}   |    0
 meta/recipes-devtools/m4/m4/remove-gets.patch      |   18 ++++++++++--------
 .../m4/{m4_1.4.16.bb => m4_1.4.17.bb}              |    0
 5 files changed, 23 insertions(+), 24 deletions(-)
meta/recipes-devtools/m4/m4-1.4.16.inc deleted +0 -16
deleted file mode 100644
index 01016d6..0000000
@@ -1,16 +0,0 @@
-require m4.inc
-
-LICENSE = "GPLv3"
-
-LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\
-                   file://examples/COPYING;md5=fbc986d45b3dae6725c29870dd6b669d"
-
-PR = "r4"
-SRC_URI += "file://ac_config_links.patch \
-            file://remove-gets.patch \
-           "
-
-SRC_URI[md5sum] = "a5dfb4f2b7370e9d34293d23fd09b280"
-SRC_URI[sha256sum] = "e9176a35bb13a1b08482359aa554ee8072794f58f00e4827bf0e06b570c827da"
-
-
meta/recipes-devtools/m4/m4-1.4.17.inc new file +13 -0
new file mode 100644
index 0000000..790678e
@@ -0,0 +1,13 @@
+require m4.inc
+
+LICENSE = "GPLv3"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\
+                   file://examples/COPYING;md5=4031593b2166d6c47cae282d944a7ede"
+
+SRC_URI += "file://ac_config_links.patch \
+            file://remove-gets.patch \
+           "
+
+SRC_URI[md5sum] = "a5e9954b1dae036762f7b13673a2cf76"
+SRC_URI[sha256sum] = "3ce725133ee552b8b4baca7837fb772940b25e81b2a9dc92537aeaf733538c9e"
meta/recipes-devtools/m4/m4-native_1.4.17.bb renamed from meta/recipes-devtools/m4/m4-native_1.4.16.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/m4/m4-native_1.4.16.bb
rename to meta/recipes-devtools/m4/m4-native_1.4.17.bb
meta/recipes-devtools/m4/m4/remove-gets.patch +10 -8
index 9c396d9..effb353 100644
@@ -4,18 +4,20 @@ undefining it.
 
 Upstream-Status: Pending
 Signed-off-by: Khem Raj <[email protected]>
-Index: m4-1.4.16/lib/stdio.in.h
+Index: m4-1.4.17/lib/stdio.in.h
 ===================================================================
---- m4-1.4.16.orig/lib/stdio.in.h      2011-03-01 08:39:29.000000000 -0800
-+++ m4-1.4.16/lib/stdio.in.h   2012-07-03 08:32:08.145935928 -0700
-@@ -161,8 +161,10 @@
+--- m4-1.4.17.orig/lib/stdio.in.h      2013-10-16 14:41:01.678496227 +0300
++++ m4-1.4.17/lib/stdio.in.h   2013-10-16 14:41:48.849427839 +0300
+@@ -717,10 +717,12 @@
  /* It is very rare that the developer ever has full control of stdin,
-    so any use of gets warrants an unconditional warning.  Assume it is
-    always declared, since it is required by C89.  */
+    so any use of gets warrants an unconditional warning; besides, C11
+    removed it.  */
 +#if defined gets
  #undef gets
+ #if HAVE_RAW_DECL_GETS
  _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+ #endif
 +#endif
 
- #if @GNULIB_FOPEN@
- # if @REPLACE_FOPEN@
+
+ #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@
meta/recipes-devtools/m4/m4_1.4.17.bb renamed from meta/recipes-devtools/m4/m4_1.4.16.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/m4/m4_1.4.16.bb
rename to meta/recipes-devtools/m4/m4_1.4.17.bb
Quoted 4 lines

_______________________________________________
Openembedded-commits mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-commits

This patch breaks the build of m4-native on Gentoo, it stalls on do_configure:

checking whether sigaltstack...

Cheers

Andrea
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#5 lore raw
Quoted 31 lines · Andrea Adami
Quoted 18 lines · Andrea Adami
Quoted 10 lines · Khem Raj

Andreas

Can you replace remove-gets.patch with the one here

http://paste.ubuntu.com/6333696/

and see if it helps ?

-khem

I've tried but with same results.
Howerver this was doing an incremental build.

I'm happy to say the issue has disappeared after cleaning all and rebuilding from scratch.

Quoted 8 lines

...
checking for sigaltstack... yes
...

Sorry for the noise and thanks.

Andrea

Well, I spoke too soon (Halloween party calling...) I was building from scratch with the patch reverted.

Quoted 9 lines

So, yes, on Gentoo 32bit 0: m4-native-1.4.17-r0 do_configure stalls forever on "checking for sigaltstack...".
This with the modified patch as well.

Sorry to report...

Cheers
Andrea

Further testing after rebuilding/reemerging Gentoo: m4-native_1.4.17 does now configure and compile.
The nerw issue is gettext-native:

| DEBUG: Executing shell function do_configure
| This Perl not built to support threads
| Compilation failed in require at

/oe/oe-core/build/tmp-eglibc/sysroots/i686-linux/usr/bin/automake line 138.

So all was originated by perl on buildhost compiled without threads.

Cheers

Andrea

Quoted 131 lines
Quoted 131 lines
Quoted 131 lines · Andrea Adami
Quoted 126 lines · On Sun, Oct 27, 2013 at 12:27 PM, <[email protected]> wrote:
Quoted 108 lines
Module: openembedded-core.git
Branch: master
Commit: b7505d7c279888bd1675c1a8387edcf87cae8aac
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b7505d7c279888bd1675c1a8387edcf87cae8aac
Author: Laurentiu Palcu <[email protected]>
Date:   Wed Oct 16 14:59:35 2013 +0300

m4: upgrade to 1.4.17

Refreshed remove-gets.patch to apply correctly and changed license checksum since some years were added to the license file.

---

 meta/recipes-devtools/m4/m4-1.4.16.inc             |   16 ----------------
 meta/recipes-devtools/m4/m4-1.4.17.inc             |   13 +++++++++++++
 .../{m4-native_1.4.16.bb => m4-native_1.4.17.bb}   |    0
 meta/recipes-devtools/m4/m4/remove-gets.patch      |   18 ++++++++++--------
 .../m4/{m4_1.4.16.bb => m4_1.4.17.bb}              |    0
 5 files changed, 23 insertions(+), 24 deletions(-)
meta/recipes-devtools/m4/m4-1.4.16.inc deleted +0 -16
deleted file mode 100644
index 01016d6..0000000
@@ -1,16 +0,0 @@
-require m4.inc
-
-LICENSE = "GPLv3"
-
-LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\
-                   file://examples/COPYING;md5=fbc986d45b3dae6725c29870dd6b669d"
-
-PR = "r4"
-SRC_URI += "file://ac_config_links.patch \
-            file://remove-gets.patch \
-           "
-
-SRC_URI[md5sum] = "a5dfb4f2b7370e9d34293d23fd09b280"
-SRC_URI[sha256sum] = "e9176a35bb13a1b08482359aa554ee8072794f58f00e4827bf0e06b570c827da"
-
-
meta/recipes-devtools/m4/m4-1.4.17.inc new file +13 -0
new file mode 100644
index 0000000..790678e
@@ -0,0 +1,13 @@
+require m4.inc
+
+LICENSE = "GPLv3"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504\
+                   file://examples/COPYING;md5=4031593b2166d6c47cae282d944a7ede"
+
+SRC_URI += "file://ac_config_links.patch \
+            file://remove-gets.patch \
+           "
+
+SRC_URI[md5sum] = "a5e9954b1dae036762f7b13673a2cf76"
+SRC_URI[sha256sum] = "3ce725133ee552b8b4baca7837fb772940b25e81b2a9dc92537aeaf733538c9e"
meta/recipes-devtools/m4/m4-native_1.4.17.bb renamed from meta/recipes-devtools/m4/m4-native_1.4.16.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/m4/m4-native_1.4.16.bb
rename to meta/recipes-devtools/m4/m4-native_1.4.17.bb
meta/recipes-devtools/m4/m4/remove-gets.patch +10 -8
index 9c396d9..effb353 100644
@@ -4,18 +4,20 @@ undefining it.
 
 Upstream-Status: Pending
 Signed-off-by: Khem Raj <[email protected]>
-Index: m4-1.4.16/lib/stdio.in.h
+Index: m4-1.4.17/lib/stdio.in.h
 ===================================================================
---- m4-1.4.16.orig/lib/stdio.in.h      2011-03-01 08:39:29.000000000 -0800
-+++ m4-1.4.16/lib/stdio.in.h   2012-07-03 08:32:08.145935928 -0700
-@@ -161,8 +161,10 @@
+--- m4-1.4.17.orig/lib/stdio.in.h      2013-10-16 14:41:01.678496227 +0300
++++ m4-1.4.17/lib/stdio.in.h   2013-10-16 14:41:48.849427839 +0300
+@@ -717,10 +717,12 @@
  /* It is very rare that the developer ever has full control of stdin,
-    so any use of gets warrants an unconditional warning.  Assume it is
-    always declared, since it is required by C89.  */
+    so any use of gets warrants an unconditional warning; besides, C11
+    removed it.  */
 +#if defined gets
  #undef gets
+ #if HAVE_RAW_DECL_GETS
  _GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead");
+ #endif
 +#endif
 
- #if @GNULIB_FOPEN@
- # if @REPLACE_FOPEN@
+
+ #if @GNULIB_OBSTACK_PRINTF@ || @GNULIB_OBSTACK_PRINTF_POSIX@
meta/recipes-devtools/m4/m4_1.4.17.bb renamed from meta/recipes-devtools/m4/m4_1.4.16.bb +0 -0
similarity index 100%
rename from meta/recipes-devtools/m4/m4_1.4.16.bb
rename to meta/recipes-devtools/m4/m4_1.4.17.bb
Quoted 4 lines

_______________________________________________
Openembedded-commits mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-commits

This patch breaks the build of m4-native on Gentoo, it stalls on do_configure:

checking whether sigaltstack...

Cheers

Andrea
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core