Comment 5 for bug 1000910

Revision history for this message
ferrouswheel (joel-pitt) wrote : Re: [Bug 1000910] Re: error: unable to find string literal operator 'operator"" PY_FORMAT_SIZE_T'

Hi Shawn - no need for the apology, it's great to get feedback about
people's build experience so that we know where there are issues.

Thanks for linking to the resolution too!

On 18 May 2012 19:04, Shawn Tan <email address hidden> wrote:
> Hi all,
>
> The problem has been fixed, but the fix was not included in the 0.16 release.
> https://github.com/cython/cython/pull/109
>
> Apparently it was an issue with the new C++ standard.
>
> Guess I'll have to wait for the next release of cython.
> Sorry about submitting the bug report, wasn't sure of the procedure if it concerned problems with other packages.
>
> --
> You received this bug notification because you are a member of OpenCog
> Developers, which is subscribed to OpenCog.
> 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