Bug#1055716: python-mapnik ftbfs with Python 3.12
Sebastiaan Couwenberg
sebastic at xs4all.nl
Thu Nov 16 18:45:11 GMT 2023
Control: tags -1 pending
On 11/10/23 11:03, Sebastiaan Couwenberg wrote:
> On 11/10/23 10:49, Matthias Klose wrote:
>> src/python_grid_utils.cpp:108:26: error: there are no arguments to
>> ‘PyUnicode_FromUnicode’ that depend on a template parameter, so a
>> declaration of ‘PyUnicode_FromUnicode’ must be available [-fpermissive]
>> 108 | PyUnicode_FromUnicode(line.get(),
>> array_size))));
>> | ^~~~~~~~~~~~~~~~~~~~~
>> src/python_grid_utils.cpp:108:26: note: (if you use ‘-fpermissive’,
>> G++ will accept your code, but allowing the use of an undeclared name
>> is deprecated)
>
> Upstream is aware that PyUnicode_FromUnicode was deprecated but has not
> acted on that yet. Upstream development is pretty much dead, someone
> will have to provide a patch to port python-mapnik away from
> PyUnicode_FromUnicode.
Fedora has a patch for this which we now use too.
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
More information about the Pkg-grass-devel
mailing list