error due building " canonicalization unexpectedly shrank by one character"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
RPM |
New
|
Undecided
|
Unassigned |
Bug Description
When I try to build libselinux I getting error message "/usr/lib/
Some output info:
extracting debug info from /root/rpmbuild/
extracting debug info from /root/rpmbuild/
extracting debug info from /root/rpmbuild/
extracting debug info from /root/rpmbuild/
extracting debug info from /root/rpmbuild/
/usr/lib/
As I understood this error was fixed by Christophe Fergeau in RPM 4.6
How can I fix it with RPM 5.4.4 from Cooker? Or workaround exists?
The root cause of the error is usually a doubled / character like path//to/ src/*.c
/some/
that ends up in ELF debugging information.
Even if Chrsitophe Fergeau "fixed" in rpm-4.6, debugedit.c has
changed since. I track the debug edit.c sources as closely as
possible: I have no interest whatsoever in deviating from
what ELF developers are doing.
Meanwhile the whole debugedit.c implementation has been called
... my greatest hack ever ...
by the person (Alex Larrson) who coded debugedit.c originally.
See his speaker's bio in FOSDEM/2005.
I would tend to (politely agree) "hack". There are several outstanding
known problems.
The blueprint is here: /blueprints. launchpad. net/rpm/ +spec/rpm- debugedit- uplift
https:/
where this bug is now attached to several others.
AFAIK, upgrading debugedit.c (and attempting to "fix" this stupidness) is
deemed "low priority" by ROSA (and Denis Silakov). I forget why I think
that: iirc it was a comment against some bug by Denis.