On Mon, Jul 07, 2014 at 10:32:25AM +0200, Jan Kratochvil wrote:
On Fri, 04 Jul 2014 18:01:00 +0200, David Howells wrote:
> 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?
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/...
Right, for detailed information see:
http://www.redhat.com/archives/rhl-devel-list/2007-November/msg00171.html
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:
http://rpm.org/gitweb?p=rpm.git;a=blob;f=tools/debugedit.c;h=0f85885e38a4...
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines. Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.
http://libguestfs.org/virt-v2v