From faaf15cb537521ada2831b2351c0081fc33d0c4f Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Thu, 15 Feb 2018 22:59:42 +0000 Subject: automake 1.15 --- abs/core/automake/PKGBUILD | 33 ++++++++------- .../automake/automake-1.15-dejagnu-testcase.patch | 49 ++++++++++++++++++++++ abs/core/automake/automake.install | 22 ---------- 3 files changed, 67 insertions(+), 37 deletions(-) create mode 100644 abs/core/automake/automake-1.15-dejagnu-testcase.patch delete mode 100644 abs/core/automake/automake.install diff --git a/abs/core/automake/PKGBUILD b/abs/core/automake/PKGBUILD index bd5603e..2f15ec8 100644 --- a/abs/core/automake/PKGBUILD +++ b/abs/core/automake/PKGBUILD @@ -1,9 +1,9 @@ -# $Id$ -# Maintainer: Allan McRae +# Maintainer: Lukas Fleischer +# Contributor: Allan McRae # Contributor: judd pkgname=automake -pkgver=1.14.1 +pkgver=1.15.1 pkgrel=1 pkgdesc="A GNU tool for automatically creating Makefiles" arch=('any') @@ -12,31 +12,34 @@ url="http://www.gnu.org/software/automake" groups=('base-devel') depends=('perl' 'bash') makedepends=('autoconf') -checkdepends=('dejagnu' 'python2' 'gcc-fortran' 'java-environment' 'vala' 'emacs' 'cscope') -install=automake.install -source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig}) -md5sums=('7fc29854c520f56b07aa232a0f880292' - 'SKIP') +checkdepends=('dejagnu' 'gcc-fortran' 'java-environment' 'vala' 'emacs' 'cscope') # 'python' +source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig} + automake-1.15-dejagnu-testcase.patch) +md5sums=('24cd3501b6ad8cd4d7e2546f07e8b4d4' + 'SKIP' + 'ffa4dd8eb78cea82c3009d76087598b1') +validpgpkeys=('E1622F96D2BB4E58018EEF9860F906016E407573' # Stefano Lattarini + 'F2A38D7EEB2B66405761070D0ADEE10094604D37') # Mathieu Lirzin prepare() { cd ${srcdir}/${pkgname}-${pkgver} - # skip failing test... - sed -i "/instmany-python.sh/d" Makefile.in + # fix testsuite issue with resent dejagnu + patch -p1 -i $srcdir/automake-1.15-dejagnu-testcase.patch } build() { - cd ${srcdir}/${pkgname}-${pkgver} - ./configure --prefix=/usr + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --build=$CHOST --prefix=/usr make } check() { - cd ${srcdir}/${pkgname}-${pkgver} + cd "${srcdir}/${pkgname}-${pkgver}" make check } package() { - cd ${srcdir}/${pkgname}-${pkgver} - make DESTDIR=${pkgdir} install + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install } diff --git a/abs/core/automake/automake-1.15-dejagnu-testcase.patch b/abs/core/automake/automake-1.15-dejagnu-testcase.patch new file mode 100644 index 0000000..3af46ad --- /dev/null +++ b/abs/core/automake/automake-1.15-dejagnu-testcase.patch @@ -0,0 +1,49 @@ +From 3b86722e504c686d3e825ca8870708cce7580190 Mon Sep 17 00:00:00 2001 +From: Pavel Raiskup +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 + diff --git a/abs/core/automake/automake.install b/abs/core/automake/automake.install deleted file mode 100644 index 10c2f2d..0000000 --- a/abs/core/automake/automake.install +++ /dev/null @@ -1,22 +0,0 @@ -infodir=/usr/share/info -filelist=(automake.info automake.info-1 automake.info-2) - -post_install() { - [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do - install-info $infodir/$file.gz $infodir/dir 2> /dev/null - done -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - [ -x usr/bin/install-info ] || return 0 - for file in ${filelist[@]}; do - install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null - done -} - -# vim:set ts=2 sw=2 et: -- cgit v0.12