Date: Mon, 6 Apr 2009 20:38:32 GMT From: Paul Hoffman <phoffman@proper.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/133440: Building lang/python30 with UCS-4 support doesn't work Message-ID: <200904062038.n36KcWfG025141@www.freebsd.org> Resent-Message-ID: <200904062040.n36Ke3ZM038203@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 133440 >Category: ports >Synopsis: Building lang/python30 with UCS-4 support doesn't work >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 06 20:40:03 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Paul Hoffman >Release: 7.0-RELEASE >Organization: self >Environment: FreeBSD local3.proper.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: In lang/python30, 'make -D WITH_UCS4' does not actually make with UCS-4 support. This can be shown by running python, importing 'sys', and seeing that 'sys.maxunicode' is still 64k. >How-To-Repeat: >Fix: Looking in lang/python30/work/Python-3.0.1/portbld.shared/config.log, we see that the config command was: $ ./../configure --with-threads --enable-unicode=ucs4 --enable-ipv6 --prefix=/usr/local --mandir=/usr/local/man --infodir=/usr/local/info/ --build=i386-portbld-freebsd7.0 This is *wrong*. According to ./configure --help, you need to use '--with-wide-unicode'. I have tested this by building directly from source, and --with-wide-unicode in fact works. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904062038.n36KcWfG025141>