unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* building Genshi
@ 2017-03-19 14:29 Catonano
  2017-03-19 21:05 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Catonano @ 2017-03-19 14:29 UTC (permalink / raw)
  To: help-guix

[-- Attachment #1: Type: text/plain, Size: 1930 bytes --]

In building Genshi, an extension in C fails t build

writing manifest file 'Genshi.egg-info/SOURCES.txt'
running build_ext
building 'genshi._speedups' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -fPIC
-I/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/include/python3.5m
-c genshi/_speedups.c -o build/temp.linux-x86_64-3.5/genshi/_speedups.o
genshi/_speedups.c: In function ‘escape’:
genshi/_speedups.c:89:13: error: ‘PyUnicodeObject’ has no member named ‘str’
     inp = in->str;
             ^
genshi/_speedups.c:90:24: error: ‘PyUnicodeObject’ has no member named
‘length’
     while (*(inp) || in->length > inp - in->str) {
                        ^
genshi/_speedups.c:90:43: error: ‘PyUnicodeObject’ has no member named ‘str’
     while (*(inp) || in->length > inp - in->str) {
                                           ^
genshi/_speedups.c:120:13: error: ‘PyUnicodeObject’ has no member named
‘str’
     inp = in->str;
             ^
...

a looong list of missing PyUnicodeObject attributes follows

I managed to build with -K, I cded to the /tmp/build-folder and retried to
build

And this is it
...
running build_ext
building 'genshi._speedups' extension
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3
-Wall -Wstrict-prototypes -fPIC
-I/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-python-3.5.2/include/python3.5m
-c genshi/_speedups.c -o build/temp.linux-x86_64-3.5/genshi/_speedups.o
genshi/_speedups.c: In function ‘escape’:
genshi/_speedups.c:89:13: error: ‘PyUnicodeObject’ has no member named ‘str’
     inp = in->str;
             ^
genshi/_speedups.c:90:24: error: ‘PyUnicodeObject’ has no member named
‘length’
     while (*(inp) || in->length > inp - in->str) {
...

Am I missing anything or is Genshi at faut ?

[-- Attachment #2: Type: text/html, Size: 2272 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-03-28  8:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-19 14:29 building Genshi Catonano
2017-03-19 21:05 ` Ludovic Courtès
2017-03-19 21:33   ` Catonano
2017-03-28  8:39     ` Catonano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).