Hello! Is anything wrong with just using the official Fedora package? It builds fine and koschei is reporting no issues: https://koji.fedoraproject.org/koji/packageinfo?packageID=633 https://koschei.fedoraproject.org//package/libcap
On Monday, 02 March 2026 at 09:43, Mister Ilari Jääskeläinen wrote: > mockbuild@skylake:~/Workstation/libcap$ rpmbuild -ra > libcap-2.77-2.fc44.src.rpm > Asennetaan libcap-2.77-2.fc44.src.rpm [...] > make[1]: Entering directory > '/home/mockbuild/rpmbuild/BUILD/libcap-2.77-build/libcap-2.77/go' > CC="gcc" go run -mod=vendor mknames.go > --header=/home/mockbuild/rpmbuild/BUILD/libcap-2.77-build/libcap-2.77/libcap/cap_names.h > > --textdir=/home/mockbuild/rpmbuild/BUILD/libcap-2.77-build/libcap-2.77/doc/values > | gofmt > good-names.go || rm -f good-names.go > # command-line-arguments > /usr/bin/ld.bfd: > /home/mockbuild/.cache/go-build/aa/aa729710fdd925f248dcd74b080d309e38fc6b67fad4c401e66e94762fa15802-d(_go_.o): > relocation R_X86_64_32 against `.rodata' can not be used when making a PIE > object; recompile with -fPIE > /usr/bin/ld.bfd: failed to set dynamic section sizes: bad value > collect2: error: ld returned 1 exit status Have you tried building it with mock? mock -r fedora-44-x86_64 libcap-2.77-2.fc44.src.rpm Regards, Dominik -- Fedora https://fedoraproject.org There should be a science of discontent. People need hard times and oppression to develop psychic muscles. -- from "Collected Sayings of Muad'Dib" by the Princess Irulan -- _______________________________________________ devel mailing list -- [email protected] To unsubscribe send an email to [email protected] 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/[email protected] Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
