Package Details: dh-autoreconf 21-2

Git Clone URL: https://aur.archlinux.org/dh-autoreconf.git (read-only, click to copy)
Package Base: dh-autoreconf
Description: debhelper add-on to call autoreconf and clean up after the build
Upstream URL: https://packages.debian.org/sid/dh-autoreconf
Licenses: GPL
Submitter: JonnyJD
Maintainer: ImperatorStorm
Last Packager: ImperatorStorm
Votes: 7
Popularity: 0.001069
First Submitted: 2013-10-07 13:24 (UTC)
Last Updated: 2025-11-18 03:13 (UTC)

Latest Comments

utsavbalar commented on 2025-10-05 09:14 (UTC) (edited on 2025-10-05 09:17 (UTC) by utsavbalar)

PKGBUILD Fix for v21

The current PKGBUILD fails to build because upstream changed the tarball structure in v21: * v20: extracted to dh-autoreconf-20/ * v21: extracts to work/

Additionally, v21 introduces two new files that need to be installed per the Debian package manifest: * autoreconf.mk/usr/share/cdbs/1/rules/autoreconf.mk * ltmain-as-needed.diff/usr/share/dh-autoreconf/ltmain-as-needed.diff

Changes Required: 1. Fix source directory path in package() function 2. Install autoreconf.mk for CDBS integration 3. Install ltmain-as-needed.diff patch file

Patch attached: See attached patch file or apply changes from this diff:

--- PKGBUILD
+++ PKGBUILD
@@ -11,11 +13,15 @@ source=(https://deb.debian.org/debian/pool/main/d/$pkgname/${pkgname}_$pkgver.ta
 sha256sums=('5cbd797955824105a16eefcafc4a92eacc556372a69de744b504877723a7ab0e')

 package() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "$srcdir/work"
   install -D "dh_autoreconf" "$pkgdir/usr/bin/dh_autoreconf"
   install -D "dh_autoreconf_clean" "$pkgdir/usr/bin/dh_autoreconf_clean"
   install -D -m 644 autoreconf.pm \
     "$pkgdir/usr/share/perl5/vendor_perl/Debian/Debhelper/Sequence/autoreconf.pm"
+  install -D -m 644 autoreconf.mk \
+    "$pkgdir/usr/share/cdbs/1/rules/autoreconf.mk"
+  install -D -m 644 ltmain-as-needed.diff \
+    "$pkgdir/usr/share/dh-autoreconf/ltmain-as-needed.diff"
   # man pages
   mkdir -p "$pkgdir"/usr/share/man/man{1,7}
   pod2man_func --section=1 dh_autoreconf "$pkgdir"/usr/share/man/man1/dh_autoreconf.1

https://0x0.st/KMGB.patch (will be deleted in 30days)

dpvpro commented on 2025-09-29 06:54 (UTC)

=> Making package: dh-autoreconf 21-1 (Пн 29 сен 2025 09:48:58)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Entering fakeroot environment...
==> Starting package()...
/home/dp/.cache/yay/dh-autoreconf/PKGBUILD: line 14: cd: /home/dp/.cache/yay/dh-autoreconf/src/dh-autoreconf-21: No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...
 -> error making: dh-autoreconf-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
dh-autoreconf - exit status 4

lucaswerkmeister commented on 2025-09-28 23:11 (UTC)

Building version 21 doesn’t work for me, apparently the directory inside the tarball was renamed.

diff --git i/PKGBUILD w/PKGBUILD
index e2228605c8..6644dd7458 100644
--- i/PKGBUILD
+++ w/PKGBUILD
@@ -11,7 +11,7 @@ source=(https://deb.debian.org/debian/pool/main/d/$pkgname/${pkgname}_$pkgver.ta
 sha256sums=('5cbd797955824105a16eefcafc4a92eacc556372a69de744b504877723a7ab0e')

 package() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "$srcdir/work"
   install -D "dh_autoreconf" "$pkgdir/usr/bin/dh_autoreconf"
   install -D "dh_autoreconf_clean" "$pkgdir/usr/bin/dh_autoreconf_clean"
   install -D -m 644 autoreconf.pm \

(Might just be a temporary thing for this release – it does look like it could have been an accident.)

z3ntu commented on 2018-06-21 19:09 (UTC)

Updated. Just flag it out-of-date next time.

hnicke commented on 2018-06-21 19:00 (UTC)

Does currently not find declared sources: 404. Please update to v19.

kochie commented on 2017-04-19 01:30 (UTC)

Version 13 does not exist on the server, should update to 14.