On 12-11-2022 19:46, Otto Liljalaakso wrote:
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

That's an option, of course. But since I haven't had any trouble so far building that package for i686, I was rather curious why it would fail all of a sudden.

On the other hand, I wasn't aware of the i686 removal proposal. I simply ordered a build from Koji. Thanks for the pointer. I will consider dropping i686 builds.

-- Sandro
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-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/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to