Subject: Re: pkg/34217: lang/python23 and lang/python24 fails to build on
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Raymond Meyer <raymond.meyer@rambler.ru>
List: pkgsrc-bugs
Date: 08/16/2006 20:35:02
The following reply was made to PR pkg/34217; it has been noted by GNATS.

From: Raymond Meyer <raymond.meyer@rambler.ru>
To: gnats-bugs@NetBSD.org
Cc: Joerg Sonnenberger <joerg@britannica.bec.de>,
	pkg-manager@NetBSD.org, gnats-admin@NetBSD.org,
	pkgsrc-bugs@NetBSD.org
Subject: Re: pkg/34217: lang/python23 and lang/python24 fails to build on
 Sparc Solaris 10
Date: Wed, 16 Aug 2006 21:35:09 +0100

 On Wed, 16 Aug 2006 20:25:02 +0000 (UTC)
 Joerg Sonnenberger <joerg@britannica.bec.de> wrote:
 
 > The following reply was made to PR pkg/34217; it has been noted by GNATS.
 > 
 > From: Joerg Sonnenberger <joerg@britannica.bec.de>
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > 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?
 >  
 >  Joerg
 >  
 
 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.