Description of Problem: rebuild of this package fails on executing install step Version-Release number of selected component (if applicable): 1999082 How Reproducible: Every time Steps to Reproduce: 1. rpm --rebuild console-tools-19990829-36.src.rpm Actual Results: Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.7005 + umask 022 + cd /usr/src/redhat/BUILD + cd console-tools-0.3.3 + rm -rf /var/tmp/console-tools-19990829-root + mkdir -p /var/tmp/console-tools-19990829-root/usr /var/tmp/console-tools-19990829-root/lib/kbd + find doc console-data-1999.08.29/doc -size 0b + xargs rm -f rm: `doc' is a directory rm: `doc/fonts' is a directory rm: `doc/file-formats' is a directory rm: `doc/man' is a directory rm: `doc/dvorak' is a directory rm: `doc/contrib' is a directory rm: `console-data-1999.08.29/doc' is a directory rm: `console-data-1999.08.29/doc/keymaps' is a directory rm: `console-data-1999.08.29/doc/fonts' is a directory error: Bad exit status from /var/tmp/rpm-tmp.7005 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.7005 (%install) Expected Results: builds package Additional Information: patch attached
--- console-tools.spec.old Wed Sep 5 20:08:10 2001 +++ console-tools.spec Mon Nov 19 12:12:15 2001 @@ -158,7 +158,7 @@ mkdir -p $RPM_BUILD_ROOT/usr $RPM_BUILD_ROOT/lib/kbd # Don't ship zero-length documentation -find doc %{DATA}/doc -size 0b | xargs rm -f +find doc %{DATA}/doc -type f -size 0b | xargs rm -f cd %{DATA} make install prefix=$RPM_BUILD_ROOT/usr datadir=$RPM_BUILD_ROOT/lib/kbd
ok, seems to work a friend's machine w/o changing srpm, custom 2.4.13 kernel, RH 7.1 not a bug? or is it still worth it?
Hm, works for me... By any chance are you using an ancient version of rpm?
not seeing this with most recent/current rpmbuild and/or console-tools