NetBSD Problem Report #29735
From www@netbsd.org Sat Mar 19 01:28:16 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
id 7339C63B11C; Sat, 19 Mar 2005 01:28:16 +0000 (UTC)
Message-Id: <20050319012816.7339C63B11C@narn.netbsd.org>
Date: Sat, 19 Mar 2005 01:28:16 +0000 (UTC)
From: sak8@eecs.cwru.edu
Reply-To: sak8@eecs.cwru.edu
To: gnats-bugs@netbsd.org
Subject: python packages don't build _locale.so module on Solaris
X-Send-Pr-Version: www-1.0
>Number: 29735
>Category: pkg
>Synopsis: python packages don't build _locale.so module on Solaris
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: recht
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat Mar 19 01:29:00 +0000 2005
>Closed-Date: Sun Jul 03 19:49:51 +0000 2005
>Last-Modified: Sun Jul 03 19:50:02 +0000 2005
>Originator: Simon Kuhn
>Release: pkgsrc-current
>Organization:
Case Western Reserve University
>Environment:
SunOS reducto 5.9 Generic_117171-13 sun4u sparc SUNW,Sun-Fire-V240 Solaris
>Description:
Build a python package (at least python23 and python24) on Solaris 9 using gcc-3.3.5 from pkgsrc-current.
Build completes successfully. Packaging has an error because _locale.so is not installed. It isn't built because it depends on gettext/libiconv.
>How-To-Repeat:
Build python23 on Solaris 9 with gcc-3.3.5. bmake package yields:
tar: Unable to access lib/python2.3/lib-dynload/_locale.so (No such file or directory)
tar: WARNING! These file names were not selected:
lib/python2.3/lib-dynload/_locale.so
If you scroll back up in the build you'll discover some lines from python talking about disabling _locale.so.
>Fix:
Add
.include "../../devel/gettext-lib/buildlink3.mk"
to Makefile.common in python23 and python24.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->recht
Responsible-Changed-By: recht@netbsd.org
Responsible-Changed-When: Sun, 20 Mar 2005 11:11:01 +0000
Responsible-Changed-Why:
I take this one.
From: Marc Recht <recht@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/29735 CVS commit: pkgsrc/lang
Date: Sun, 3 Jul 2005 19:48:22 +0000 (UTC)
Module Name: pkgsrc
Committed By: recht
Date: Sun Jul 3 19:48:22 UTC 2005
Modified Files:
pkgsrc/lang/python24: Makefile
pkgsrc/lang/python24-pth: Makefile
Added Files:
pkgsrc/lang/python24/patches: patch-an
Log Message:
Add devel/gettext-lib as dependency to avoid problems with the locale module not being built.
- fix suggested by Simon Kuhn in PR 29735
Add a patch from darwinports to workaround for deprecated ostat in sys/stat.h on OS X 10.4.
bump PKGREVISION
To generate a diff of this commit:
cvs rdiff -r1.8 -r1.9 pkgsrc/lang/python24/Makefile
cvs rdiff -r1.3 -r1.4 pkgsrc/lang/python24-pth/Makefile
cvs rdiff -r0 -r1.3 pkgsrc/lang/python24/patches/patch-an
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: recht@netbsd.org
State-Changed-When: Sun, 03 Jul 2005 19:49:51 +0000
State-Changed-Why:
Patch commited. Thanks for the PR!
From: Marc Recht <recht@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/29735 CVS commit: pkgsrc/lang
Date: Sun, 3 Jul 2005 19:49:07 +0000 (UTC)
Module Name: pkgsrc
Committed By: recht
Date: Sun Jul 3 19:49:06 UTC 2005
Modified Files:
pkgsrc/lang/python23: Makefile Makefile.common distinfo
pkgsrc/lang/python23-nth: Makefile
pkgsrc/lang/python23-pth: Makefile
pkgsrc/lang/python23/patches: patch-al
Log Message:
Add devel/gettext-lib as dependency to avoid problems with the locale module not being built.
- fix suggested by Simon Kuhn in PR 29735
Add a patch from Antoine Reilles submitted in PR 30466 to fix the buid of some modules on OS X 10.4.
Bump PKGREVISION
To generate a diff of this commit:
cvs rdiff -r1.27 -r1.28 pkgsrc/lang/python23/Makefile
cvs rdiff -r1.26 -r1.27 pkgsrc/lang/python23/Makefile.common
cvs rdiff -r1.30 -r1.31 pkgsrc/lang/python23/distinfo
cvs rdiff -r1.4 -r1.5 pkgsrc/lang/python23-nth/Makefile
cvs rdiff -r1.28 -r1.29 pkgsrc/lang/python23-pth/Makefile
cvs rdiff -r1.12 -r1.13 pkgsrc/lang/python23/patches/patch-al
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.