/bin/sh ../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -Wno-overloaded-virtual -Wl,-O1 -Wl,--as-needed -o abiword abiword-UnixMain.o libabiword-3.0.la -ljpeg libtool: link: x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -Wno-overloaded-virtual -Wl,-O1 -o .libs/abiword abiword-UnixMain.o -Wl,--as-needed ./.libs/libabiword-3.0.so -lpng16 -lfribidi -lpthread -lgthread-2.0 -lwv -lpng -lgsf-1 -lxslt -lxml2 -lenchant -lgoffice-0.10 -lz -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lrsvg-2 -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lcairo -lfontconfig -lfreetype -lX11 -ljpeg -pthread ./.libs/libabiword-3.0.so: error: undefined reference to 'g_module_close' ./.libs/libabiword-3.0.so: error: undefined reference to 'g_module_open' ./.libs/libabiword-3.0.so: error: undefined reference to 'g_module_error' ./.libs/libabiword-3.0.so: error: undefined reference to 'g_module_symbol' ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma_systemd-test-20191114-081627 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.2.0 * clang: clang version 9.0.0 (tags/RELEASE_900/final) Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/9/bin llvm: 9.0.0 Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) Available Rust versions: [1] rust-1.39.0 * java-config: The following VMs are available for generation-2: 1) IcedTea JDK 3.13.0 [icedtea-8] *) IcedTea JDK 3.13.0 [icedtea-bin-8] 3) JamVM JDK 2.0.0 [jamvm] Available Java Virtual Machines: [1] icedtea-8 [2] icedtea-bin-8 system-vm [3] jamvm repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Mon, 18 Nov 2019 02:26:07 +0000 emerge -qpvO app-office/abiword [ebuild N ] app-office/abiword-3.0.2-r2 USE="cups goffice introspection plugins readline spell -calendar -collab -debug -eds -grammar -latex -map -math -ots -redland -thesaurus -wmf -wordperfect"
Created attachment 596640 [details] emerge-info.txt
Created attachment 596642 [details] app-office:abiword-3.0.2-r2:20191118-032837.log.bz2
Created attachment 596644 [details] emerge-history.txt
Created attachment 596646 [details] environment
Created attachment 596648 [details] etc.portage.tbz2
Created attachment 596650 [details] logs.tbz2
Created attachment 596652 [details] temp.tbz2
Same error on newest 3.0.4 abiword. Ebuild from 3.0.2-r2 to 3.0.4 needs 2 changes: 1. SRC_URI change to ${PN}-3.0.2-patchset.tar.xz 2. Comment out first patch (2.8.3-desktop).
> 2. Comment out first patch (2.8.3-desktop). Sorry! _All_ patches have to be commented out. My fault. ...and the error still is: ./.libs/libabiword-3.0.so: error: undefined reference to 'g_module_close' [...]
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=186b39b11516cc6b87f4e54d939208533160a0a8 commit 186b39b11516cc6b87f4e54d939208533160a0a8 Author: David Seifert <soap@gentoo.org> AuthorDate: 2020-04-13 16:44:07 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2020-04-13 16:44:07 +0000 app-office/abiword: Remove old Closes: https://bugs.gentoo.org/629818 Closes: https://bugs.gentoo.org/690326 Closes: https://bugs.gentoo.org/700492 Closes: https://bugs.gentoo.org/700852 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: David Seifert <soap@gentoo.org> app-office/abiword/Manifest | 2 - app-office/abiword/abiword-3.0.2-r3.ebuild | 168 --------------------- .../files/abiword-3.0.2-extern-C-template.patch | 29 ---- 3 files changed, 199 deletions(-)
See https://forums.gentoo.org/viewtopic-t-1140889.html.
Created attachment 733186 [details] Failed to emerge app-office/abiword-3.0.4 - build.log, environment, emerge --info, emerge -pqv output Failed to emerge app-office/abiword-3.0.4 build.log, environment, emerge --info, emerge -pqv output are included in abiword-3.0.4.tar.gz file.
Those symbols are in libgmodule-2.0 (dev-libs/glib). app-office/abiword-3.0.5 built fine when I manually added -lgmodule-2.0 to the failing step: /bin/sh ../libtool --tag=CXX --mode=link clang++ -std=c++11 -O2 -march=native -pipe -g -flto=thin -Wno-overloaded-virtual -Wl,-O1 -Wl,--as-needed -fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,--as-needed -o abiword abiword-UnixMain.o libabiword-3.0.la -ljpeg -lgmodule-2.0 This is using sys-devel/llvm (etc)-15.0.3, sys-libs/musl-1.2.3, dev-libs/glib-2.74.1-r1 on amd64.