pkgsrc-Bugs archive

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

Re: pkg/34217: lang/python23 and lang/python24 fails to build on Sparc Solaris 10



On Wed, 16 Aug 2006 20:40:03 +0000 (UTC)
Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:

> The following reply was made to PR pkg/34217; it has been noted by GNATS.
> 
> From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc: 
> Subject: Re: pkg/34217: lang/python23 and lang/python24 fails to build on
>     Sparc Solaris 10
> Date: Wed, 16 Aug 2006 22:38:10 +0200
> 
>  On Wed, Aug 16, 2006 at 08:35:02PM +0000, Raymond Meyer wrote:
>  >  Well I could live without Python being built with '-xbuiltin=%all' flag,
>  > but the most interesting question is: is it a bug that Python can't handle
>  > strings with '%' char? I think it is a bug, there has to be a way to print
>  > strings that contain such special chars.
>  
>  No, it is expected behaviour. foo % arg with foo as string is evaluated
>  like sprintf in C, so any % in foo has to be quoted as %%.
>  
>  Joerg
>  

OK, then I should pass '-xbuiltin=%all' compiler flag as '-xbuiltin=\%all',
thus escaping '%' char.

I guess this PR can be closed



Home | Main Index | Thread Index | Old Index