Sandro kirjoitti 12.11.2022 klo 20.16:
I recently updated brewtarget to 3.0.3. In koji the build fails[1] only
for rawhide i686 arch with the following error:
/usr/bin/ld: /lib/libsndfile.so.1: undefined reference to
`mpg123_open_handle_64'
/usr/bin/ld: /lib/libsndfile.so.1: undefined reference to
`mpg123_replace_reader_handle_64'
/usr/bin/ld: /lib/libsndfile.so.1: undefined reference to `mpg123_seek_64'
/usr/bin/ld: /lib/libsndfile.so.1: undefined reference to
`mpg123_length_64'
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/brewtarget.dir/build.make:518: brewtarget]
Error 1
gmake[2]: Leaving directory
'/builddir/build/BUILD/brewtarget-3.0.3/redhat-linux-build'
gmake[1]: *** [CMakeFiles/Makefile2:152: CMakeFiles/brewtarget.dir/all]
Error 2
gmake[1]: Leaving directory
'/builddir/build/BUILD/brewtarget-3.0.3/redhat-linux-build'
gmake: *** [Makefile:169: all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.i0qxEh (%build)
I ran 'readelf -s /lib/libsndfile.so.1 | grep mpg123' inside the mock
chroot and it shows the symbols to be present in the library.
All other branches build fine for all archs. The previous release, only
a couple of weeks ago, built fine for all branches and I don't see any
changes in the code that would explain this error.
[1] https://koji.fedoraproject.org/koji/taskinfo?taskID=94094782
I appreciate any pointers,
Why do you need to build for i686?
Could you just add 'ExcludeArch: %{ix86}' and thus avoid the problem?
That is the recommended approach since
"Encourage Dropping Unused / Leaf Packages on i686" [1].
[1]: https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-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/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue