Red Hat Bugzilla – Bug 112429
find-debuginfo.sh fails to strip readonly object files, all perl modules
Last modified: 2007-11-30 17:10:34 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5)
Description of problem:
perl rpms install their lib data read-only. when the find-debuginfo.sh
script runs it tries to strip the files but can't leaving huge rpms in
many cases because of the debugging synbols. (found while developing
perl-Glib/perl-Gtk2, http://gtk2-perl.sourceforge.net/) the script's
call to eu-string prints an error message near the end of the build
process saying as much.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. building most any perl rpm seems to show this problem, perl-Glib.
/usr/share/man/man3/Glib::ParamSpec.3pm.gzX' = X ']'
+ /usr/lib/rpm/find-debuginfo.sh /home/rmcfarla/rpms/BUILD/Glib-1.030
extracting debug info from
eu-strip: while opening
Created attachment 96637 [details]
patch that fixes the problem by temporarily u+w and then u-w, only if
Added in CVS, should be in rpm-4.2.2-0.8 and later.
An errata has been issued which should help the problem described in this bug report.
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen
this bug report if the solution does not work for you.
brp-strip suffers from the same issue in rpm-4.3.1-0.3 issued with
Fedora Core 2. Found while building spamassassin-3.0-pre1, which uses
ExtUtils::Install to install ELF binary spamc mode 555: