Package: am-utils
Version: 6.1.5-3
Severity: serious
Tags: patch
Justification: no longer builds from source


If, for some reason or other, one changes the configure.in file and 
tries to rebuild the am-utils package, and a newer version of autconf is 
installed then am-utils fails to build at the dh_ins

For example:

Script started on Fri 25 Apr 2008 03:11:40 PM CEST
[EMAIL PROTECTED]:~/am-utils-6.1.5$ rm configure
[EMAIL PROTECTED]:~/am-utils-6.1.5$ autoconf
[EMAIL PROTECTED]:~/am-utils-6.1.5$ dpkg-buildpackage -rfakeroot
dpkg-buildpackage: source package is am-utils
dpkg-buildpackage: source version is 6.1.5-3
dpkg-buildpackage: source changed by Tim Cutts <[EMAIL PROTECTED]>
dpkg-buildpackage: host architecture i386
dpkg-buildpackage: source version without epoch 6.1.5-3
[...]
dh_install --fail-missing -a -i
cp: cannot stat `debian/tmp/usr/info': No such file or directory
dh_install: command returned error code 256
make: *** [install] Error 1
[EMAIL PROTECTED]:~/am-utils-6.1.5$ exit

Script done on Fri 25 Apr 2008 04:11:47 PM CEST

The problem is that as of autoconf 2.61-4 "infodir" is by default 
/usr/share/info, not /usr/info like the debian/autoconf-doc.install file 
expects.

A workaround is to force infodir on the make install step in 
debian/rules:

--- am-utils-6.1.5/debian/rules.orig    2008-04-25 15:11:57.000000000 +0200
+++ am-utils-6.1.5/debian/rules 2008-04-25 16:19:58.000000000 +0200
@@ -108,6 +108,7 @@
        dh_installdirs
 
        $(MAKE) prefix=`pwd`/debian/tmp/usr \
+               infodir=`pwd`/debian/tmp/usr/info \
                mandir=`pwd`/debian/tmp/usr/share/man install
        rm -fr debian/tmp/usr/etc
        rm debian/tmp/usr/sbin/lostaltmail

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-ssi-686-smp
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages am-utils depends on:
ii  debconf                1.5.11etch1       Debian configuration management sy
ii  libamu4                6.1.5-3           Support library for amd the 4.4BSD
ii  libc6                  2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii  libgdbm3               1.8.3-3           GNU dbm database routines (runtime
ii  libhesiod0             3.0.2-18.1        Libraries for hesiod, a service na
ii  libldap2               2.1.30-13.3       OpenLDAP libraries
ii  libwrap0               7.6.dbs-13        Wietse Venema's TCP wrappers libra
ii  perl                   5.8.8-7etch1      Larry Wall's Practical Extraction 
ii  portmap                5-9.ssi2          The RPC portmapper
ii  ucf                    2.0020            Update Configuration File: preserv

am-utils recommends no packages.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to