cython rapicorn issue

2 views
Skip to first unread message

Stefan Westerfeld

unread,
Oct 9, 2015, 3:20:12 PM10/9/15
to rapi...@googlegroups.com, Tim Janik
Hi!

Now that I can build rapicorn to the point where cython is used, here is what I get
from CYTHON:

Making all in cython
make[2]: Verzeichnis »/home/stefan/src/rapicorn/cython« wird betreten
Making all in .
make[3]: Verzeichnis »/home/stefan/src/rapicorn/cython« wird betreten
AIDACC idlapi.pyx
GEN pyxxutils-xmany.hh
CYTHON Rapicorn.cc

Error compiling Cython file:
------------------------------------------------------------
...
return None
EventLoop__internal_ctarg = new shared_ptr[Rapicorn__EventLoop] (ml.shared_from_this())
return MainLoop()
# note, we use bool_functor with fallback=1 to keep handlers connected across exceptions
def exec_now (self, callable):
return self.thisp.get().exec_now (Caller0__bool_ (callable, &pyx_marshal__bool_))
^
------------------------------------------------------------

rcore.pyx:161:64: Cannot assign type 'bool (*)(object) except *' to 'bool (*)(object)'
make[3]: *** [Rapicorn.cc] Fehler 1
make[3]: Verzeichnis »/home/stefan/src/rapicorn/cython« wird verlassen
make[2]: *** [all-recursive] Fehler 1
make[2]: Verzeichnis »/home/stefan/src/rapicorn/cython« wird verlassen
make[1]: *** [all-recursive] Fehler 1
make[1]: Verzeichnis »/home/stefan/src/rapicorn« wird verlassen
make: *** [all] Fehler 2
--
Stefan Westerfeld, http://space.twc.de/~stefan

Tim Janik

unread,
Oct 13, 2015, 5:08:37 PM10/13/15
to rapi...@googlegroups.com, Stefan Westerfeld
On 09.10.2015 21:19, Stefan Westerfeld wrote:
> Now that I can build rapicorn to the point where cython is used, here is what I get
> from CYTHON:
> rcore.pyx:161:64: Cannot assign type 'bool (*)(object) except *' to 'bool (*)(object)'

I've just pushed a large number of packaging fixes for Rapicorn to master.
The push also fixes this cython issue.

Most notably also are the README.md updates, github now displays
Rapicorn's continuous integration status via a travis-ci badge:

https://github.com/tim-janik/rapicorn/


commit 219d818bce8741abb4befc3520ed823a016c1934
Merge: 51be6df ade1566
Author: Tim Janik <ti...@gnu.org>
Date: Tue Oct 13 21:58:44 2015 +0200

Merge branch 'packaging-overhaul'

This fixes all installed files to use proper *-MAJOR.MINOR versioning.
It also fixes (and changes) the SO library versioning, the C++ namespace
and the Python module name.

Consequently, this merge resets the ABI age to 0 (which is now possible
by adjusting LATEST_ABI_VERSION), because of structure layout changes
from previous merges and because of the namespace change.



--
Yours sincerely,
Tim Janik

https://testbit.eu/timj/
Free software author and speaker.

Reply all
Reply to author
Forward
0 new messages