Subject: Re: pkg/34217: lang/python23 and lang/python24 fails to build on
To: None <gnats-bugs@NetBSD.org>
From: Raymond Meyer <firstname.lastname@example.org>
Date: 08/16/2006 21:35:09
On Wed, 16 Aug 2006 20:25:02 +0000 (UTC)
Joerg Sonnenberger <email@example.com> wrote:
> The following reply was made to PR pkg/34217; it has been noted by GNATS.
> From: Joerg Sonnenberger <firstname.lastname@example.org>
> 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:23:29 +0200
> On Wed, Aug 16, 2006 at 08:10:24PM +0000, Raymond Meyer wrote:
> > I added 'print msg' to log.py file, it seem to print the following string:
> > cc -DNDEBUG -xO3 -xtarget=native -xbuiltin=%all -xdepend=yes -xlibmil
> > -xlibmopt -xstrconst -Xa -I/opt/pkg/include/db4 -I/usr/include
> > -I/opt/pkg/include -xcode=pic32 -OPT:Olimit=0 -I.
> > -I/opt/pkg.obj/lang/python24/work.e450/Python-2.4.3/./Include
> > -I/opt/pkg/include
> > -I/opt/pkg.obj/lang/python24/work.e450/Python-2.4.3/Include
> > -I/opt/pkg.obj/lang/python24/work.e450/Python-2.4.3
> > -c /opt/pkg.obj/lang/python24/work.e450/Python-2.4.3/Modules/structmodule.c
> > -o build/temp.solaris-2.10-sun4u-2.4/structmodule.o Maybe '-xbuiltin=%all'
> > causes problems due to '%' char?
> Yes, indeed. Various possibilities to work around this, but the most
> interesting question is, is it really needed at all?
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.