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:10:24
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:06:12 +0100

 On Wed, 16 Aug 2006 18:20: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 20:16:17 +0200
 > 
 >  On Wed, Aug 16, 2006 at 06:10:01PM +0000, raymond.meyer@rambler.ru wrote:
 >  > >Fix:
 >  > Edit ${WRKOBJDIR}/Python-2.4.3/Lib/distutils/log.py
 >  > and change 'print msg % args' to 'print msg, args' on line 23
 >  
 >  No, that is completely wrong. Can you actually add a second print
 >  statement and show me what msg really is?
 >  
 >  Joerg
 >  
 
 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?