NetBSD Problem Report #51166

From www@NetBSD.org  Wed May 25 16:32:25 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id B674F7A46B
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 25 May 2016 16:32:25 +0000 (UTC)
Message-Id: <20160525163224.1F5707AAA2@mollari.NetBSD.org>
Date: Wed, 25 May 2016 16:32:24 +0000 (UTC)
From: scole_mail@gmx.com
Reply-To: scole_mail@gmx.com
To: gnats-bugs@NetBSD.org
Subject: python27 ia64 FreeBSD patch
X-Send-Pr-Version: www-1.0

>Number:         51166
>Category:       pkg
>Synopsis:       python27 ia64 FreeBSD patch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    leot
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed May 25 16:35:00 +0000 2016
>Closed-Date:    Wed May 25 17:03:14 +0000 2016
>Last-Modified:  Thu May 26 04:10:00 +0000 2016
>Originator:     scole_mail
>Release:        pkgsrc-2016Q1
>Organization:
none
>Environment:
FreeBSD itan 10.1-RELEASE-p32 FreeBSD 10.1-RELEASE-p32 #0 r298789: Fri Apr 29 16:12:02 EDT 2016     root@itan:/usr/obj/usr/src/sys/GENERIC  ia64
>Description:
Here is a patch to allow python27 to run on FreeBSD 10.1 ia64, and I guess, other ia64 OSes.

Thanks
>How-To-Repeat:
cd .../pkgsrc/lang/python27 && bmake install
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/lang/python27/Makefile,v
retrieving revision 1.57
diff -b -u -r1.57 Makefile
--- Makefile    5 Mar 2016 11:28:44 -0000       1.57
+++ Makefile    25 May 2016 16:22:04 -0000
@@ -87,6 +87,7 @@

 .if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "sparc64") || \
     (${MACHINE_ARCH} == "x86_64") || (${MACHINE_ARCH} == "powerpc64") || \
+    (${MACHINE_ARCH} == "ia64") || \
     (defined(ABI) && ${ABI} == "64")
 IS_64BIT_PLATFORM?=    yes
 .else

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->leot
Responsible-Changed-By: leot@NetBSD.org
Responsible-Changed-When: Wed, 25 May 2016 16:42:14 +0000
Responsible-Changed-Why:
take


From: "Leonardo Taccari" <leot@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/51166 CVS commit: pkgsrc/lang/python27
Date: Wed, 25 May 2016 16:56:41 +0000

 Module Name:	pkgsrc
 Committed By:	leot
 Date:		Wed May 25 16:56:41 UTC 2016

 Modified Files:
 	pkgsrc/lang/python27: Makefile

 Log Message:
 Add ia64 to IS_64BIT_PLATFORM.

 From scole_mail via PR pkg/51166.


 To generate a diff of this commit:
 cvs rdiff -u -r1.58 -r1.59 pkgsrc/lang/python27/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: leot@NetBSD.org
State-Changed-When: Wed, 25 May 2016 17:03:14 +0000
State-Changed-Why:
Patch applied. Thank you very much for the PR and the patch!


From: Joerg Sonnenberger <joerg@bec.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: PR/51166 CVS commit: pkgsrc/lang/python27
Date: Wed, 25 May 2016 22:33:23 +0200

 On Wed, May 25, 2016 at 05:00:01PM +0000, Leonardo Taccari wrote:
 > The following reply was made to PR pkg/51166; it has been noted by GNATS.
 > 
 > From: "Leonardo Taccari" <leot@netbsd.org>
 > To: gnats-bugs@gnats.NetBSD.org
 > Cc: 
 > Subject: PR/51166 CVS commit: pkgsrc/lang/python27
 > Date: Wed, 25 May 2016 16:56:41 +0000
 > 
 >  Module Name:	pkgsrc
 >  Committed By:	leot
 >  Date:		Wed May 25 16:56:41 UTC 2016
 >  
 >  Modified Files:
 >  	pkgsrc/lang/python27: Makefile
 >  
 >  Log Message:
 >  Add ia64 to IS_64BIT_PLATFORM.
 >  
 >  From scole_mail via PR pkg/51166.

 Why is this not using LP64PLATFORMS?

 Joerg

From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/51166 CVS commit: pkgsrc/lang/python27
Date: Thu, 26 May 2016 04:07:33 +0000

 Module Name:	pkgsrc
 Committed By:	dholland
 Date:		Thu May 26 04:07:32 UTC 2016

 Modified Files:
 	pkgsrc/lang/python27: Makefile

 Log Message:
 Use LP64PLATFORMS instead of a hardcoded list. PR 51166.
 Fixes mips64, aargh64, and several others.

 XXX: make needs a better way to express this logic.


 To generate a diff of this commit:
 cvs rdiff -u -r1.59 -r1.60 pkgsrc/lang/python27/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.