id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,cpu,platform 4015,"ctypes: TypeError: item 1 in _argtypes_ passes a union by value, which is unsupported",neteler,grass-dev@…,"Alpine edge ships Python 3.8.1. When compiling GRASS 7.8 addons like i.cutlines (and other) addons, following error occurs: {{{ Default locale settings are missing. GRASS running with C locale. Starting GRASS GIS... Creating new GRASS GIS location ... Cleaning up temporary files... Executing ... Fetching from GRASS GIS Addons repository (be patient)... Compiling... Traceback (most recent call last): File ""/usr/lib/python3.8/ctypes/__init__.py"", line 99, in CFUNCTYPE return _c_functype_cache[(restype, argtypes, flags)] KeyError: (, (,), 1) During handling of the above exception, another exception occurred: Traceback (most recent call last): File ""/tmp/grass7-root-73/tmpumv5zbxd/i.cutlines/scripts/i.cutlines"", line 171, in from grass.pygrass.modules.grid.grid import GridModule File ""/usr/local/grass78/etc/python/grass/pygrass/modules/grid/__init__.py"", line 2, in from grass.pygrass.modules.grid.grid import GridModule File ""/usr/local/grass78/etc/python/grass/pygrass/modules/grid/grid.py"", line 12, in from grass.pygrass.gis import Mapset, Location File ""/usr/local/grass78/etc/python/grass/pygrass/gis/__init__.py"", line 13, in import grass.lib.gis as libgis File ""/usr/local/grass78/etc/python/grass/lib/gis.py"", line 451, in ('checker', CFUNCTYPE(UNCHECKED(c_int), String)), File ""/usr/lib/python3.8/ctypes/__init__.py"", line 101, in CFUNCTYPE class CFunctionType(_CFuncPtr): TypeError: item 1 in _argtypes_ passes a union by value, which is unsupported. make: *** [/usr/local/grass78/include/Make/Html.make:14: i.cutlines.tmp.html] Error 1 ERROR: Compilation failed, sorry. Please check above error messages. Execution of finished. Cleaning up temporary files... }}} We used this docker image: https://hub.docker.com/r/mundialis/grass-py3-pdal/tags -> `docker pull mundialis/grass-py3-pdal:stable-alpine`",defect,closed,normal,7.8.3,Python ctypes,git-releasebranch78,wontfix,"ctypes, python3",,Unspecified,Unspecified