[XML-SIG] Trouble building PyXML-0.8.4

Ralph Siemsen ralphs at netwinder.org
Tue Oct 28 22:45:18 CET 2008


I'm trying to build PyXML-0.8.4 from source,
against python-2.5.1 using gcc-4.3.1 on ARM platform.
The build fails as shown below... I am not sure exactly
what the error means, or how to go about fixing it.
Any pointers would be appreciated.

byte-compiling /home/build/rpmbuild/BUILDROOT/PyXML-0.8.4-10.arm/usr/lib/python2.5/site-packages/_xmlplus/xpath/XPathParser.py
to XPathParser.pyc
byte-compiling /home/build/rpmbuild/BUILDROOT/PyXML-0.8.4-10.arm/usr/lib/python2.5/site-packages/_xmlplus/xpath/XPathParserBase.py
to XPathParserBase.pyc
byte-compiling /home/build/rpmbuild/BUILDROOT/PyXML-0.8.4-10.arm/usr/lib/python2.5/site-packages/_xmlplus/xpath/__init__.py
to __init__.pyc
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 244, in <module>
    scripts = ['scripts/xmlproc_parse', 'scripts/xmlproc_val']
  File "/usr/lib/python2.5/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/lib/python2.5/distutils/dist.py", line 974, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.5/site-packages/setuptools/command/install.py",
line 56, in run
    return _install.run(self)
  File "/usr/lib/python2.5/distutils/command/install.py", line 510, in
run
    self.run_command(cmd_name)
  File "/usr/lib/python2.5/distutils/cmd.py", line 333, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
    cmd_obj.run()
  File
"/usr/lib/python2.5/site-packages/setuptools/command/install_lib.py",
line 24, in run
    self.byte_compile(outfiles)
  File "/usr/lib/python2.5/distutils/command/install_lib.py", line 135,
in byte_compile
    dry_run=self.dry_run)
  File "/usr/lib/python2.5/distutils/util.py", line 499, in byte_compile
    compile(file, cfile, dfile)
  File "/usr/lib/python2.5/py_compile.py", line 138, in compile
    marshal.dump(codeobject, fc)
ValueError: unmarshallable object

I have built a number of other python modules sucessfully (well,
no complaints during compilation anyways).

For reference, the same build on x86 platform,
http://kojipkgs.fedoraproject.org/packages/PyXML/0.8.4/10/data/logs/i386/build.log

Thanks,
-Ralph


More information about the XML-SIG mailing list