NetBSD Problem Report #38617
From martin@duskware.de Fri May 9 09:50:17 2008
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id CB1F963B293
for <gnats-bugs@gnats.netbsd.org>; Fri, 9 May 2008 09:50:16 +0000 (UTC)
Message-Id: <20080509094042.4042F63B293@narn.NetBSD.org>
Date: Fri, 9 May 2008 09:40:42 +0000 (UTC)
From: hasso@estpak.ee
Reply-To: hasso@estpak.ee
To: netbsd-bugs-owner@NetBSD.org
Subject: lang/python21 wrong configure check
X-Send-Pr-Version: www-1.0
>Number: 38617
>Category: pkg
>Synopsis: lang/python21 wrong configure check
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri May 09 09:55:00 +0000 2008
>Closed-Date: Fri May 09 10:53:44 +0000 2008
>Last-Modified: Fri May 09 10:55:01 +0000 2008
>Originator: Hasso Tepper
>Release: DragonFly
>Organization:
>Environment:
DragonFly 1.13.0-DEVELOPMENT
>Description:
The configure script of lang/python21 has configure check for existance of PTHREAD_SCOPE_SYSTEM and it calls pthread_create() with first argument NULL.
While it's somewhat arguable whether it's allowed or not, experience shows that at least some OS'es behave unreliable in this case - Linux segfaults and some versions of DragonFly BSD hang.
>How-To-Repeat:
Try to build lang/python21 in Linux or DragonFly BSD.
>Fix:
The patch to fix the problem is available at:
http://leaf.dragonflybsd.org/~hasso/pkgsrc-lang-python21.patch
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: tnn@NetBSD.org
State-Changed-When: Fri, 09 May 2008 10:53:44 +0000
State-Changed-Why:
Committed, thanks.
From: Tobias Nygren <tnn@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/38617 CVS commit: pkgsrc/lang/python21
Date: Fri, 9 May 2008 10:51:45 +0000 (UTC)
Module Name: pkgsrc
Committed By: tnn
Date: Fri May 9 10:51:45 UTC 2008
Modified Files:
pkgsrc/lang/python21: distinfo
pkgsrc/lang/python21/patches: patch-bg
Log Message:
PR pkg/38617: Hasso Tepper: Don't call pthread_create() with NULL as the
first argument in configure. Fixes hang on DragonFlyBSD.
To generate a diff of this commit:
cvs rdiff -r1.26 -r1.27 pkgsrc/lang/python21/distinfo
cvs rdiff -r1.1 -r1.2 pkgsrc/lang/python21/patches/patch-bg
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.