pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/49982: graphics/py-cairo does not compile on Solaris



The following reply was made to PR pkg/49982; it has been noted by GNATS.

From: =?ISO-8859-15?Q?J=F6rn_Clausen?= <joern.clausen%uni-bielefeld.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: pkg-manager%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost, pkgsrc-bugs%NetBSD.org@localhost
Subject: Re: pkg/49982: graphics/py-cairo does not compile on Solaris
Date: Wed, 17 Jun 2015 14:10:26 +0200

 >   This is the actual line you should look at.
 >   perl finds
 >   m/\${([^ \t=:+{}]+)}/
 >   and doesn't like the unquoted '{'.
 >
 >   I grepped for this in the automake-1.15 sources but couldn't find it.
 >   Which version do you have installed?
 
 I thought this was from some file automake includes and didn't realize 
 that it is the automake script itself. The linenumber is accurate:
 
 sub substitute_ac_subst_variables
 {
    my ($text) = @_;
    $text =~ s/\${([^ \t=:+{}]+)}/substitute_ac_subst_variables_worker 
 ($1)/ge;
    return $text;
 }
 
 The culprit is Perl from pkgsrc. Issuing
 
 $ /usr/bin/perl <pkgsrcpath>/automake
 
 generates the files without errors whereas
 
 $ <pkgsrcpath>/bin/perl <pkgsrcpath>/automake
 
 shows the behavior mentioned before.
 
 Builtin Perl is v5.12.5, pkgsrc perl is v5.22.0.
 
 
 But it seems this is not the root cause for the compile problems. 
 Although there are some differences in the generated Makefile.in, the 
 compile error (not finding cairo.h) remains and seems unrelated to these 
 differences.
 
 -- 
 Jörn Clausen
 Plattformen & Serverdienste
 Hochschulrechenzentrum
 
 Universität Bielefeld
 Universitätsstraße 25
 33615 Bielefeld
 Telefon: +49 521 106-12601
 E-Mail: joern.clausen%uni-bielefeld.de@localhost
 
 http://www.uni-bielefeld.de/hrz
 


Home | Main Index | Thread Index | Old Index