NetBSD Problem Report #20601

Received: (qmail 3515 invoked by uid 605); 6 Mar 2003 17:34:25 -0000
Message-Id: <200303061734.h26HY2l22194@madison.onespeeddave.com>
Date: Thu, 6 Mar 2003 12:34:02 -0500 (EST)
From: "David W. Talmage" <talmage@madison.onespeeddave.com>
Sender: gnats-bugs-owner@netbsd.org
Reply-To: talmage@madison.onespeeddave.com
To: gnats-bugs@gnats.netbsd.org
Subject: threaded python isn't recognized as an acceptable version
X-Send-Pr-Version: 3.95

>Number:         20601
>Category:       pkg
>Synopsis:       Threaded python isn't recognized as an acceptable version in pkgsrc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 06 17:35:01 +0000 2003
>Closed-Date:    Mon Mar 10 09:20:46 +0000 2003
>Last-Modified:  Sun Apr 30 07:59:23 +0000 2006
>Originator:     David W. Talmage
>Release:        NetBSD 1.6
>Organization:
/~\ The ASCII                     David W. Talmage
\ / Ribbon Campaign               talmage@acm.org
 X  Against HTML
/ \ Email!
>Environment:


System: NetBSD madison.onespeeddave.com 1.6 NetBSD 1.6 (MADISON) #1: Sun Oct 20 14:24:48 EDT 2002 root@madison.onespeeddave.com:/home/src/sys/arch/i386/compile/MADISON i386
Architecture: i386
Machine: i386
>Description:

If you install the threaded version of python, none of the packages
that depend on python recognize it as an acceptable version of python.
If you don't have another version of python installed, then attempting
to install a package that depends on python will cause the pkg tools
to install the default version of python.

>How-To-Repeat:

1. pkg_delete all packages that require python.
2. pkg_delete all versions of python.
3. install python22-pth
4. install a package that depends on python.  e.g. py-readline

You'll see the pkg tools insist on installing the default version of
python, python22.

>Fix:
Make this change to /usr/pkgsrc/lang/python/pyversion.mk:

PYTHON_VERSIONS_ACCEPTED?=      22pth 22 21pth 21 20


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: jdolecek 
State-Changed-When: Mon Mar 10 01:19:53 PST 2003 
State-Changed-Why:  
22pth and 21pth were added to PYTHON_VERSIONS_ACCEPTED as suggested, in 
rev. 1.19 of pkgsrc/lang/python/pyversion.mk 
Thanks for report and fix. 

From: Jaromir Dolecek <jdolecek@netbsd.org>
To: gnats-bugs@gnats.netbsd.org
Cc:  
Subject: pr/20601 CVS commit: pkgsrc/lang/python
Date: Mon, 10 Mar 2003 11:19:09 +0200 (EET)

 Module Name:	pkgsrc
 Committed By:	jdolecek
 Date:		Mon Mar 10 09:19:08 UTC 2003

 Modified Files:
 	pkgsrc/lang/python: pyversion.mk

 Log Message:
 add 22pth and 21pth to default 'accepted' list
 fixes PR pkg/20601 by David W. Talmage


 To generate a diff of this commit:
 cvs rdiff -r1.18 -r1.19 pkgsrc/lang/python/pyversion.mk

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.