NetBSD Problem Report #45581
From www@NetBSD.org Sun Nov 6 19:24:18 2011
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 9C4F163CD32
for <gnats-bugs@gnats.NetBSD.org>; Sun, 6 Nov 2011 19:24:18 +0000 (UTC)
Message-Id: <20111106192418.0970A63B8DB@www.NetBSD.org>
Date: Sun, 6 Nov 2011 19:24:18 +0000 (UTC)
From: matthias.rampke@googlemail.com
Reply-To: matthias.rampke@googlemail.com
To: gnats-bugs@NetBSD.org
Subject: lang/python??: build on OS X broken because of improperly copied code in setup.py
X-Send-Pr-Version: www-1.0
>Number: 45581
>Category: pkg
>Synopsis: lang/python??: build on OS X broken because of improperly copied code in setup.py
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: sbd
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Nov 06 19:25:00 +0000 2011
>Closed-Date: Tue Nov 08 07:31:36 +0000 2011
>Last-Modified: Tue Nov 08 07:35:01 +0000 2011
>Originator: Matthias Rampke
>Release: Mac OS X Lion
>Organization:
>Environment:
Darwin mb.local 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug 9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64
>Description:
reported by cmihai on IRC.
patches/patch-am introduces code to look for ndbm.h which has been copied from further up in setup.py, but the filename variable there hasn't been fixed to "ndbm.h" for the OS X special case.
>How-To-Repeat:
cd lang/python27; bmake
>Fix:
https://raw.github.com/gist/1343330/b7b52af6150775a48d2b4350c92b617f2fded73a/gistfile1.diff
this uses the same fix for all python versions, but note that I have *only* tested this with python27.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->sbd
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Mon, 07 Nov 2011 00:46:40 +0000
Responsible-Changed-Why:
Can you please take a look?
State-Changed-From-To: open->closed
State-Changed-By: sbd@NetBSD.org
State-Changed-When: Tue, 08 Nov 2011 07:31:36 +0000
State-Changed-Why:
Commited.
From: "Steven Drake" <sbd@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/45581 CVS commit: pkgsrc/lang
Date: Tue, 8 Nov 2011 07:30:09 +0000
Module Name: pkgsrc
Committed By: sbd
Date: Tue Nov 8 07:30:09 UTC 2011
Modified Files:
pkgsrc/lang/python24: distinfo
pkgsrc/lang/python24/patches: patch-am
pkgsrc/lang/python25: distinfo
pkgsrc/lang/python25/patches: patch-am
pkgsrc/lang/python26: distinfo
pkgsrc/lang/python26/patches: patch-am
pkgsrc/lang/python27: distinfo
pkgsrc/lang/python27/patches: patch-am
pkgsrc/lang/python31: distinfo
pkgsrc/lang/python31/patches: patch-am
Log Message:
Change a unused variable referacne to a fixed string that I missed when
coping the Mac OS X sdk filename handling.
Thank to Matthias Rampke in PR#45581 for catching this.
To generate a diff of this commit:
cvs rdiff -u -r1.37 -r1.38 pkgsrc/lang/python24/distinfo
cvs rdiff -u -r1.8 -r1.9 pkgsrc/lang/python24/patches/patch-am
cvs rdiff -u -r1.19 -r1.20 pkgsrc/lang/python25/distinfo
cvs rdiff -u -r1.9 -r1.10 pkgsrc/lang/python25/patches/patch-am
cvs rdiff -u -r1.40 -r1.41 pkgsrc/lang/python26/distinfo
cvs rdiff -u -r1.18 -r1.19 pkgsrc/lang/python26/patches/patch-am
cvs rdiff -u -r1.12 -r1.13 pkgsrc/lang/python27/distinfo
cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/python27/patches/patch-am
cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/python31/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/python31/patches/patch-am
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.