Summary: | x11-misc/notification-daemon-0.5.0: undefined reference to symbol 'g_module_symbol' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ted Tanberry <ted.tanberry> |
Component: | [OLD] GNOME | Assignee: | Freedesktop bugs <freedesktop-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | andrius |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 372079 | ||
Attachments: | notification-daemon-0.5.0-underlinking.patch |
Description
Ted Tanberry
2013-05-03 20:55:15 UTC
--- /usr/portage/x11-misc/notification-daemon/notification-daemon-0.5.0.ebuild 2012-01-28 03:17:07.000000000 +0100 +++ /usr/local/portage/x11-misc/notification-daemon/notification-daemon-0.5.0.ebuild 2013-05-03 22:39:40.963048440 +0200 @@ -6,7 +6,7 @@ GCONF_DEBUG=no GNOME2_LA_PUNT=yes -inherit eutils gnome2 +inherit eutils gnome2 autotools DESCRIPTION="Notification daemon" HOMEPAGE="http://git.gnome.org/browse/notification-daemon/" @@ -29,7 +29,8 @@ !x11-misc/qtnotifydaemon" DEPEND="${RDEPEND} >=dev-util/intltool-0.40 - >=sys-devel/gettext-0.14" + >=sys-devel/gettext-0.14 + gnome-base/gnome-common" pkg_setup() { DOCS="AUTHORS ChangeLog NEWS" @@ -38,5 +39,8 @@ src_prepare() { epatch "${FILESDIR}"/${P}-libnotify-0.7.patch - gnome2_src_prepare + epatch "${FILESDIR}"/${P}-underlinking.patch + + gnome2_omf_fix + eautoreconf } Created attachment 347312 [details, diff]
notification-daemon-0.5.0-underlinking.patch
Thx. It's work :-) notification-daemon-0.5.0-underlinking.patch don't work on ARM arch. engines.o: undefined reference to symbol 'g_module_close' /usr/lib/gcc/armv7a-hardfloat-linux-gnueabi/4.7.3/../../../../armv7a-hardfloat-linux-gnueabi/bin/ld: note: 'g_module_close' is defined in DSO /usr/lib/libgmodule-2.0.so.0 so try adding it to the linker command line /usr/lib/libgmodule-2.0.so.0: could not read symbols: Invalid operation (In reply to wrdyanf from comment #4) > notification-daemon-0.5.0-underlinking.patch > don't work on ARM arch. > > engines.o: undefined reference to symbol 'g_module_close' > /usr/lib/gcc/armv7a-hardfloat-linux-gnueabi/4.7.3/../../../../armv7a- > hardfloat-linux-gnueabi/bin/ld: note: 'g_module_close' is defined in DSO > /usr/lib/libgmodule-2.0.so.0 so try adding it to the linker command line > /usr/lib/libgmodule-2.0.so.0: could not read symbols: Invalid operation that's quite an claim without an attached build.log. did you remember to run eautoreconf after patching configure.ac? if it still doesn't work after eautoreconf, to generate new configure from the patched configure.ac, then attach build.log so we can figure out why The patch works on arm provided that inherit autotools is added. Is there any reason why this is not committed to portage? (In reply to Andrius Štikonas from comment #6) > The patch works on arm provided that inherit autotools is added. > > Is there any reason why this is not committed to portage? no other reason that 0.5.0 is deprecated version, overshadowed by KEYWORDS of 0.7.x series, so most focus goes to the newer versions 0.5.0 is left behind because, in my opinion, upstream ruined the daemon in 0.7.x series :-) applied the patch to portage now. sorry for delay. |