[Pythonmac-SIG] Header too long - error

Luis A. Bastiao Silva luis.kop at gmail.com
Wed Mar 25 01:13:59 CET 2009


Hi everyone,

I have a error when i'm trying make a bundle:

copying /opt/local/lib/libgtk-x11-2.0.0.dylib ->
/Users/luis/Documents/Projects/umit/umit-svn/trunk/dist/umit.app/Contents/Frameworks
WARNING: Mach-O header may be too large to relocate
WARNING: Mach-O header may be too large to relocate
WARNING: Mach-O header may be too large to relocate
WARNING: Mach-O header may be too large to relocate
WARNING: Mach-O header may be too large to relocate
WARNING: Mach-O header may be too large to relocate
WARNING: Mach-O header may be too large to relocate
WARNING: Mach-O header may be too large to relocate
WARNING: Mach-O header may be too large to relocate
Traceback (most recent call last):
  File
"/opt/local/lib/python2.5/site-packages/py2app-0.4.2-py2.5.egg/py2app/build_app.py",
line 587, in _run
    self.run_normal()
  File
"/opt/local/lib/python2.5/site-packages/py2app-0.4.2-py2.5.egg/py2app/build_app.py",
line 658, in run_normal
    self.create_binaries(py_files, pkgdirs, extensions, loader_files)
  File
"/opt/local/lib/python2.5/site-packages/py2app-0.4.2-py2.5.egg/py2app/build_app.py",
line 775, in create_binaries
    platfiles = mm.run()
  File "build/bdist.macosx-10.5-i386/egg/macholib/MachOStandalone.py", line
135, in run
    node.write(f)
  File "build/bdist.macosx-10.5-i386/egg/macholib/MachO.py", line 113, in
write
    header.write(f)
  File "build/bdist.macosx-10.5-i386/egg/macholib/MachO.py", line 304, in
write
    self.synchronize_size()
  File "build/bdist.macosx-10.5-i386/egg/macholib/MachO.py", line 294, in
synchronize_size
    raise ValueError("New Mach-O header is too large to relocate")
ValueError: New Mach-O header is too large to relocate
>
/Users/luis/Documents/Projects/umit/umit-svn/trunk/build/bdist.macosx-10.5-i386/egg/macholib/MachO.py(294)synchronize_size()
(Pdb)

I have tried to use -headerpad_max_install and rebuild some libs and it
seems works but the error insists in another package.
I can't make a bundle because it seems like a circular rebuilding problem.

What is this problem related? Is it fixable? I was reading the code of
macholib but I didn't understand what is happening.

Someone could help me?


Best Regards,
-- 
Luís A. Bastião Silva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20090325/5cec0e97/attachment.htm>


More information about the Pythonmac-SIG mailing list