summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-03-03 23:04:47 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2020-03-03 23:05:14 +0000
commit898ab7a9bb1a53378f375f0a22caed36e6099046 (patch)
tree73f2b9a2a6525d718dcf362d5a84169b8aa9b1da /sys-devel/autogen
parentsys-apps/systemd: bump to 245-rc2 (diff)
downloadgentoo-898ab7a9bb1a53378f375f0a22caed36e6099046.tar.gz
gentoo-898ab7a9bb1a53378f375f0a22caed36e6099046.tar.bz2
gentoo-898ab7a9bb1a53378f375f0a22caed36e6099046.zip
sys-devel/autogen: disable test with process leak
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'sys-devel/autogen')
-rw-r--r--sys-devel/autogen/autogen-5.18.16-r1.ebuild1
-rw-r--r--sys-devel/autogen/files/autogen-5.18.16-make-4.3.patch19
2 files changed, 20 insertions, 0 deletions
diff --git a/sys-devel/autogen/autogen-5.18.16-r1.ebuild b/sys-devel/autogen/autogen-5.18.16-r1.ebuild
index 93712b018df..57e03872d85 100644
--- a/sys-devel/autogen/autogen-5.18.16-r1.ebuild
+++ b/sys-devel/autogen/autogen-5.18.16-r1.ebuild
@@ -23,6 +23,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-5.18.16-no-werror.patch
"${FILESDIR}"/${PN}-5.18.16-rpath.patch
"${FILESDIR}"/${PN}-5.18.16-respect-TMPDIR.patch
+ "${FILESDIR}"/${PN}-5.18.16-make-4.3.patch
)
src_prepare() {
diff --git a/sys-devel/autogen/files/autogen-5.18.16-make-4.3.patch b/sys-devel/autogen/files/autogen-5.18.16-make-4.3.patch
new file mode 100644
index 00000000000..a91fc8cc792
--- /dev/null
+++ b/sys-devel/autogen/files/autogen-5.18.16-make-4.3.patch
@@ -0,0 +1,19 @@
+Without this change 'make check -j9' on make-4.3 hangs indefinitely.
+Older make versions just leak process. Ideally 'run_ag' (or 'defs'?)
+should be fixed to stop process leak.
+--- a/agen5/test/directives.test
++++ b/agen5/test/directives.test
+@@ -120,9 +120,10 @@ echo '#assert `echo true`' >> ${testname}.inc
+ run_ag x2 ${agopts} ${testname}.def
+ test $? -eq 0 || failure ${agopts}-2 failed
+
+-echo '#assert `echo false`' >> ${testname}.inc
+-run_ag x3 ${agopts} ${testname}.def
+-test $? -ne 0 || failure ${agopts}-3 failed
++#leaks process and makes make-4.3 hang on leaked process
++#echo '#assert `echo false`' >> ${testname}.inc
++#run_ag x3 ${agopts} ${testname}.def
++#test $? -ne 0 || failure ${agopts}-3 failed
+
+ ${FGREP} -v '#assert' ${testname}.inc > ${testname}2.inc
+ mv -f ${testname}2.inc ${testname}.inc