I was just trying to build the rpm package (samba-4.18.1-0.fc38 from Fedora SRPM) but the build ended with an error: ... Processing files: ctdb-ceph-mutex-4.18.3-4.fc38.x86_64 Provides: ctdb-ceph-mutex = 2:4.18.3-4.fc38 ctdb-ceph-mutex(x86-64) = 2:4.18.3-4.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-x86-64.so.2()(64bit) 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.4)(64bit) libgcc_s.so.1()(64bit) librados.so.2()(64bit) libtalloc.so.2()(64bit) libtalloc.so.2(TALLOC_2.0.2)(64bit) libtevent.so.0()(64bit) libtevent.so.0(TEVENT_0.9.9)(64bit) rtld(GNU_HASH) Processing files: samba-debugsource-4.18.3-4.fc38.x86_64 error: Empty %files file /home/hanzlik/rpmbuild/BUILD/samba-4.18.3/debugsourcefiles.list
RPM build errors: Empty %files file /home/hanzlik/rpmbuild/BUILD/samba-4.18.3/debugsourcefiles.list The problem seems to be somehow caused by ~/rpmbuild being a symlink ( $ ll ~/rpmbuild lrwxrwxrwx. 1 hanzlik hanzlik 43 Jul 6 05:07 /home/hanzlik/rpmbuild -> ../../mnt/zalohy/SW/linux/rpm/rela_rpmbuild ), and it doesn't matter if relative or absolute. If ~/rpmbuild is a real directory, the build succeeds. It's a general problem and rpmbuild must not be a symlink (I haven't found it anywhere yet) or it is e.g. rpm system error (some macro, etc.)? --- Thanks, Franta Hanzlík _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org 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@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue