/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/gtkimageview.o: in function `gtk_image_view_set_zoom_with_center': gtkimageview.c:(.text+0xdcc): undefined reference to `round' /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gtkimageview.c:(.text+0xe01): undefined reference to `round' collect2: error: ld returned 1 exit status rdlibtool: exec error upon slbt_exec_link_create_library(), line 1446: (see child process error messages). ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome_systemd-20210318-090503 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-10.2.0 * clang version 11.1.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/11/bin /usr/lib/llvm/11 11.1.0 Python 3.8.8 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby27 (with Rubygems) * Available Rust versions: [1] rust-bin-1.50.0 [2] rust-1.50.0 * The following VMs are available for generation-2: 1) IcedTea JDK 3.17.1 [icedtea-8] 2) IcedTea JDK 3.16.0 [icedtea-bin-8] 3) OpenJDK 8.282_p08 [openjdk-8] *) AdoptOpenJDK 8.282_p08 [openjdk-bin-8] Available Java Virtual Machines: [1] icedtea-8 [2] icedtea-bin-8 [3] openjdk-8 [4] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Mon Mar 29 16:35:49 UTC 2021 emerge -qpvO media-gfx/gtkimageview [ebuild N ] media-gfx/gtkimageview-1.6.4 USE="-examples -static-libs"
Created attachment 696054 [details] emerge-info.txt
Created attachment 696057 [details] emerge-history.txt
Created attachment 696060 [details] environment
Created attachment 696063 [details] etc.portage.tar.bz2
Created attachment 696066 [details] logs.tar.bz2
Created attachment 696069 [details] media-gfx:gtkimageview-1.6.4:20210329-173505.log
Created attachment 696072 [details] temp.tar.bz2
Created attachment 696090 [details, diff] Patch to fix the undefined reference to libm. Every upstream url I found seems dead, but this fixes the build with -no-undefined. It needs to be applied at the end of src_prepare() before eautoreconf.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02b5cfb32642a1fdcf64effcc2898a5bf4ebed8a commit 02b5cfb32642a1fdcf64effcc2898a5bf4ebed8a Author: Sam James <sam@gentoo.org> AuthorDate: 2021-04-01 22:54:48 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-04-01 23:03:59 +0000 media-gfx/gtkimageview: fix build with slibtool Thakns-to: orbea <orbea@riseup.net> Closes: https://bugs.gentoo.org/779127 Signed-off-by: Sam James <sam@gentoo.org> ...eview-1.6.4-slibtool-undefined-references.patch | 35 ++++++++++++++++++++++ media-gfx/gtkimageview/gtkimageview-1.6.4.ebuild | 4 +++ 2 files changed, 39 insertions(+)