Bug 56474 - srpm faild to build
srpm faild to build
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: console-tools (Show other bugs)
7.2
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Eido Inoue
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-11-19 12:17 EST by Jackie Meese
Modified: 2007-04-18 12:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-11-05 14:20:31 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jackie Meese 2001-11-19 12:17:55 EST
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
Comment 1 Jackie Meese 2001-11-19 12:19:45 EST
--- 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
Comment 2 Jackie Meese 2001-11-19 15:37:16 EST
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?
Comment 3 Bernhard Rosenkraenzer 2001-11-20 10:04:49 EST
Hm, works for me... By any chance are you using an ancient version of rpm?
Comment 4 Eido Inoue 2004-11-05 14:20:31 EST
not seeing this with most recent/current rpmbuild and/or console-tools

Note You need to log in before you can comment on or make changes to this bug.