DevHeads.net

Odd debugedit message: -b arg has to be either the same length as -d arg, or more than 1 char longer

I'm seeing this message:

extracting debug info from /home/dhowells/rpmbuild/BUILDROOT/cross-gcc-4.9.0-2.fc21.x86_64/usr/lib/gcc/hppa-linux-gnu/4.9.0/libcloog-isl.so.4
/usr/lib/rpm/debugedit: -b arg has to be either the same length as -d arg, or more than 1 char longer

but only on some machines. Anyone know what it portends?

on both machines I've tried it on.

David

Comments

Re: Odd debugedit message: -b arg has to be either the same leng

By Jan Kratochvil at 07/07/2014 - 04:32

On Fri, 04 Jul 2014 18:01:00 +0200, David Howells wrote:
IIRC these errors happen if the compilation directory is too short so that
debugedit cannot in-place rewrite the strings to their /usr/src/debug/...
locations.

Try to build it under some directory like:
/home/dhowells/rpmbuild-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/BUILDROOT/cross-gcc-4.9.0-2.fc21.x86_64/...

Jan

Re: Odd debugedit message: -b arg has to be either the same leng

By Richard W.M. Jones at 07/07/2014 - 09:50

On Mon, Jul 07, 2014 at 10:32:25AM +0200, Jan Kratochvil wrote:
Right, for detailed information see:

<a href="http://www.redhat.com/archives/rhl-devel-list/2007-November/msg00171.html" title="http://www.redhat.com/archives/rhl-devel-list/2007-November/msg00171.html">http://www.redhat.com/archives/rhl-devel-list/2007-November/msg00171.html</a>

I don't understand how the /home/dhowells/rpmbuild/.. path triggers
this since it would appear to be considerably longer than 15
characters. We would need to see the actual debugedit command line
(which I don't think rpmbuild prints).

BTW the source of the error is here:

<a href="http://rpm.org/gitweb?p=rpm.git;a=blob;f=tools/debugedit.c;h=0f85885e38a406f20f5b3779915908b4069691ea;hb=HEAD#l688" title="http://rpm.org/gitweb?p=rpm.git;a=blob;f=tools/debugedit.c;h=0f85885e38a406f20f5b3779915908b4069691ea;hb=HEAD#l688">http://rpm.org/gitweb?p=rpm.git;a=blob;f=tools/debugedit.c;h=0f85885e38a...</a>

Rich.

Re: Odd debugedit message: -b arg has to be either the same leng

By David Howells at 07/04/2014 - 13:12

As a user in both cases.

David

Re: Odd debugedit message: -b arg has to be either the same leng

By Dan =?ISO-8859-... at 07/04/2014 - 12:10

On Fri, 04 Jul 2014 17:01:00 +0100

as a user or root? IIRC building as root leads to strange errors
sometimes

Dan