Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 213434 - orbit fails to compile due to new glib-2.16
Summary: orbit fails to compile due to new glib-2.16
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 225329 (view as bug list)
Depends on:
Blocks: glib-2.16
  Show dependency tree
 
Reported: 2008-03-14 19:55 UTC by Brian McKee
Modified: 2008-06-09 09:35 UTC (History)
1 user (show)

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


Attachments
build.log for orbit (build.log,31.11 KB, text/plain)
2008-03-16 11:41 UTC, Brian McKee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian McKee 2008-03-14 19:55:49 UTC
Similar to: http://bugs.gentoo.org/show_bug.cgi?id=212246

distcc[27418] ERROR: compile /var/tmp/ccache/orbit-idl-.tmp.srim.27414.i on localhost failed
orbit-idl-driver.c: In function 'orbit_idl_tree_fake_ops':
orbit-idl-driver.c:43: error: 'G_GNUC_PRETTY_FUNCTION' undeclared (first use in this function)
orbit-idl-driver.c:43: error: (Each undeclared identifier is reported only once
orbit-idl-driver.c:43: error: for each function it appears in.)
make[3]: *** [orbit-idl-driver.o] Error 1


Reproducible: Always

Steps to Reproduce:
1.emerge orbit
2.
3.




I looked for this bug in bugzilla, didn't find it. Hope this isn't a duplicate.
Comment 1 Mart Raudsepp gentoo-dev 2008-03-15 13:41:42 UTC
What version of orbit are you trying to emerge? Where's the emerge --info?
Comment 2 Mart Raudsepp gentoo-dev 2008-03-15 13:59:40 UTC
orbit-2.14.12, which is stable on all mainstream arches (I've got no clue what arch you are using), works great with glib-2.16. You must be using an older version for some reason. Were you mixing stable and unstable or something at the time?
Regardless, we should fix the older versions, to which I'll get in due course unless someone beats me, so thanks for the report.
Comment 3 Brian McKee 2008-03-15 18:36:18 UTC
I've attempted to emerge both latest versions in portage: gnome-base/orbit-2.14.12 and orbit-2.14.10.ebuild. They both produce the same results.

And you're right, somehow I ended up unmasking glib a long time ago and I'm running this version: dev-libs/glib-2.16.1 

I'll try removing it from keywords and see if that helps.

srim etc # emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-tuxonice-r3 x86_64)
=================================================================
System uname: 2.6.24-tuxonice-r3 x86_64 AMD Turion(tm) 64 X2 Mobile Technology TL-60
Timestamp of tree: Sat, 15 Mar 2008 02:00:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -Os -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -Os -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib ac3 acl acpi aiglx aim alsa amd64 amr arts asf audacious audiofile avi bash-completion berkdb bitmap-fonts bluetooth bzip2 bzlib cairo calendar cdda cddb cdparanoia cdr cli cpudetection cracklib crypt cups custom-cflags dbus divx dri dts dv dvd dvdnav dvdr dvdread eds emacs emboss emerald emovix encode esd evo exif fam fame fbsplash ffmpeg flac fortran ftp gdbm gif glib glibc-omitfp glitz gnome gphoto2 gpm gstreamer gtk hal httpd iconv icq ieee1394 imagemagick imap imlib insecure-savers isdnlog ithreads jabber java javascript jpeg jpeg2k kde kerberos kipi lame ldap lirc live lm_sensors mad matroska midi mikmod mime mjpeg mmx mmxext mng mod mono mov mozbranding mozdom mp2 mp3 mp4 mp4live mpeg mplayer msn mudflap mysql ncurses network nls nptl nptlonly offensive ogg oggvorbis opengl openmp oss pam pcre pdf pdflib perl php player pmu png print python qt3 qt3support quicktime rar rdesktop readline reflection replytolist samba sasl sdl session skins sound spell spl sse sse2 ssl stream svg tcl tcltk tcpd tga theora threads thunderbird tidy tiff tk transparency truetype truetype-fonts type1 type1-fonts unicode usb v4l v4l2 vcd vlm vorbis wifi x264 xcomposite xine xml xorg xpm xprint xscreensaver xulrunner xv xvid xvmc zlib" 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 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard linuxinput mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 4 Brian McKee 2008-03-15 19:02:11 UTC
I went back to glib-2.14.6 and I'm getting this error: emerge --info should be basically the same.

x86_64-pc-linux-gnu-gcc -march=athlon64 -Os -pipe -fomit-frame-pointer -Werror-implicit-function-declaration -o orbit-idl-2 orbit-idl-main.o orbit-idl-driver.o orbit-idl-backend.o orbit-idl-utils.o orbit-idl-c-backend.o orbit-idl-c-stubs.o orbit-idl-c-skels.o orbit-idl-c-headers.o orbit-idl-c-common.o orbit-idl-c-imodule.o orbit-idl-c-skelimpl.o orbit-idl-c-utils.o orbit-idl-c-typecode.o orbit-idl-c-deps.o -Wl,--export-dynamic  /usr/lib64/libIDL-2.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libglib-2.0.so -lm
/usr/lib64/libIDL-2.so: undefined reference to `g_assertion_message_expr'
collect2: ld returned 1 exit status
distcc[24708] ERROR: compile (null) on localhost failed
make[3]: *** [orbit-idl-2] Error 1
Comment 5 Mart Raudsepp gentoo-dev 2008-03-15 22:32:27 UTC
Yes, downgrading glib is a bad idea. You will have to rebuild everything using glib that you built with glib-2.16.
I tried 2.14.12 and it works great with glib-2.16.
From NEWS file of 2.14.12:
+ Fix the build with glib 2.15

We do however need to fix the earlier versions.
I highly suggest to NOT downgrade glib. a) you will have to upgrade it eventually anyway; b) you will have a big mess at your hands with that g_assertion_message

If orbit-2.14.12 truly fails with glib-2.16, then please show the build.log of it as I believe it suggests to attach to the bug report...
Comment 6 Brian McKee 2008-03-16 03:44:02 UTC
You'll find the emerge log here: http://pastebin.com/m366e77ec

emerge --info should be the same as before.

Brian
Comment 7 Rémi Cardona (RETIRED) gentoo-dev 2008-03-16 08:34:53 UTC
Please use the attachment feature of bugzilla rather than pastebin. Or paste it here directly if its not too long.

Thanks
Comment 8 Brian McKee 2008-03-16 11:41:07 UTC
Created attachment 146302 [details]
build.log for orbit
Comment 9 Mart Raudsepp gentoo-dev 2008-03-16 14:07:13 UTC
Ok, the real problem seems to be that you haven't upgraded libIDL to 0.8.10 yet, so it ends up using a IDL_MODULE macro from libIDL that still contains a G_GNUC_FUNCTION in it. That combined with orbit still setting G_DISABLE_DEPRECATED causes this failure. To fix it on your system please upgrade libIDL, and if you already have 0.8.10 then let us know as it must be something different then...
Meanwhile, all versions of orbit should stop setting G_DISABLE_DEPRECATED, even 2.14.12, so that this failure won't happen even with old libIDL.
I suggest trying to see what upgrades you get if you add --deep to your arguments.

Leaving bug open until orbit ebuilds are modified to not pass G_DISABLE_DEPRECATED as that's not future-proof. Will get to filtering those soon.
Comment 10 Brian McKee 2008-03-16 19:13:36 UTC
I always use --deep.

Unmasking (keyword) libIDL and emerge -DNuv world has enabled orbit to compile and install.

Thanks very much for your help.

Brian
Comment 11 Mart Raudsepp gentoo-dev 2008-03-16 21:44:01 UTC
(In reply to comment #10)
> I always use --deep.
> 
> Unmasking (keyword) libIDL and emerge -DNuv world has enabled orbit to compile
> and install.

But libIDL latest version was at the same visibility level (already stable on the same arches than orbit was) than orbit... I see, you are stuck at orbit-2.14.10 in stable, as 2.14.12 is not stbale on amd64 yet and that fails, and trying to upgrade just orbit didn't help, as you needed that for libIDL too. I see.

Anyhow, all orbit versions that remain in portage are now fixed to not pass G_DISABLE_DEPRECATED, so they should work even if libIDL is old.
Comment 12 Raúl Porcel (RETIRED) gentoo-dev 2008-06-09 09:35:19 UTC
*** Bug 225329 has been marked as a duplicate of this bug. ***