Activity log for bug #1562

Date Who What changed Old value New value Message
2005-07-24 22:13:25 Jared Warren bug added bug
2005-07-24 22:15:22 Jared Warren description $ fakeroot dpkg-buildpackage [...] find /home/jared/download/hugs98-98.200503.08/debian/tmp/hugs/usr/lib/hugs -name "*.so" |xargs strip -R .comment -R .note --strip-all Usage: strip <option(s)> in-file(s) [...] make: *** [debian/binary-arch.stamp] Error 123 $ ----- The problem is that debian/tmp/hugs/usr/lib/hugs contains no files at this point in the script. 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,$(DEB_BUILD_OPTIONS))) - 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)/usr/bin/ffihugs $(rootdir)/usr/bin/hugs98 $(rootdir)/usr/bin/runhugs98 endif $ fakeroot dpkg-buildpackage [...] find /home/jared/download/hugs98-98.200503.08/debian/tmp/hugs/usr/lib/hugs -name "*.so" |xargs strip -R .comment -R .note --strip-all Usage: strip <option(s)> in-file(s) [...] make: *** [debian/binary-arch.stamp] Error 123 $ ----- 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,$(DEB_BUILD_OPTIONS))) - 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)/usr/bin/ffihugs $(rootdir)/usr/bin/hugs98 $(rootdir)/usr/bin/runhugs98 endif
2005-07-24 22:15:22 Jared Warren 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.
2005-08-26 20:14:44 Daniel Holbach hugs98: assignee motu
2005-09-18 03:27:49 Barry deFreese hugs98: status New Fixed
2005-09-18 03:27:49 Barry deFreese hugs98: statusexplanation Was fixed in Debian -2 revision (see changelog). I tested a build on breezy and it worked fine. Thank you.