Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 386495 - gnome-extra/libgsf-1.14.20 USE=gtk - /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:260:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gchar’
Summary: gnome-extra/libgsf-1.14.20 USE=gtk - /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/g...
Status: RESOLVED TEST-REQUEST
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: 2011-10-09 05:45 UTC by jms
Modified: 2011-11-22 01:22 UTC (History)
0 users

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


Attachments
build log (gnome-extra:libgsf-1.14.20:20111009-054146.log,18.57 KB, text/plain)
2011-10-09 05:46 UTC, jms
Details
environment (environment,236.68 KB, text/plain)
2011-10-09 05:47 UTC, jms
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jms 2011-10-09 05:45:53 UTC
I start to wonder if it's just me....

gnome-extra/libgsf-1.14.20 fails to compile with USE=gtk

Reproducible: Always

Steps to Reproduce:
gnome-extra/libgsf-1.14.21. emerge with USE=gtk
2.
3.
Actual Results:  
fails to compile

Expected Results:  
compile

it will compile fine with use=-gtk
[ebuild   R    ] gnome-extra/libgsf-1.14.20  USE="bzip2 gtk* thumbnail -doc -gnome -python" 0 kB

emerge --info
Portage 2.1.10.11 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.12.2-r0, 3.0.6-gentoo-jms-30.6-splash x86_64)
=================================================================
System uname: Linux-3.0.6-gentoo-jms-30.6-splash-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.0.3
Timestamp of tree: Sun, 09 Oct 2011 05:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/ccache:          2.4-r9
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
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-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo sunrise gamerlay-stable x-jms
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
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.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache collision-protect distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB en es fr en"
PKGDIR="/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="/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/gamerlay /usr/local/portage/jms"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa amd64 ao apm autoipd avahi bash-completion berkdb bluetooth branding bzip2 cairo cdaudio cdda cddb cdparanoia cdr cjk cli consolekit cracklib crypt css cups cxx dbus dga dhcpcd directfb dri dts dv dvb dvd dvdnav dvdr emboss encode evdev exif fam fbcon ffmpeg firefox flac fontconfig foomaticdb fortran ftp gdbm gdu gif gimp gnutls gphoto2 gpm gstreamer gtk gzip hdri iconv icq icu ieee1394 imagemagick imap imlib ipod ipv6 jabber jpeg jpeg2k kde kipi kontact lame laptop lastfm lcms ldap libcaca libnotify libwww lm_sensor lzma lzo mad maildir matroska mdnsresponder-compat memlimit mhash mikmod mime mmap mmx mng modules motif mozilla mp3 mp4 mpeg mplayer msn mtp mudflap multilib musepack musicbrainz mysql ncurse ncurses networkmanager nls nptl nptlonly nsplugin nvidia ofx ogg openal openexr opengl openmp oss pam pango pcmcia pcre pdf phonon php plasma png policykit ppds pppd projectm pulseaudio qt3support qt4 quicktime raw readline resolvconf scanner sdl semantic-desktop session smp speex spell sse sse2 ssl ssse3 startup-notification svg sysfs syslog taglib tcpd theora thumbnail tidy tiff truetype udev unicode usb v4l v4l2 vcd vdpau video vim-syntax vorbis webkit wifi x x264 xattr xcb xcomposite xine xinerama xml xorg xosd xpm xscreesaver xulrunner xv xvid xvmc yahoo zip 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 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="plymouth" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en es fr en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" 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, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 jms 2011-10-09 05:46:33 UTC
Created attachment 289297 [details]
build log
Comment 2 jms 2011-10-09 05:47:19 UTC
Created attachment 289299 [details]
environment
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2011-10-09 08:49:56 UTC
(In reply to comment #0)
> I start to wonder if it's just me....
> 
> gnome-extra/libgsf-1.14.20 fails to compile with USE=gtk

Are you unmasking pkgs like glib, pango, gtk+ in /etc/portage/package.keywords that might cause this?

Then, have you tried unmasking also libgsf-1.14.21? This might already be fixed.
Comment 4 jms 2011-10-09 14:41:17 UTC
thanks to have a look at this.

> Are you unmasking pkgs like glib, pango, gtk+ in /etc/portage/package.keywords
> that might cause this?

note: my system is manly kde 
/etc/portage/package.use/temporal was to be able to compile avahi and libgsf

grep -r gtk   /etc/portage/package*
/etc/portage/package.keywords/gtk-gnutella:>=net-p2p/gtk-gnutella-0.96.6
/etc/portage/package.keywords/divers.keywords:>=app-emulation/emul-linux-x86-gtklibs-20100409
/etc/portage/package.keywords/divers.keywords:>=dev-util/gtk-doc-am-1.13
/etc/portage/package.use/temporal:net-dns/avahi -gtk
/etc/portage/package.use/temporal:gnome-extra/libgsf -gtk
/etc/portage/package.use/other.use:sys-devel/gcc -gtk
/etc/portage/package.use/other.use:media-video/mplayer -gtk
/etc/portage/package.use/auth:sys-auth/polkit -gtk

grep -r glib   /etc/portage/package*
/etc/portage/package.keywords/amarok:#>=media-libs/taglib-extras-0.1
/etc/portage/package.keywords/amarok:>=media-libs/taglib-1.6
/etc/portage/package.keywords/divers.keywords:>=dev-libs/glib-2.24.1-r1


pango is stable
[ebuild   R    ] x11-libs/pango-1.28.4  USE="X introspection -debug -doc -test" 0 kB

before having  this problem I run into Bug 386493 (avahi and use =gtk)
Bug 386493 
in this bug (Bug 386493 )it is suggested to upgrade to pango-1.29

I'll try this

> 
> Then, have you tried unmasking also libgsf-1.14.21? This might already be
> fixed.

I ll try this if pango-1.29 doesn't work
Comment 5 jms 2011-10-09 14:56:43 UTC
pango-1.29 is not in gentoo main repository I'd rather stick with main repository
Comment 6 jms 2011-10-09 15:19:37 UTC
> 
> Then, have you tried unmasking also libgsf-1.14.21? This might already be
> fixed.
libgsf-1.14.21 doesn't compile either


make[2]: Entering directory `/var/tmp/portage/gnome-extra/libgsf-1.14.21/work/libgsf-1.14.21/thumbnailer'
  CC     main.o
In file included from /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:35:0,
                 from main.c:38:
/usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:260:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gchar’
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-extra/libgsf-1.14.21/work/libgsf-1.14.21/thumbnailer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-extra/libgsf-1.14.21/work/libgsf-1.14.21'
make: *** [all] Error 2
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2011-10-18 15:08:31 UTC
Probably fixed with bug #385699?
Comment 8 Pacho Ramos gentoo-dev 2011-10-18 18:02:04 UTC
I cannot reproduce at all. Did you updated to libpng-1.5 properly? (as told in news item, re-emerging gdk-pixbuf and cairo also)
Comment 9 Alexandre Rostovtsev (RETIRED) gentoo-dev 2011-10-18 18:55:12 UTC
(In reply to comment #6)
> /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:260:16: error:
> expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gchar’
> make[2]: *** [main.o] Error 1

I believe this issue has been fixed in gdk-pixbuf-2.24. Please update your x11-libs/gdk-pixbuf.
Comment 10 Pacho Ramos gentoo-dev 2011-11-22 01:22:52 UTC
Please retry with a fully updated system