Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 412239 - mail-client/evolution-3.2.3: build fail main.c:(.text+0x7af): undefined reference to `g_thread_init' / glib-2.32.1
Summary: mail-client/evolution-3.2.3: build fail main.c:(.text+0x7af): undefined refer...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-16 17:51 UTC by Dmitry K
Modified: 2012-04-20 05:54 UTC (History)
0 users

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


Attachments
emerge -pqv =mail-client/evolution-3.2.3 (emergepqv.log,159 bytes, text/plain)
2012-04-16 17:53 UTC, Dmitry K
Details
Build Log (build.log,35.69 KB, text/plain)
2012-04-16 17:54 UTC, Dmitry K
Details
Build Log backup.c:(.text+0x11fb): undefined reference to `g_thread_init' (evolbak,58.48 KB, text/plain)
2012-04-16 19:31 UTC, Dmitry K
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry K 2012-04-16 17:51:25 UTC
CCLD   killev
  CCLD   libeshell.la
  CCLD   evolution
evolution-main.o: In function `main':
main.c:(.text+0x7af): undefined reference to `g_thread_init'
collect2: ld returned 1 exit status
make[4]: *** [evolution] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
 * ERROR: mail-client/evolution-3.2.3 failed (compile phase):
 *   emake failed

Reproducible: Always

Steps to Reproduce:
1.emerge -av evolution
Actual Results:  
 CCLD   killev
  CCLD   libeshell.la
  CCLD   evolution
evolution-main.o: In function `main':
main.c:(.text+0x7af): undefined reference to `g_thread_init'
collect2: ld returned 1 exit status
make[4]: *** [evolution] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
 * ERROR: mail-client/evolution-3.2.3 failed (compile phase):
 *   emake failed


emerge --info =mail-client/evolution-3.2.3
Portage 2.1.10.49 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.13-r4, 3.3.1-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.3.1-gentoo-x86_64-Intel-R-_Core-TM-_i7-2630QM_CPU_@_2.00GHz-with-gentoo-2.0.3
Timestamp of tree: Mon, 16 Apr 2012 15:30:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo calculate arcon sekyfsr bumblebee x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-j9"
FEATURES="assume-digests binpkg-logs candy distlocks ebuild-locks fixlafiles metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.utf8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j9 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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="/var/lib/layman/calculate /var/lib/layman/arcon /var/lib/layman/sekyfsr /var/lib/layman/bumblebee /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="PC X a52 aac acl acpi alsa amd64 avahi bash-completion bazaar berkdb bluetooth branding btrfs bzip2 cairo cdda cdr cdrom classic cleartype cli cmake colord connection-sharing consolekit cracklib crypt cups cvs cxx daap darcs dbus device-mapper dhclient djvu dosfstools dri drm dts dvd dvdr eds eix emboss encode evo exif extensions extras faac fam ffmpeg firefox fixlafiles flac fonts fortran freerdp ftp gconf gdbm gdm gdu gecko geoip geoloc gif gimp git gmail gnome gnome-keyring gnome-online-accounts gnome-shell gnutls gpg gpm grub gstreamer gtk gtk3 hddtemp hpcups icons iconv id3tag introspection ipod ipv6 ipython java jpeg jpeg2k lame laptop lastfm latex lcms ldap libnotify lm_sensors mad matroska mercurial mmx mng modules mp3 mp4 mpeg mpg123 mtp mudflap multilib nautilus ncurses networkmanager nls nmap notebook nowlistening nptl nptlonly nsplugin ntfs ntfsprogs ntp ogg opengl openmp openvpn pam pango pcre pdf pep8 pm-utils png policykit ppds pppd publishers pulseaudio python python2 qt3support qt4 rar readline ru-dv ru-g ru-i ru-k samba science sdl sendto sensord session skins slp smbi socialweb spell sse sse2 sse4 sse4.1 sse4.2 sse4_1 ssl ssse3 startup-notification subversion sudo svg symlink sysfs syslog tcpd terminal tiff transmission truetype udev unicode usb v4l vim vim-syntax virtualbox vlc vorbis wav webphoto wifi wxwidgets x264 xcb xinerama xml xorg xulrunner xv xvid youtube zip zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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" 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 ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel nvidia fbdev v41 vesa vga" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Dmitry K 2012-04-16 17:53:46 UTC
Created attachment 309163 [details]
emerge -pqv =mail-client/evolution-3.2.3
Comment 2 Dmitry K 2012-04-16 17:54:17 UTC
Created attachment 309165 [details]
Build Log
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-04-16 18:17:37 UTC
Fixed in cvs, thanks for reporting.

>  16 Apr 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
>  evolution-2.32.3-r1.ebuild, +files/evolution-2.32.3-g_thread_init.patch,
>  evolution-3.2.3.ebuild, +files/evolution-3.2.3-g_thread_init.patch:
>  Add another glib-2.32 fix, thanks to Yaw_e and Dmitry K (bug #412239).
Comment 4 Dmitry K 2012-04-16 19:25:08 UTC
Now build fails in:
evolution_backup-backup.o: In function `main':
backup.c:(.text+0x11fb): undefined reference to `g_thread_init'
Comment 5 Dmitry K 2012-04-16 19:31:18 UTC
Created attachment 309175 [details]
Build Log backup.c:(.text+0x11fb): undefined reference to `g_thread_init'
Comment 6 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-04-20 05:54:35 UTC
(In reply to comment #4)
You are right, I somehow missed that. Fixed in 3.2.3 and 3.2.3-r1.

>*evolution-3.2.3-r1 (20 Apr 2012)
>
>  20 Apr 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
>  -evolution-3.2.2.ebuild, +evolution-3.2.3-r1.ebuild,
>  files/evolution-3.2.3-g_thread_init.patch,
>  +files/evolution-3.2.3-gtkhtml-4.4-linking.patch:
>  Improve glib-2.32 fix (bug #412239, thanks to Dmitry K). Fix crash with
>  gtkhtml-4.4. Drop old.