Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79640 - cairo-0.3.0 doesn't build with glitz 0.4.0
Summary: cairo-0.3.0 doesn't build with glitz 0.4.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Peter Johanson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 102452
Blocks:
  Show dependency tree
 
Reported: 2005-01-26 13:52 UTC by Michael Cramer
Modified: 2005-08-14 07:09 UTC (History)
12 users (show)

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


Attachments
buildlog (3702-cairo-0.3.0.log,50.11 KB, text/plain)
2005-01-26 13:53 UTC, Michael Cramer
Details
patch to allow cairo compile against glitz-0.4 (cairofix.bz2,282.09 KB, application/octet-stream)
2005-02-07 04:04 UTC, jon jonsson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Cramer 2005-01-26 13:52:52 UTC
Log attached

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Michael Cramer 2005-01-26 13:53:22 UTC
Created attachment 49600 [details]
buildlog
Comment 2 Greg 2005-01-28 03:13:48 UTC
Im having exactly the same trouble too.

emerge --info output:

Portage 2.0.51-r15 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 13 2004, 22:11:35)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r2, 1.6.3, 1.7.9, 1.4_p6, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fforce-addr -falign-functions=32 -fprefetch-loop-arrays -mfpmath=sse,387 -fomit-frame-pointer -funroll-loops -fstack-protector"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fforce-addr -falign-functions=32 -fprefetch-loop-arrays -mfpmath=sse,387 -fomit-frame-pointer -funroll-loops -fstack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aalib acpi acpi4linux activefilter aim alsa amd apm audiofile avi bdf berkdb bidi bindist bitmap-fonts bonobo bzlib c calendar cddb cdparanoia cdr cdrom cjk codecs crypt cups curl curlwrappers dga dhcp directfb divx4linux doc dv dvd dvdr dvdread edl eds emoticon encode erandom esd evo exif f77 faac faad fam fame fb fbcon ffmpeg fftw fla flac font-server foomaticdb fortran fpx freetype ftp gb gcj gd gdbm geoip ggi gif gimp gimpprint glade glitz gnome gnomedb gnuplot gnutls gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml guile hal hostap-noplx howl hub i8x0 icq icu ieee1394 imagemagick imap imlib imlib2 interbase intl ipv6 jabber jack java javacomm javadoc javamail javascript jbig jce jikes jp2 jpeg jpeg2k junit jython kadu-modules kadu-voice latex lcd lcms ldap libcaca libg++ libgda libwww live lzo lzw lzw-tiff mad matroska mdb mikmod mime ming mjpeg mmx mmx2 mng monkey mono mozilla moznocompose moznoirc moznomail mozp3p mozsvg mp3 mpeg mpeg4 mplayer msn ncurses net network nls nntp nptl ntlm objc ocaml offensive oggvorbis openal opengl oscar oss pam pcmcia pcre pda pdf pdflib perl png pnp python qt quicktime readline real rtc samba scanner sdl session silc slang smime snmp speex spell sse sse2 ssl svg svga tcltk tcpd tetex theora tidy tiff timidity truetype truetype-fonts trusted type1 type1-fonts unicode usb v4l v4l2 vcdimager vidix vim vim-with-x wifi wmf wxwin wxwindows xine xml xml2 xmms xosd xpm xscreensaver xsl xv xvid xvmc yahoo yv12 zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 3 Peter Gordon (RETIRED) gentoo-dev 2005-01-29 18:05:46 UTC
I get this too. My `emerge --info` follows:

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.11-rc1 i686)
=================================================================
System uname: 2.6.11-rc1 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.4,dev-lang/python-2.3.4 [2.4 (#1, Jan  8 2005, 19:04:36)]
ccache version 2.3 [enabled]
dev-lang/python:     2.4, 2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.6.3, 1.8.5-r3, 1.9.4, 1.5, 1.7.9-r1, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-tbird -mtune=athlon-tbird -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvi
pdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/sh
are/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-tbird -mtune=athlon-tbird -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://distro.ibiblio.org/pub/Linux/distributions/gentoo/ http://distfiles
.gentoo.org"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X X509 aac aalib alsa apache2 apm audiofile avi bash-completion bcmath bidi bindist bitmap-fonts bmp 
bzip2 bzlib calendar cdparanoia chroot cpdflib crypt cscope ctype cups curl curlwrappers dba dbx directfb encode erandom exi
f fam fbcon flac font-server foomaticdb fortran ftp gcj gd gdbm ggi gif gimpprint glitz glut gnutls gpm gtk gtk2 gtkhtml hal
 iconv imap imlib innodb ipv6 java javacomm javascript jikes jpeg ldap libcaca live lua mad md5sum mhash mikmod mime ming mm
x mmx2 mng mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg mpi mplayer mysql mysqli ncurses nls nptl nptlonly nvidia objc offe
nsive oggvorbis opengl openntpd pam parse-clocks pcmcia pcre perl php pic png pnp posix ppds pwdb python readline real ruby 
sasl sdk sdl session silc simplexml skey sndfile sockets speex spell sqlite ssl stroke svg svga sysvipc tcltk tcpd tetex the
ora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts unicode usb wddx wmf xine xml xml2 xpm xprint xsl xv xvi
d zlib video_cards_nvidia"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL
Comment 4 Nahum Shalman 2005-01-29 20:36:00 UTC
If you read the NEWS file you will see that cairo 0.3.0 is meant to build against glitz 0.3.0 (which isn't in portage and whose snapshot is not available from the snapshots directory at cairographics.org)

I set up my system to use glitz 0.3.0 and compilations for both it and cairo went fine.

So, here's what I did:
1) start with the glitz 0.2.3 ebuild and rename it for 0.3.0
2) remove the line for the patch
3) follow my own directions from bug #73454 to obtain a 0.3.0 snapshot from CVS, make a tarball, and put it in distfiles
4) the usual digestion mumbo-jumbo
5) emerge =glitz-0.3.0
6) emerge cairo

Tom: Basically I suggest creating a glitz-0.3.0 ebuild modeled after the 0.2.3 version (using the 0.4.0 version failed for me, but I had a comedy of errors so you might want to try it...) and making a version requirement in cairo-0.3.0 to be =glitz-0.3.0
You might also need to put a tarball on the gentoo servers as you did for 0.2.3 since cairographics.org isn't serving one up anymore

(My guess is that when cairo 0.4.0 comes out it will be made to compile against glitz-0.4.0)

I hope this helps!
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2005-02-02 22:36:26 UTC
Seems odd that this slipped in.
Comment 6 Tom Payne (RETIRED) gentoo-dev 2005-02-03 01:39:39 UTC
Yup, sorry about this. My testing failed: I thought I had glitz in my use flags but I clearly didn't, otherwise the problem would have been immediately obvious. I won't get to fix this until 2000 GMT tomorrow Fri 4 Feb at the earliest, so if anyone wants to clean up my mess before then, please do so! Just follow Nahum's instructions...
Comment 7 Tom Payne (RETIRED) gentoo-dev 2005-02-04 14:48:15 UTC
I've now had a look at this and can't find a CVS tag for glitz-0.3.0 -- am I missing something?

Both glitz-0.3.0 and cairo-0.4.0 are now in package.mask until I get time to look at this issue again on Monday.

I'm not actively using glitz and cairo at the moment, so I would be happy if another dev fixes this problem in the meantime.
Comment 8 jon jonsson 2005-02-07 04:04:30 UTC
Created attachment 50611 [details]
patch to allow cairo compile against glitz-0.4

Hi
if you look at the snapshot-page, you will see that the glitz-0.4 is newer then
the cairo-0.3 (3 days diff), so it seems some changes went into glitz that are
not in the cairo-0.3. I did an cvs-checkout of cairo dating 2005-01-26 and did
a diff against the cairo-0.3. Now it compiles and installs. So it seems
upstream should update their cairo-snapshot (and you could get cairo-0.3 to
compile by using the attached patch). The patch is large (2.5M), so i dont know
what got in really, but it compiles. Maybe someone with more knowledge of diff
then me should do an updated patch :) .

Cheers Jon
Comment 9 Peter Johanson (RETIRED) gentoo-dev 2005-02-22 19:41:39 UTC
Tom:

As libgdiplus is one of the active consumers of cairo at this point, I'm more then willing to help maintain/hack on cairo/glitz stuff.

As for the glitz issue, doing a cvs co on *glitz* from 2005-01-15 gives a version that is tagged as 0.3.0, and compiles and works fine for both cairo and glitz. I'd much prefer to do this over adding a large patch to cairo to work with the newer glitz.

I propose to add glitz-0.3.0 to portage (maybe as 0.3.0.20050115 to emphasise that is was a dated snapshot?) and then be able to unmask cairo-0.3.0, and leave glitz-0.4.0 p.masked for now. Thoughts?
Comment 10 Tom Payne (RETIRED) gentoo-dev 2005-02-22 23:51:13 UTC
Latexter,

It would be great if you took over maintainership. I'm not actively using cairo/glitz at the moment and am absolutely snowed under with work here (projected next free evening to work on Gentoo stuff: unknown!).

Cheers,

Tom
Comment 11 Peter Johanson (RETIRED) gentoo-dev 2005-02-23 10:38:38 UTC
Ok, i've just add glitz-0.3.0.20050115 which is a tarball of a CVS pull from that date. Changed the cairo-0.3.0 dep to reflect that, and un-package.masked cairo-0.3.0. I've left the mask for glitz for now.

Can everyone here please test those two just so it's not just WORKSFORME, and then i'll get this bug closed? Thanks.
Comment 12 Dirk Kitscha 2005-02-23 12:15:34 UTC
works fine here on both computers - thanks!
Comment 13 Peter Johanson (RETIRED) gentoo-dev 2005-02-24 07:03:37 UTC
Okay, marking FIXED. If anyone is still having problems, please feel free to re-open. Thanks.
Comment 14 Pau Rodriguez 2005-08-14 07:07:05 UTC
cairo-0.4.4 ebuild
Comment 15 Pau Rodriguez 2005-08-14 07:09:07 UTC
(In reply to comment #14)

cairo-0.9.2 ebuild
glitz-0.4.4 ebuild