NetBSD Problem Report #45347

From www@NetBSD.org  Thu Sep  8 21:38:58 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 7E42963BBFF
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  8 Sep 2011 21:38:58 +0000 (UTC)
Message-Id: <20110908213857.8257A63BB48@www.NetBSD.org>
Date: Thu,  8 Sep 2011 21:38:57 +0000 (UTC)
From: pallegra@gmail.com
Reply-To: pallegra@gmail.com
To: gnats-bugs@NetBSD.org
Subject: devel/xulrunner with python 3.1
X-Send-Pr-Version: www-1.0

>Number:         45347
>Category:       pkg
>Synopsis:       devel/xulrunner with python 3.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 08 21:40:00 +0000 2011
>Closed-Date:    Fri Feb 01 22:51:16 +0000 2013
>Last-Modified:  Fri Feb 01 22:51:16 +0000 2013
>Originator:     Pierre Allegraud
>Release:        Current
>Organization:
>Environment:
>Description:
devel/xulrunner currently accepts python 3.1. However, it doesn't build because only python 2.5, 2.6 and 2.7 are accepted by the configure script.
>How-To-Repeat:

>Fix:
Maybe either add PYTHON_VERSION_ACCEPTED or PYTHON_VERSIONS_INCOMPATIBLE in mozilla-common.mk.
I'm using this patch:

Index: devel/xulrunner/mozilla-common.mk
===================================================================
--- devel/xulrunner/mozilla-common.mk
+++ devel/xulrunner/mozilla-common.mk
@@ -53,10 +53,11 @@
 CONFIG_SUB_OVERRIDE+=		${MOZILLA_DIR}js/src/build/autoconf/config.sub
 CONFIG_SUB_OVERRIDE+=		${MOZILLA_DIR}nsprpub/build/autoconf/config.sub
 CONFIG_SUB_OVERRIDE+=		${MOZILLA_DIR}/js/ctypes/libffi/config.sub

 PYTHON_FOR_BUILD_ONLY=		yes
+PYTHON_VERSIONS_ACCEPTED=	25 26 27
 .include "../../lang/python/application.mk"
 CONFIGURE_ENV+=		PYTHON=${PYTHONBIN:Q}

 # Makefiles sometimes call "rm -f" without more arguments. Kludge around ...
 .PHONY: create-rm-wrapper


>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->tnn
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Thu, 08 Sep 2011 22:15:21 +0000
Responsible-Changed-Why:
Over to maintainer.


Responsible-Changed-From-To: tnn->pkg-manager
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Fri, 01 Feb 2013 22:51:16 +0000
Responsible-Changed-Why:
Back to role account.


State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Fri, 01 Feb 2013 22:51:16 +0000
State-Changed-Why:
Packages don't accept python-3.x by default any longer, so this patch isn't necessary.
Thank you though!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.