You are not logged in.

#1 2012-10-18 11:36:47

jjalocha
Member
Registered: 2011-06-11
Posts: 12

[SOLVED] Can't compile kyotocabinet-python AUR package after Python up

Hello,
after today's upgrade to 3.3.0-1, Python lost access to the kyotocabinet package (kyotocabinet-python 1.22-1 from AUR). I tried to recompile it, but when I run makepkg, It just aborts with an error. Anyone knows what is going on?

running build
running build_ext
building 'kyotocabinet' extension
gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include -I/usr/include/python3.3m -c kyotocabinet.cc -o build/temp.linux-i686-3.3/kyotocabinet.o
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ [enabled by default]
In file included from /usr/include/python3.3m/pyatomic.h:8:0,
                 from /usr/include/python3.3m/Python.h:53,
                 from kyotocabinet.cc:24:
/usr/include/python3.3m/dynamic_annotations.h:472:3: error: template with C linkage
error: command 'gcc' failed with exit status 1

EDIT: Issue Solved.

Last edited by jjalocha (2012-11-21 11:27:28)

Offline

#2 2012-11-19 11:07:02

jjalocha
Member
Registered: 2011-06-11
Posts: 12

Re: [SOLVED] Can't compile kyotocabinet-python AUR package after Python up

Hello,
sadly I still haven't been able to recompile kyotocabinet-python with the new Python version (3.3.0-1)—it always gives the same error described in my first post. No new version has been released by Hatsuki Hirabayashi either, so I had to downgrade the system to Python 3.2.3-3.

I'd like to know if anyone else is currently able/unable to use kyotocabinet-python, so that I may contact the package author directly.

Any ideas?

Offline

#3 2012-11-21 11:24:56

jjalocha
Member
Registered: 2011-06-11
Posts: 12

Re: [SOLVED] Can't compile kyotocabinet-python AUR package after Python up

Issue fixed: Minor edit in C source, described in AUR page.

Offline

Board footer

Powered by FluxBB