Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Feb 2010 18:32:38 +0300
From:      =?koi8-r?B?5M3J1NLJyiDzydfB3sXOy88=?= <mitya@cavia.pp.ru>
To:        Andriy Gapon <avg@icyb.net.ua>
Cc:        Ralf Folkerts <ralf.folkerts@gmx.de>, freebsd-ports@FreeBSD.org
Subject:   Re: p5-Cairo: Error: '_OUTLIST double' not in typemap in Cairo.xs
Message-ID:  <20100215153238.GA22253@m4-new.master-telecom.ru>
In-Reply-To: <4B795A92.9060602@icyb.net.ua>
References:  <4B767BD5.4010504@gmx.de> <4B795A92.9060602@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello!


Sorry for that, I updated p5-ExtUtils-ParseXS and p5-Cairo and p5-Pango build
just fine now.


On Mon, Feb 15, 2010 at 04:30:42PM +0200, Andriy Gapon wrote:
> 
> [Maintainer of a _relevant_ port is CC-ed]
> 
> on 13/02/2010 12:15 Ralf Folkerts said the following:
> > 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.
> 
> 
> You might find this useful:
> https://rt.cpan.org/Public/Bug/Display.html?id=54577
> http://cpansearch.perl.org/src/DAGOLDEN/ExtUtils-ParseXS-2.2203/Changes
> 
> -- 
> Andriy Gapon



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