Comment 9 for bug 1000910

Revision history for this message
Shawn Tan (6-shawx-h) wrote : Re: [Bug 1000910] Re: error: unable to find string literal operator 'operator"" PY_FORMAT_SIZE_T'

Hi all,

Cython 0.17 fixed this bug. However, there are still other compilation
errors that I'm facing related to Boost.

On 7 October 2012 07:12, David Hart <email address hidden> wrote:

> I'm using cython 0.17 bundled with Ubuntu 12.10 and still seeing this
> bug...
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1000910
>
> Title:
> error: unable to find string literal operator 'operator""
> PY_FORMAT_SIZE_T'
>
> Status in Cython - C-Extensions for Python:
> New
> Status in OpenCog:
> New
>
> Bug description:
> Bug occurs when building the cython stuff.
>
> [ 36%] Building CXX object
> opencog/cython/CMakeFiles/cogserver_cython.dir/opencog/cogserver.cpp.o
> /home/shawn/opencog/build/bin/opencog/cython/opencog/cogserver.cpp: In
> function 'void __Pyx_RaiseArgtupleInvalid(const char*, int, Py_ssize_t,
> Py_ssize_t, Py_ssize_t)':
>
> /home/shawn/opencog/build/bin/opencog/cython/opencog/cogserver.cpp:1637:95:
> error: unable to find string literal operator 'operator"" PY_FORMAT_SIZE_T'
> make[2]: ***
> [opencog/cython/CMakeFiles/cogserver_cython.dir/opencog/cogserver.cpp.o]
> Error 1
> make[1]: *** [opencog/cython/CMakeFiles/cogserver_cython.dir/all] Error 2
> make: *** [all] Error 2
>
> I've attempted manually going in to add a space between the quotes,
> and it does build that way.
>
> The problem is apparently with cython, and has been reported on their
> google group:
>
> https://groups.google.com/forum/?fromgroups#!topic/cython-users/0CYqw2cRFlg
>
> Some googling brought me to his github account where he fixed the thing
> but hasn't seemed to have submitted a pull request:
>
> https://github.com/rp-/cython/commit/4a4d5d9a800e1cd048798161a373fd775fb29d26
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/cython/+bug/1000910/+subscriptions
>