Skip to contentSkip to conversation

automake: Fix issue with tar configure failing with large UID/GIDs

PATCH Superseded Kumar Gala 5 participants 9 messages Aug 2, 2011

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

PATCH 1/1 automake: Fix issue with tar configure failing with large UID/GIDs

Add a fixup for trying to create ustar archives when the users UID or GID is larger than the format allows.

Based on a patch from Tom Rini

---
 meta/recipes-devtools/automake/automake.inc        |    2 +-
 .../prefer-cpio-over-pax-for-ustar-archives.patch  |   26 ++++++++++++++++++++
 meta/recipes-devtools/automake/automake_1.11.1.bb  |    8 +++++-
 3 files changed, 34 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch
meta/recipes-devtools/automake/automake.inc +1 -1
index beeec7b..96d797f 100644
@@ -4,7 +4,7 @@ Standards. Automake requires the use of Autoconf."
 LICENSE = "GPLv2"
 HOMEPAGE = "http://www.gnu.org/software/automake/"
 SECTION = "devel"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "${GNU_MIRROR}/automake/automake-${PV}.tar.bz2 "
 
meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch new file +26 -0
new file mode 100644
index 0000000..3fda937
@@ -0,0 +1,26 @@
+Index: automake-1.11.1/m4/tar.m4
+===================================================================
+--- automake-1.11.1.orig/m4/tar.m4
++++ automake-1.11.1/m4/tar.m4
+@@ -30,7 +30,7 @@ m4_if([$1], [v7],
+               [m4_fatal([Unknown tar format])])
+ AC_MSG_CHECKING([how to create a $1 tar archive])
+ # Loop over all known methods to create a tar archive until one works.
+-_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
++_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) cpio pax none'
+ _am_tools=${am_cv_prog_tar_$1-$_am_tools}
+ # Do not fold the above two line into one, because Tru64 sh and
+ # Solaris sh will not grok spaces in the rhs of `-'.
+Index: automake-1.11.1/Makefile.in
+===================================================================
+--- automake-1.11.1.orig/Makefile.in
++++ automake-1.11.1/Makefile.in
+@@ -44,7 +44,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/a
+ 	$(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/mkdirp.m4 \
+ 	$(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \
+ 	$(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/strip.m4 \
+-	$(top_srcdir)/m4/substnot.m4 $(top_srcdir)/m4/tar.m4 \
++	$(top_srcdir)/m4/substnot.m4 \
+ 	$(top_srcdir)/configure.ac
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ 	$(ACLOCAL_M4)
meta/recipes-devtools/automake/automake_1.11.1.bb +7 -1
index b231a94..764b6fc 100644
@@ -32,11 +32,17 @@ RDEPENDS_automake-native = "autoconf-native perl-native-runtime"
 PATHFIXPATCH = "file://path_prog_fixes.patch;patch=1"
 PATHFIXPATCH_virtclass-native = ""
 
-SRC_URI += "${PATHFIXPATCH}"
+SRC_URI += "${PATHFIXPATCH} \
+	    file://prefer-cpio-over-pax-for-ustar-archives.patch;patch=1"
 
 SRC_URI[md5sum] = "c2972c4d9b3e29c03d5f2af86249876f"
 SRC_URI[sha256sum] = "5b159d3c0e0a1f87de71b68bcb9f1a1c49e9e71749c9b723f17e2e1e0295c7ae"
 
+do_configure () {
+	touch ${S}/Makefile.in
+	autotools_do_configure
+}
+
 do_install () {
 	oe_runmake 'DESTDIR=${D}' install
 	install -d ${D}${datadir}
Signature · 1 line
1.7.3.4
#1 lore raw

meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch

Quoted 31 lines · Kumar Gala

Add a fixup for trying to create ustar archives when the users UID or GID is larger than the format allows.

Based on a patch from Tom Rini

---
 meta/recipes-devtools/automake/automake.inc        |    2 +-
 .../prefer-cpio-over-pax-for-ustar-archives.patch  |   26 ++++++++++++++++++++
 meta/recipes-devtools/automake/automake_1.11.1.bb  |    8 +++++-
 3 files changed, 34 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch
meta/recipes-devtools/automake/automake.inc +1 -1
index beeec7b..96d797f 100644
@@ -4,7 +4,7 @@ Standards. Automake requires the use of Autoconf."
 LICENSE = "GPLv2"
 HOMEPAGE = "http://www.gnu.org/software/automake/"
 SECTION = "devel"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "${GNU_MIRROR}/automake/automake-${PV}.tar.bz2 "
 
meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch new file +0 -0
new file mode 100644
index 0000000..3fda937

Can we add some documentation into the patch header about why this is necessary and how it solved the problem please?

Quoted 37 lines
meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch new file +26 -0
@@ -0,0 +1,26 @@
+Index: automake-1.11.1/m4/tar.m4
+===================================================================
+--- automake-1.11.1.orig/m4/tar.m4
++++ automake-1.11.1/m4/tar.m4
+@@ -30,7 +30,7 @@ m4_if([$1], [v7],
+               [m4_fatal([Unknown tar format])])
+ AC_MSG_CHECKING([how to create a $1 tar archive])
+ # Loop over all known methods to create a tar archive until one works.
+-_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
++_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) cpio pax none'
+ _am_tools=${am_cv_prog_tar_$1-$_am_tools}
+ # Do not fold the above two line into one, because Tru64 sh and
+ # Solaris sh will not grok spaces in the rhs of `-'.
+Index: automake-1.11.1/Makefile.in
+===================================================================
+--- automake-1.11.1.orig/Makefile.in
++++ automake-1.11.1/Makefile.in
+@@ -44,7 +44,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/a
+ 	$(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/mkdirp.m4 \
+ 	$(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \
+ 	$(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/strip.m4 \
+-	$(top_srcdir)/m4/substnot.m4 $(top_srcdir)/m4/tar.m4 \
++	$(top_srcdir)/m4/substnot.m4 \
+ 	$(top_srcdir)/configure.ac
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ 	$(ACLOCAL_M4)
meta/recipes-devtools/automake/automake_1.11.1.bb +1 -1
index b231a94..764b6fc 100644
@@ -32,11 +32,17 @@ RDEPENDS_automake-native = "autoconf-native perl-native-runtime"
 PATHFIXPATCH = "file://path_prog_fixes.patch;patch=1"
 PATHFIXPATCH_virtclass-native = ""
 
-SRC_URI += "${PATHFIXPATCH}"
+SRC_URI += "${PATHFIXPATCH} \

meta/recipes-devtools/automake/automake_1.11.1.bb RDEPENDS_automake-native = "autoconf-native perl-native-runtime" · line 45

Quoted 10 lines
meta/recipes-devtools/automake/automake_1.11.1.bb +6 -0
+	    file://prefer-cpio-over-pax-for-ustar-archives.patch;patch=1"
 
 SRC_URI[md5sum] = "c2972c4d9b3e29c03d5f2af86249876f"
 SRC_URI[sha256sum] = "5b159d3c0e0a1f87de71b68bcb9f1a1c49e9e71749c9b723f17e2e1e0295c7ae"
 
+do_configure () {
+	touch ${S}/Makefile.in
+	autotools_do_configure
+}
+

and a comment here would be very useful too to explain why this is necessary?

Cheers,

Richard

#2 lore raw
In reply to Kumar Gala
Quoted 66 lines · Kumar Gala

Add a fixup for trying to create ustar archives when the users UID or GID is larger than the format allows.

Based on a patch from Tom Rini

---

meta/recipes-devtools/automake/automake.inc        |    2 +-
.../prefer-cpio-over-pax-for-ustar-archives.patch  |   26 ++++++++++++++++++++
meta/recipes-devtools/automake/automake_1.11.1.bb  |    8 +++++-
3 files changed, 34 insertions(+), 2 deletions(-)

create mode 100644 meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch

meta/recipes-devtools/automake/automake.inc +0 -0
index beeec7b..96d797f 100644
@@ -4,7 +4,7 @@ Standards. Automake requires the use of Autoconf."

LICENSE = "GPLv2"
HOMEPAGE = "http://www.gnu.org/software/automake/" SECTION = "devel"

meta/recipes-devtools/automake/automake.inc +1 -1
-PR = "r2"
+PR = "r3"

SRC_URI = "${GNU_MIRROR}/automake/automake-${PV}.tar.bz2 "

meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch new file +26 -0
new file mode 100644
index 0000000..3fda937
@@ -0,0 +1,26 @@
+Index: automake-1.11.1/m4/tar.m4
+===================================================================
+--- automake-1.11.1.orig/m4/tar.m4
++++ automake-1.11.1/m4/tar.m4
+@@ -30,7 +30,7 @@ m4_if([$1], [v7],
+               [m4_fatal([Unknown tar format])])
+ AC_MSG_CHECKING([how to create a $1 tar archive])
+ # Loop over all known methods to create a tar archive until one works.
+-_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
++_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) cpio pax none'
+ _am_tools=${am_cv_prog_tar_$1-$_am_tools}
+ # Do not fold the above two line into one, because Tru64 sh and
+ # Solaris sh will not grok spaces in the rhs of `-'.
+Index: automake-1.11.1/Makefile.in
+===================================================================
+--- automake-1.11.1.orig/Makefile.in
++++ automake-1.11.1/Makefile.in
+@@ -44,7 +44,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/a
+    $(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/mkdirp.m4 \
+    $(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \
+    $(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/strip.m4 \
+-    $(top_srcdir)/m4/substnot.m4 $(top_srcdir)/m4/tar.m4 \
++    $(top_srcdir)/m4/substnot.m4 \
+    $(top_srcdir)/configure.ac
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+    $(ACLOCAL_M4)
meta/recipes-devtools/automake/automake_1.11.1.bb +0 -0
index b231a94..764b6fc 100644
@@ -32,11 +32,17 @@ RDEPENDS_automake-native = "autoconf-native perl-native-runtime"

PATHFIXPATCH = "file://path_prog_fixes.patch;patch=1" PATHFIXPATCH_virtclass-native = ""

meta/recipes-devtools/automake/automake_1.11.1.bb RDEPENDS_automake-native = "autoconf-native perl-native-runtime" · line 36

Quoted 3 lines
meta/recipes-devtools/automake/automake_1.11.1.bb +2 -1
-SRC_URI += "${PATHFIXPATCH}"
+SRC_URI += "${PATHFIXPATCH} \
+        file://prefer-cpio-over-pax-for-ustar-archives.patch;patch=1"

Patch level 1 is default so patch=1 is not needed here

Quoted 20 lines

SRC_URI[md5sum] = "c2972c4d9b3e29c03d5f2af86249876f"
SRC_URI[sha256sum] = "5b159d3c0e0a1f87de71b68bcb9f1a1c49e9e71749c9b723f17e2e1e0295c7ae"

meta/recipes-devtools/automake/automake_1.11.1.bb +5 -0
+do_configure () {
+    touch ${S}/Makefile.in
+    autotools_do_configure
+}
+
do_install () {
   oe_runmake 'DESTDIR=${D}' install
   install -d ${D}${datadir}
Signature · 7 lines
1.7.3.4


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
#3 lore raw
In reply to Kumar Gala
Quoted 2 lines · Kumar Gala

+-_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' ++_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) cpio pax none'

Have you discussed that with upstream? If not, are you confident that preferring cpio will not simply mean that we are swapping one deficiency for another?

meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch line 26

Quoted 13 lines
meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch new file +13 -0
+Index: automake-1.11.1/Makefile.in
+===================================================================
+--- automake-1.11.1.orig/Makefile.in
++++ automake-1.11.1/Makefile.in
+@@ -44,7 +44,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/a
+ 	$(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/mkdirp.m4 \
+ 	$(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \
+ 	$(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/strip.m4 \
+-	$(top_srcdir)/m4/substnot.m4 $(top_srcdir)/m4/tar.m4 \
++	$(top_srcdir)/m4/substnot.m4 \
+ 	$(top_srcdir)/configure.ac
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ 	$(ACLOCAL_M4)

Can you explain why this hunk is necessary?

meta/recipes-devtools/automake/automake_1.11.1.bb RDEPENDS_automake-native = "autoconf-native perl-native-runtime" · line 44

Quoted 4 lines
meta/recipes-devtools/automake/automake_1.11.1.bb +4 -0
+do_configure () {
+	touch ${S}/Makefile.in
+	autotools_do_configure
+}

... and this one?

Also, your patch is missing a Signed-off-by line. See:

http://wiki.openembedded.org/index.php/Commit_Patch_Message_Guidelines#Patch_Headers_and_Commit_Messages

p.

#4 lore raw
Quoted 7 lines · Phil Blundell
Quoted 2 lines · Kumar Gala

+-_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' ++_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) cpio pax none'

Have you discussed that with upstream? If not, are you confident that preferring cpio will not simply mean that we are swapping one deficiency for another?

A bug was filed with upstream automake. At issue is that pax does not fail gracefully when it cannot create ustar archives while cpio does.

Quoted 14 lines

meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch line 26

Quoted 13 lines
meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch new file +13 -0
+Index: automake-1.11.1/Makefile.in
+===================================================================
+--- automake-1.11.1.orig/Makefile.in
++++ automake-1.11.1/Makefile.in
+@@ -44,7 +44,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/a
+ 	$(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/mkdirp.m4 \
+ 	$(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \
+ 	$(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/strip.m4 \
+-	$(top_srcdir)/m4/substnot.m4 $(top_srcdir)/m4/tar.m4 \
++	$(top_srcdir)/m4/substnot.m4 \
+ 	$(top_srcdir)/configure.ac
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ 	$(ACLOCAL_M4)
Quoted 1 line

Can you explain why this hunk is necessary?

That I don't recall. Possibly some sort of re-gen hell I was trying / needing to avoid.

Quoted 7 lines

meta/recipes-devtools/automake/automake_1.11.1.bb RDEPENDS_automake-native = "autoconf-native perl-native-runtime" · line 44

Quoted 5 lines
meta/recipes-devtools/automake/automake_1.11.1.bb +4 -0
+do_configure () {
+	touch ${S}/Makefile.in
+	autotools_do_configure
+}

... and this one?

Didn't do that one. Kumar? :)

Signature · 2 lines
Tom Rini
Mentor Graphics Corporation
#5 lore raw
Quoted 11 lines · Tom Rini
Quoted 7 lines · Phil Blundell
Quoted 2 lines · Kumar Gala

+-_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' ++_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) cpio pax none'

Have you discussed that with upstream? If not, are you confident that preferring cpio will not simply mean that we are swapping one deficiency for another?

A bug was filed with upstream automake. At issue is that pax does not fail gracefully when it cannot create ustar archives while cpio does.

http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8343 and should be in the patch header...

Signature · 2 lines
Tom Rini
Mentor Graphics Corporation
author
#6 lore raw
In reply to Tom Rini
Quoted 32 lines · Tom Rini
Quoted 7 lines · Phil Blundell
Quoted 2 lines · Kumar Gala

+-_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' ++_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) cpio pax none'

Have you discussed that with upstream? If not, are you confident that preferring cpio will not simply mean that we are swapping one deficiency for another?

A bug was filed with upstream automake. At issue is that pax does not fail gracefully when it cannot create ustar archives while cpio does.

Quoted 14 lines

meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch line 26

Quoted 13 lines
meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch new file +13 -0
+Index: automake-1.11.1/Makefile.in
+===================================================================
+--- automake-1.11.1.orig/Makefile.in
++++ automake-1.11.1/Makefile.in
+@@ -44,7 +44,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/a
+ 	$(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/mkdirp.m4 \
+ 	$(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \
+ 	$(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/strip.m4 \
+-	$(top_srcdir)/m4/substnot.m4 $(top_srcdir)/m4/tar.m4 \
++	$(top_srcdir)/m4/substnot.m4 \
+ 	$(top_srcdir)/configure.ac
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ 	$(ACLOCAL_M4)
Quoted 1 line

Can you explain why this hunk is necessary?

That I don't recall. Possibly some sort of re-gen hell I was trying / needing to avoid.

Quoted 1 line
Quoted 8 lines
Quoted 6 lines

meta/recipes-devtools/automake/automake_1.11.1.bb RDEPENDS_automake-native = "autoconf-native perl-native-runtime" · line 44

Quoted 4 lines
meta/recipes-devtools/automake/automake_1.11.1.bb +4 -0
+do_configure () {
+	touch ${S}/Makefile.in
+	autotools_do_configure
+}

... and this one?

Didn't do that one. Kumar? :)

I think I pulled that from the SB3 change you made.

- k

#7 lore raw
Quoted 42 lines · Kumar Gala
Quoted 39 lines · Tom Rini
Quoted 7 lines · Phil Blundell
Quoted 2 lines · Kumar Gala

+-_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' ++_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) cpio pax none'

Have you discussed that with upstream? If not, are you confident that preferring cpio will not simply mean that we are swapping one deficiency for another?

A bug was filed with upstream automake. At issue is that pax does not fail gracefully when it cannot create ustar archives while cpio does.

Quoted 14 lines

meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch line 26

Quoted 13 lines
meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch new file +13 -0
+Index: automake-1.11.1/Makefile.in
+===================================================================
+--- automake-1.11.1.orig/Makefile.in
++++ automake-1.11.1/Makefile.in
+@@ -44,7 +44,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/a
+ 	$(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/mkdirp.m4 \
+ 	$(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \
+ 	$(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/strip.m4 \
+-	$(top_srcdir)/m4/substnot.m4 $(top_srcdir)/m4/tar.m4 \
++	$(top_srcdir)/m4/substnot.m4 \
+ 	$(top_srcdir)/configure.ac
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ 	$(ACLOCAL_M4)
Quoted 1 line

Can you explain why this hunk is necessary?

That I don't recall. Possibly some sort of re-gen hell I was trying / needing to avoid.

Quoted 7 lines

meta/recipes-devtools/automake/automake_1.11.1.bb RDEPENDS_automake-native = "autoconf-native perl-native-runtime" · line 44

Quoted 5 lines
meta/recipes-devtools/automake/automake_1.11.1.bb +4 -0
+do_configure () {
+	touch ${S}/Makefile.in
+	autotools_do_configure
+}

... and this one?

Quoted 3 lines
Quoted 1 line

Didn't do that one. Kumar? :)

I think I pulled that from the SB3 change you made.

Gah, you're right. I think it was more "avoid re-gen" bits.

Signature · 2 lines
Tom Rini
Mentor Graphics Corporation
author
#8 lore raw
Quoted 43 lines · Tom Rini
Quoted 42 lines · Kumar Gala
Quoted 39 lines · Tom Rini
Quoted 7 lines · Phil Blundell
Quoted 2 lines · Kumar Gala

+-_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' ++_am_tools='gnutar m4_if([$1], [ustar], [plaintar]) cpio pax none'

Have you discussed that with upstream? If not, are you confident that preferring cpio will not simply mean that we are swapping one deficiency for another?

A bug was filed with upstream automake. At issue is that pax does not fail gracefully when it cannot create ustar archives while cpio does.

Quoted 14 lines

meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch line 26

Quoted 13 lines
meta/recipes-devtools/automake/automake/prefer-cpio-over-pax-for-ustar-archives.patch new file +13 -0
+Index: automake-1.11.1/Makefile.in
+===================================================================
+--- automake-1.11.1.orig/Makefile.in
++++ automake-1.11.1/Makefile.in
+@@ -44,7 +44,7 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/a
+ 	$(top_srcdir)/m4/missing.m4 $(top_srcdir)/m4/mkdirp.m4 \
+ 	$(top_srcdir)/m4/options.m4 $(top_srcdir)/m4/runlog.m4 \
+ 	$(top_srcdir)/m4/sanity.m4 $(top_srcdir)/m4/strip.m4 \
+-	$(top_srcdir)/m4/substnot.m4 $(top_srcdir)/m4/tar.m4 \
++	$(top_srcdir)/m4/substnot.m4 \
+ 	$(top_srcdir)/configure.ac
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ 	$(ACLOCAL_M4)
Quoted 1 line

Can you explain why this hunk is necessary?

That I don't recall. Possibly some sort of re-gen hell I was trying / needing to avoid.

Quoted 7 lines

meta/recipes-devtools/automake/automake_1.11.1.bb RDEPENDS_automake-native = "autoconf-native perl-native-runtime" · line 44

Quoted 5 lines
meta/recipes-devtools/automake/automake_1.11.1.bb +4 -0
+do_configure () {
+	touch ${S}/Makefile.in
+	autotools_do_configure
+}

... and this one?

Quoted 5 lines
Quoted 3 lines
Quoted 1 line

Didn't do that one. Kumar? :)

I think I pulled that from the SB3 change you made.

Gah, you're right. I think it was more "avoid re-gen" bits.

Tom,

Do you mind take a stab at updating this patch based on feedback as your far more familiar with that I am ;)

- k