[arch-commits] Commit in automake/repos (3 files)

Felix Yan felixonmars at archlinux.org
Sun Mar 22 11:41:28 UTC 2020


    Date: Sunday, March 22, 2020 @ 11:41:26
  Author: felixonmars
Revision: 378325

archrelease: copy trunk to testing-any

Added:
  automake/repos/testing-any/
  automake/repos/testing-any/PKGBUILD
    (from rev 378324, automake/trunk/PKGBUILD)
  automake/repos/testing-any/automake-1.15-dejagnu-testcase.patch
    (from rev 378324, automake/trunk/automake-1.15-dejagnu-testcase.patch)

--------------------------------------+
 PKGBUILD                             |   47 +++++++++++++++++++++++++++++++
 automake-1.15-dejagnu-testcase.patch |   49 +++++++++++++++++++++++++++++++++
 2 files changed, 96 insertions(+)

Copied: automake/repos/testing-any/PKGBUILD (from rev 378324, automake/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD	                        (rev 0)
+++ testing-any/PKGBUILD	2020-03-22 11:41:26 UTC (rev 378325)
@@ -0,0 +1,47 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: judd <jvinet at zeroflux.org>
+
+pkgname=automake
+pkgver=1.16.2
+pkgrel=1
+pkgdesc="A GNU tool for automatically creating Makefiles"
+arch=('any')
+license=('GPL')
+url="https://www.gnu.org/software/automake"
+groups=('base-devel')
+depends=('perl' 'bash')
+makedepends=('autoconf')
+checkdepends=('dejagnu' 'gcc-fortran' 'java-environment' 'vala' 'emacs' 'cscope'
+              'python2' 'python-virtualenv')
+source=("https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz"{,.sig}
+        automake-1.15-dejagnu-testcase.patch)
+sha512sums=('a4aa0e41ceaa7df5bc303a6004597fb158f4198594017cd2c586fd9f5a29233e081766bf22b7e4ef0d4c8c3d45a8591009427efa319b362922a958ac1ef6e27b'
+            'SKIP'
+            'fbea84532ebb9210b95d82104ee53d91bcf97e76c2ebad66794c22d8fd205b263dcba6c04aa87273cc40243ce4c5ae97df63417b52f37288167ad2b1aa80fd04')
+validpgpkeys=('E1622F96D2BB4E58018EEF9860F906016E407573'   # Stefano Lattarini
+              'F2A38D7EEB2B66405761070D0ADEE10094604D37'   # Mathieu Lirzin
+              '155D3FC500C834486D1EEA677FD9FCCB000BEEEE')  # Jim Meyering
+
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+
+	# fix testsuite issue with resent dejagnu
+	patch -p1 -i "$srcdir"/automake-1.15-dejagnu-testcase.patch
+}
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	./configure --build=$CHOST --prefix=/usr
+	make
+}
+
+check() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make check PYTHON=/usr/bin/python2
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+}

Copied: automake/repos/testing-any/automake-1.15-dejagnu-testcase.patch (from rev 378324, automake/trunk/automake-1.15-dejagnu-testcase.patch)
===================================================================
--- testing-any/automake-1.15-dejagnu-testcase.patch	                        (rev 0)
+++ testing-any/automake-1.15-dejagnu-testcase.patch	2020-03-22 11:41:26 UTC (rev 378325)
@@ -0,0 +1,49 @@
+From 3b86722e504c686d3e825ca8870708cce7580190 Mon Sep 17 00:00:00 2001
+From: Pavel Raiskup <praiskup at redhat.com>
+Date: Mon, 27 Jun 2016 23:10:12 +0200
+Subject: [PATCH] tests: fix bug in dejagnu testcase
+
+This resolves testsuite error:
+ERROR: tcl error sourcing ./spanner.test/spanner.exp.
+ERROR: couldn't execute "./spanner": no such file or directory
+    while executing
+"spawn $SPANNER"
+    (file "./spanner.test/spanner.exp" line 2)
+    invoked from within
+"source ./spanner.test/spanner.exp"
+    ("uplevel" body line 1)
+    invoked from within
+"uplevel #0 source ./spanner.test/spanner.exp"
+    invoked from within
+"catch "uplevel #0 source $test_file_name""
+
+.. which was there probably for a very long time, but now with
+dejagnu 1.6 the runtest binary started to validly exit with
+non-zero status.
+
+* t/check12.sh (Makefile.am): Also distribute files from
+$(DEJATOOL) because otherwise 'runtest' binary fails later during
+'make distcheck' because of incomplete list of distributed files.
+
+Proposed upstream:
+http://thread.gmane.org/gmane.comp.sysutils.automake.patches/9941
+
+---
+ t/check12.sh | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/t/check12.sh b/t/check12.sh
+index 0f3928a..306c720 100644
+--- a/t/check12.sh
++++ b/t/check12.sh
+@@ -61,6 +61,7 @@ DEJATOOL = hammer spanner
+ AM_RUNTESTFLAGS = HAMMER=$(srcdir)/hammer SPANNER=$(srcdir)/spanner
+ EXTRA_DIST += hammer.test/hammer.exp
+ EXTRA_DIST += spanner.test/spanner.exp
++EXTRA_DIST += $(DEJATOOL)
+ END
+ 
+ cat > hammer << 'END'
+-- 
+2.7.4
+



More information about the arch-commits mailing list