~/rpmbuild directory can't be a symlink?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux