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

find-debuginfo.sh and friends



I have 

$ rpm -q rpm
rpm-4.2-0.25.1

as it comes with phoebe.  Trying to build a package which built fine with
rpm-4.1-1.06, I get the following errors in the %install stanza

+ /usr/lib/rpm/find-debuginfo.sh /home/mw/RPM/BUILD//var/tmp/daemontools-0.76-root/package
/usr/lib/rpm/find-debuginfo.sh: line 12: /home/mw/RPM/BUILD//var/tmp/daemontools-0.76-root/package/debugsources.list: No such file or directory
cat: /home/mw/RPM/BUILD//var/tmp/daemontools-0.76-root/package/debugsources.list: No such file or directory
0 blocks
find: /var/tmp/daemontools-0.76-root/usr/lib/debug: No such file or directory
/usr/lib/rpm/find-debuginfo.sh: line 30: /home/mw/RPM/BUILD//var/tmp/daemontools-0.76-root/package/debugfiles.list: No such file or directory
/usr/lib/rpm/find-debuginfo.sh: line 31: /home/mw/RPM/BUILD//var/tmp/daemontools-0.76-root/package/debugfiles.list: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.30544 (%install)

What is find-debuginfo.sh trying to do, why is it run, how is it run,
etc?

I looked into the script, but it invokes at one point the undocumented
/usr/lib/rpm/debugedit.  When I run debugedit, I get, in particular,

 -d, --dest-dir=STRING      directory to rewrite base-dir into
 -l, --list-file=STRING     directory to rewrite base-dir into

so both options are doing the same? 

I also see in  find-debuginfo.sh

/usr/lib/rpm/debugedit -b $RPM_BUILD_DIR -d /usr/src/debug -l $SOURCEFILE $f

But what if I do not have write permission to /usr/src?

Thx

Mate 
-- 
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis  
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html





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