Package Details: python-pysimdjson 5.0.2-1

Git Clone URL: https://aur.archlinux.org/python-pysimdjson.git (read-only, click to copy)
Package Base: python-pysimdjson
Description: Python bindings for the simdjson project, a SIMD-accelerated JSON parser.
Upstream URL: http://github.com/TkTech/pysimdjson
Licenses: MIT
Submitter: jg-you
Maintainer: None
Last Packager: jg-you
Votes: 0
Popularity: 0.000000
First Submitted: 2022-04-05 03:04 (UTC)
Last Updated: 2023-05-24 18:59 (UTC)

Latest Comments

hendrikcech commented on 2024-07-22 14:54 (UTC)

Hi, the package fails to build on my machine. The first gcc invocation spews out lots of errors and warnings.

gcc -fno-strict-overflow -DNDEBUG -g -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.12 -c simdjson/csimdjson.cpp -o build/temp.linux-x86_64-cpython-312/simdjson/csimdjson.o

[...]
simdjson/csimdjson.cpp:29392:55: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
29392 |             const digit* digits = ((PyLongObject*)x)->ob_digit;
      |                                                       ^~~~~~~~
simdjson/csimdjson.cpp: In function ‘const char* __Pyx_PyUnicode_AsStringAndSize(PyObject*, Py_ssize_t*)’:
simdjson/csimdjson.cpp:546:51: error: ‘_PyUnicode_Ready’ was not declared in this scope; did you mean ‘PyUnicode_READY’?
  546 |                                               0 : _PyUnicode_Ready((PyObject *)(op)))
      |                                                   ^~~~~~~~~~~~~~~~
simdjson/csimdjson.cpp:935:43: note: in definition of macro ‘unlikely’
  935 |   #define unlikely(x) __builtin_expect(!!(x), 0)
      |                                           ^
simdjson/csimdjson.cpp:30755:18: note: in expansion of macro ‘__Pyx_PyUnicode_READY’
30755 |     if (unlikely(__Pyx_PyUnicode_READY(o) == -1)) return NULL;
      |                  ^~~~~~~~~~~~~~~~~~~~~
simdjson/csimdjson.cpp: In function ‘Py_ssize_t __Pyx_PyIndex_AsSsize_t(PyObject*)’:
simdjson/csimdjson.cpp:30890:47: error: ‘PyLongObject’ {aka ‘struct _longobject’} has no member named ‘ob_digit’
30890 |     const digit* digits = ((PyLongObject*)b)->ob_digit;
      |                                               ^~~~~~~~
error: command '/usr/bin/gcc' failed with exit code 1
==> ERROR: A failure occurred in build().
    Aborting...