ports/133440: Building lang/python30 with UCS-4 support doesn't work
Paul Hoffman
phoffman at proper.com
Mon Apr 6 20:40:05 UTC 2009
>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 at 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:
More information about the freebsd-ports-bugs
mailing list