Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113538 - REAL FIX for pixman_composite - x11-libs/cairo-1.0.2-r1 (new ebuild + fixes)
Summary: REAL FIX for pixman_composite - x11-libs/cairo-1.0.2-r1 (new ebuild + fixes)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
: 114309 114438 116442 125390 (view as bug list)
Depends on:
Blocks: 116535
  Show dependency tree
 
Reported: 2005-11-25 01:35 UTC by Alexey Maximov
Modified: 2006-05-18 00:13 UTC (History)
11 users (show)

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


Attachments
cairo-1.0.2-r1.ebuild (cairo-1.0.2-r1.ebuild,1.56 KB, text/plain)
2005-11-25 01:35 UTC, Alexey Maximov
Details
cairo-1.0.2-pkg_macro.patch (cairo-1.0.2-pkg_macro.patch,542 bytes, patch)
2005-11-25 01:36 UTC, Alexey Maximov
Details | Diff
pixman-remap.patch (pixman-remap.patch,858 bytes, patch)
2005-11-25 01:36 UTC, Alexey Maximov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Maximov 2005-11-25 01:35:27 UTC
The fix for
{standard input}: Assembler messages:
{standard input}:6007: Error: symbol `_cairo_pixman_composite' is already defined
Comment 1 Alexey Maximov 2005-11-25 01:35:55 UTC
Created attachment 73553 [details]
cairo-1.0.2-r1.ebuild
Comment 2 Alexey Maximov 2005-11-25 01:36:11 UTC
Created attachment 73554 [details, diff]
cairo-1.0.2-pkg_macro.patch
Comment 3 Alexey Maximov 2005-11-25 01:36:36 UTC
Created attachment 73555 [details, diff]
pixman-remap.patch
Comment 4 Alexey Maximov 2005-11-25 01:37:15 UTC
This bug is related to 
http://bugs.gentoo.org/show_bug.cgi?id=113089
Comment 5 Hanno Zysik (geki) 2005-11-28 04:40:27 UTC
At Mozillas Bugzilla [1] is a slightly different pixman-remap patch.
They just drop that two defines.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=316845
Comment 6 James 2005-12-02 10:59:56 UTC
why isnt this upstream?
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2005-12-02 23:49:16 UTC
*** Bug 114309 has been marked as a duplicate of this bug. ***
Comment 8 Michael Short 2005-12-03 11:54:12 UTC
This otta be in portage already, nothing like having a completely broken app in
portage and having to use /usr/local/portage...
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2005-12-04 05:20:18 UTC
*** Bug 114438 has been marked as a duplicate of this bug. ***
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2005-12-22 18:48:09 UTC
*** Bug 116442 has been marked as a duplicate of this bug. ***
Comment 11 Christian Malerbakken 2005-12-23 06:04:36 UTC
Sorry if I burst bubbles here, but even after I emerged this patched version, dev-dotnet/libgdiplus-1.1.11 still borks out at:

if /bin/sh ../../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I.     -march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3 -fno-inline-functions -MT iccolor.lo -MD -MP -MF ".deps/iccolor.Tpo" -c -o iccolor.lo iccolor.c; \
then mv -f ".deps/iccolor.Tpo" ".deps/iccolor.Plo"; else rm -f ".deps/iccolor.Tpo"; exit 1; fi
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I. -march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3 -fno-inline-functions -MT iccolor.lo -MD -MP -MF .deps/iccolor.Tpo -c iccolor.c  -fPIC -DPIC -o .libs/iccolor.o
{standard input}: Assembler messages:
{standard input}:143: Error: symbol `_cairo_pixman_color_to_pixel' is already defined
make[5]: *** [iccolor.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
{standard input}: Assembler messages:
{standard input}:5185: Error: symbol `_cairo_pixman_composite' is already defined
make[5]: *** [fbpict.lo] Error 1
make[5]: Leaving directory `/var/tmp/portage/libgdiplus-1.1.11/work/libgdiplus-1.1.11/cairo/pixman/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/libgdiplus-1.1.11/work/libgdiplus-1.1.11/cairo/pixman'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/libgdiplus-1.1.11/work/libgdiplus-1.1.11/cairo'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/libgdiplus-1.1.11/work/libgdiplus-1.1.11/cairo'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libgdiplus-1.1.11/work/libgdiplus-1.1.11'
make: *** [all] Error 2

([ebuild   R   ] x11-libs/cairo-1.0.2-r1  USE="+X -doc +glitz +png" 0 kB [1])
Comment 12 Christian Malerbakken 2005-12-23 06:08:39 UTC
Probably a good idea to include this:
Portage 2.1_pre1 (default-linux/amd64/2005.1, gcc-4.0.2, glibc-2.3.6-r1, 2.6.14-archck5 x86_64)
=================================================================
System uname: 2.6.14-archck5 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre12
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
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-r1
sys-devel/binutils:  2.16.1, 2.16.91.0.4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3"
CHOST="x86_64-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/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.gentoo.no http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/gentopia"
SYNC="rsync://rsync.gentoo.no/gentoo-portage"
USE="amd64 X a52 aac acpi alsa asf audiofile avi bash-completion berkdb bitmap-fonts bzip2 cairo cddb cdr crypt css cups curl dbus djbfft dpms dts dv dvb dvd dvdr dvdread eds emboss encode esd ethereal exif expat fame fbcon ffmpeg flac foomaticdb fortran fuse gdbm ggi gif gimpprint glibc-omitfp glitz glut gmp gnokii gnome gnutls gphoto2 gpm gstreamer gtk gtk2 hal howl idn imagemagick imlib ipv6 ithreads java jpeg jpeg2k junit kde kdeenablefinal lcms libcaca libwww logitech-mouse lzo lzw lzw-tiff mad mas matroska mikmod mjpeg mng mono mozilla moznoirc moznomail mozsvg mp3 mpeg mudflap multislot musepack musicbrainz mysql nautilus ncurses nfs nls nntp nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openal openexr opengl pam pam_console pcre pda pdf pdflib perl pic plib plotutils png postscript povray ppds python qt quicktime rdesktop readline real ruby samba sblive scanner sdl silc sndfile speex spell sqlite ssl svg t1lib tcltk tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 v4l vcd visualization vorbis wmf xine xml2 xmms xpm xscreensaver xv xvid zeroconf zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 13 Hanno Zysik (geki) 2005-12-23 08:40:46 UTC
It seems that libgdiplus got an own copy of cairo in its package. I would look for a configure switch to use system cairo instead of its internal one. Or you apply given patch to that source.
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2005-12-25 16:39:38 UTC
*** Bug 116442 has been marked as a duplicate of this bug. ***
Comment 15 Andy Lutomirski 2006-01-16 18:00:35 UTC
Ping?

I have the same problem, and this ebuild fixes it.

(Although my amd64 box does _not_ have this problem.  It's running binutils 2.16.1.  This just seems to confirm this OR #113089.)

Portage 2.0.53 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r2, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.91.0.5
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/boot/grub /etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/var/tmp/portagedist"
FEATURES="autoconfig distlocks sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://gentoo.osuosl.org"
PKGDIR="/var/tmp/portage-pkg"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acl acpi alsa apm audiofile avi bash-completion berkdb bitmap-fonts boo bzip2 cairo crypt dri emboss encode ethereal exif expat fam firefox gd gdbm gif glut gnome gpm gstreamer gtk gtk2 hal imlib ipv6 jpeg lcms libg++ libwww mad mikmod mng mono motif mozsvg mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl pam pcre pdflib perl png python qt readline samba sdl spell sse ssl tcpd threads tiff truetype truetype-fonts type1-fonts udev usb vhosts vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 16 Ryan Hill (RETIRED) gentoo-dev 2006-01-24 20:15:22 UTC
can someone please commit this?
Comment 17 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-02-03 03:53:18 UTC
Mozilla's version is the right one, this version simply adds a double definition.
Comment 18 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-03-08 07:20:44 UTC
*** Bug 125390 has been marked as a duplicate of this bug. ***
Comment 19 Alessandro Guido 2006-03-17 14:56:26 UTC
Had the same problem here, just tried to do a simple version bump to 1.0.4 (released 2006-03-15) and works without patches.
Comment 20 Daniel Webert 2006-03-25 12:32:21 UTC
a ~arch of cairo-1.0.4 would nice ...
Comment 21 Steev Klimaszewski (RETIRED) gentoo-dev 2006-05-18 00:13:23 UTC
Second to last comment was that 1.0.4 was fine, last comment was a request for 1.0.4 to be ~arch, 1.0.4 is now stable, closing.