Subject: Re: pkg/34217: lang/python23 and lang/python24 fails to build on
To: None <gnats-bugs@NetBSD.org>
From: Raymond Meyer <email@example.com>
Date: 08/16/2006 21:44:28
On Wed, 16 Aug 2006 20:40:03 +0000 (UTC)
Joerg Sonnenberger <firstname.lastname@example.org> wrote:
> The following reply was made to PR pkg/34217; it has been noted by GNATS.
> From: Joerg Sonnenberger <email@example.com>
> To: gnats-bugs@NetBSD.org
> 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 %%.
OK, then I should pass '-xbuiltin=%all' compiler flag as '-xbuiltin=\%all',
thus escaping '%' char.
I guess this PR can be closed