Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 347605 - x11-libs/cairo-1.10.0-r3 cairo.h:1976: error: comma at end of enumerator list
Summary: x11-libs/cairo-1.10.0-r3 cairo.h:1976: error: comma at end of enumerator list
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL: http://bugs.freedesktop.org/show_bug....
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2010-12-02 21:26 UTC by Richard Hering
Modified: 2011-01-19 22:52 UTC (History)
2 users (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 Richard Hering 2010-12-02 21:26:52 UTC
I can't compile e.g. mysql-workbanch because of failure: cairo.h:1976: error: comma at end of enumerator list

here is a fix: http://bugs.freedesktop.org/show_bug.cgi?id=30115
please include in Gentoo

my system-info:

[I] x11-libs/cairo
     Installed versions:  1.10.0-r3!t(21:34:57 28.11.2010)(X opengl svg xcb -aqua -debug -directfb -doc -drm -gallium -openvg -qt4 -static-libs)
     Homepage:            http://cairographics.org/
     Description:         A vector graphics library with cross-device output support

Portage 2.1.9.25 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.11.2-r3, 2.6.35-zen2 i686)
=================================================================
System uname: Linux-2.6.35-zen2-i686-AMD_Phenom-tm-_8450_Triple-Core_Processor-with-gentoo-2.0.1
Timestamp of tree: Wed, 01 Dec 2010 23:30:23 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11-r1
dev-lang/python:     2.4.6, 2.5.4-r4, 2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.6
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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="-O2 -march=athlon64 -pipe -fomit-frame-pointer -D__STDC_CONSTANT_MACROS"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --keep-going"
FEATURES="assume-digests binpkg-logs candy distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j6"
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/portage/local/local-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib abiword acl acpi additions alisp alsa amr ao applet artworkextra audio audiofile avahi avi bash-completion beagle berkdb bidi binfilter bitmap-fonts bogofilter branding bzip2 cairo cdaudio cdda cddb cdinstall cdio cdparanoia cdr cli consolekit cpudetection cracklib crypt css ctype cups curl cxx d dba dbus desktop device-mapper dio disablexmb disk-partition dmx dri dts dvd dvdnav dvdr dvdread dvipdfm eds emboss emerald emovix encode epiphany equalizer evo exif expat fam fastbuild faxonly fbcon fbcondecor fbsplash ffmpeg firefox flac font-server foomaticdb force-cgi-redirect fortran ftp fuse gaim gd gdbm gdl gedit gif gimp glitz glut gmplayer gnome gnome-keyring gphoto2 gpm gstreamer gtk hal hbci hddtemp iconv icq id3tag idn imagemagick imap java jpeg key-screen kqemu lame latex lcms libburn libg++ libnotify libsexy libwww lirc lm_sensors luatex mad memlimit mikmod mmx mmxext mng modules motif mp3 mp4 mpeg mplayer mudflap multiuser musepack nautilus ncurses network newspr nfs nls nocd normalize nptl nptlonly nvidia ofa offensive ogg openal opengl openmp oscar oss p2p pam pango parport pcf pcre pdf pdflib perl pidgin plugin pmu png policykit portaudio posix pppd prediction python qt3support quicktime readline rtsp ruby samba scanner sdl sensord serpentine session sftp simplexml skins slang soap sockets sound soundtouch sourceview speex spell spl sqlite sse sse2 ssl startup-notification stream streamripper svg symlink sysfs taglib tagwriting tcltk tcpd theora threads tiff tokenizer tools transcode trayicon truetype truetype-fonts twolame type1 type1-fonts udev unicode usb userlocales v4l v4l2 vboxbfe vcd vcdx video videos vlm vorbis wav wavpack webdav-neon webkit win32codecs wininstallers wma wxwindows x264 x86 xcb xcomposite xinerama xml xml2 xorg xosd xpm xprint xrandr xscreensaver xsl xulrunner xv xvid zlib" ALSA_CARDS="emu10k1x" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon samsung 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="keyboard mouse evdev aiptek" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="livedrive_midi atilibusb" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="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, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Reproducible: Always

Steps to Reproduce:




Working for me:

cp -r /usr/portage/x11-libs/cairo /usr/portage/local/local-overlay/x11-libs/
cd /usr/portage/local/local-overlay/x11-libs/cairo
wget http://bugs.freedesktop.org/attachment.cgi?id=38600 -O files/0001-cairo_device_type_t-Remove-the-trailing-comma-from-t.patch

# added patch in ebuild (epatch "${FILESDIR}"/0001-cairo_device_type_t-Remove-the-trailing-comma-from-t.patch)
ebuild cairo-1.10.0-r3.ebuild digest
emerge -1 cairo

emerge mysql-workbench -> success :)
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2011-01-19 22:52:50 UTC
this patch is included in cairo 1.10.2