Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 227683 - dev-ruby/ruby-glib2-0.16.0-r2 - glib-enum-types.c:219: error: syntax error before ',' token
Summary: dev-ruby/ruby-glib2-0.16.0-r2 - glib-enum-types.c:219: error: syntax error be...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-17 04:08 UTC by A. Person
Modified: 2008-08-02 08:07 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description A. Person 2008-06-17 04:08:23 UTC
gcc -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC -DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN -DHAVE_G_THREAD_INIT -DHAVE_G_MAIN_DEPTH -DHAVE_G_LISTENV -DHAVE_RB_CHECK_ARRAY_TYPE -DRUBY_GLIB2_COMPILATION  -I/usr/lib64/ruby/site_ruby/1.8/x86_64-linux  -fPIC -O2 -march=nocona -pipe -fforce-addr -fno-strict-aliasing  -fPIC -Wall -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include    -c glib-enum-types.c
glib-enum-types.c: In function `g_markup_collect_type_get_type':
glib-enum-types.c:219: error: syntax error before ',' token
glib-enum-types.c:220: error: syntax error before ',' token
glib-enum-types.c:221: error: syntax error before ',' token
make[1]: *** [glib-enum-types.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-ruby/ruby-glib2-0.16.0-r2/work/ruby-gnome2-all-0.16.0/glib/src'
make: *** [all] Error 2

# emerge --info
Portage 2.1.4.4 (hardened/amd64/multilib, gcc-3.4.6, glibc-2.6.1-r0, 2.6.25-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r4 x86_64 Intel(R) Pentium(R) Dual CPU T2310 @ 1.46GHz
Timestamp of tree: Sun, 15 Jun 2008 20:45:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
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="-O2 -march=nocona -pipe -fomit-frame-pointer -fforce-addr"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg 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_US"
MAKEOPTS="-j1"
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/gnome /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 acl acpi alsa amd64 bash-completion berkdb bzip2 cairo caps cdaudio cdr cracklib crypt cups dbus dhcp divx dri dts dvd encode exif ffmpeg firefox flac gd gif gimp gmedia gmp gnutls gpm grammar gsm gtk gtkhtml hal hardened hddtemp hpn imap java jpeg justify lcms lm_sensors mad madwifi matroska md5sum midi mng mono mp3 mpeg musicbrainz ncurses new-login nptl nptlonly nsplugin offensive ogg opengl oss pam pdf perl pic png python qt3support quicktime quotes readline realmedia regex rt73usb rtc sdl session speex spell sse sse2 ssl startup-notification tagwriting tcpd thesaurus tiff truetype unicode urandom vim-with-x wmf wmp wxwindows x264 xcomposite xml xorg xprint xscreensaver xv 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 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Reproducible: Always
Comment 1 Hans de Graaff gentoo-dev Security 2008-06-17 05:04:10 UTC

*** This bug has been marked as a duplicate of bug 213393 ***
Comment 2 A. Person 2008-06-17 06:28:01 UTC
It looks like a fix to the other bug was committed months ago but I'm having this problem with an up-to-date system.  How can I fix this?
Comment 3 Hans de Graaff gentoo-dev Security 2008-06-17 06:41:25 UTC
You are mixing stable and testing files. You are using dev-libs/glib from testing and ruby-glib2 from stable. That doesn't work.

When dev-libs/glib is going to be moved to stable then ruby-glib2 will also become stable, see #227679.

You can solve this now by downgrading to a stable version of glib, or by also unmasking ruby-glib2.
Comment 4 A. Person 2008-06-17 15:34:22 UTC
Got it, thank you.
Comment 5 Balint Dobai-Pataky 2008-08-02 07:44:27 UTC
i have just hit this bug with current stable on a new system:
dev-libs/glib-2.16.3-r1
dev-ruby/ruby-glib2-0.16.0-r3

tried dev-libs/glib-2.16.5, same results.
gcc-config -l
 [1] i686-pc-linux-gnu-4.1.2
Comment 6 Balint Dobai-Pataky 2008-08-02 08:07:07 UTC
oops.
that was with dev-lang/ruby-1.9.0.0 only
after installing dev-lang/ruby-1.8.6_p114 dev-ruby/ruby-glib2-0.16.0-r3 emerged.