[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: patch fails to find file on 'rpm --rebuild' on certain setups



I had the same problem, and had to manually enter the name of the file to
patch during rpm -ba.......It worked fine on redhat 6.2....6.0...etc...


-----Original Message-----
From: rpm-list-admin@redhat.com [mailto:rpm-list-admin@redhat.com]On
Behalf Of Toralf Lund
Sent: Friday, August 11, 2000 3:29 AM
To: RPM Mailing List
Subject: patch fails to find file on 'rpm --rebuild' on certain setups


We are experiencing some problems with one of the source RPMs we are
publishing. When I build the binary RPM using 'rpm --rebuild' on a Red
Hat 6.2 system with rpm 3.0.5, everything is fine. - The build completes
successfully, and the RPMs are correctly written. When someone else with
a slightly different setup - I don't know the exact details, but rpm
version was 3.0.3 - tried this, however, it failed with the following
messages:

     + STATUS=0
     + '[' 0 -ne 0 ']'
     + cd itifg-0.7.0
     ++ /usr/bin/id -u
     + '[' 0 = 0 ']'
     + /bin/chown -Rfh root .
     ++ /usr/bin/id -u
     + '[' 0 = 0 ']'
     + /bin/chgrp -Rfh root .
     + /bin/chmod -Rf a+rX,g-w,o-w .
     ++ gcc -E -dM /usr/include/linux/version.h
     ++ grep LINUX_VERSION_CODE
     ++ cut '-d ' -f3
     + REL=132096
     + '[' 132096 -gt 131597 ']'
     + echo 'Patch #0:'
     Patch #0:
     + patch -p0 -s
     The text leading up to this was:
     --------------------------
     |*** osLx2X.c~  Mon Mar 27 09:57:08 2000
     |--- osLx2X.c   Mon May 29 11:34:03 2000
     --------------------------
     File to patch:

In other words, patch is unable to find the file to update. Can anyone
explain why?

The .spec file for the package is attached to this message, and the
source RPM is available at

ftp://www.kscanners.no/pub/SRPMS/itifg-0.7.0-11.src.rpm

--
Toralf Lund <toralf@kscanners.no>   +47 66 85 51 22
Kongsberg Scanners AS               +47 66 85 51 00 (switchboard)
http://www.kscanners.no/~toralf     +47 66 85 51 01 (fax)







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []