You are not logged in.

#1 2010-12-23 20:45:49

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,322
Website

[SOLVED] compizconfig-python-09 - Build Failed (Key Error: 'T')

Hey guys, having a little trouble compiling compizconfig-python-09, I've had no problems with the other Compiz 09 packages in the AUR, just this one. Google-fu only yields seven results, all about gentoo users trying compile yasm, and the only solution they came up with was to disable python support; this clearly isn't an option here. Here's the output I get:

==> Starting build()...
running build
running build_ext
cythoning src/compizconfig.pyx to src/compizconfig.c
Traceback (most recent call last):
  File "setup.py", line 146, in <module>
    **pkgconfig("libcompizconfig"))
  File "/usr/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.7/distutils/command/build.py", line 127, in run
    self.run_command(cmd_name)
  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.7/site-packages/Cython/Distutils/build_ext.py", line 134, in run
    _build_ext.build_ext.run(self)
  File "/usr/lib/python2.7/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "/usr/lib/python2.7/site-packages/Cython/Distutils/build_ext.py", line 141, in build_extensions
    ext.sources = self.cython_sources(ext.sources, ext)
  File "/usr/lib/python2.7/site-packages/Cython/Distutils/build_ext.py", line 279, in cython_sources
    full_module_name=module_name)
  File "/usr/lib/python2.7/site-packages/Cython/Compiler/Main.py", line 763, in compile
    return compile_single(source, options, full_module_name)
  File "/usr/lib/python2.7/site-packages/Cython/Compiler/Main.py", line 709, in compile_single
    return run_pipeline(source, options, full_module_name)
  File "/usr/lib/python2.7/site-packages/Cython/Compiler/Main.py", line 601, in run_pipeline
    err, enddata = context.run_pipeline(pipeline, source)
  File "/usr/lib/python2.7/site-packages/Cython/Compiler/Main.py", line 240, in run_pipeline
    data = phase(data)
  File "/usr/lib/python2.7/site-packages/Cython/Compiler/ParseTreeTransforms.py", line 1025, in __call__
    return super(AnalyseDeclarationsTransform, self).__call__(root)
  File "Visitor.py", line 272, in Cython.Compiler.Visitor.CythonTransform.__call__ (/home/sergej/community-my.svn/cython/trunk/src/Cython-0.14/Cython/Compiler/Visitor.c:4936)
  File "Visitor.py", line 255, in Cython.Compiler.Visitor.VisitorTransform.__call__ (/home/sergej/community-my.svn/cython/trunk/src/Cython-0.14/Cython/Compiler/Visitor.c:4696)
  File "Visitor.py", line 163, in Cython.Compiler.Visitor.TreeVisitor._visit (/home/sergej/community-my.svn/cython/trunk/src/Cython-0.14/Cython/Compiler/Visitor.c:3254)
  File "/usr/lib/python2.7/site-packages/Cython/Compiler/ParseTreeTransforms.py", line 1033, in visit_ModuleNode
    node.analyse_declarations(self.env_stack[-1])
  File "/usr/lib/python2.7/site-packages/Cython/Compiler/ModuleNode.py", line 64, in analyse_declarations
    self.body.analyse_declarations(env)
  File "/usr/lib/python2.7/site-packages/Cython/Compiler/Nodes.py", line 346, in analyse_declarations
    stat.analyse_declarations(env)
  File "/usr/lib/python2.7/site-packages/Cython/Compiler/Nodes.py", line 346, in analyse_declarations
    stat.analyse_declarations(env)
  File "/usr/lib/python2.7/site-packages/Cython/Compiler/Nodes.py", line 3249, in analyse_declarations
    self.body.analyse_declarations(scope)
  File "/usr/lib/python2.7/site-packages/Cython/Compiler/Nodes.py", line 346, in analyse_declarations
    stat.analyse_declarations(env)
  File "/usr/lib/python2.7/site-packages/Cython/Compiler/Nodes.py", line 1999, in analyse_declarations
    self.analyse_signature(env)
  File "/usr/lib/python2.7/site-packages/Cython/Compiler/Nodes.py", line 2097, in analyse_signature
    arg.hdr_type = sig.fixed_arg_type(i)
  File "/usr/lib/python2.7/site-packages/Cython/Compiler/TypeSlots.py", line 100, in fixed_arg_type
    return self.format_map[self.fixed_arg_format[i]]
KeyError: 'T'
    Aborting...

Can anyone tell me what the problem is? Do I need a different version of cython or something?

Failing that, where can I get the c source files? They're not included with the gzip I get from releases.compiz.org.

Last edited by WorMzy (2010-12-27 13:37:42)


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#2 2010-12-24 23:52:20

inode2
Member
Registered: 2010-12-24
Posts: 1

Re: [SOLVED] compizconfig-python-09 - Build Failed (Key Error: 'T')

Downgrade to cython-0.13 works for me.

Offline

#3 2010-12-27 13:37:21

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,322
Website

Re: [SOLVED] compizconfig-python-09 - Build Failed (Key Error: 'T')

Aye, that worked for me too. Thanks.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB