Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 700492 - app-office/abiword-3.0.2-r2 : ./.../libabiword-3.0.so: error: undefined reference to g_module_close
Summary: app-office/abiword-3.0.2-r2 : ./.../libabiword-3.0.so: error: undefined refer...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-18 17:42 UTC by Toralf Förster
Modified: 2022-11-22 09:52 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.37 KB, text/plain)
2019-11-18 17:42 UTC, Toralf Förster
Details
app-office:abiword-3.0.2-r2:20191118-032837.log.bz2 (app-office:abiword-3.0.2-r2:20191118-032837.log.bz2,34.06 KB, application/x-bzip)
2019-11-18 17:42 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,118.66 KB, text/plain)
2019-11-18 17:42 UTC, Toralf Förster
Details
environment (environment,125.46 KB, text/plain)
2019-11-18 17:42 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.34 KB, application/x-bzip)
2019-11-18 17:42 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,27.34 KB, application/x-bzip)
2019-11-18 17:42 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,66.50 KB, application/x-bzip)
2019-11-18 17:42 UTC, Toralf Förster
Details
Failed to emerge app-office/abiword-3.0.4 - build.log, environment, emerge --info, emerge -pqv output (abiword-3.0.4.tar.gz,62.73 KB, application/gzip)
2021-08-16 04:07 UTC, Jae Hak Kim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-11-18 17:42:11 UTC
/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"
Comment 1 Toralf Förster gentoo-dev 2019-11-18 17:42:13 UTC
Created attachment 596640 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-11-18 17:42:16 UTC
Created attachment 596642 [details]
app-office:abiword-3.0.2-r2:20191118-032837.log.bz2
Comment 3 Toralf Förster gentoo-dev 2019-11-18 17:42:19 UTC
Created attachment 596644 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-11-18 17:42:22 UTC
Created attachment 596646 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-11-18 17:42:25 UTC
Created attachment 596648 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-11-18 17:42:28 UTC
Created attachment 596650 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-11-18 17:42:30 UTC
Created attachment 596652 [details]
temp.tbz2
Comment 8 Jan Psota 2020-02-05 13:38:16 UTC
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).
Comment 9 Jan Psota 2020-02-05 14:02:00 UTC
> 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'
[...]
Comment 10 Larry the Git Cow gentoo-dev 2020-04-13 16:44:23 UTC
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(-)
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-15 03:16:59 UTC
See https://forums.gentoo.org/viewtopic-t-1140889.html.
Comment 12 Jae Hak Kim 2021-08-16 04:07:03 UTC
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.
Comment 13 Vic Kerr (wikky) 2022-11-22 09:52:25 UTC
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.