NetBSD Problem Report #38061
From gary@duzan.org Tue Feb 19 04:55:15 2008
Return-Path: <gary@duzan.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 1BBF163B293
for <gnats-bugs@gnats.NetBSD.org>; Tue, 19 Feb 2008 04:55:15 +0000 (UTC)
Message-Id: <20080219045441.B90A8C880EE@capo.xnet.duzan.org>
Date: Mon, 18 Feb 2008 23:54:41 -0500 (EST)
From: gary@duzan.org
Reply-To: gary@duzan.org
To: gnats-bugs@gnats.NetBSD.org
Subject: devel/boost-python can't find python executable
X-Send-Pr-Version: 3.95
>Number: 38061
>Category: pkg
>Synopsis: devel/boost-python can't find python executable
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: jmmv
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Feb 19 05:00:01 +0000 2008
>Closed-Date: Sun Mar 16 23:35:43 +0000 2008
>Last-Modified: Sun Mar 16 23:50:00 +0000 2008
>Originator: Gary Duzan
>Release: NetBSD 4.99.53
>Organization:
N/A
>Environment:
System: NetBSD capo 4.99.53 NetBSD 4.99.53 (CAPO64) #19: Fri Feb 8 01:18:06 EST 2008 gary@capo:/usr/obj/sys/arch/amd64/compile.amd64/CAPO64 amd64
Architecture: x86_64
Machine: amd64
>Description:
The generated user-conf.jam is not found by bjam, resulting in:
===> Building for boost-python-1.34.1
python: not found
WARNING: No python installation configured and autoconfiguration
failed. See http://www.boost.org/libs/python/doc/building.html
for configuration instructions or pass --without-python to
suppress this message and silently skip all Boost.Python targets
warning: Python location is not configured
warning: the Boost.Python library won't be built
...found 1 target...
=> Unwrapping files-to-be-installed.
There is no error, but nothing is built, and the install fails.
>How-To-Repeat:
Build devel/boost-python. I'm not certain exactly what
other factors need to be in place to reproduce the problem.
>Fix:
According to <http://www.boost.org/doc/html/bbv2/reference.html>,
bjam looks in $HOME and $BOOST_BUILD_PATH for user-config.jam. For
some reason setting HOME isn't sufficient in my case. (Possibly being
reset by the shell?) The following patch fixes the problem for me.
Index: Makefile
===================================================================
RCS file: /usr2/netbsd-cvs/pkgsrc/devel/boost-python/Makefile,v
retrieving revision 1.9
diff -b -u -p -r1.9 Makefile
--- Makefile 5 Feb 2008 23:01:59 -0000 1.9
+++ Makefile 19 Feb 2008 04:46:05 -0000
@@ -11,6 +11,7 @@ PKG_DESTDIR_SUPPORT= user-destdir
BJAM_ARGS+= --with-python
MAKE_ENV+= HOME=${WRKSRC}
+MAKE_ENV+= BOOST_BUILD_PATH=${WRKSRC}
.include "../../devel/boost-jam/bjam.mk"
.include "../../lang/python/application.mk"
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->jmmv
Responsible-Changed-By: reed@narn.netbsd.org
Responsible-Changed-When: Tue, 19 Feb 2008 14:42:49 +0000
Responsible-Changed-Why:
Assign to maintainer.
State-Changed-From-To: open->closed
State-Changed-By: tnn@NetBSD.org
State-Changed-When: Sun, 16 Mar 2008 23:35:43 +0000
State-Changed-Why:
Fixed, thanks for the PR.
From: Tobias Nygren <tnn@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/38061 CVS commit: pkgsrc/devel/boost-python
Date: Sun, 16 Mar 2008 23:33:57 +0000 (UTC)
Module Name: pkgsrc
Committed By: tnn
Date: Sun Mar 16 23:33:57 UTC 2008
Modified Files:
pkgsrc/devel/boost-python: Makefile
Log Message:
Use $BOOST_BUILD_PATH, not $HOME. PR pkg/38061 from Gary Duzan.
(this was fallout from introduction of mk/check/check-fakehome.mk)
To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 pkgsrc/devel/boost-python/Makefile
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.