Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 500762 - =net-im/pidgin-2.10.9-r1 ld: gtkmedia.o: undefined reference to symbol 'XSetErrorHandler'
Summary: =net-im/pidgin-2.10.9-r1 ld: gtkmedia.o: undefined reference to symbol 'XSetE...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-02-09 10:18 UTC by Branko Djusic
Modified: 2014-08-07 23:04 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,494.25 KB, application/octet-stream)
2014-02-09 15:34 UTC, Branko Djusic
Details
Add X11_LIBS variable to ld (pidgin-2.10.9-fix-gtkmedia.patch,267 bytes, patch)
2014-02-14 18:48 UTC, and
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Branko Djusic 2014-02-09 10:18:06 UTC
Latest pidgin on x86 stable fails to build.

emerge -pqv =net-im/pidgin-2.10.9-r1::gentoo - http://bpaste.net/show/177190/

emerge --info - http://bpaste.net/show/177192/

Build log - http://bpaste.net/show/177188/
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-02-09 11:30:26 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.
Comment 2 Agostino Sarubbo gentoo-dev 2014-02-09 11:34:03 UTC
works for me btw.
Comment 3 Branko Djusic 2014-02-09 15:34:34 UTC
Created attachment 369960 [details]
build.log
Comment 4 Branko Djusic 2014-02-09 15:35:34 UTC
Portage 2.2.7 (default/linux/x86/13.0, gcc-4.7.3, glibc-2.17, 3.13.2-gentoo i686)
=================================================================
System uname: Linux-3.13.2-gentoo-i686-AMD_Athlon-tm-_64_Processor_3000+-with-gentoo-2.2
KiB Mem:     1293856 total,     58544 free
KiB Swap:    2000024 total,   1999848 free
Timestamp of tree: Sun, 09 Feb 2014 09:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r3, 3.3.3
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://gentoo.bloodhost.ru/ http://mirror.mcs.anl.gov/pub/gentoo/  http://gentoo.osuosl.org/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl alsa auto-hinter berkdb bzip2 cairo cdda cleartype cli consolekit corefonts cracklib crypt cxx dbus dri dts dv dvb dvd ffmpeg flac fontconfig fontforge gdbm gdu gif gstreamer gtk gtkstyle gudev hwdb iconv ipv6 jack jpeg lame libav libkms libvisual minizip mms mmx modules mp3 mpeg musepack ncurses nls nptl nptlonly ogg opengl openmp pam pcre png policykit python readline session sqlite sse sse2 ssl svg tcpd theora truetype udev udisks unicode v4l vaapi vcd vorbis vpx wavpack wawpack x264 x86 xa xv xvid zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 5 Branko Djusic 2014-02-09 18:24:15 UTC
Fixed by donwgrading binutils.
Comment 6 Thomas Beutin 2014-02-14 14:15:22 UTC
(In reply to Branko Djusic from comment #5)
> Fixed by donwgrading binutils.

So which version of sys-devel/binutils are you using now?
Comment 7 Thomas Beutin 2014-02-14 14:17:37 UTC
@bug-wranglers: can we please have a more descriptive subject?

btw: i've exactly the same issue on my system.
Comment 8 and 2014-02-14 18:48:02 UTC
Created attachment 370412 [details, diff]
Add X11_LIBS variable to ld

gtkmedia depends on X11 lib
Comment 9 Thomas Beutin 2014-02-14 19:14:31 UTC
(In reply to and from comment #8)
> Created attachment 370412 [details, diff] [details, diff]
> Add X11_LIBS variable to ld
> 
> gtkmedia depends on X11 lib

lets have this patch the name "pidgin-2.10.9-x11-libs.patch" and place it into net-im/pidgin/files than this patch to the ebuild makes use of it and everything compiles fine:

--- a/pidgin-2.10.9-r1.ebuild	2014-02-12 14:01:25.000000000 +0100
+++ b/pidgin-2.10.9-r2.ebuild	2014-02-14 20:02:51.420585167 +0100
@@ -138,6 +138,7 @@
 
 src_prepare() {
 	epatch "${FILESDIR}/${PN}-2.10.0-gold.patch" \
+		"${FILESDIR}/${P}-x11-libs.patch" \
 		"${WORKDIR}/${PN}-eds-3.6.patch"
 
 	epatch_user
Comment 10 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-02-18 08:11:43 UTC
+  18 Feb 2014; Lars Wendler <polynomial-c@gentoo.org> pidgin-2.10.9.ebuild,
+  pidgin-2.10.9-r1.ebuild, +files/pidgin-2.10.9-fix-gtkmedia.patch,
+  +files/pidgin-2.10.9-python3_fix1.patch,
+  +files/pidgin-2.10.9-python3_fix2.patch:
+  Fixed compilation with python3 (bug #499760) and some undefined reference to
+  gtkmedia (bug #500762).
+
Comment 11 Daniel.Savard 2014-08-07 23:04:37 UTC
Not fixed at all. The current ebuild 2.10.9-r1 is still failing with the very same message and the patch pidgin-2.10.9-fix-gtkmedia.patch is supposed to implement the fix described here.