Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127842 - x11-libs/cairo-1.0.4 failed to compile
Summary: x11-libs/cairo-1.0.4 failed to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
: 127843 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-28 04:20 UTC by Sawk
Modified: 2006-03-28 05:23 UTC (History)
3 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 Sawk 2006-03-28 04:20:46 UTC
cairo-glitz-surface.c: In function `_cairo_glitz_surface_get_image':
cairo-glitz-surface.c:152: error: structure has no member named `type'
cairo-glitz-surface.c:152: error: `GLITZ_FORMAT_TYPE_COLOR' undeclared (first use in this function)
cairo-glitz-surface.c:152: error: (Each undeclared identifier is reported only once
cairo-glitz-surface.c:152: error: for each function it appears in.)
cairo-glitz-surface.c: In function `_cairo_glitz_pattern_acquire_surface':
cairo-glitz-surface.c:501: warning: braces around scalar initializer
cairo-glitz-surface.c:501: warning: (near initialization for `format.fourcc')
cairo-glitz-surface.c:503: warning: excess elements in scalar initializer
cairo-glitz-surface.c:503: warning: (near initialization for `format.fourcc')
cairo-glitz-surface.c:504: warning: excess elements in scalar initializer
cairo-glitz-surface.c:504: warning: (near initialization for `format.fourcc')
cairo-glitz-surface.c:505: warning: excess elements in scalar initializer
cairo-glitz-surface.c:505: warning: (near initialization for `format.fourcc')
cairo-glitz-surface.c:507: warning: excess elements in scalar initializer
cairo-glitz-surface.c:507: warning: (near initialization for `format.fourcc')
cairo-glitz-surface.c:508: warning: missing braces around initializer
cairo-glitz-surface.c:508: warning: (near initialization for `format.masks')
make[2]: *** [cairo-glitz-surface.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/cairo-1.0.4/work/cairo-1.0.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/cairo-1.0.4/work/cairo-1.0.4'
make: *** [all] Error 2

!!! ERROR: x11-libs/cairo-1.0.4 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_compile
  ebuild.sh, line 923:   Called src_compile
  cairo-1.0.4.ebuild, line 40:   Called die
-------------------------------------------------------

Portage 2.1_pre7-r2 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.4-r1, 2.6.15-gentoo-r7 i686)
=================================================================
System uname: 2.6.15-gentoo-r7 i686 Intel(R) Celeron(R) CPU 2.60GHz
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-k"
FEATURES="autoconfig ccache confcache distcc distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="it_IT@euro.ISO-8859-1"
LC_ALL="it_IT@euro"
LDFLAGS="-Wl,-z,now"
LINGUAS="it"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/xgl-coffee"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac alsa apm avi bash-completion berkdb bitmap-fonts cairo cdparanoia crypt cups curl custom-cflags dga directfb dri dvb dvd dvdr eds emboss encode fbcon ffmpeg flac foomaticdb fortran gdbm gif glitz gpm gstreamer gtk gtk2 i8x0 imlib infopipe java javascript jce jpeg libg++ libsamplerate libwww live logitech-mouse lzo mad matroska mikmod mmx motif mozdevelop moznocompose moznoirc moznomail mozsvg mp3 mpeg musepack musicbrainz mythtv ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl openssh oss pam pdflib perl png pop python quicktime readline real rtc sdl sndfile speex spell sse sse2 ssl switch_all_desktops tcpd tga theora timidity truetype truetype-fonts type1-fonts usb vcd vorbis win32codecs xinerama xml2 xmms xprint xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_joystick kernel_linux linguas_it userland_GNU video_cards_nvidia"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-28 04:25:36 UTC
*** Bug 127843 has been marked as a duplicate of this bug. ***
Comment 2 foser (RETIRED) gentoo-dev 2006-03-28 05:13:15 UTC
Judging from your overlay PORTDIR_OVERLAY="/usr/local/xgl-coffee" you're using a glitz not in the tree or one that is in p.mask. Can you specify your glitz version ?
Comment 3 foser (RETIRED) gentoo-dev 2006-03-28 05:23:11 UTC
By now I confirmed it is indeed unstable glitz versions that cause this and to safe ppl from themselves I'll be locking the dep to 0.4.

Note however that glitz support in cairo 1.0 serves no purpose that I am aware of in the tree and as such there is little reason to build with it enabled.