NetBSD Problem Report #42627

From www@NetBSD.org  Sat Jan 16 18:35:37 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 7CEB963C54D
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 16 Jan 2010 18:35:37 +0000 (UTC)
Message-Id: <20100116183018.B8CBA63C368@www.NetBSD.org>
Date: Sat, 16 Jan 2010 17:52:47 +0000 (UTC)
From: joel.bertrand@systella.fr
Reply-To: joel.bertrand@systella.fr
To: gnats-bugs@NetBSD.org
Subject: Python 2.5 cannot be built on NetBSD-current (sparc)
X-Send-Pr-Version: www-1.0

>Number:         42627
>Category:       pkg
>Synopsis:       Python 2.5 cannot be built on NetBSD-current (sparc)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 16 18:40:04 +0000 2010
>Closed-Date:    Fri Jan 04 06:37:38 +0000 2013
>Last-Modified:  Fri Jan 04 06:37:38 +0000 2013
>Originator:     BERTRAND Joël
>Release:        NetBSD-current
>Organization:
>Environment:
riemann# uname -a
NetBSD riemann 5.99.23 NetBSD 5.99.23 (GENERIC) #0: Tue Jan 12 10:33:02 CET 2010  root@riemann:/usr/src/obj/sys/arch/sparc/compile/GENERIC sparc

>Description:
Some packages require python and python build process aborts with segmentation fault. I have found a bug report

http://bugs.python.org/issue7424

that is against python 2.6.4, but 2.5.4 is affected too :

Compiling /usr/pkg/lib/python2.5/test/test_aepack.py ...
Compiling /usr/pkg/lib/python2.5/test/test_al.py ...
Compiling /usr/pkg/lib/python2.5/test/test_anydbm.py ...
Compiling /usr/pkg/lib/python2.5/test/test_applesingle.py ...
Compiling /usr/pkg/lib/python2.5/test/test_array.py ...
Compiling /usr/pkg/lib/python2.5/test/test_ast.py ...
Compiling /usr/pkg/lib/python2.5/test/test_asynchat.py ...
Compiling /usr/pkg/lib/python2.5/test/test_atexit.py ...
Compiling /usr/pkg/lib/python2.5/test/test_audioop.py ...
Compiling /usr/pkg/lib/python2.5/test/test_augassign.py ...
Compiling /usr/pkg/lib/python2.5/test/test_base64.py ...
Compiling /usr/pkg/lib/python2.5/test/test_bastion.py ...
Compiling /usr/pkg/lib/python2.5/test/test_bigaddrspace.py ...
Compiling /usr/pkg/lib/python2.5/test/test_bigmem.py ...
Compiling /usr/pkg/lib/python2.5/test/test_binascii.py ...
Compiling /usr/pkg/lib/python2.5/test/test_binhex.py ...
Compiling /usr/pkg/lib/python2.5/test/test_binop.py ...
Compiling /usr/pkg/lib/python2.5/test/test_bisect.py ...
Compiling /usr/pkg/lib/python2.5/test/test_bool.py ...
Compiling /usr/pkg/lib/python2.5/test/test_bsddb.py ...
Compiling /usr/pkg/lib/python2.5/test/test_bsddb185.py ...
Compiling /usr/pkg/lib/python2.5/test/test_bsddb3.py ...
Compiling /usr/pkg/lib/python2.5/test/test_bufio.py ...
Compiling /usr/pkg/lib/python2.5/test/test_builtin.py ...
[1]   Segmentation fault (core dumped) PYTHONPATH=/usr/...
*** Error code 139

Stop.
make: stopped in /home/pkgsrc/lang/python25/work/Python-2.5.4
*** Error code 1

Stop.
make: stopped in /home/pkgsrc/lang/python25
*** Error code 1

Stop.
make: stopped in /home/pkgsrc/lang/python25
*** Error code 1

Stop.
make: stopped in /home/pkgsrc/lang/python25
riemann# 
>How-To-Repeat:
Just try to build python25 from pkgsrc tree.
>Fix:
I have no idea. I have checked into core file and python crashes in
listextend subroutine.

>Release-Note:

>Audit-Trail:
From: Matthias Scheler <tron@NetBSD.org>
To: =?iso-8859-1?Q?BERTRAND_Jo=EBl?= <joel.bertrand@systella.fr>
Cc: gnats-bugs@NetBSD.org
Subject: Re: pkg/42627: Python 2.5 cannot be built on NetBSD-current (sparc)
Date: Sun, 17 Jan 2010 19:17:17 +0000

 On 16 Jan 2010, at 18:40, joel.bertrand@systella.fr wrote:
 > that is against python 2.6.4, but 2.5.4 is affected too :
 [...]
 > Compiling /usr/pkg/lib/python2.5/test/test_bufio.py ...
 > Compiling /usr/pkg/lib/python2.5/test/test_builtin.py ...
 > [1]   Segmentation fault (core dumped) PYTHONPATH=/usr/...
 > *** Error code 139
 [...]
 >> Fix:
 > I have no idea. I have checked into core file and python crashes in
 > listextend subroutine.

 Can you please try whether it builds with ...

 UNLIMIT_RESOURCES+=	datasize memorysize stacksize

 ... in "python25/Makefile" respectively "python26/Makefile"?
 If that fixes the build try figure out which one of the above
 setting is really necessary.

 	Kind regards

 -- 
 Matthias Scheler                           http://zhadum.org.uk/


From: BERTRAND Joel <joel.bertrand@systella.fr>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@NetBSD.org, gnats-admin@NetBSD.org, pkgsrc-bugs@NetBSD.org
Subject: Re: pkg/42627: Python 2.5 cannot be built on NetBSD-current (sparc)
Date: Mon, 18 Jan 2010 12:37:24 +0100

 Matthias Scheler a écrit :
 > The following reply was made to PR pkg/42627; it has been noted by GNATS.
 >
 > From: Matthias Scheler<tron@NetBSD.org>
 > To: =?iso-8859-1?Q?BERTRAND_Jo=EBl?=<joel.bertrand@systella.fr>
 > Cc: gnats-bugs@NetBSD.org
 > Subject: Re: pkg/42627: Python 2.5 cannot be built on NetBSD-current (sparc)
 > Date: Sun, 17 Jan 2010 19:17:17 +0000
 >
 >   On 16 Jan 2010, at 18:40, joel.bertrand@systella.fr wrote:
 >   >  that is against python 2.6.4, but 2.5.4 is affected too :
 >   [...]
 >   >  Compiling /usr/pkg/lib/python2.5/test/test_bufio.py ...
 >   >  Compiling /usr/pkg/lib/python2.5/test/test_builtin.py ...
 >   >  [1]   Segmentation fault (core dumped) PYTHONPATH=/usr/...
 >   >  *** Error code 139
 >   [...]
 >   >>  Fix:
 >   >  I have no idea. I have checked into core file and python crashes in
 >   >  listextend subroutine.
 >
 >   Can you please try whether it builds with ...
 >
 >   UNLIMIT_RESOURCES+=	datasize memorysize stacksize
 >
 >   ... in "python25/Makefile" respectively "python26/Makefile"?
 >   If that fixes the build try figure out which one of the above
 >   setting is really necessary.

 	It crashes with the same message.

 	Regards,

 	JKB

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Fri, 04 Jan 2013 06:37:38 +0000
State-Changed-Why:
python25 was removed.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.