From: Catonano <catonano@gmail.com>
To: help-guix <help-guix@gnu.org>
Subject: building Genshi
Date: Sun, 19 Mar 2017 15:29:48 +0100 [thread overview]
Message-ID: <CAJ98PDwCdKzR27GazpxjP13zBw-nruFazagrjmfjHWM3isJYnA@mail.gmail.com> (raw)
[-- 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 --]
next reply other threads:[~2017-03-19 14:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-19 14:29 Catonano [this message]
2017-03-19 21:05 ` building Genshi Ludovic Courtès
2017-03-19 21:33 ` Catonano
2017-03-28 8:39 ` Catonano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJ98PDwCdKzR27GazpxjP13zBw-nruFazagrjmfjHWM3isJYnA@mail.gmail.com \
--to=catonano@gmail.com \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).