Subject: fakeroot 1.2.6 fails to build from source
Package: fakeroot
Version: 1.2.6
Tags: patch
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux abm2 2.4.29-lck0-old #1 Wed Feb 2 12:26:10 MSK 2005 i686
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R
Versions of packages fakeroot depends on:
ii libc6 2.2.5-11.1 GNU C Library: Shared libraries an
ii libstdc++2.10-glibc2.2 1:2.95.4-7 The GNU stdc++ library
I've been building "the latest - the greatest" unstable version 1.2.6
of fakeroot in/for woody+backports and it failed to build from source.
pbuilder output excerpt:
===8<===
debian/tmp/usr/share/man/man1/faked-tcp.1 \
debian/tmp/usr/share/man/man1/fakeroot-tcp.1 \
debian/tmp/usr/share/doc/fakeroot/changelog
strip --remove-section=.comment --remove-section=.note --strip-unneeded
debian/tmp/usr/lib/libfakeroot-sysv.so.0.0.1
strip --remove-section=.comment --remove-section=.note --strip-unneeded
debian/tmp/usr/lib/libfakeroot/libfakeroot-sysv.so.0.0.1
strip --remove-section=.comment --remove-section=.note --strip-unneeded
debian/tmp/usr/lib/libfakeroot-tcp.so.0.0.1
strip --remove-section=.comment --remove-section=.note --strip-unneeded
debian/tmp/usr/lib/libfakeroot/libfakeroot-tcp.so.0.0.1
strip --remove-section=.comment --remove-section=.note debian/tmp/usr/bin/faked
strip: debian/tmp/usr/bin/faked: No such file or directory
make: *** [binary-arch] Error 1
pbuilder: Failed autobuilding of package
-> unmounting /proc filesystem
-> cleaning the build env
Command exited with non-zero status 1
===>8===
Some "-sysv" filename suffixes in debin/rules were missed while renaming
(or splitting?) binaries.
Patch below fixes filenames reffered by strip command and lets the package
build to be finished.
Thanks!
--- fakeroot-1.2.6.orig/debian/rules
+++ fakeroot-1.2.6/debian/rules
@@ -126,11 +126,11 @@
debian/tmp/usr/share/man/man1/fakeroot-tcp.1 \
debian/tmp/usr/share/doc/fakeroot/changelog
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
- strip --remove-section=.comment --remove-section=.note --strip-unneeded
debian/tmp/usr/lib/libfakeroot.so.0.0.1
- strip --remove-section=.comment --remove-section=.note --strip-unneeded
debian/tmp/usr/lib/libfakeroot/libfakeroot.so.0.0.1
+ strip --remove-section=.comment --remove-section=.note --strip-unneeded
debian/tmp/usr/lib/libfakeroot-sysv.so.0.0.1
+ strip --remove-section=.comment --remove-section=.note --strip-unneeded
debian/tmp/usr/lib/libfakeroot/libfakeroot-sysv.so.0.0.1
strip --remove-section=.comment --remove-section=.note --strip-unneeded
debian/tmp/usr/lib/libfakeroot-tcp.so.0.0.1
strip --remove-section=.comment --remove-section=.note --strip-unneeded
debian/tmp/usr/lib/libfakeroot/libfakeroot-tcp.so.0.0.1
- strip --remove-section=.comment --remove-section=.note
debian/tmp/usr/bin/faked
+ strip --remove-section=.comment --remove-section=.note
debian/tmp/usr/bin/faked-sysv
strip --remove-section=.comment --remove-section=.note
debian/tmp/usr/bin/faked-tcp
# strip --strip-debug debian/tmp/usr/lib/libfakeroot.a
endif
Bye. Andrey.
...Be happy, take it easy, sayonara.
---abme at rambler dot ru