This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: py3k build gets spurious errors from libinstall target compile of lib2to3 files
Type: compile error Stage:
Components: 2to3 (2.x to 3.x conversion tool), Build Versions: Python 3.1
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, ned.deily
Priority: normal Keywords:

Created on 2009-06-03 02:59 by ned.deily, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (5)
msg88787 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2009-06-03 02:59
[...]
Compiling 
/tmp/image/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.
1/lib2to3/tests/__init__.py ...
Listing 
/tmp/image/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.
1/lib2to3/tests/data ...
Compiling 
/tmp/image/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.
1/lib2to3/tests/data/crlf.py ...
***   File 
"/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/lib2to3
/tests/data/crlf.py", line 1
    print "hi"
             ^
SyntaxError: invalid syntax

Compiling 
/tmp/image/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.
1/lib2to3/tests/data/different_encoding.py ...
***   File 
"/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/lib2to3
/tests/data/different_encoding.py", line 3
    
print(u'ßàáâãäåæçèéêëìíîïðñòóôõöøùúûüýþÿÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞ')
                                                                           
^
SyntaxError: invalid syntax

Listing 
/tmp/image/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.
1/lib2to3/tests/data/fixers ...
[...]


Seen during build on OSX 10.5:
  ./configure --enable-framework --enable-
universalsdk=/Developer/SDKs/MacOSX10.4u.sdk
  make
  make install DESTDIR=/tmp/image
msg88788 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2009-06-03 03:09
Thanks! Fixed in r73160.
msg88791 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2009-06-03 03:40
r73160 does make the spurious errors go away - along with the compiles 
of all the other modules!  Suggest removing the spurious "!"'s:

926c926
< 		-x 'bad_coding|badsyntax|site-
packages|py2_test_grammar|crlf|different_encoding|' \
---
> 		-x 'bad_coding|badsyntax|site-
packages|py2_test_grammar|crlf|different_encoding' \
931c931
< 		-x 'bad_coding|badsyntax|site-
packages|py2_test_grammar|crlf|different_encoding|' \
---
> 		-x 'bad_coding|badsyntax|site-
packages|py2_test_grammar|crlf|different_encoding' \
msg88792 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2009-06-03 03:42
er, spurious "|"'s
msg88815 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2009-06-03 16:57
Fixed those in r73177.
History
Date User Action Args
2022-04-11 14:56:49adminsetgithub: 50434
2009-06-03 16:57:10benjamin.petersonsetmessages: + msg88815
2009-06-03 16:56:32benjamin.petersonsetstatus: open -> closed
2009-06-03 03:42:38ned.deilysetmessages: + msg88792
2009-06-03 03:40:27ned.deilysetstatus: closed -> open

messages: + msg88791
2009-06-03 03:09:43benjamin.petersonsetstatus: open -> closed

nosy: + benjamin.peterson
messages: + msg88788

resolution: fixed
2009-06-03 02:59:16ned.deilycreate