Bug 133440 - Building lang/python30 with UCS-4 support doesn't work
Summary: Building lang/python30 with UCS-4 support doesn't work
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-python (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-06 21:40 UTC by phoffman
Modified: 2009-07-02 02:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description phoffman 2009-04-06 21:40:03 UTC
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.

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.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-04-06 21:40:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->python

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2009-04-13 18:23:50 UTC
Responsible Changed
From-To: python->freebsd-python

Canonicalize assignment.
Comment 3 dfilter service freebsd_committer freebsd_triage 2009-07-02 02:46:43 UTC
lwhsu       2009-07-02 01:46:33 UTC

  FreeBSD ports repository

  Modified files:
    lang/python30        Makefile pkg-message pkg-plist 
    lang/python30/files  patch-setup.py 
  Log:
  - Honor EXAMPLESDIR, DATADIR and NOPORTEXAMPLES, NOPORTDATA
  - Remove bsddb module in pkg-message since it's removed from
    Python default modules
    (python3 user should use databases/py-bsddb3)
  - Fix WITH_UCS4 support
  - Mark jobs safe
  - Makefile/patch cleanup
  
  PR:             ports/133440
  Submitted by:   Paul Hoffman <phoffman AT proper.com>
  
  Revision  Changes    Path
  1.156     +15 -18    ports/lang/python30/Makefile
  1.20      +1 -1      ports/lang/python30/files/patch-setup.py
  1.2       +0 -1      ports/lang/python30/pkg-message
  1.77      +547 -547  ports/lang/python30/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Li-Wen Hsu freebsd_committer freebsd_triage 2009-07-02 02:47:10 UTC
State Changed
From-To: open->closed

Committed. Thanks!