Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Feb 2010 11:15:49 +0100
From:      Ralf Folkerts <ralf.folkerts@gmx.de>
To:        freebsd-ports@freebsd.org
Subject:   p5-Cairo: Error: '_OUTLIST double' not in typemap in Cairo.xs
Message-ID:  <4B767BD5.4010504@gmx.de>

next in thread | raw e-mail | index | archive | help
Hi,

while updating my installed Ports I ran into a Problem yesterday; 
p5-Cairo does not compile. I updated my System from 7-STABLE to 8-STABLE 
and in that course also reinstalled all Ports ~01/23/2010. At that time 
all Ports compiled.

However, the latest update (was both the jpeg-mega-update and the switch 
to Perl 5.10) causes this Problem. I also tried to exclude the p5-Stuff, 
Update all remaining Ports and then try that p5- again after all other 
Ports are up-to-Date - but that didn't help, either. I also tried to 
re-install perl5.10.

The error:

[-su]beaster:p5-Cairo$make
===>  Extracting for p5-Cairo-1.061
=> MD5 Checksum OK for Cairo-1.061.tar.gz.
=> SHA256 Checksum OK for Cairo-1.061.tar.gz.
===>   p5-Cairo-1.061 depends on file: /usr/local/bin/perl5.10.1 - found
===>  Patching for p5-Cairo-1.061
===>   p5-Cairo-1.061 depends on file: /usr/local/bin/perl5.10.1 - found
===>   p5-Cairo-1.061 depends on file: 
/usr/local/lib/perl5/site_perl/5.10.1/ExtUtils/Depends.pm - found
===>   p5-Cairo-1.061 depends on file: 
/usr/local/lib/perl5/site_perl/5.10.1/ExtUtils/PkgConfig.pm - found
===>   p5-Cairo-1.061 depends on file: 
/usr/local/lib/perl5/site_perl/5.10.1/Test/Number/Delta.pm - found
===>   p5-Cairo-1.061 depends on file: /usr/local/bin/perl5.10.1 - found
===>   p5-Cairo-1.061 depends on shared library: cairo.2 - found
===>  Configuring for p5-Cairo-1.061
Compiling Cairo with FreeType support
Checking if your kit is complete...
Looks good
Unrecognized argument in LIBS ignored: '-pthread'
Writing Makefile for Cairo
===>  Building for p5-Cairo-1.061
cp lib/Cairo.pm blib/lib/Cairo.pm
cp build/IFiles.pm blib/arch/Cairo/Install/Files.pm
cp cairo-perl.typemap blib/arch/Cairo/Install/cairo-perl.typemap
cp doctypes blib/arch/Cairo/Install/doctypes
cp cairo-perl.h blib/arch/Cairo/Install/cairo-perl.h
cp build/cairo-perl-auto.typemap 
blib/arch/Cairo/Install/cairo-perl-auto.typemap
cp build/cairo-perl-auto.h blib/arch/Cairo/Install/cairo-perl-auto.h
/usr/local/bin/perl 
/usr/local/lib/perl5/site_perl/5.10.1/ExtUtils/xsubpp -noprototypes 
-typemap /usr/local/lib/perl5/5.10.1/ExtUtils/typemap -typemap 
build/cairo-perl-auto.typemap -typemap cairo-perl.typemap  Cairo.xs > 
Cairo.xsc && mv Cairo.xsc Cairo.c
Error: '_OUTLIST double' not in typemap in Cairo.xs, line 380
Error: '_OUTLIST double' not in typemap in Cairo.xs, line 380
Error: '_OUTLIST double' not in typemap in Cairo.xs, line 382
Error: '_OUTLIST double' not in typemap in Cairo.xs, line 382
Error: '_OUTLIST double' not in typemap in Cairo.xs, line 384
Error: '_OUTLIST double' not in typemap in Cairo.xs, line 384
Error: '_OUTLIST double' not in typemap in Cairo.xs, line 386
Error: '_OUTLIST double' not in typemap in Cairo.xs, line 386
*** Error code 1

Stop in /usr/ports/graphics/p5-Cairo/work/Cairo-1.061.
*** Error code 1

Stop in /usr/ports/graphics/p5-Cairo.

The strange thing is, that in Cairo.xs the Lines do not contain 
"_OUTLIST" but "IN_OUTLIST"; Line 380 in Cairo.xs reads

void cairo_user_to_device (cairo_t *cr, IN_OUTLIST double x, IN_OUTLIST 
double y);

I checked the xsubpp-Docs - but it seems, IN_OUTLIST is perfectly valid.

I found a Post re. an error that seems identical in a Post "Unable to 
build 'p5-Pango-1.221'" from 02/08/2010 on this List, but didn't see any 
replies. Also, I didn't find any Bug-Reports on this.

So, apparently, I did something wrong... But have NO clue what...

This happens on 8-STABLE as of 01/23/2010.

FreeBSD 8.0-STABLE #0: Sat Jan 23 22:54:32 CET 2010 amd64

[-su]beaster:Cairo-1.061$grep -v -E '^$|^#' /etc/make.conf
CPUTYPE?=athlon64
CFLAGS= -O2 -fno-strict-aliasing -pipe
CXXFLAGS+= -fconserve-space
NO_LPR=yes
CUPS_OVERWRITE_BASE=yes
NO_PROFILE=true
COMPAT5X=yes
COMPAT6X=yes
COMPAT7X=yes
X_WINDOW_SYSTEM=xorg
WITH_MOZILLA=firefox
WITH_FAM_SYSTEM=gamin
PAPERSIZE=a4
WITH_GECKO=libxul
MAKE_IDEA=yes
QT4_OPTIONS=    CUPS
THUNDERBIRD_I18N=de
WITHOUT_NOUVEAU=yes
PERL_VERSION=5.10.1

Does anyone have a hint?

Cheers,
_ralf_




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B767BD5.4010504>