On ke, 02 helmi 2022, Simo Sorce wrote:
So I got this bug about FTBFS:
https://bugzilla.redhat.com/show_bug.cgi?id=2049643
These are bindings to C libs and use gcc to build .so files.
Upon investigation the issue is that the default linker flags seem to
point to non existing package note files, so the build fails.
It was suggest to disable notes for this package via:
%undefine _package_note_file
However this just changed the error from a linker script named against
the python package to a linker script named against the krb5
dependency.
This is what I get in a scratch build:
/usr/bin/ld: cannot open linker script file
/builddir/build/BUILD/.package_note-krb5-1.19.2-4.fc36.1.x86_64.ld: No
such file or directory
How do I solve this?
I need to update to a new version of python-gssapi but I cvan't build
it right now.
There is a similar bug against krb5:
https://bugzilla.redhat.com/show_bug.cgi?id=2048909
I guess we need to fix krb5 this way too.
--
/ Alexander Bokovoy
Sr. Principal Software Engineer
Security / Identity Management Engineering
Red Hat Limited, Finland