Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 156332 Details for
Bug 242895
rpmbuild generates a confusing error message
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
a proposed patch
rpm-4.2.2-nobin.patch (text/plain), 1.65 KB, created by
Stepan Kasal
on 2007-06-06 09:54:38 UTC
(
hide
)
Description:
a proposed patch
Filename:
MIME Type:
Creator:
Stepan Kasal
Created:
2007-06-06 09:54:38 UTC
Size:
1.65 KB
patch
obsolete
>--- rpm-4.4.2/scripts/find-debuginfo.sh.nobin 2007-06-06 11:44:58.000000000 +0200 >+++ rpm-4.4.2/scripts/find-debuginfo.sh 2007-06-06 11:28:48.000000000 +0200 >@@ -19,7 +19,7 @@ > } > > # Strip ELF binaries >-for f in `find $RPM_BUILD_ROOT ! -path "${debugdir}/*.debug" -type f \( -perm -0100 -or -perm -0010 -or -perm -0001 \) -exec file {} \; | \ >+for f in `find $RPM_BUILD_ROOT ! -path "${debugdir}/*.debug" -type f \( -perm -0100 -o -perm -0010 -o -perm -0001 \) -exec file {} \; | \ > sed -n -e 's/^\(.*\):[ ]*.*ELF.*, not stripped/\1/p'` > do > dn=$(dirname $f | sed -n -e "s#^$RPM_BUILD_ROOT##p") >@@ -48,10 +48,15 @@ > fi > done > >-mkdir -p ${RPM_BUILD_ROOT}/usr/src/debug >-cat $SOURCEFILE | (cd $RPM_BUILD_DIR; LANG=C sort -z -u | cpio -pd0mL ${RPM_BUILD_ROOT}/usr/src/debug) >-# stupid cpio creates new directories in mode 0700, fixup >-find ${RPM_BUILD_ROOT}/usr/src/debug -type d -print0 | xargs -0 chmod a+rx >- >-find ${RPM_BUILD_ROOT}/usr/lib/debug -type f | sed -n -e "s#^$RPM_BUILD_ROOT##p" > $LISTFILE >-find ${RPM_BUILD_ROOT}/usr/src/debug -mindepth 1 -maxdepth 1 | sed -n -e "s#^$RPM_BUILD_ROOT##p" >> $LISTFILE >+if [ -s $SOURCEFILE ]; then >+ mkdir -p ${RPM_BUILD_ROOT}/usr/src/debug >+ cat $SOURCEFILE | (cd $RPM_BUILD_DIR; LANG=C sort -z -u | cpio -pd0mL ${RPM_BUILD_ROOT}/usr/src/debug) >+ # stupid cpio creates new directories in mode 0700, fixup >+ find ${RPM_BUILD_ROOT}/usr/src/debug -type d -print0 | xargs -0 chmod a+rx >+fi >+ >+( [ -d ${RPM_BUILD_ROOT}/usr/lib/debug ] && >+ find ${RPM_BUILD_ROOT}/usr/lib/debug -type f >+ [ -d ${RPM_BUILD_ROOT}/usr/src/debug ] && >+ find ${RPM_BUILD_ROOT}/usr/src/debug -mindepth 1 -maxdepth 1 >+) | sed -n -e "s#^$RPM_BUILD_ROOT##p" > $LISTFILE
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 242895
: 156332