[Rpm-maint] [rpm-software-management/rpm] rpmbuild fails with an error about empty debugsourcefiles.list (Issue #4037)

Zbigniew Jędrzejewski-Szmek notifications at github.com
Fri Nov 7 16:29:22 UTC 2025


keszybz created an issue (rpm-software-management/rpm#4037)

Continuation of #3136. 

Systemd has instructions for building an rpm in place [1]. The important part is
`rpmbuild -bb --build-in-place --noprep --define "_sourcedir .../fedora-systemd" --define "_rpmdir $PWD/rpms" --with upstream .../systemd.spec`. This certainly used to work, but now fails with 
```
RPM build errors:
    Empty %files file $HOME/src/systemd-work/debugsourcefiles.list
```

[1] https://src.fedoraproject.org/rpms/systemd/blob/rawhide/f/README.build-in-place.md

(In case @DaanDeMeyer is reading this: the mkosi rpm build is not useful, because it doesn't work for bisecting. The rpmbuild procedure works fine, it is even possible to have some local modifications without too much trouble. But the mkosi config is part of the bisected tree, and I found it very hard to get to work in a bisect over a wide range of commits.)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/4037
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/4037 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20251107/4c22f62e/attachment.htm>


More information about the Rpm-maint mailing list