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-winexe-4.20.2-1.fc40.x86_64 Provides: bundled(libreplace) samba-winexe = 2:4.20.2-1.fc40 samba-winexe(x86-64) = 2:4.20.2-1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libcli-smb-common-privat)) Processing files: ctdb-4.20.2-1.fc40.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.f4WYQe + umask 022 + cd /home/hanzlik/rpmbuild/BUILD + cd samba-4.20.2 + DOCDIR=/home/hanzlik/rpmbuild/BUILDROOT/samba-4.20.2-1.fc40.x86_64/usr/share/doc/ctdb + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /home/hanzlik/rpmbuild/BUILDROOT/samba-4.20.2-1.fc40.x86_64/usr/share/doc/ctdb + cp -pr /home/hanzlik/rpmbuild/BUILD/samba-4.20.2/ctdb/README /home/hanzlik/rpmbuild/BUILDROOT/samba-4.20.2-1.fc40.x86_64/usr/share/doc/ctdb + cp -pr /home/hanzlik/rpmbuild/BUILD/samba-4.20.2/ctdb/doc/examples /home/hanzlik/rpmbuild/BUILDROOT/samba-4.20.2-1.fc40.x86_64/usr/share/doc/ctdb + RPM_EC=0 ++ jobs -p + exit 0 Provides: bundled(libreplace) config(ctdb) = 2:4.20.2-1.fc40 ctdb = 2:4.20.2-1.fc40 ctdb(x86-64) = 2:4.20.2-1.fc40 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh systemd-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh systemd-units Requires: /usr/bin/bash /usr/bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.-) Processing files: ctdb-pcp-pmda-4.20.2-1.fc40.x86_64 Provides: ctdb-pcp-pmda = 2:4.20.2-1.fc40 ctdb-pcp-pmda(x86-64) = 2:4.20.2-1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) li1) Processing files: ctdb-etcd-mutex-4.20.2-1.fc40.x86_64 Provides: ctdb-etcd-mutex = 2:4.20.2-1.fc40 ctdb-etcd-mutex(x86-64) = 2:4.20.2-1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 Processing files: ctdb-ceph-mutex-4.20.2-1.fc40.x86_64 Provides: ctdb-ceph-mutex = 2:4.20.2-1.fc40 ctdb-ceph-mutex(x86-64) = 2:4.20.2-1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) librados.so.2()(64bit) lt) 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? -- Thanks in advance, Franta Hanzlík -- _______________________________________________ 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