py2app is broken?

Ben Lau xbenlau at gmail.com
Mon Jan 25 21:47:15 PST 2010


On Tue, Jan 26, 2010 at 1:35 PM, Joshua Root <jmr at macports.org> wrote:
> On 2010-1-26 15:34 , Ben Lau wrote:
>> Hi ,
>>
>>     I am using macports 1.8.2 on SnowLeopard, and I would like to
>> build a dmg of a python program , but it do not work.
>>
>> Repeat instruction:
>>
>> $ touch test.py
>> $ py2applet --make-setup test.py
>> $ python2.5 setup.py py2app
>
> Python 2.5 as distributed upstream does not build 64-bit on OS X at all,
> and they have no plans to fix that. We use some backported patches that
> allow it to at least compile, but it's no doubt still broken in many places.
>
> If someone supplies a fix for this particular issue we will happily
> apply it, but if you want to use 64-bit Python on OS X, you really need
> to be using 2.6+.
>
> - Josh

Thanks! But if I build with python2.6 , it make another error.
-------------- next part --------------
running py2app
*** filtering dependencies ***
252 total
30 filtered
4 orphaned
222 remaining
*** create binaries ***
skipping python loader for extension '_AE'
skipping python loader for extension '_Evt'
skipping python loader for extension '_File'
skipping python loader for extension '_bisect'
skipping python loader for extension '_codecs_cn'
skipping python loader for extension '_codecs_hk'
skipping python loader for extension '_codecs_iso2022'
skipping python loader for extension '_codecs_jp'
skipping python loader for extension '_codecs_kr'
skipping python loader for extension '_codecs_tw'
skipping python loader for extension '_collections'
skipping python loader for extension '_functools'
skipping python loader for extension '_heapq'
skipping python loader for extension '_locale'
skipping python loader for extension '_multibytecodec'
skipping python loader for extension '_random'
skipping python loader for extension '_struct'
skipping python loader for extension '_weakref'
skipping python loader for extension 'array'
skipping python loader for extension 'binascii'
skipping python loader for extension 'bz2'
skipping python loader for extension 'cPickle'
skipping python loader for extension 'cStringIO'
skipping python loader for extension 'datetime'
skipping python loader for extension 'fcntl'
skipping python loader for extension 'itertools'
skipping python loader for extension 'math'
skipping python loader for extension 'operator'
skipping python loader for extension 'select'
skipping python loader for extension 'strop'
skipping python loader for extension 'time'
skipping python loader for extension 'unicodedata'
skipping python loader for extension 'zlib'
*** byte compile python files ***
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/test.py to test.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/StringIO.py to StringIO.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/UserDict.py to UserDict.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/__future__.py to __future__.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/_abcoll.py to _abcoll.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/_strptime.py to _strptime.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/_threading_local.py to _threading_local.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/abc.py to abc.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/base64.py to base64.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/bdb.py to bdb.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/bisect.py to bisect.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/calendar.py to calendar.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/cmd.py to cmd.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/codecs.py to codecs.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/collections.py to collections.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/copy.py to copy.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/copy_reg.py to copy_reg.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/difflib.py to difflib.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/dis.py to dis.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/doctest.py to doctest.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/dummy_thread.py to dummy_thread.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/__init__.py to encodings/__init__.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/aliases.py to encodings/aliases.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/ascii.py to encodings/ascii.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/base64_codec.py to encodings/base64_codec.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/big5.py to encodings/big5.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/big5hkscs.py to encodings/big5hkscs.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/bz2_codec.py to encodings/bz2_codec.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/charmap.py to encodings/charmap.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp037.py to encodings/cp037.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp1006.py to encodings/cp1006.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp1026.py to encodings/cp1026.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp1140.py to encodings/cp1140.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp1250.py to encodings/cp1250.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp1251.py to encodings/cp1251.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp1252.py to encodings/cp1252.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp1253.py to encodings/cp1253.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp1254.py to encodings/cp1254.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp1255.py to encodings/cp1255.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp1256.py to encodings/cp1256.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp1257.py to encodings/cp1257.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp1258.py to encodings/cp1258.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp424.py to encodings/cp424.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp437.py to encodings/cp437.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp500.py to encodings/cp500.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp737.py to encodings/cp737.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp775.py to encodings/cp775.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp850.py to encodings/cp850.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp852.py to encodings/cp852.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp855.py to encodings/cp855.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp856.py to encodings/cp856.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp857.py to encodings/cp857.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp860.py to encodings/cp860.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp861.py to encodings/cp861.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp862.py to encodings/cp862.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp863.py to encodings/cp863.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp864.py to encodings/cp864.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp865.py to encodings/cp865.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp866.py to encodings/cp866.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp869.py to encodings/cp869.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp874.py to encodings/cp874.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp875.py to encodings/cp875.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp932.py to encodings/cp932.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp949.py to encodings/cp949.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/cp950.py to encodings/cp950.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/euc_jis_2004.py to encodings/euc_jis_2004.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/euc_jisx0213.py to encodings/euc_jisx0213.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/euc_jp.py to encodings/euc_jp.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/euc_kr.py to encodings/euc_kr.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/gb18030.py to encodings/gb18030.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/gb2312.py to encodings/gb2312.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/gbk.py to encodings/gbk.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/hex_codec.py to encodings/hex_codec.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/hp_roman8.py to encodings/hp_roman8.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/hz.py to encodings/hz.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/idna.py to encodings/idna.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/iso2022_jp.py to encodings/iso2022_jp.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/iso2022_jp_1.py to encodings/iso2022_jp_1.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/iso2022_jp_2.py to encodings/iso2022_jp_2.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/iso2022_jp_2004.py to encodings/iso2022_jp_2004.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/iso2022_jp_3.py to encodings/iso2022_jp_3.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/iso2022_jp_ext.py to encodings/iso2022_jp_ext.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/iso2022_kr.py to encodings/iso2022_kr.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/iso8859_1.py to encodings/iso8859_1.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/iso8859_10.py to encodings/iso8859_10.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/iso8859_11.py to encodings/iso8859_11.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/iso8859_13.py to encodings/iso8859_13.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/iso8859_14.py to encodings/iso8859_14.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/iso8859_15.py to encodings/iso8859_15.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/iso8859_16.py to encodings/iso8859_16.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/iso8859_2.py to encodings/iso8859_2.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/iso8859_3.py to encodings/iso8859_3.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/iso8859_4.py to encodings/iso8859_4.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/iso8859_5.py to encodings/iso8859_5.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/iso8859_6.py to encodings/iso8859_6.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/iso8859_7.py to encodings/iso8859_7.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/iso8859_8.py to encodings/iso8859_8.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/iso8859_9.py to encodings/iso8859_9.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/johab.py to encodings/johab.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/koi8_r.py to encodings/koi8_r.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/koi8_u.py to encodings/koi8_u.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/latin_1.py to encodings/latin_1.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/mac_arabic.py to encodings/mac_arabic.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/mac_centeuro.py to encodings/mac_centeuro.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/mac_croatian.py to encodings/mac_croatian.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/mac_cyrillic.py to encodings/mac_cyrillic.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/mac_farsi.py to encodings/mac_farsi.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/mac_greek.py to encodings/mac_greek.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/mac_iceland.py to encodings/mac_iceland.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/mac_latin2.py to encodings/mac_latin2.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/mac_roman.py to encodings/mac_roman.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/mac_romanian.py to encodings/mac_romanian.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/mac_turkish.py to encodings/mac_turkish.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/mbcs.py to encodings/mbcs.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/palmos.py to encodings/palmos.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/ptcp154.py to encodings/ptcp154.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/punycode.py to encodings/punycode.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/quopri_codec.py to encodings/quopri_codec.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/raw_unicode_escape.py to encodings/raw_unicode_escape.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/rot_13.py to encodings/rot_13.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/shift_jis.py to encodings/shift_jis.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/shift_jis_2004.py to encodings/shift_jis_2004.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/shift_jisx0213.py to encodings/shift_jisx0213.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/string_escape.py to encodings/string_escape.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/tis_620.py to encodings/tis_620.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/undefined.py to encodings/undefined.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/unicode_escape.py to encodings/unicode_escape.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/unicode_internal.py to encodings/unicode_internal.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/utf_16.py to encodings/utf_16.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/utf_16_be.py to encodings/utf_16_be.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/utf_16_le.py to encodings/utf_16_le.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/utf_32.py to encodings/utf_32.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/utf_32_be.py to encodings/utf_32_be.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/utf_32_le.py to encodings/utf_32_le.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/utf_7.py to encodings/utf_7.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/utf_8.py to encodings/utf_8.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/utf_8_sig.py to encodings/utf_8_sig.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/uu_codec.py to encodings/uu_codec.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/encodings/zlib_codec.py to encodings/zlib_codec.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/functools.py to functools.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/genericpath.py to genericpath.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/getopt.py to getopt.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/gettext.py to gettext.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/heapq.py to heapq.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/inspect.py to inspect.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/keyword.py to keyword.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/linecache.py to linecache.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/locale.py to locale.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/opcode.py to opcode.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/optparse.py to optparse.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/os.py to os.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/pdb.py to pdb.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/pickle.py to pickle.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/Carbon/AE.py to Carbon/AE.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/Carbon/AppleEvents.py to Carbon/AppleEvents.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/Carbon/Events.py to Carbon/Events.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/Carbon/Evt.py to Carbon/Evt.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/Carbon/File.py to Carbon/File.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/Carbon/__init__.py to Carbon/__init__.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/posixpath.py to posixpath.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/pprint.py to pprint.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/quopri.py to quopri.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/random.py to random.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/re.py to re.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/repr.py to repr.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/shlex.py to shlex.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app/bootstrap/argv_emulation.py to argv_emulation.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app/bootstrap/boot_app.py to boot_app.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app/bootstrap/chdir_resource.py to chdir_resource.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app/bootstrap/disable_linecache.py to disable_linecache.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/sre.py to sre.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/sre_compile.py to sre_compile.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/sre_constants.py to sre_constants.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/sre_parse.py to sre_parse.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/stat.py to stat.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/string.py to string.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/stringprep.py to stringprep.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/struct.py to struct.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py to subprocess.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/tempfile.py to tempfile.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/textwrap.py to textwrap.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py to threading.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/token.py to token.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/tokenize.py to tokenize.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/traceback.py to traceback.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/types.py to types.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/unittest.py to unittest.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/warnings.py to warnings.pyc
skipping byte-compilation of /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/weakref.py to weakref.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/_AE.py to _AE.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/_Evt.py to _Evt.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/_File.py to _File.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/_bisect.py to _bisect.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/_codecs_cn.py to _codecs_cn.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/_codecs_hk.py to _codecs_hk.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/_codecs_iso2022.py to _codecs_iso2022.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/_codecs_jp.py to _codecs_jp.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/_codecs_kr.py to _codecs_kr.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/_codecs_tw.py to _codecs_tw.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/_collections.py to _collections.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/_functools.py to _functools.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/_heapq.py to _heapq.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/_locale.py to _locale.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/_multibytecodec.py to _multibytecodec.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/_random.py to _random.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/_struct.py to _struct.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/_weakref.py to _weakref.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/array.py to array.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/binascii.py to binascii.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/bz2.py to bz2.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/cPickle.py to cPickle.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/cStringIO.py to cStringIO.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/datetime.py to datetime.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/fcntl.py to fcntl.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/itertools.py to itertools.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/math.py to math.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/operator.py to operator.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/select.py to select.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/strop.py to strop.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/time.py to time.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/unicodedata.py to unicodedata.pyc
skipping byte-compilation of /Users/benlau/src/junkcode/python/mac/build/bdist.macosx-10.6-i386/python2.6-standalone/app/temp/zlib.py to zlib.pyc
*** creating application bundle: test ***
copying build/bdist.macosx-10.6-i386/python2.6-standalone/app/site-packages.zip -> /Users/benlau/src/junkcode/python/mac/dist/test.app/Contents/Resources/lib/python2.6
copying /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Python -> /Users/benlau/src/junkcode/python/mac/dist/test.app/Contents/Frameworks/Python.framework/Versions/2.6
copying /opt/local/Library/Frameworks/Python.framework/Versions/2.6/Resources/Info.plist -> /Users/benlau/src/junkcode/python/mac/dist/test.app/Contents/Frameworks/Python.framework/Versions/2.6/Resources
copying /opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyconfig.h -> /Users/benlau/src/junkcode/python/mac/dist/test.app/Contents/Frameworks/Python.framework/Versions/2.6/include/python2.6
copying /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config/Makefile -> /Users/benlau/src/junkcode/python/mac/dist/test.app/Contents/Frameworks/Python.framework/Versions/2.6/lib/python2.6/config
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app/build_app.py", line 589, in _run
    self.run_normal()
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app/build_app.py", line 660, in run_normal
    self.create_binaries(py_files, pkgdirs, extensions, loader_files)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/py2app/build_app.py", line 768, in create_binaries
    mm.mm.run_file(runtime)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/macholib/MachOGraph.py", line 66, in run_file
    m = self.createNode(MachO, pathname)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/macholib/MachOStandalone.py", line 23, in createNode
    res = super(FilteredMachOGraph, self).createNode(cls, name)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/altgraph/ObjectGraph.py", line 148, in createNode
    m = cls(name, *args, **kw)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/macholib/MachO.py", line 63, in __init__
    self.load(file(filename, 'rb'))
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/macholib/MachO.py", line 78, in load
    self.load_header(fh, 0, size)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/macholib/MachO.py", line 108, in load_header
    hdr = MachOHeader(self, fh, offset, size, magic, hdr, endian)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/macholib/MachO.py", line 148, in __init__
    self.load(fh)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/macholib/MachO.py", line 161, in load
    header = self.mach_header.from_fileobj(fh, **kw)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/macholib/ptypes.py", line 44, in from_fileobj
    return cls.from_str(f.read(cls._size_), **kw)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/macholib/ptypes.py", line 48, in from_str
    return cls.from_tuple(struct.unpack(endian + cls._format_, s), **kw)
error: unpack requires a string argument of length 32
> /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/macholib/ptypes.py(48)from_str()
-> return cls.from_tuple(struct.unpack(endian + cls._format_, s), **kw)
(Pdb) interrupted


More information about the macports-users mailing list