Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71653 - x11-libs/cairo-0.1.18-r1 fails to compile
Summary: x11-libs/cairo-0.1.18-r1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-18 03:45 UTC by groepaz
Modified: 2004-12-05 13:08 UTC (History)
0 users

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 groepaz 2004-11-18 03:45:54 UTC
x11-libs/cairo-0.1.18-r1 from stable profile bails out with the error below, cairo-0.1.23-r1 from unstable compiles fine, this should be fixed :)

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/usr/include/freetype2 -O2 -mcpu=7400 -maltivec -mabi=altivec -pipe -mpowerpc-gfxopt -fsigned-char -mstring -mmultiple -fomit-frame-pointer -fno-strict-aliasing -MT cairo_font.lo -MD -MP -MF .deps/cairo_font.Tpo -c cairo_font.c  -fPIC -DPIC -o .libs/cairo_font.o
In file included from cairo_font.c:28:
cairoint.h:539: warning: `__visibility__' attribute ignored on non-class types
cairoint.h:554: warning: `__visibility__' attribute ignored on non-class types
cairoint.h:569: warning: `__visibility__' attribute ignored on non-class types
cairoint.h:841: warning: `__visibility__' attribute ignored on non-class types
cairoint.h:848: warning: `__visibility__' attribute ignored on non-class types
cairoint.h:986: warning: `__visibility__' attribute ignored on non-class types
cairoint.h:1041: warning: `__visibility__' attribute ignored on non-class types
cairoint.h:1054: warning: `__visibility__' attribute ignored on non-class types
cairo_font.c:49: error: conflicting types for '_cairo_font_init'
cairoint.h:845: error: previous declaration of '_cairo_font_init' was here
cairo_font.c:49: error: conflicting types for '_cairo_font_init'
cairoint.h:845: error: previous declaration of '_cairo_font_init' was here
cairo_font.c:95: error: conflicting types for '_cairo_font_text_extents'
cairoint.h:863: error: previous declaration of '_cairo_font_text_extents' was here
cairo_font.c:95: error: conflicting types for '_cairo_font_text_extents'
cairoint.h:863: error: previous declaration of '_cairo_font_text_extents' was here
cairo_font.c:104: error: conflicting types for '_cairo_font_glyph_extents'
cairoint.h:869: error: previous declaration of '_cairo_font_glyph_extents' was here
cairo_font.c:104: error: conflicting types for '_cairo_font_glyph_extents'
cairoint.h:869: error: previous declaration of '_cairo_font_glyph_extents' was here
cairo_font.c:117: error: conflicting types for '_cairo_font_show_text'
cairoint.h:878: error: previous declaration of '_cairo_font_show_text' was here
cairo_font.c:117: error: conflicting types for '_cairo_font_show_text'
cairoint.h:878: error: previous declaration of '_cairo_font_show_text' was here
cairo_font.c:129: error: conflicting types for '_cairo_font_show_glyphs'
cairoint.h:887: error: previous declaration of '_cairo_font_show_glyphs' was here
cairo_font.c:129: error: conflicting types for '_cairo_font_show_glyphs'
cairoint.h:887: error: previous declaration of '_cairo_font_show_glyphs' was here
cairo_font.c:140: error: conflicting types for '_cairo_font_text_path'
cairoint.h:895: error: previous declaration of '_cairo_font_text_path' was here
cairo_font.c:140: error: conflicting types for '_cairo_font_text_path'
cairoint.h:895: error: previous declaration of '_cairo_font_text_path' was here
cairo_font.c:149: error: conflicting types for '_cairo_font_glyph_path'
cairoint.h:901: error: previous declaration of '_cairo_font_glyph_path' was here
cairo_font.c:149: error: conflicting types for '_cairo_font_glyph_path'
cairoint.h:901: error: previous declaration of '_cairo_font_glyph_path' was here
cairo_font.c:156: error: conflicting types for '_cairo_font_font_extents'
cairoint.h:858: error: previous declaration of '_cairo_font_font_extents' was here
cairo_font.c:156: error: conflicting types for '_cairo_font_font_extents'
cairoint.h:858: error: previous declaration of '_cairo_font_font_extents' was here
make[2]: *** [cairo_font.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/usr/include/freetype2 -O2 -mcpu=7400 -maltivec -mabi=altivec -pipe -mpowerpc-gfxopt -fsigned-char -mstring -mmultiple -fomit-frame-pointer -fno-strict-aliasing -MT cairo_ft_font.lo -MD -MP -MF .deps/cairo_ft_font.Tpo -c cairo_ft_font.c  -fPIC -DPIC -o .libs/cairo_ft_font.o
In file included from cairo_ft_font.c:25:
cairoint.h:539: warning: `__visibility__' attribute ignored on non-class types
cairoint.h:554: warning: `__visibility__' attribute ignored on non-class types
cairoint.h:569: warning: `__visibility__' attribute ignored on non-class types
cairoint.h:841: warning: `__visibility__' attribute ignored on non-class types
cairoint.h:848: warning: `__visibility__' attribute ignored on non-class types
cairoint.h:986: warning: `__visibility__' attribute ignored on non-class types
cairoint.h:1041: warning: `__visibility__' attribute ignored on non-class types
cairoint.h:1054: warning: `__visibility__' attribute ignored on non-class types
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/usr/include/freetype2 -O2 -mcpu=7400 -maltivec -mabi=altivec -pipe -mpowerpc-gfxopt -fsigned-char -mstring -mmultiple -fomit-frame-pointer -fno-strict-aliasing -MT cairo_ft_font.lo -MD -MP -MF .deps/cairo_ft_font.Tpo -c cairo_ft_font.c -o cairo_ft_font.o >/dev/null 2>&1
make[2]: Leaving directory `/var/tmp/portage/cairo-0.1.18-r1/work/cairo-0.1.18/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/cairo-0.1.18-r1/work/cairo-0.1.18'
make: *** [all] Error 2

!!! ERROR: x11-libs/cairo-0.1.18-r1 failed.
!!! Function src_compile, Line 21, Exitcode 2


Reproducible: Always
Steps to Reproduce:
1. emerge =x11-libs/cairo-0.1.18-r1
2.
3.
Comment 1 Tom Payne (RETIRED) gentoo-dev 2004-12-05 09:20:27 UTC
It works for me on x86. PPC team, can you check this out and possibly just mark 0.1.23 and 0.1.23-r1 stable on ppc if it meets you standards?

Cheers,

Tom
Comment 2 Joe Jezak (RETIRED) gentoo-dev 2004-12-05 13:08:30 UTC
Seems okay as far as I can tell.  Marked 1.23-r1 stable on ppc.