[CentOS-devel] rpmbuild failure when extracting debuginfo

Thomas F Herbert therbert at redhat.com
Wed Sep 6 00:10:26 UTC 2017


I get the following failure in cbs builds during the extraction of debug 
info.

--------------------------snip---------------------------------

+ /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz 
--dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 
/builddir/build/vpp-17.10
extracting debug info from 
/builddir/build/BUILDROOT/vpp-17.10-rc0~267_ge1a0ab3.x86_64/usr/lib64/libvlib.so.0.0.0
extracting debug info from 
/builddir/build/BUILDROOT/vpp-17.10-rc0~267_ge1a0ab3.x86_64/usr/lib64/libjvpp_common.so.0.0.0
extracting debug info from 
/builddir/build/BUILDROOT/vpp-17.10-rc0~267_ge1a0ab3.x86_64/usr/lib64/libsvmdb.so.0.0.0
extracting debug info from 
/builddir/build/BUILDROOT/vpp-17.10-rc0~267_ge1a0ab3.x86_64/usr/lib64/libvlibsocket.so.0.0.0
extracting debug info from 
/builddir/build/BUILDROOT/vpp-17.10-rc0~267_ge1a0ab3.x86_64/usr/lib64/libvnet.so.0.0.0
extracting debug info from 
/builddir/build/BUILDROOT/vpp-17.10-rc0~267_ge1a0ab3.x86_64/usr/lib64/libvppinfra.so.0.0.0
/usr/lib/rpm/debugedit: -b arg has to be either the same length as -d 
arg, or more than 1 char longer
error: Bad exit status from /var/tmp/rpm-tmp.n1k50O (%install)
RPM build errors:
     Bad exit status from /var/tmp/rpm-tmp.n1k50O (%install)
Child return code was: 1
EXCEPTION: Command failed. See logs for output.
  # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps 
/builddir/build/SPECS/vpp.spec
Traceback (most recent call last):
   File "/usr/lib/python2.6/site-packages/mockbuild/trace_decorator.py", 
line 88, in trace
     result = func(*args, **kw)
   File "/usr/lib/python2.6/site-packages/mockbuild/util.py", line 547, 
in do
     raise exception.Error("Command failed. See logs for output.\n # %s" 
% (command,), child.returncode)
Error: Command failed. See logs for output.
  # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps 
/builddir/build/SPECS/vpp.spec
LEAVE do --> EXCEPTION RAISED
-----------------------------snip----------------------------------------

Incidentally, the same problem occurs in Fedora-review and in Brew RHEL 
builds.

It does not occur in local builds with rpmbuild on Centos, RHEL brew or 
Fedora 25.


Notice comment 55 in this bugzilla:

https://bugzilla.redhat.com/show_bug.cgi?id=304121

about a fixed bug in debugedit.

Can we get cbs upgraded with rpm-build package version 4.13.0.1-24
Should I submit a ticket to get that package installed in cbs for my tag?


-- 
*Thomas F Herbert*
NFV and Fast Data Planes
Office of Technology
*Red Hat*


More information about the CentOS-devel mailing list