NetBSD Problem Report #27402
From www@www.netbsd.org Sat Oct 23 21:28:55 2004
Return-Path: <www@www.netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
id 2CD652521DE; Sat, 23 Oct 2004 21:28:55 +0000 (UTC)
Message-Id: <20041023212855.2CD652521DE@narn.netbsd.org>
Date: Sat, 23 Oct 2004 21:28:55 +0000 (UTC)
From: geos@epost.de
Reply-To: geos@epost.de
To: gnats-bugs@gnats.NetBSD.org
Subject: lang/python20 does not find db.h
X-Send-Pr-Version: www-1.0
>Number: 27402
>Category: pkg
>Synopsis: lang/python20 does not find db.h
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: recht
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Oct 23 21:29:00 +0000 2004
>Closed-Date: Sun Oct 31 13:24:54 +0000 2004
>Last-Modified: Sun Oct 31 13:24:54 +0000 2004
>Originator: Georg Schwarz
>Release: current pkgsrc
>Organization:
>Environment:
IRIX lorenz 5.3 08031225 IP20 mips
>Description:
When compiling python20, db.h is not found for Modules/socketmodule.c, #define HAVE_DB_185_H has nor been defined in the configure stage.
>How-To-Repeat:
>Fix:
I copied the following from python23/Makefile.common and added it to Makefile:
USE_DB185= yes
.include "../../mk/bdb.buildlink3.mk"
MAKE_ENV+= PY_BDB_TYPE=${BDB_TYPE}
.if ${BDB_TYPE} == "native"
MAKE_ENV+= PY_BDB_INCDIRS=/usr/${_BDB_INCDIRS}
.else
MAKE_ENV+= PY_BDB_INCDIRS=${BDBBASE}/${BUILDLINK_INCDIRS.${BDB_TYPE}}
MAKE_ENV+= PY_BDB_LIBDIRS=${BDBBASE}/lib
.endif
I am not sure if all of this is necessary here, too.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->recht
Responsible-Changed-By: wiz
Responsible-Changed-When: Sun Oct 24 14:05:10 UTC 2004
Responsible-Changed-Why:
recht agreed to take a look.
From: Marc Recht <marc@geht.de>
To: geos@epost.de
Cc: gnats-bugs@gnats.NetBSD.org
Subject: Re: pkg/27402: lang/python20 does not find db.h
Date: Sat, 30 Oct 2004 11:16:50 +0200
--Apple-Mail-2-561526519
Content-Type: multipart/mixed; boundary=Apple-Mail-1-561526508
--Apple-Mail-1-561526508
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
format=flowed
Does the stripped down version of the patch the trick?
Marc
--Apple-Mail-1-561526508
Content-Transfer-Encoding: 7bit
Content-Type: application/octet-stream;
x-unix-mode=0644;
name="python20.diff"
Content-Disposition: attachment;
filename=python20.diff
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/python20/Makefile,v
retrieving revision 1.21
diff -u -u -b -r1.21 Makefile
--- Makefile 3 Oct 2004 00:15:02 -0000 1.21
+++ Makefile 30 Oct 2004 09:15:37 -0000
@@ -24,6 +24,8 @@
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-threads
INSTALL_TARGET= altinstall
+# ensure that the bsddb185 module is built on all platforms
+USE_DB185= yes
# Make sure having environment variable OPT doesn't affect the
# installed module-building Makefile
@@ -77,4 +79,5 @@
.include "../../devel/zlib/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bdb.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
--Apple-Mail-1-561526508--
--Apple-Mail-2-561526519
content-type: application/pgp-signature; x-mac-type=70674453;
name=PGP.sig
content-description: Signierter Teil der Nachricht
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFBg1wK7YQCetAaG3MRAoCjAJ9c7/1ltD0num2WT1N4Gr4SeKTXUACfczCQ
9YV5hrEjan68gLhL7onEezI=
=DwXT
-----END PGP SIGNATURE-----
--Apple-Mail-2-561526519--
From: Georg Schwarz <georg.schwarz@freenet.de>
To: Marc Recht <marc@geht.de>
Cc: geos@epost.de, gnats-bugs@gnats.NetBSD.org
Subject: Re: pkg/27402: lang/python20 does not find db.h
Date: Sat, 30 Oct 2004 20:05:19 +0200 (CEST)
I can confirm the proposed change works.
--
Georg Schwarz http://home.pages.de/~schwarz/
georg.schwarz@freenet.de +49 177 8811442
From: Marc Recht <recht@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/27402 CVS commit: pkgsrc/lang/python20
Date: Sun, 31 Oct 2004 13:23:03 +0000 (UTC)
Module Name: pkgsrc
Committed By: recht
Date: Sun Oct 31 13:23:03 UTC 2004
Modified Files:
pkgsrc/lang/python20: Makefile
Log Message:
fix build on IRIX
patch based upon the one Georg Schwarz provided in PR pkg/27402
To generate a diff of this commit:
cvs rdiff -r1.21 -r1.22 pkgsrc/lang/python20/Makefile
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
State-Changed-When: Sun Oct 31 13:24:11 UTC 2004
State-Changed-Why:
Patch commited. Thanks for the PR!
>Unformatted:
>Quarter:
>Keywords:
>Date-Required:
(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.