rpmbuild stops with debugedit error on F8

Roland McGrath roland at redhat.com
Sat Nov 3 23:30:34 UTC 2007


Ok, it's simply as it says.  /rpmbuild/build is 15 chars and /usr/src/debug
is 14 chars.  That's just a bad choice for the directory name.  In koji
builds go under /builddir/build/BUILD (21 chars), so there is no problem.
The default for vanilla rpmbuild is /usr/src/redhat/BUILD (21 chars).

It's a technical limitation of the debugedit program that, like the error
message says, the length of the top build directory name has to be 14 chars
(to match /usr/src/debug), or more than 15 chars.  It does a very limited
kind of rewriting of the very complex DWARF formats, so there has to be
enough room in the existing string table for the new directory name.
Making it able to cope in the general case opens huge cans of worms, and is
absolutely not going to happen any time soon (or ever in that program as it
exists today).

Suffice it to say it is far, far more work than is justified to avoid the
arcane but trivial caveat that the base directory name used for builds must
be at least 16 chars long.


Thanks,
Roland




More information about the fedora-devel-list mailing list