Message8401

Author griels
Recipients Arfrever, JJ, dahlia, fwierzbicki, griels, pjac, tuska, zart
Date 2014-05-14.10:24:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1400063048.6.0.117885898288.issue1891@psf.upfronthosting.co.za>
In-reply-to
Content
Here's my exception. I tried with JDK7 and JDK8 (in case there had been improvements there as hinted at), but got the same error. I increased the memory and stack sizes to 2GB each and reduced GC frequency, but still getting the problem on both. The closest to a workaround I found is to use pycimport, which hasn't been updated for a long time AFAICT.

This is jython running SetupTools trying to install PyXB. Any hints much appreciated.

Reading https://pypi.python.org/simple/pyxb/
Best match: PyXB 1.2.3
Downloading https://pypi.python.org/packages/source/P/PyXB/PyXB-1.2.3.tar.gz#md5=e7e15abb99f686939ef4c4bead4f05e3
Processing PyXB-1.2.3.tar.gz
'pyxb' already exists in /home/ellis/FOMextractorLocal/target/jython-plugins-tmp/build; build directory /tmp/easy_install-IsyY5A will not be kept
Writing /tmp/easy_install-IsyY5A/PyXB-1.2.3/setup.cfg
Running PyXB-1.2.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-IsyY5A/PyXB-1.2.3/egg-dist-tmp-abDmq0
Found bundle in /tmp/easy_install-IsyY5A/PyXB-1.2.3/pyxb/bundles/dc
Found bundle in /tmp/easy_install-IsyY5A/PyXB-1.2.3/pyxb/bundles/common
Found bundle in /tmp/easy_install-IsyY5A/PyXB-1.2.3/pyxb/bundles/wssplat
Found bundle in /tmp/easy_install-IsyY5A/PyXB-1.2.3/pyxb/bundles/saml20
warning: no files found matching 'MANIFEST'
no previously-included directories found matching 'pyxb/bundles/core/schemas'
no previously-included directories found matching 'pyxb/bundles/core/remote'
no previously-included directories found matching 'pyxb/bundles/wssplat/schemas'
no previously-included directories found matching 'pyxb/bundles/wssplat/remote'
no previously-included directories found matching 'pyxb/bundles/opengis/schemas'
no previously-included directories found matching 'pyxb/bundles/opengis/remote'
no previously-included directories found matching 'doc/_build'
warning: no previously-included files found matching 'doc/*.eap'
no previously-included directories found matching 'doc/W3C'
warning: no previously-included files matching '*~' found anywhere in distribution
Traceback (most recent call last):
  File "Lib/site-packages/setuptools-3.5.1-py2.7.egg/easy_install.py", line 5, in <module>
    main()
  File "/home/ellis/FOMextractorLocal/target/jython-plugins-tmp/Lib/site-packages/setuptools-3.5.1-py2.7.egg/setuptools/command/easy_install.py", line 1920, in main
    with_ei_usage(lambda:
  File "/home/ellis/FOMextractorLocal/target/jython-plugins-tmp/Lib/site-packages/setuptools-3.5.1-py2.7.egg/setuptools/command/easy_install.py", line 1907, in with_ei_usage
    return f()
  File "/home/ellis/FOMextractorLocal/target/jython-plugins-tmp/Lib/site-packages/setuptools-3.5.1-py2.7.egg/setuptools/command/easy_install.py", line 1920, in <lambda>
    with_ei_usage(lambda:
  File "/home/ellis/workspace/jython-trunk/dist/Lib/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/home/ellis/workspace/jython-trunk/dist/Lib/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/home/ellis/workspace/jython-trunk/dist/Lib/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/home/ellis/workspace/jython-trunk/dist/Lib/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/home/ellis/FOMextractorLocal/target/jython-plugins-tmp/Lib/site-packages/setuptools-3.5.1-py2.7.egg/setuptools/command/easy_install.py", line 360, in run
    self.easy_install(spec, not self.no_deps)
  File "/home/ellis/FOMextractorLocal/target/jython-plugins-tmp/Lib/site-packages/setuptools-3.5.1-py2.7.egg/setuptools/command/easy_install.py", line 595, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "/home/ellis/FOMextractorLocal/target/jython-plugins-tmp/Lib/site-packages/setuptools-3.5.1-py2.7.egg/setuptools/command/easy_install.py", line 625, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "/home/ellis/FOMextractorLocal/target/jython-plugins-tmp/Lib/site-packages/setuptools-3.5.1-py2.7.egg/setuptools/command/easy_install.py", line 813, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "/home/ellis/FOMextractorLocal/target/jython-plugins-tmp/Lib/site-packages/setuptools-3.5.1-py2.7.egg/setuptools/command/easy_install.py", line 1019, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "/home/ellis/FOMextractorLocal/target/jython-plugins-tmp/Lib/site-packages/setuptools-3.5.1-py2.7.egg/setuptools/command/easy_install.py", line 1004, in run_setup
    run_setup(setup_script, args)
  File "/home/ellis/FOMextractorLocal/target/jython-plugins-tmp/Lib/site-packages/setuptools-3.5.1-py2.7.egg/setuptools/command/easy_install.py", line 1004, in run_setup
    run_setup(setup_script, args)
  File "/home/ellis/FOMextractorLocal/target/jython-plugins-tmp/Lib/site-packages/setuptools-3.5.1-py2.7.egg/setuptools/sandbox.py", line 50, in run_setup
    lambda: execfile(
  File "/home/ellis/FOMextractorLocal/target/jython-plugins-tmp/Lib/site-packages/setuptools-3.5.1-py2.7.egg/setuptools/sandbox.py", line 50, in run_setup
    lambda: execfile(
  File "/home/ellis/FOMextractorLocal/target/jython-plugins-tmp/Lib/site-packages/setuptools-3.5.1-py2.7.egg/setuptools/sandbox.py", line 100, in run
    return func()
  File "/home/ellis/FOMextractorLocal/target/jython-plugins-tmp/Lib/site-packages/setuptools-3.5.1-py2.7.egg/setuptools/sandbox.py", line 50, in <lambda>
    lambda: execfile(
  File "setup.py", line 220, in <module>
  File "/home/ellis/workspace/jython-trunk/dist/Lib/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/home/ellis/workspace/jython-trunk/dist/Lib/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/home/ellis/workspace/jython-trunk/dist/Lib/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/home/ellis/workspace/jython-trunk/dist/Lib/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/home/ellis/FOMextractorLocal/target/jython-plugins-tmp/Lib/site-packages/setuptools-3.5.1-py2.7.egg/setuptools/command/bdist_egg.py", line 157, in run
    cmd = self.call_command('install_lib', warn_dir=0)
  File "/home/ellis/FOMextractorLocal/target/jython-plugins-tmp/Lib/site-packages/setuptools-3.5.1-py2.7.egg/setuptools/command/bdist_egg.py", line 143, in call_command
    self.run_command(cmdname)
  File "/home/ellis/workspace/jython-trunk/dist/Lib/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/home/ellis/workspace/jython-trunk/dist/Lib/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/home/ellis/FOMextractorLocal/target/jython-plugins-tmp/Lib/site-packages/setuptools-3.5.1-py2.7.egg/setuptools/command/install_lib.py", line 12, in run
    self.byte_compile(outfiles)
  File "/home/ellis/workspace/jython-trunk/dist/Lib/distutils/command/install_lib.py", line 136, in byte_compile
    byte_compile(files, optimize=0,
  File "/home/ellis/workspace/jython-trunk/dist/Lib/distutils/util.py", line 567, in byte_compile
    compile(file, cfile, dfile)
  File "/home/ellis/workspace/jython-trunk/dist/Lib/py_compile.py", line 96, in compile
    _py_compile.compile(file, cfile, dfile)
  File "/home/ellis/workspace/jython-trunk/dist/Lib/py_compile.py", line 96, in compile
    _py_compile.compile(file, cfile, dfile)
	at org.objectweb.asm.ClassWriter.toByteArray(Unknown Source)
	at org.python.compiler.ClassFile.write(ClassFile.java:212)
	at org.python.compiler.Module.write(Module.java:605)
	at org.python.compiler.Module.compile(Module.java:661)
	at org.python.core.imp.compileSource(imp.java:330)
	at org.python.core.imp.compileSource(imp.java:252)
	at org.python.modules._py_compile.compile(_py_compile.java:28)
	at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)

java.lang.RuntimeException: java.lang.RuntimeException: Class file too large!
History
Date User Action Args
2014-05-14 10:24:08grielssetmessageid: <1400063048.6.0.117885898288.issue1891@psf.upfronthosting.co.za>
2014-05-14 10:24:08grielssetrecipients: + griels, fwierzbicki, tuska, pjac, Arfrever, dahlia, zart, JJ
2014-05-14 10:24:08grielslinkissue1891 messages
2014-05-14 10:24:07grielscreate