Gentoo Archives: gentoo-user

From: Daniel Ibn Zayd <daniel.ibnzayd@××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] gtk+ [error: conflicting types for 'Cursor' on emerge]
Date: Mon, 23 Apr 2012 15:11:50
Message-Id: 20120423180920939967.17aa1c35@inquisitor.com
1 I've been waiting for pango 1.30 to become available and this morning on syncing noticed that everything was emerge-able (28 or so items), so I updated....last on that list were gtk+ and image magick.
2
3 Everything went fine until I got to gtk+; it's giving me the following error. I've tried looking up the error, and see something about conflicting X11 and Darwin....but I can't quite figure out how to go about fixing this from within portage....Any help is appreciated!
4
5 _______________
6
7 In file included from /opt/Gentoo/usr/include/X11/Xlib.h:44,
8 from ../gdk/x11/gdkx.h:30,
9 from gtkapplication.c:48:
10 /opt/Gentoo/usr/include/X11/X.h:103: error: conflicting types for 'Cursor'
11 /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:278: error: previous declaration of 'Cursor' was here
12 gtkapplication.c: In function 'gtk_application_startup_quartz':
13 gtkapplication.c:376: error: expected expression before '[' token
14 make[4]: *** [libgtk_3_la-gtkapplication.lo] Error 1
15 make[4]: Leaving directory `/opt/Gentoo/var/tmp/portage/x11-libs/gtk+-3.4.1/work/gtk+-3.4.1/gtk'
16 make[3]: *** [all-recursive] Error 1
17 make[3]: Leaving directory `/opt/Gentoo/var/tmp/portage/x11-libs/gtk+-3.4.1/work/gtk+-3.4.1/gtk'
18 make[2]: *** [all] Error 2
19 make[2]: Leaving directory `/opt/Gentoo/var/tmp/portage/x11-libs/gtk+-3.4.1/work/gtk+-3.4.1/gtk'
20 make[1]: *** [all-recursive] Error 1
21 make[1]: Leaving directory `/opt/Gentoo/var/tmp/portage/x11-libs/gtk+-3.4.1/work/gtk+-3.4.1'
22 make: *** [all] Error 2
23 * ERROR: x11-libs/gtk+-3.4.1 failed (compile phase):
24 * emake failed
25
26 _______________
27
28
29 Below is my emerge info file:
30
31 danielibnzayd@DIZ ~ $ emerge --info =x11-libs/gtk+-3.4.1
32 Portage 2.2.01.20389-prefix (prefix/darwin/macos/10.4/ppc, gcc-4.2.1, unavailable, 8.11.0 Power Macintosh)
33 =================================================================
34 System Settings
35 =================================================================
36 System uname: Darwin-8.11.0-Power_Macintosh-powerpc-32bit
37 Timestamp of tree: Mon, 23 Apr 2012 06:21:05 +0000
38 distcc 2.18.4-Apple.1 powerpc-apple-darwin8.0 (protocols 1 and 2) (default port 3632) [disabled]
39 app-shells/bash: 4.2_p20::gentoo_prefix
40 dev-lang/python: 2.7.2-r3::gentoo_prefix
41 dev-util/pkgconfig: 0.26::gentoo_prefix
42 sys-devel/autoconf: 2.68::gentoo_prefix
43 sys-devel/automake: 1.11.5::gentoo_prefix
44 sys-devel/gcc-config: 1.5-r2::gentoo_prefix
45 sys-devel/libtool: 2.4.2::gentoo_prefix
46 sys-devel/make: 3.82::gentoo_prefix
47 Repositories: gentoo_prefix
48 Installed sets:
49 ACCEPT_KEYWORDS="~ppc-macos"
50 ACCEPT_LICENSE="* -@EULA"
51 CBUILD="powerpc-apple-darwin8"
52 CFLAGS="-mcpu=G4 -O2 -mtune=G4 -pipe"
53 CHOST="powerpc-apple-darwin8"
54 CONFIG_PROTECT="/etc"
55 CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/portage /etc/revdep-rebuild /etc/terminfo"
56 CXXFLAGS="-mcpu=G4 -O2 -mtune=G4 -pipe"
57 DISTDIR="/opt/Gentoo/usr/portage/distfiles"
58 FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles force-prefix news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
59 FFLAGS=""
60 GENTOO_MIRRORS="http://distfiles.gentoo.org"
61 LDFLAGS="-Wl,-dead_strip_dylibs"
62 PKGDIR="/opt/Gentoo/usr/portage/packages"
63 PORTAGE_CONFIGROOT="/opt/Gentoo/"
64 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
65 PORTAGE_TMPDIR="/opt/Gentoo/var/tmp"
66 PORTDIR="/opt/Gentoo/usr/portage"
67 PORTDIR_OVERLAY=""
68 SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
69 USE="X animgif aqua blksha1 bzip2 coreaudio corefonts cracklib cramfs curl cxx djvu fftw fontconfig gif git glib graphviz gs gtk hdri hpn jbig jit jpeg jpeg2k lcms lzma modules ncurses net objc objc++ openmp pango perl png ppc-macos prefix readline recursion-limit ssl svg tiff truetype wmf xml xpm zlib" 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 sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="Darwin" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin
70 garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" 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"
71 Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

Replies