Summary: | net-irc/xchat-gnome-0.26.1-r3 - ld: xchat_gnome-xtext.o: undefined reference to symbol 'XGetImage' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Packages in net-irc <net-irc> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | atoth, dct23, gentoo, gnome, thunder367 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 372079 | ||
Attachments: |
build.log
Patch to fix ebuild Patch applied by upstream in commit 74296a4 |
Description
Juergen Rose
2014-12-27 02:52:15 UTC
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=556693 "fixed in the latest version of xchat-gnome" and they are bundling a 2010 git pull of 0.30 Adding -lX11 to the Makefile fixes the problem. verified adding -lX11 to the Makefile in src/gnome-fe fixes the problem Is this the relevant fix? https://git.gnome.org/browse/xchat-gnome/commit/?id=74296a4cb768e03273196dd7497f0329948abfe6 Seems not. I applied the config change at http://wiki.gentoo.org/wiki//etc/portage/patches#Enabling_.2Fetc.2Fportage.2Fpatches_for_all_ebuilds, then dumped that change into /etc/portage/patches/net-irc/xchat-gnome-0.26.1-r3/0001-Bug-612340-Patch-Add-missing-libm-libX11-linking.patch. I see this: > >>> Source unpacked in /var/tmp/portage/net-irc/xchat-gnome-0.26.1-r3/work > * Applying user patches from /etc/portage/patches//net-irc/xchat-gnome-0.26.1-r3 ... > * 0001-Bug-612340-Patch-Add-missing-libm-libX11-linking.patch ... [ ok ] ... but still get the same error. Any more help would be appreciated! The addition of -lX11 to the xchat_gnome_LDFLAGS variable affects the Makefile generation, so there needs to be a call to eautomake in the ebuild after the patch is made. Otherwise the makefiles generated by autotools never get updated. I've gotten the build to work on my system and attached a patch for the -r2 ebuild and the patch that it calls for. This can probably be applied verbatim for the -r3 ebuild, but I haven't tried that out. Created attachment 397732 [details, diff]
Patch to fix ebuild
Created attachment 397734 [details, diff]
Patch applied by upstream in commit 74296a4
That did the trick, thank you! (I also had to run 'ebuild xchat-gnome-0.26.1-r2.ebuild manifest' after editing the ebuild.) removed |