[Rpm-maint] [rpm-software-management/rpm] debuginfo generation does not work with --build-in-place (Issue #3042)
Daan De Meyer
notifications at github.com
Tue Apr 16 11:30:41 UTC 2024
**Describe the bug**
The %install to make debuginfo work is currently defined as follows on Fedora:
```
%install %{?_enable_debug_packages:%{?buildsubdir:%{debug_package}}}\
%%install\
%{nil}
```
The `--build-in-place` documentation says:
```
--build-in-place
Build from locally checked out sources. Sets _builddir to current working directory. Skips handling of -n and untar in the %setup and the deletion of the buildSubdir.
```
Something in the interaction between these two causes debuginfo to not get generated when `--build-in-place` is used, presumably because `buildsubdir` is not defined when `--build-in-place` is used.
**To Reproduce**
Steps to reproduce the behavior:
1. Try to build a package that should produce debuginfo packages by using `--build-in-place`
Please link or attach the packages or spec files involved.
**Expected behavior**
Debuginfo packages are generated
**Environment**
- OS / Distribution: Fedora 39
- Version: RPM version 4.19.1.1
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/3042
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/3042 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20240416/91b65ef0/attachment.html>
More information about the Rpm-maint
mailing list