I was able to narrow this down to the presence of some extra package in the
case where it fails. When I removed autofoo packages, then sed built. In the
case of my chroot, it's quite likely that those got installed at some point
and a build interrupted so they didn't get cleaned up correctly.
Attached is a diff of the logs for a failed case and a working case.
Stuart
Stuart R. Anderson [EMAIL PROTECTED]
Network & Software Engineering http://www.netsweng.com/
1024D/37A79149: 0791 D3B8 9A4C 2CDC A31F
BD03 0A62 E534 37A7 9149
5c5
< Build started at 20060404-1123
---
> Build started at 20060404-1117
26,27c26,27
< Writing srcdep lock file
/home/olmec/build/chroot-unstable//var/lib/sbuild/srcdep-lock/10794-1:
< Job sed_4.1.4-5.1 pid 10794 user olmec
---
> Writing srcdep lock file
> /home/olmec/build/chroot-unstable//var/lib/sbuild/srcdep-lock/31655-1:
> Job sed_4.1.4-5.1 pid 31655 user olmec
244,248d243
< /build/olmec/sed-4.1.4/config/missing: line 52: aclocal-1.9: command not found
< WARNING: `aclocal-1.9' is missing on your system. You should only need it if
< you modified `acinclude.m4' or `configure.ac'. You might want
< to install the `Automake' and `Perl' packages. Grab them from
< any GNU archive site.
250,254d244
< /build/olmec/sed-4.1.4/config/missing: line 52: automake-1.9: command not
found
< WARNING: `automake-1.9' is missing on your system. You should only need it if
< you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
< You might want to install the `Automake' and `Perl' packages.
< Grab them from any GNU archive site.
579,581c569,573
< for f in sed.info sed.info-[0-9] sed.info-[0-9][0-9] sed.i[0-9]
sed.i[0-9][0-9]; do \
< if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
< done; \
---
> if (/bin/sh /build/olmec/sed-4.1.4/config/missing --run makeinfo
> --version) >/dev/null 2>&1; then \
> for f in sed.info sed.info-[0-9] sed.info-[0-9][0-9] sed.i[0-9]
> sed.i[0-9][0-9]; do \
> if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
> done; \
> else :; fi && \
594,595d585
< builddir=`pwd` && cd . && \
< /bin/sh /build/olmec/sed-4.1.4/config/missing --run makeinfo --html
--no-split -o $builddir/sed.html sed.texi
634a625
> PASS: appquit
643a635
> PASS: modulo
689c681
< All 53 tests passed
---
> All 55 tests passed
830,831d821
< test -z "/usr/share/doc" || mkdir -p --
"/build/olmec/sed-4.1.4/debian/tmp/usr/share/doc"
< /usr/bin/install -c -m 644 'sed.html'
'/build/olmec/sed-4.1.4/debian/tmp/usr/share/doc/sed.html'
835a826
> test -z "" || mkdir -p -- "/build/olmec/sed-4.1.4/debian/tmp"
856,1050c847,848
< gzip -9 /build/olmec/sed-4.1.4/debian/tmp/usr/share/man/man1/*
< gzip -9 /build/olmec/sed-4.1.4/debian/tmp/usr/share/info/sed.info*
< install -p -o root -g root -m 644 AUTHORS BUGS README THANKS \
< NEWS /build/olmec/sed-4.1.4/debian/tmp/usr/share/doc/sed
< install -p -o root -g root -m 644 ChangeLog
/build/olmec/sed-4.1.4/debian/tmp/usr/share/doc/sed/changelog
< install -p -o root -g root -m 644 debian/changelog \
<
/build/olmec/sed-4.1.4/debian/tmp/usr/share/doc/sed/changelog.Debian
< install -p -o root -g root -m 644 debian/my/sedfaq.txt
/build/olmec/sed-4.1.4/debian/tmp/usr/share/doc/sed
< # We expect an error here for the examples-subdir
< gzip -9 /build/olmec/sed-4.1.4/debian/tmp/usr/share/doc/sed/*
< gzip: /build/olmec/sed-4.1.4/debian/tmp/usr/share/doc/sed/examples is a
directory -- ignored
< make: [binary-arch] Error 2 (ignored)
< install -p -o root -g root -m 644 debian/copyright
/build/olmec/sed-4.1.4/debian/tmp/usr/share/doc/sed
< install -p -o root -g root -m 644 testsuite/dc.sed
/build/olmec/sed-4.1.4/debian/tmp/usr/share/doc/sed/examples/
< install -d -o root -g root -m 755 /build/olmec/sed-4.1.4/debian/tmp/DEBIAN
< install -p -o root -g root -m 755 debian/preinst
/build/olmec/sed-4.1.4/debian/tmp/DEBIAN
< install -p -o root -g root -m 755 debian/postinst
/build/olmec/sed-4.1.4/debian/tmp/DEBIAN
< install -p -o root -g root -m 755 debian/prerm
/build/olmec/sed-4.1.4/debian/tmp/DEBIAN
< cd debian/tmp && find * -type f ! -regex '^DEBIAN/.*' -print0 | xargs -r0
md5sum > DEBIAN/md5sums
< dpkg-shlibdeps -dPre-Depends /build/olmec/sed-4.1.4/debian/tmp/bin/sed
< dpkg-gencontrol -isp
< dpkg --build debian/tmp ..
< dpkg-deb: building package `sed' in `../sed_4.1.4-5.1_powerpc.deb'.
< dpkg-genchanges -B
< dpkg-genchanges: arch-specific upload - not including arch-independent
packages
< dpkg-genchanges: binary-only upload - not including any source code
< dpkg-buildpackage: binary only upload (no source included)
< ******************************************************************************
< Build finished at 20060404-1124
<
< sed_4.1.4-5.1_powerpc.changes:
< Format: 1.7
< Date: Thu, 16 Mar 2006 11:30:47 -0700
< Source: sed
< Binary: sed
< Architecture: powerpc
< Version: 4.1.4-5.1
< Distribution: unstable
< Urgency: low
< Maintainer: Clint Adams <[EMAIL PROTECTED]>
< Changed-By: Clint Adams <[EMAIL PROTECTED]>
< Description:
< sed - The GNU sed stream editor
< Changes:
< sed (4.1.4-5.1) unstable; urgency=low
< .
< * Non-maintainer upload.
< * Built by Realm
< Files:
< 0c53fc6afdffe4663c1190702fae5941 250076 base required
sed_4.1.4-5.1_powerpc.deb
<
< /home/olmec/build/chroot-unstable/build/olmec/sed_4.1.4-5.1_powerpc.deb:
< new debian package, version 2.0.
< size 250076 bytes: control archive= 1991 bytes.
< 447 bytes, 15 lines control
< 3138 bytes, 45 lines md5sums
< 168 bytes, 10 lines * postinst #!/bin/sh
< 52 bytes, 5 lines * preinst #!/bin/sh
< 175 bytes, 16 lines * prerm #!/bin/sh
< Package: sed
< Version: 4.1.4-5.1
< Section: base
< Priority: required
< Architecture: powerpc
< Essential: yes
< Pre-Depends: libc6 (>= 2.3.5-1)
< Replaces: ssed (<< 3.59)
< Installed-Size: 796
< Maintainer: Clint Adams <[EMAIL PROTECTED]>
< Description: The GNU sed stream editor
< sed reads the specified files or the standard input if no
< files are specified, makes editing changes according to a
< list of commands, and writes the results to the standard
< output.
<
< /home/olmec/build/chroot-unstable/build/olmec/sed_4.1.4-5.1_powerpc.deb:
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./
< drwxr-xr-x root/root 0 2006-04-04 11:24:28 ./usr/
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./usr/share/
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./usr/share/doc/
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./usr/share/doc/sed/
< drwxr-xr-x root/root 0 2006-04-04 11:24:29
./usr/share/doc/sed/examples/
< -rw-r--r-- root/root 8758 2004-11-09 12:59:06
./usr/share/doc/sed/examples/dc.sed
< -rw-r--r-- root/root 2507 2005-01-27 02:56:40 ./usr/share/doc/sed/BUGS.gz
< -rw-r--r-- root/root 1075 2006-04-04 11:23:12
./usr/share/doc/sed/THANKS.gz
< -rw-r--r-- root/root 32286 2006-04-04 11:23:12
./usr/share/doc/sed/changelog.gz
< -rw-r--r-- root/root 4251 2006-04-04 11:23:12
./usr/share/doc/sed/changelog.Debian.gz
< -rw-r--r-- root/root 35700 2006-04-04 11:24:29
./usr/share/doc/sed/sed.html.gz
< -rw-r--r-- root/root 746 2006-04-04 11:23:12
./usr/share/doc/sed/copyright
< -rw-r--r-- root/root 168 2004-11-09 12:59:05
./usr/share/doc/sed/AUTHORS.gz
< -rw-r--r-- root/root 6566 2006-04-04 11:23:12 ./usr/share/doc/sed/NEWS.gz
< -rw-r--r-- root/root 285 2004-11-09 12:59:05
./usr/share/doc/sed/README.gz
< -rw-r--r-- root/root 56538 2006-04-04 11:23:12
./usr/share/doc/sed/sedfaq.txt.gz
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./usr/share/locale/
< drwxr-xr-x root/root 0 2006-04-04 11:24:28 ./usr/share/locale/af/
< drwxr-xr-x root/root 0 2006-04-04 11:24:28
./usr/share/locale/af/LC_MESSAGES/
< -rw-r--r-- root/root 3842 2006-04-04 11:24:28
./usr/share/locale/af/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:28 ./usr/share/locale/ca/
< drwxr-xr-x root/root 0 2006-04-04 11:24:28
./usr/share/locale/ca/LC_MESSAGES/
< -rw-r--r-- root/root 9708 2006-04-04 11:24:28
./usr/share/locale/ca/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:28 ./usr/share/locale/cs/
< drwxr-xr-x root/root 0 2006-04-04 11:24:28
./usr/share/locale/cs/LC_MESSAGES/
< -rw-r--r-- root/root 2001 2006-04-04 11:24:28
./usr/share/locale/cs/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:28 ./usr/share/locale/da/
< drwxr-xr-x root/root 0 2006-04-04 11:24:28
./usr/share/locale/da/LC_MESSAGES/
< -rw-r--r-- root/root 3913 2006-04-04 11:24:28
./usr/share/locale/da/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:28 ./usr/share/locale/de/
< drwxr-xr-x root/root 0 2006-04-04 11:24:28
./usr/share/locale/de/LC_MESSAGES/
< -rw-r--r-- root/root 4228 2006-04-04 11:24:28
./usr/share/locale/de/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:28 ./usr/share/locale/el/
< drwxr-xr-x root/root 0 2006-04-04 11:24:28
./usr/share/locale/el/LC_MESSAGES/
< -rw-r--r-- root/root 2321 2006-04-04 11:24:28
./usr/share/locale/el/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:28 ./usr/share/locale/eo/
< drwxr-xr-x root/root 0 2006-04-04 11:24:28
./usr/share/locale/eo/LC_MESSAGES/
< -rw-r--r-- root/root 3860 2006-04-04 11:24:28
./usr/share/locale/eo/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:28 ./usr/share/locale/es/
< drwxr-xr-x root/root 0 2006-04-04 11:24:29
./usr/share/locale/es/LC_MESSAGES/
< -rw-r--r-- root/root 4111 2006-04-04 11:24:29
./usr/share/locale/es/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./usr/share/locale/et/
< drwxr-xr-x root/root 0 2006-04-04 11:24:29
./usr/share/locale/et/LC_MESSAGES/
< -rw-r--r-- root/root 8954 2006-04-04 11:24:29
./usr/share/locale/et/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./usr/share/locale/fi/
< drwxr-xr-x root/root 0 2006-04-04 11:24:29
./usr/share/locale/fi/LC_MESSAGES/
< -rw-r--r-- root/root 4086 2006-04-04 11:24:29
./usr/share/locale/fi/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./usr/share/locale/fr/
< drwxr-xr-x root/root 0 2006-04-04 11:24:29
./usr/share/locale/fr/LC_MESSAGES/
< -rw-r--r-- root/root 9983 2006-04-04 11:24:29
./usr/share/locale/fr/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./usr/share/locale/ga/
< drwxr-xr-x root/root 0 2006-04-04 11:24:29
./usr/share/locale/ga/LC_MESSAGES/
< -rw-r--r-- root/root 9593 2006-04-04 11:24:29
./usr/share/locale/ga/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./usr/share/locale/gl/
< drwxr-xr-x root/root 0 2006-04-04 11:24:29
./usr/share/locale/gl/LC_MESSAGES/
< -rw-r--r-- root/root 4057 2006-04-04 11:24:29
./usr/share/locale/gl/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./usr/share/locale/he/
< drwxr-xr-x root/root 0 2006-04-04 11:24:29
./usr/share/locale/he/LC_MESSAGES/
< -rw-r--r-- root/root 1901 2006-04-04 11:24:29
./usr/share/locale/he/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./usr/share/locale/hr/
< drwxr-xr-x root/root 0 2006-04-04 11:24:29
./usr/share/locale/hr/LC_MESSAGES/
< -rw-r--r-- root/root 2001 2006-04-04 11:24:29
./usr/share/locale/hr/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./usr/share/locale/hu/
< drwxr-xr-x root/root 0 2006-04-04 11:24:29
./usr/share/locale/hu/LC_MESSAGES/
< -rw-r--r-- root/root 4057 2006-04-04 11:24:29
./usr/share/locale/hu/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./usr/share/locale/id/
< drwxr-xr-x root/root 0 2006-04-04 11:24:29
./usr/share/locale/id/LC_MESSAGES/
< -rw-r--r-- root/root 3951 2006-04-04 11:24:29
./usr/share/locale/id/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./usr/share/locale/it/
< drwxr-xr-x root/root 0 2006-04-04 11:24:29
./usr/share/locale/it/LC_MESSAGES/
< -rw-r--r-- root/root 9721 2006-04-04 11:24:29
./usr/share/locale/it/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./usr/share/locale/ja/
< drwxr-xr-x root/root 0 2006-04-04 11:24:29
./usr/share/locale/ja/LC_MESSAGES/
< -rw-r--r-- root/root 9067 2006-04-04 11:24:29
./usr/share/locale/ja/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./usr/share/locale/ko/
< drwxr-xr-x root/root 0 2006-04-04 11:24:29
./usr/share/locale/ko/LC_MESSAGES/
< -rw-r--r-- root/root 1924 2006-04-04 11:24:29
./usr/share/locale/ko/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./usr/share/locale/nl/
< drwxr-xr-x root/root 0 2006-04-04 11:24:29
./usr/share/locale/nl/LC_MESSAGES/
< -rw-r--r-- root/root 9561 2006-04-04 11:24:29
./usr/share/locale/nl/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./usr/share/locale/pl/
< drwxr-xr-x root/root 0 2006-04-04 11:24:29
./usr/share/locale/pl/LC_MESSAGES/
< -rw-r--r-- root/root 9957 2006-04-04 11:24:29
./usr/share/locale/pl/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./usr/share/locale/pt_BR/
< drwxr-xr-x root/root 0 2006-04-04 11:24:29
./usr/share/locale/pt_BR/LC_MESSAGES/
< -rw-r--r-- root/root 4030 2006-04-04 11:24:29
./usr/share/locale/pt_BR/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./usr/share/locale/ro/
< drwxr-xr-x root/root 0 2006-04-04 11:24:29
./usr/share/locale/ro/LC_MESSAGES/
< -rw-r--r-- root/root 4050 2006-04-04 11:24:29
./usr/share/locale/ro/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./usr/share/locale/ru/
< drwxr-xr-x root/root 0 2006-04-04 11:24:29
./usr/share/locale/ru/LC_MESSAGES/
< -rw-r--r-- root/root 9781 2006-04-04 11:24:29
./usr/share/locale/ru/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./usr/share/locale/sk/
< drwxr-xr-x root/root 0 2006-04-04 11:24:29
./usr/share/locale/sk/LC_MESSAGES/
< -rw-r--r-- root/root 4333 2006-04-04 11:24:29
./usr/share/locale/sk/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./usr/share/locale/sl/
< drwxr-xr-x root/root 0 2006-04-04 11:24:29
./usr/share/locale/sl/LC_MESSAGES/
< -rw-r--r-- root/root 4198 2006-04-04 11:24:29
./usr/share/locale/sl/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./usr/share/locale/sr/
< drwxr-xr-x root/root 0 2006-04-04 11:24:29
./usr/share/locale/sr/LC_MESSAGES/
< -rw-r--r-- root/root 4915 2006-04-04 11:24:29
./usr/share/locale/sr/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./usr/share/locale/sv/
< drwxr-xr-x root/root 0 2006-04-04 11:24:29
./usr/share/locale/sv/LC_MESSAGES/
< -rw-r--r-- root/root 9548 2006-04-04 11:24:29
./usr/share/locale/sv/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./usr/share/locale/tr/
< drwxr-xr-x root/root 0 2006-04-04 11:24:29
./usr/share/locale/tr/LC_MESSAGES/
< -rw-r--r-- root/root 4105 2006-04-04 11:24:29
./usr/share/locale/tr/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./usr/share/locale/zh_CN/
< drwxr-xr-x root/root 0 2006-04-04 11:24:29
./usr/share/locale/zh_CN/LC_MESSAGES/
< -rw-r--r-- root/root 1383 2006-04-04 11:24:29
./usr/share/locale/zh_CN/LC_MESSAGES/sed.mo
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./usr/share/info/
< -rw-r--r-- root/root 27237 2006-04-04 11:24:29
./usr/share/info/sed.info.gz
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./usr/share/man/
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./usr/share/man/man1/
< -rw-r--r-- root/root 3438 2006-04-04 11:24:29
./usr/share/man/man1/sed.1.gz
< drwxr-xr-x root/root 0 2006-04-04 11:24:29 ./bin/
< -rwxr-xr-x root/root 46912 2006-04-04 11:24:29 ./bin/sed
<
---
> mv: cannot stat `/build/olmec/sed-4.1.4/debian/tmp/usr/share/doc/sed.html':
> No such file or directory
> make: *** [binary-arch] Error 1
1052c850,851
< Built successfully
---
> Build finished at 20060404-1118
> FAILED [dpkg-buildpackage died]
1054,1056c853
< /bin/sh -c '/usr/bin/du -s sed_4.1.4-5.1_powerpc.deb 2>/dev/null'
< Purging /home/olmec/build/chroot-unstable/build/olmec/sed-4.1.4
< /usr/bin/sudo /usr/sbin/chroot /home/olmec/build/chroot-unstable
/usr/bin/sudo -H /bin/sh -c 'rm -rf /build/olmec/sed-4.1.4'
---
> ------------------------------------------------------------------------------
1065,1066c862,865
< Removing srcdep lock file
/home/olmec/build/chroot-unstable//var/lib/sbuild/srcdep-lock/10794-1
< ------------------------------------------------------------------------------
---
> Removing srcdep lock file
> /home/olmec/build/chroot-unstable//var/lib/sbuild/srcdep-lock/31655-1
> ******************************************************************************
> Finished at 20060404-1118
> Build needed 00:01:25, 8700k disk space