Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 395777 - [gnome overlay] gnome-extra/evolution-data-server-3.2.2 with dev-libs/glib-2.31.6::gnome - e-data-server-module.c:(.text+0x18f): undefined reference to `g_module_close'
Summary: [gnome overlay] gnome-extra/evolution-data-server-3.2.2 with dev-libs/glib-2....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-23 07:26 UTC by Oschtan
Modified: 2012-01-06 06:43 UTC (History)
0 users

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


Attachments
build.log (build.log,58.14 KB, text/plain)
2011-12-23 07:27 UTC, Oschtan
Details
evolution-data-server-3.2.2-r1.log (evolution-data-server-3.2.2-r1.log,402.28 KB, text/plain)
2012-01-04 16:35 UTC, iGentoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oschtan 2011-12-23 07:26:23 UTC
/bin/sh ../libtool --silent --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -fno-strict-aliasing -I.. -DG_LOG_DOMAIN=\"e-data-server\" -I/usr/include  -pthread -DORBIT2=1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0     -I/usr/include/db4.8  -O2 -pipe -march=native -mtune=native -c -o libebackend_1_2_la-e-file-cache.lo `test -f 'e-file-cache.c' || echo './'`e-file-cache.c
e-sqlite3-vfs.c: В функции «sync_push_request»:
e-sqlite3-vfs.c:95:2: предупреждение: «g_static_rec_mutex_lock» is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:173): Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations]
e-sqlite3-vfs.c:107:2: предупреждение: «g_static_rec_mutex_unlock» is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:179): Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations]
e-sqlite3-vfs.c: В функции «sync_push_request_timeout»:
e-sqlite3-vfs.c:130:2: предупреждение: «g_static_rec_mutex_lock» is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:173): Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations]
e-sqlite3-vfs.c:137:2: предупреждение: «g_static_rec_mutex_unlock» is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:179): Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations]
e-sqlite3-vfs.c: В функции «e_sqlite3_file_xClose»:
e-sqlite3-vfs.c:198:2: предупреждение: «g_static_rec_mutex_lock» is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:173): Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations]
e-sqlite3-vfs.c:206:2: предупреждение: «g_static_rec_mutex_unlock» is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:179): Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations]
e-sqlite3-vfs.c:219:2: предупреждение: «g_static_rec_mutex_free» is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:189): Use 'g_rec_mutex_free' instead [-Wdeprecated-declarations]
e-sqlite3-vfs.c: В функции «e_sqlite3_file_xSync»:
e-sqlite3-vfs.c:235:2: предупреждение: «g_static_rec_mutex_lock» is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:173): Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations]
e-sqlite3-vfs.c:249:2: предупреждение: «g_static_rec_mutex_unlock» is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:179): Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations]
e-sqlite3-vfs.c: В функции «e_sqlite3_vfs_xOpen»:
e-sqlite3-vfs.c:278:2: предупреждение: «g_static_rec_mutex_init» is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:170): Use 'g_rec_mutex_init' instead [-Wdeprecated-declarations]
e-sqlite3-vfs.c:280:2: предупреждение: «g_static_rec_mutex_lock» is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:173): Use 'g_rec_mutex_lock' instead [-Wdeprecated-declarations]
e-sqlite3-vfs.c:313:2: предупреждение: «g_static_rec_mutex_unlock» is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:179): Use 'g_rec_mutex_unlock' instead [-Wdeprecated-declarations]
cp libebackend.pc libebackend-1.2.pc
  CCLD   libebackend-1.2.la
.libs/libebackend_1_2_la-e-data-server-module.o: In function `e_data_server_module_unload':
e-data-server-module.c:(.text+0x18f): undefined reference to `g_module_close'
.libs/libebackend_1_2_la-e-data-server-module.o: In function `e_data_server_module_load':
e-data-server-module.c:(.text+0x1d6): undefined reference to `g_module_open'
e-data-server-module.c:(.text+0x1f6): undefined reference to `g_module_symbol'
e-data-server-module.c:(.text+0x20e): undefined reference to `g_module_symbol'
e-data-server-module.c:(.text+0x217): undefined reference to `g_module_error'
e-data-server-module.c:(.text+0x23d): undefined reference to `g_module_close'
e-data-server-module.c:(.text+0x260): undefined reference to `g_module_symbol'
e-data-server-module.c:(.text+0x279): undefined reference to `g_module_error'
collect2: ld returned 1 exit status
make[2]: *** [libebackend-1.2.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-extra/evolution-data-server-3.2.2/work/evolution-data-server-3.2.2/libebackend'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-extra/evolution-data-server-3.2.2/work/evolution-data-server-3.2.2'
make: *** [all] Error 2
 * ERROR: gnome-extra/evolution-data-server-3.2.2 failed (compile phase):
 *   emake failed

Reproducible: Always




Portage 2.2.0_alpha81 (default/linux/amd64/10.0, gcc-4.6.2, glibc-2.14.1-r1, 3.1.0-gentoo x86_64)
=================================================================
System uname: Linux-3.1.0-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-gentoo-2.1
Timestamp of tree: Fri, 23 Dec 2011 05:15:01 +0000
ccache version 3.1.6 [enabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.7
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1-r1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r1
Repositories: gentoo overlays-oschtan
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL googleearth AdobeFlash-10.1 Oracle-BCLA-JavaSE google-chrome"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
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/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -mtune=native"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache collision-protect distlocks ebuild-locks fixlafiles metadata-transfer news nodoc noinfo noman parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS=""
GENTOO_MIRRORS="http://ash.catalysis.ru/gentoo http://trumpetti.atm.tut.fi/gentoo http://oschtan.academ.org"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://linux.rz.ruhr-uni-bochum.de/gentoo-portage"
USE="7zip X a52 aac aalib acl acpi additions alsa amd64 amr ao apm applet artworkextra audiofile bdf berkdb bzip2 cairo cdr cjk cli consolekit cracklib crypt cups cxx dbus demos divx djvu dri drm dts dvd dvdr dvdread enca exif faac fat fbcondecor ffmpeg flac foomaticdb fortran ftp fuse gallium gd gdu gecko gif gles glitz gnome-keyring gpm gstreamer gtk gtk3 gudev hpijs icons iconv icq imlib introspection java javascript jbig jpeg jpeg2k lame lcms libkms libnotify lzma mad mime mjpeg mmx mng modules motif mp2 mp3 mp4 mpeg mplayer mudflap multilib multitarget natspec nautilus ncurses nls npp nptl nptlonly nsplugin oav objc objc++ objc-gc ogg openexr opengl openmp oscar pam pcre pdf perl png policykit povray ppds pppd pulse pulseaudio python qt3 rar readline reiserfs resolvconf rtc samba sdl session sndfile socialweb sound source spell spl sqlite sqlite3 srt sse sse2 ssl ssse3 startup-notification suid svg symlink sysfs syslog system-wide tcpd theora tiff truetype udev unicode usb userlocales vaapi vcd vorbis vpx wma wmf wmp x264 x264-svn-encoder xattr xcb xml xorg xpm xscreensaver xv xvid zip zlib" ALSA_CARDS="intel-hda" 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 stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FOO2ZJS_DEVICES="hpp1006" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="plustek" USERLAND="GNU" VIDEO_CARDS="intel" 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
Comment 1 Oschtan 2011-12-23 07:27:10 UTC
Created attachment 296725 [details]
build.log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-12-23 17:11:29 UTC
Won't the GNOME project start porting all their software to the new glib in due time? In other words, is it sensible to compile current/stable releases against the latest development version of a library that is the backbone of a huge software project?
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-12-30 14:07:35 UTC
Yes, please don't use development releases with stable released packages. Check upstream policy for what that means in terms of version numbers.
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-12-31 04:55:19 UTC
(In reply to comment #3)
> Yes, please don't use development releases with stable released packages. Check
> upstream policy for what that means in terms of version numbers.

That is true for the most part. However, it is a good idea to keep gnome applications compatible with the glib/pango/gtk release from the next major version, since glib and gtk are usually added to portage and unmasked some weeks before the rest of the corresponding gnome release.

Patching things now will save some pain next spring, when glib-2.32.x will be released and then added to portage. Therefore, fixed this in evolution-data-server-3.2.2-r1.

>*evolution-data-server-3.2.2-r1 (31 Dec 2011)
> 
>  31 Dec 2011; Alexandre Rostovtsev <tetromino@gentoo.org>
>  +evolution-data-server-3.2.2-r1.ebuild,
>  +files/evolution-data-server-3.2.2-gmodule-explicit.patch,
>  +files/evolution-data-server-3.2.2-libical-timezones.patch,
>  +files/evolution-data-server-3.2.2-new-folder-imap.patch,
>  +files/evolution-data-server-3.2.2-retrieval_done-crash.patch:
>  Add upstream patches to fix several bugs, including a crash. Also, fix
>  linking with glib-2.31 (bug #395777, thanks to Oschtan for reporting).
Comment 5 iGentoo 2012-01-04 16:35:21 UTC
Created attachment 297947 [details]
evolution-data-server-3.2.2-r1.log
Comment 6 iGentoo 2012-01-04 16:37:55 UTC
Portage 2.2.0_alpha84 (default/linux/amd64/10.0, gcc-4.6.2, glibc-2.14.1-r2, 3.1.7-custom x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.1.7-custom-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9300_@_2.50GHz-with-gentoo-2.1
Timestamp of tree: Wed, 04 Jan 2012 15:30:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.6 [disabled]
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/ccache:          3.1.6
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.7
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.2
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.2::custom
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2::custom
Repositories: gentoo gnome kde qting-edge systemd custom
Installed sets: @custom-initramfs-rebuild, @custom-protected, @custom-selibs-rebuild, @kdebase-4.8
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Wall -Wextra -march=native -pipe -O3 -fno-tree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
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/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-Wall -Wextra -march=native -pipe -O3 -fno-tree-vectorize"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox selinux sesandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS=""
GENTOO_MIRRORS="http://mirrors.163.com/gentoo http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--sort-section=alignment"
LINGUAS="en en_US zh zh_CN"
MAKEOPTS="V=1 -j10"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-9ef"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/gnome /var/lib/layman/kde /var/lib/layman/qting-edge /var/lib/layman/systemd /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 audit bash-completion berkdb bzip2 c++0x cairo caps cli cracklib crypt cxx dbus dri gdbm gmp gnome gpm gtk gtk3 hardened iconv ipv6 jpeg jpeg2k mmx modules mudflap multilib ncurses nls nptl nptlonly opengl openmp pam pcre png pppd pulseaudio qt4 readline selinux session sse sse2 ssl svg sysfs tcpd threads tiff unicode vim-syntax xattr xinetd xorg zlib" ALSA_CARDS="hda-intel" 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 stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="btrfs caps dmsquash-live gensplash livenet lvm nbd nfs plymouth 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US zh zh_CN" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-libs/glib-2.31.6 was built with the following:
USE="fam (multilib) selinux static-libs xattr -debug -doc -systemtap -test -utils"


gnome-extra/evolution-data-server-3.3.3 was built with the following:
USE="gnome-online-accounts introspection ipv6 (multilib) weather -doc -kerberos -ldap -test -vala"
Comment 7 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-01-06 03:19:23 UTC
(In reply to comment #5)
> Created attachment 297947 [details]
> evolution-data-server-3.2.2-r1.log

Reopening...
Comment 8 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-01-06 06:43:43 UTC
Hopefully this is the last of the glib-2.31 linking issues...

>  06 Jan 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
>  evolution-data-server-3.2.2-r1.ebuild,
>  +files/evolution-data-server-3.2.2-g_thread_init.patch:
>  Fix another glib-2.31 linking problem (bug #395777 comment 5, thanks to
>  Alphat-PC for reporting).