Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2002 18:04:11 -0400 (EDT)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        ports@FreeBSD.ORG, alpha@FreeBSD.ORG
Subject:   Re: Python failure on alpha
Message-ID:  <15586.56155.610967.735451@grasshopper.cs.duke.edu>
In-Reply-To: <15586.55779.866459.970046@grasshopper.cs.duke.edu>
References:  <20020515142610.B82943@xor.obsecurity.org> <15586.55779.866459.970046@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

Andrew Gallatin writes:
 > 
 > Kris Kennaway writes:
 >  > The python ports have been broken on alpha for a very long time: this
 >  > knocks out over 530 dependent packages from building on alpha.  Is
 >  > anyone able to look into fixing this (hopefully in time for
 >  > 4.6-RELEASE)?
 >  > 
 >  > http://beta.freebsd.org/errorlogs/4-latest/python-2.1.3.log
 >  > http://beta.freebsd.org/errorlogs/4-latest/python-2.2.1.log
 >  > 
 >  > Kris
 >  > 
 > 
 > Ack..  Here's a patch for python-2.2.1 I'm not a ports comitter & I
 > ignore ports commit mail, so I don't know if there is a ports freeze,
 > or what & I'd rather not commit to the ports tree.  Please commit this
 > for me.

And here's an untested patch for python-2.1.3

Drew



Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/lang/python21/Makefile,v
retrieving revision 1.87
diff -u -r1.87 Makefile
--- Makefile	16 Apr 2002 11:44:39 -0000	1.87
+++ Makefile	15 May 2002 21:58:33 -0000
@@ -90,4 +90,10 @@
 		(cd ${DEMODIR}; tar xf -)
 .endif
 
+.if ${ARCH} == i386
+PLIST_SUB+=	X86_ONLY=""
+.else
+PLIST_SUB+=	X86_ONLY="@comment "
+.endif
+
 .include <bsd.port.post.mk>
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/lang/python21/pkg-plist,v
retrieving revision 1.38
diff -u -r1.38 pkg-plist
--- pkg-plist	11 Apr 2002 11:29:52 -0000	1.38
+++ pkg-plist	15 May 2002 22:00:19 -0000
@@ -862,7 +862,7 @@
 lib/%%PYTHON_VERSION%%/lib-dynload/_testcapi.so
 lib/%%PYTHON_VERSION%%/lib-dynload/_weakref.so
 lib/%%PYTHON_VERSION%%/lib-dynload/array.so
-lib/%%PYTHON_VERSION%%/lib-dynload/audioop.so
+%%X86_ONLY%%lib/%%PYTHON_VERSION%%/lib-dynload/audioop.so
 lib/%%PYTHON_VERSION%%/lib-dynload/binascii.so
 lib/%%PYTHON_VERSION%%/lib-dynload/bsddb.so
 lib/%%PYTHON_VERSION%%/lib-dynload/cPickle.so
@@ -874,7 +874,7 @@
 lib/%%PYTHON_VERSION%%/lib-dynload/fcntl.so
 lib/%%PYTHON_VERSION%%/lib-dynload/fpectl.so
 lib/%%PYTHON_VERSION%%/lib-dynload/grp.so
-lib/%%PYTHON_VERSION%%/lib-dynload/imageop.so
+%%X86_ONLY%%lib/%%PYTHON_VERSION%%/lib-dynload/imageop.so
 lib/%%PYTHON_VERSION%%/lib-dynload/math.so
 lib/%%PYTHON_VERSION%%/lib-dynload/md5.so
 lib/%%PYTHON_VERSION%%/lib-dynload/mmap.so
@@ -887,7 +887,7 @@
 lib/%%PYTHON_VERSION%%/lib-dynload/readline.so
 lib/%%PYTHON_VERSION%%/lib-dynload/regex.so
 lib/%%PYTHON_VERSION%%/lib-dynload/resource.so
-lib/%%PYTHON_VERSION%%/lib-dynload/rgbimg.so
+%%X86_ONLY%%lib/%%PYTHON_VERSION%%/lib-dynload/rgbimg.so
 lib/%%PYTHON_VERSION%%/lib-dynload/rotor.so
 lib/%%PYTHON_VERSION%%/lib-dynload/select.so
 lib/%%PYTHON_VERSION%%/lib-dynload/sha.so

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15586.56155.610967.735451>