[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#153735: dpkg: md5sum error

Package: dpkg
Version: 1.10.2
Severity: normal

Building packages from source results in a md5sum error. Example:

/tmp# apt-get -b source beep
Reading Package Lists...
Building Dependency Tree...
Need to get 23.7kB of source archives.
Get:1 http://www.debian.nl stable/main beep 1.2.2-2.woody1 (dsc) [526B]
Get:2 http://www.debian.nl stable/main beep 1.2.2-2.woody1 (tar) [18.5kB]
Get:3 http://www.debian.nl stable/main beep 1.2.2-2.woody1 (diff) [4681B]
dpkg-source: extracting beep in beep-1.2.2
dpkg-buildpackage: source package is beep
dpkg-buildpackage: source version is 1.2.2-2.woody1
dpkg-buildpackage: source maintainer is Gerfried Fuchs <alfie@debian.org>
dpkg-buildpackage: host architecture is i386
 debian/rules clean
test -f debian/rules
test root = "`whoami`"
rm -rf debian/beep debian/substvars debian/files build-stamp
/usr/bin/make clean
make[1]: Entering directory `/tmp/beep-1.2.2'
rm beep
rm: cannot remove `beep': Onbekend bestand of map
make[1]: *** [clean] Fout 1
make[1]: Leaving directory `/tmp/beep-1.2.2'
make: [clean] Fout 2 (genegeerd)
 debian/rules build
test -f debian/rules
make[1]: Entering directory `/tmp/beep-1.2.2'
gcc -Wall -o beep beep.c
make[1]: Leaving directory `/tmp/beep-1.2.2'
touch build-stamp
 debian/rules binary
test -f debian/rules
test root = "`whoami`"
rm -rf debian/beep debian/substvars
mkdir -m755 debian/beep
cd debian/beep && mkdir -m755 -p usr/bin usr/share/man/man1 \
/usr/bin/make install INSTALL_DIR=/tmp/beep-1.2.2/debian/beep/usr/bin \
make[1]: Entering directory `/tmp/beep-1.2.2'
cp beep /tmp/beep-1.2.2/debian/beep/usr/bin
# rm -f /usr/man/man1/beep.1.bz2
cp beep.1.gz /tmp/beep-1.2.2/debian/beep/usr/share/man/man1
make[1]: Leaving directory `/tmp/beep-1.2.2'
strip --remove-section=.comment --remove-section=.note \
chown root.audio debian/beep/usr/bin/beep 
install -m644 -p CREDITS README debian/beep/usr/share/doc/beep
install -m644 -p CHANGELOG debian/beep/usr/share/doc/beep/changelog
gzip -9 debian/beep/usr/share/doc/beep/changelog \
test -f debian/rules
test root = "`whoami`"
mkdir -m755 debian/beep/DEBIAN
install -m644 -p debian/README.Debian debian/copyright \
install -m644 -p debian/changelog \
gzip -9 debian/beep/usr/share/doc/beep/changelog.Debian
install -m755 -p debian/postinst debian/prerm debian/postrm \
	debian/config debian/beep/DEBIAN
install -m644 -p debian/templates debian/beep/DEBIAN
dpkg-shlibdeps -Tdebian/substvars -dDepends debian/beep/usr/bin/beep
dpkg-gencontrol -ldebian/changelog -isp -Tdebian/substvars -pbeep \
cd debian/beep && find * -type f ! -regex '^DEBIAN/.*' -print0 | \
	xargs -r0 md5sum > DEBIAN/md5sums
dpkg --build debian/beep ..
dpkg-deb: bouwen van pakket `beep' in `../beep_1.2.2-2.woody1_i386.deb'.
 dpkg-genchanges -b
dpkg-genchanges: binary-only upload - not including any source code
dpkg-genchanges: failure: md5sum upload file ../beep_1.2.2-2.woody1_i386.deb gave strange output `19e4ef21f7a72ac09caa337b71fe6554  -
Build command 'cd beep-1.2.2 && dpkg-buildpackage -b -uc' failed.
Fetched 23.7kB in 0s (62.1kB/s)
E: Child process failed

With debuild the result is:

/tmp/xawtv-3.75# debuild -d
dpkg-buildpackage: source package is xawtv
dpkg-buildpackage: source version is 3.75
dpkg-buildpackage: source maintainer is Gerd Knorr <kraxel@debian.org>
dpkg-buildpackage: host architecture is i386
 fakeroot debian/rules clean
/usr/bin/make distclean
make[1]: Entering directory `/tmp/xawtv-3.75'
test -d "arch-i686-linux" && rm -rf "arch-i686-linux"
make[1]: [distclean] Fout 1 (genegeerd)
make[1]: Leaving directory `/tmp/xawtv-3.75'
 dpkg-source -b xawtv-3.75
dpkg-source: building xawtv in xawtv_3.75.tar.gz
dpkg-source: failure: md5sum gave bogus output `'
debuild: fatal error at line 456:
dpkg-buildpackage failed!

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux samwise 2.4.18 #1 za mei 18 17:38:52 CEST 2002 i686
Locale: LANG=nl_NL@euro, LC_CTYPE=nl_NL@euro (ignored: LC_ALL set)

Versions of packages dpkg depends on:
ii  dselect                       1.10.2     a user tool to manage Debian packa
ii  libc6                         2.2.5-10   GNU C Library: Shared libraries an

-- no debconf information

To UNSUBSCRIBE, email to debian-dpkg-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: