Attempt to Strip Non-existant libs Causes Failure in dpkg-buildpackage
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hugs98 (Ubuntu) |
Fix Released
|
Medium
|
MOTU |
Bug Description
debian/rules:84 tries to run xargs strip on an empty set of files (debian/
$ fakeroot dpkg-buildpackage
[...]
find /home/jared/
Usage: strip <option(s)> in-file(s)
[...]
make: *** [debian/
$
-----
This patch seems to fix it:
--- debian/rules.orig 2005-07-24 15:05:40.855892736 -0700
+++ debian/rules 2005-07-24 15:06:18.417182552 -0700
@@ -81,7 +81,7 @@
cd $(rootdir)/usr/bin && $(install_symlink) hugs98 hugs \
&& $(install_symlink) runhugs98 runhugs
ifeq (,$(findstring nostrip,
- find $(libdir) -name "*.so" |xargs strip -R .comment -R .note --strip-all
+ find $(libdir) -name "*.so" |xargs --no-run-if-empty strip -R .comment -R .note --strip-all
strip -R .comment -R .note --strip-all $(rootdir)
endif
description: | updated |
summary: |
+ debian/rules:84 tries to run xargs strip on an empty set of files + (debian/tmp/hugs/usr/lib/hugs/*.so), this causes dpkg-buildpackage to + fail. |
Changed in hugs98: | |
assignee: | nobody → motu |
Changed in hugs98: | |
status: | New → Fixed |