From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: building Genshi Date: Sun, 19 Mar 2017 15:29:48 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f403045f4d523b46ff054b163e68 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38491) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpbqC-0002ZJ-2S for help-guix@gnu.org; Sun, 19 Mar 2017 10:29:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cpbqA-0005Z6-W3 for help-guix@gnu.org; Sun, 19 Mar 2017 10:29:52 -0400 Received: from mail-wr0-x233.google.com ([2a00:1450:400c:c0c::233]:34481) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cpbqA-0005Ys-Mm for help-guix@gnu.org; Sun, 19 Mar 2017 10:29:50 -0400 Received: by mail-wr0-x233.google.com with SMTP id l37so77836631wrc.1 for ; Sun, 19 Mar 2017 07:29:50 -0700 (PDT) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix --f403045f4d523b46ff054b163e68 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 =E2=80=98escape=E2=80=99: genshi/_speedups.c:89:13: error: =E2=80=98PyUnicodeObject=E2=80=99 has no m= ember named =E2=80=98str=E2=80=99 inp =3D in->str; ^ genshi/_speedups.c:90:24: error: =E2=80=98PyUnicodeObject=E2=80=99 has no m= ember named =E2=80=98length=E2=80=99 while (*(inp) || in->length > inp - in->str) { ^ genshi/_speedups.c:90:43: error: =E2=80=98PyUnicodeObject=E2=80=99 has no m= ember named =E2=80=98str=E2=80=99 while (*(inp) || in->length > inp - in->str) { ^ genshi/_speedups.c:120:13: error: =E2=80=98PyUnicodeObject=E2=80=99 has no = member named =E2=80=98str=E2=80=99 inp =3D 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 =E2=80=98escape=E2=80=99: genshi/_speedups.c:89:13: error: =E2=80=98PyUnicodeObject=E2=80=99 has no m= ember named =E2=80=98str=E2=80=99 inp =3D in->str; ^ genshi/_speedups.c:90:24: error: =E2=80=98PyUnicodeObject=E2=80=99 has no m= ember named =E2=80=98length=E2=80=99 while (*(inp) || in->length > inp - in->str) { ... Am I missing anything or is Genshi at faut ? --f403045f4d523b46ff054b163e68 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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
g= cc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall= -Wstrict-prototypes -fPIC -I/gnu/store/alk9r3rir93pjmv8im20f8xrvv90219z-py= thon-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 =E2=80=98esca= pe=E2=80=99:
genshi/_speedups.c:89:13: error: =E2=80=98PyUnicodeObject= =E2=80=99 has no member named =E2=80=98str=E2=80=99
=C2=A0=C2=A0=C2=A0= =C2=A0 inp =3D in->str;
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 ^
genshi/_speedups.c:90:24: error: =E2=80=98= PyUnicodeObject=E2=80=99 has no member named =E2=80=98length=E2=80=99
= =C2=A0=C2=A0=C2=A0=C2=A0 while (*(inp) || in->length > inp - in->s= tr) {
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^<= br>genshi/_speedups.c:90:43: error: =E2=80=98PyUnicodeObject=E2=80=99 has n= o member named =E2=80=98str=E2=80=99
=C2=A0=C2=A0=C2=A0=C2=A0 while (*(i= np) || in->length > inp - in->str) {
=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0 ^
genshi/_speedups.c:120:13: error: =E2=80=98PyUnicodeObject=E2=80= =99 has no member named =E2=80=98str=E2=80=99
=C2=A0=C2=A0=C2=A0=C2=A0 i= np =3D in->str;
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 ^
...

a looong list of missing PyUnic= odeObject attributes follows

I managed to build with -K, I cde= d to the /tmp/build-folder and retried to build

And this is it=
...
running build_ext
building 'genshi._speedups' ex= tension
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwra= pv -O3 -Wall -Wstrict-prototypes -fPIC -I/gnu/store/alk9r3rir93pjmv8im20f8x= rvv90219z-python-3.5.2/include/python3.5m -c genshi/_speedups.c -o build/te= mp.linux-x86_64-3.5/genshi/_speedups.o
genshi/_speedups.c: In function = =E2=80=98escape=E2=80=99:
genshi/_speedups.c:89:13: error: =E2=80=98PyUn= icodeObject=E2=80=99 has no member named =E2=80=98str=E2=80=99
=C2=A0=C2= =A0=C2=A0=C2=A0 inp =3D in->str;
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^
genshi/_speedups.c:90:24: error: = =E2=80=98PyUnicodeObject=E2=80=99 has no member named =E2=80=98length=E2=80= =99
=C2=A0=C2=A0=C2=A0=C2=A0 while (*(inp) || in->length > inp - i= n->str) {
...

Am I missing anything or is Gens= hi at faut ?
--f403045f4d523b46ff054b163e68--