Description of problem:
If I define build dir for rpmbuild, I do not get source code in -debuginfo package. It seems that problematic is
/usr/lib/rpm/debugedit
in
/usr/lib/rpm/find-debuginfo.sh
which create zero sized $SOURCEFILE
Version-Release number of selected component (if applicable):
rpm-build-4.4.2.3-18.el5
Actual results:
rpm -qpl /home/msuchy/rpmbuild/RPMS/i386/bash-debuginfo-3.2-24.i386.rpm |grep src
<no lines>
Expected results:
/usr/src/debug lines on output
Additional info:
I first find this problem, when my build dir was something like
/tmp/foo/bar//BUILD
I thought that /usr/lib/rpm/debugedit has problem with double slash, but when I tried to create minimalistic reproducer I find that it has problem with any build dir other then default.
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated in the
current release, Red Hat is unfortunately unable to address this
request at this time. Red Hat invites you to ask your support
representative to propose this request, if appropriate and relevant,
in the next release of Red Hat Enterprise Linux.
In newer versions it'll error out with something like:
Dest dir longer than base dir is not supported
error: Bad exit status from /var/tmp/rpm-tmp.Fq0n0Y (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.Fq0n0Y (%install)
The same "dest dir longer..." error is produced by RHEL-5 there its allowed to fail to avoid breaking previously working builds due to the new build-id stuff introduced in the rebase to rpm 4.4.2.3.
Description of problem: rpm/debugedit rpm/find- debuginfo. sh
If I define build dir for rpmbuild, I do not get source code in -debuginfo package. It seems that problematic is
/usr/lib/
in
/usr/lib/
which create zero sized $SOURCEFILE
Version-Release number of selected component (if applicable): 4.4.2.3- 18.el5
rpm-build-
How reproducible:
deterministic
Steps to Reproduce:
1. mkdir /tmp/bb
2. rpmbuild --define "_builddir /tmp/bb" -ba bash.spec
Actual results: rpmbuild/ RPMS/i386/ bash-debuginfo- 3.2-24. i386.rpm |grep src
rpm -qpl /home/msuchy/
<no lines>
Expected results:
/usr/src/debug lines on output
Additional info: rpm/debugedit has problem with double slash, but when I tried to create minimalistic reproducer I find that it has problem with any build dir other then default.
I first find this problem, when my build dir was something like
/tmp/foo/bar//BUILD
I thought that /usr/lib/