Franta Hanzlík via users wrote: > When trying rebuild RPM package from Fedora repo, I ends with error: > > $ dnf download --source samba > > $ rpm -Uv samba-4.20.2-1.fc40.src.rpm > > $ rpmbuild -ba samba.spec > ... (some ~18 MB and ~24000 lines output) [...] > Processing files: samba-debugsource-4.20.2-1.fc40.x86_64 > error: Empty %files file /home/hanzlik/rpmbuild/BUILD/samba-4.20.2/debugsourcefiles.list > > RPM build errors: > Empty %files file /home/hanzlik/rpmbuild/BUILD/samba-4.20.2/debugsourcefiles.list > > I'm stuck here and can't move on. > Adding '%debug_package %nil' to ~/.rpmmacros causes the package to be > compiled and build, but without the debuginfo/debugsources packages - > which is not what I want. > Internet search did not help me... > > Does anyone know where the problem could be? I can't pinpoint it for you, but I can say that this package builds cleanly for me, via mock. That suggests that the issue is either transient or due to some settings in your local rpmbuild environment (which is one of the many reasons I always build rpm's with mock). -- Todd
Attachment:
signature.asc
Description: PGP signature
-- _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue