Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215887 - dev-perl/Cairo: CAIRO_FONT_TYPE_ATSUI_replaced_by_CAIRO_FONT_TYPE_QUARTZ undeclared
Summary: dev-perl/Cairo: CAIRO_FONT_TYPE_ATSUI_replaced_by_CAIRO_FONT_TYPE_QUARTZ unde...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-02 14:02 UTC by Xavier Parizet
Modified: 2008-04-07 15:28 UTC (History)
0 users

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


Attachments
Patch to Makefile.PL to correct the CAIRO_FONT_TYPE_ATSUI (Cairo-fix-CAIRO_FONT_TYPE.patch,382 bytes, patch)
2008-04-02 14:04 UTC, Xavier Parizet
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Parizet 2008-04-02 14:02:12 UTC
While compiling dev-perl/Cairo in any of his versions, an error about a variable undeclared appears.


Reproducible: Always

Steps to Reproduce:
1.emerge dev-perl/Cairo

Actual Results:  
cairo-perl-enums.c: In function ‘cairo_font_type_from_sv’:
cairo-perl-enums.c:191: error: ‘CAIRO_FONT_TYPE_ATSUI_replaced_by_CAIRO_FONT_TYPE_QUARTZ’ undeclared (first use in this function)
cairo-perl-enums.c:191: error: (Each undeclared identifier is reported only once
cairo-perl-enums.c:191: error: for each function it appears in.)
cairo-perl-enums.c: In function ‘cairo_font_type_to_sv’:
cairo-perl-enums.c:207: error: ‘CAIRO_FONT_TYPE_ATSUI_replaced_by_CAIRO_FONT_TYPE_QUARTZ’ undeclared (first use in this function)
make: *** [cairo-perl-enums.o] Error 1


Expected Results:  
dev-perl/Cairo installed.

Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.2.3, glibc-2.7-r2, 2.6.24.3 x86_64)
=================================================================
System uname: 2.6.24.3 x86_64 Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz
Timestamp of tree: Wed, 02 Apr 2008 05:15:03 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.4.3-r4, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://gentoo.modulix.net/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en fr"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="   "
SYNC="rsync://rsync.gentoo.linuxant.fr/gentoo-portage"
USE="X a52 aac accessibility acl acpi alsa amd64 bash-completion berkdb bluetooth branding cairo captury cli cracklib crypt css cups dbus dell doc dri dts dxr3 emacs encode ffmpeg firefox fortran gdbm gif glib glitz gnutls gpm graphviz hal htmlhandbook iconv imagemagick inotify iproute2 ipv6 isdnlog java jpeg jpeg2k kde lame lm_sensors midi mmap mmx mng mp4 mudflap ncurses network nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png pppd python qt3 readline reflection samba sdl session socks5 speex spell spl sse sse2 ssl svg tcpd theora threads tiff truetype type1 unicode utempter v4l v4l2 vorbis wifi wmf x264 xcb xcomposite xml xorg xscreensaver xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" 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 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" ELIBC="glibc" INPUT_DEVICES="synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr" USERLAND="GNU" VIDEO_CARDS="vesa nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Xavier Parizet 2008-04-02 14:04:05 UTC
Created attachment 148087 [details, diff]
Patch to Makefile.PL to correct the CAIRO_FONT_TYPE_ATSUI

This patch modify Makefile.PL to use CAIRO_FONT_TYPE_QUARTZ instead of CAIRO_FONT_TYPE_ATSUI.
Comment 2 Torsten Veller (RETIRED) gentoo-dev 2008-04-07 15:28:45 UTC
WRT http://rt.cpan.org/Public/Bug/Display.html?id=34681 and http://lists.cairographics.org/archives/cairo/2008-March/013552.html this is an upstream problem and was already fixed in cairo-1.5.16 again.

Thanks