[GRASS-user] Status of ITZI in GRASS?

Thomas Adams tea3rd at gmail.com
Tue Jun 4 07:33:34 PDT 2024


Hi all!

I am wondering if anyone knows of the status of ITZI <https://www.itzi.org/>
, a GIS model for urban floods simulations using GRASS? The source is
located here <https://github.com/ItziModel/itzi>.

I tried compiling/installing on Ubuntu 22.04 with GRASS 8.3, which failed.
I sent an email to the developer without a response

Any thoughts?

Best,
Tom

The error...

sudo pip install -U itzi

Collecting itzi
  Using cached itzi-20.5.tar.gz (652 kB)
  Preparing metadata (setup.py) ... done
Requirement already satisfied: grass-session in
/root/.local/lib/python3.10/site-packages (from itzi) (0.5)
Requirement already satisfied: networkx==1.11 in
/root/.local/lib/python3.10/site-packages (from itzi) (1.11)
Requirement already satisfied: pyinstrument in
/root/.local/lib/python3.10/site-packages (from itzi) (4.6.2)
Requirement already satisfied: decorator>=3.4.0 in
/usr/lib/python3/dist-packages (from networkx==1.11->itzi) (4.4.2)
Building wheels for collected packages: itzi
  Building wheel for itzi (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [157 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-3.10
      creating build/lib.linux-x86_64-3.10/benchmarks
      copying benchmarks/__init__.py ->
build/lib.linux-x86_64-3.10/benchmarks
      copying benchmarks/time_benchmark.py ->
build/lib.linux-x86_64-3.10/benchmarks
      creating build/lib.linux-x86_64-3.10/itzi
      copying itzi/drainage.py -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/parser.py -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/infiltration.py -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/__init__.py -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/rasterdomain.py -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/itzi_error.py -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/const.py -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/itzi.py -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/gis.py -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/messenger.py -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/simulation.py -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/massbalance.py -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/configreader.py -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/hydrology.py -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/surfaceflow.py -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/bmi_itzi.py -> build/lib.linux-x86_64-3.10/itzi
      creating build/lib.linux-x86_64-3.10/itzi/swmm
      copying itzi/swmm/__init__.py -> build/lib.linux-x86_64-3.10/itzi/swmm
      copying itzi/swmm/structs.py -> build/lib.linux-x86_64-3.10/itzi/swmm
      copying itzi/swmm/swmm_error.py -> build/lib.linux-x86_64-3.10/itzi
/swmm
      copying itzi/swmm/swmm.py -> build/lib.linux-x86_64-3.10/itzi/swmm
      running egg_info
      writing itzi.egg-info/PKG-INFO
      writing dependency_links to itzi.egg-info/dependency_links.txt
      writing entry points to itzi.egg-info/entry_points.txt
      writing requirements to itzi.egg-info/requires.txt
      writing top-level names to itzi.egg-info/top_level.txt
      reading manifest file 'itzi.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      adding license file 'LICENSE'
      writing manifest file 'itzi.egg-info/SOURCES.txt'
      copying itzi/flow.c -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/flow.pyx -> build/lib.linux-x86_64-3.10/itzi
      creating build/lib.linux-x86_64-3.10/itzi/data
      copying itzi/data/VERSION -> build/lib.linux-x86_64-3.10/itzi/data
      copying itzi/data/example.ini -> build/lib.linux-x86_64-3.10/itzi/data
      copying itzi/data/out_20.5 -> build/lib.linux-x86_64-3.10/itzi/data
      copying itzi/data/tutorial.ini -> build/lib.linux-x86_64-3.10/itzi
/data
      creating build/lib.linux-x86_64-3.10/itzi/data/colortable
      copying itzi/data/colortable/default.txt ->
build/lib.linux-x86_64-3.10/itzi/data/colortable
      copying itzi/data/colortable/depth.txt -> build/lib.linux-x86_64-3.10/
itzi/data/colortable
      copying itzi/data/colortable/froude.txt ->
build/lib.linux-x86_64-3.10/itzi/data/colortable
      copying itzi/data/colortable/vdir.txt -> build/lib.linux-x86_64-3.10/
itzi/data/colortable
      copying itzi/data/colortable/velocity.txt ->
build/lib.linux-x86_64-3.10/itzi/data/colortable
      copying itzi/swmm/swmm_c.c -> build/lib.linux-x86_64-3.10/itzi/swmm
      copying itzi/swmm/swmm_c.pyx -> build/lib.linux-x86_64-3.10/itzi/swmm
      creating build/lib.linux-x86_64-3.10/itzi/swmm/source
      copying itzi/swmm/source/climate.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/consts.h -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/controls.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/culvert.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/datetime.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/datetime.h -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/dwflow.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/dynwave.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/enums.h -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/error.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/error.h -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/exfil.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/exfil.h -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/findroot.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/findroot.h -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/flowrout.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/forcmain.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/funcs.h -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/gage.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/globals.h -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/gwater.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/hash.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/hash.h -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/headers.h -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/hotstart.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/iface.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/infil.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/infil.h -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/inflow.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/input.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/inputrpt.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/keywords.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/keywords.h -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/kinwave.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/landuse.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/lid.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/lid.h -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/lidproc.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/link.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/macros.h -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/massbal.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/mathexpr.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/mathexpr.h -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/mempool.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/mempool.h -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/node.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/objects.h -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/odesolve.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/odesolve.h -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/output.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/project.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/qualrout.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/rain.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/rdii.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/report.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/routing.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/runoff.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/shape.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/snow.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/stats.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/statsrpt.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/subcatch.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/surfqual.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/swmm5.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/swmm5.def -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/swmm5.h -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/table.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/text.h -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/toposort.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/transect.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/treatmnt.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/xsect.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/xsect.dat -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      running build_ext
      compiler: unix
      building 'itzi.flow' extension
      creating build/temp.linux-x86_64-3.10
      creating build/temp.linux-x86_64-3.10/itzi
      x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g
-fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat
-Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
-I/usr/lib/python3/dist-packages/numpy/core/include
-I/usr/include/python3.10 -c itzi/flow.c -o build/temp.linux-x86_64-3.10/
itzi/flow.o -O3 -w -fopenmp
      itzi/flow.c: In function ‘__pyx_tp_dealloc_array’:
      itzi/flow.c:23021:5: error: lvalue required as increment operand
      23021 |     ++Py_REFCNT(o);
            |     ^~
      itzi/flow.c:23023:5: error: lvalue required as decrement operand
      23023 |     --Py_REFCNT(o);
            |     ^~
      itzi/flow.c: In function ‘__pyx_tp_dealloc_memoryview’:
      itzi/flow.c:23332:5: error: lvalue required as increment operand
      23332 |     ++Py_REFCNT(o);
            |     ^~
      itzi/flow.c:23334:5: error: lvalue required as decrement operand
      23334 |     --Py_REFCNT(o);
            |     ^~
      itzi/flow.c: In function ‘__pyx_tp_dealloc__memoryviewslice’:
      itzi/flow.c:23582:5: error: lvalue required as increment operand
      23582 |     ++Py_REFCNT(o);
            |     ^~
      itzi/flow.c:23584:5: error: lvalue required as decrement operand
      23584 |     --Py_REFCNT(o);
            |     ^~
      error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a
problem with pip.
  ERROR: Failed building wheel for itzi
  Running setup.py clean for itzi
Failed to build itzi
Installing collected packages: itzi
  Running setup.py install for itzi ... error
  error: subprocess-exited-with-error

  × Running setup.py install for itzi did not run successfully.
  │ exit code: 1
  ╰─> [159 lines of output]
      running install
      /usr/lib/python3/dist-packages/setuptools/command/install.py:34:
SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and
pip and other standards-based tools.
        warnings.warn(
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-3.10
      creating build/lib.linux-x86_64-3.10/benchmarks
      copying benchmarks/__init__.py ->
build/lib.linux-x86_64-3.10/benchmarks
      copying benchmarks/time_benchmark.py ->
build/lib.linux-x86_64-3.10/benchmarks
      creating build/lib.linux-x86_64-3.10/itzi
      copying itzi/drainage.py -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/parser.py -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/infiltration.py -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/__init__.py -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/rasterdomain.py -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/itzi_error.py -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/const.py -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/itzi.py -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/gis.py -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/messenger.py -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/simulation.py -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/massbalance.py -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/configreader.py -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/hydrology.py -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/surfaceflow.py -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/bmi_itzi.py -> build/lib.linux-x86_64-3.10/itzi
      creating build/lib.linux-x86_64-3.10/itzi/swmm
      copying itzi/swmm/__init__.py -> build/lib.linux-x86_64-3.10/itzi/swmm
      copying itzi/swmm/structs.py -> build/lib.linux-x86_64-3.10/itzi/swmm
      copying itzi/swmm/swmm_error.py -> build/lib.linux-x86_64-3.10/itzi
/swmm
      copying itzi/swmm/swmm.py -> build/lib.linux-x86_64-3.10/itzi/swmm
      running egg_info
      writing itzi.egg-info/PKG-INFO
      writing dependency_links to itzi.egg-info/dependency_links.txt
      writing entry points to itzi.egg-info/entry_points.txt
      writing requirements to itzi.egg-info/requires.txt
      writing top-level names to itzi.egg-info/top_level.txt
      reading manifest file 'itzi.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      adding license file 'LICENSE'
      writing manifest file 'itzi.egg-info/SOURCES.txt'
      copying itzi/flow.c -> build/lib.linux-x86_64-3.10/itzi
      copying itzi/flow.pyx -> build/lib.linux-x86_64-3.10/itzi
      creating build/lib.linux-x86_64-3.10/itzi/data
      copying itzi/data/VERSION -> build/lib.linux-x86_64-3.10/itzi/data
      copying itzi/data/example.ini -> build/lib.linux-x86_64-3.10/itzi/data
      copying itzi/data/out_20.5 -> build/lib.linux-x86_64-3.10/itzi/data
      copying itzi/data/tutorial.ini -> build/lib.linux-x86_64-3.10/itzi
/data
      creating build/lib.linux-x86_64-3.10/itzi/data/colortable
      copying itzi/data/colortable/default.txt ->
build/lib.linux-x86_64-3.10/itzi/data/colortable
      copying itzi/data/colortable/depth.txt -> build/lib.linux-x86_64-3.10/
itzi/data/colortable
      copying itzi/data/colortable/froude.txt ->
build/lib.linux-x86_64-3.10/itzi/data/colortable
      copying itzi/data/colortable/vdir.txt -> build/lib.linux-x86_64-3.10/
itzi/data/colortable
      copying itzi/data/colortable/velocity.txt ->
build/lib.linux-x86_64-3.10/itzi/data/colortable
      copying itzi/swmm/swmm_c.c -> build/lib.linux-x86_64-3.10/itzi/swmm
      copying itzi/swmm/swmm_c.pyx -> build/lib.linux-x86_64-3.10/itzi/swmm
      creating build/lib.linux-x86_64-3.10/itzi/swmm/source
      copying itzi/swmm/source/climate.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/consts.h -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/controls.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/culvert.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/datetime.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/datetime.h -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/dwflow.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/dynwave.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/enums.h -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/error.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/error.h -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/exfil.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/exfil.h -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/findroot.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/findroot.h -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/flowrout.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/forcmain.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/funcs.h -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/gage.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/globals.h -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/gwater.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/hash.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/hash.h -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/headers.h -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/hotstart.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/iface.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/infil.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/infil.h -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/inflow.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/input.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/inputrpt.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/keywords.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/keywords.h -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/kinwave.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/landuse.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/lid.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/lid.h -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/lidproc.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/link.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/macros.h -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/massbal.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/mathexpr.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/mathexpr.h -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/mempool.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/mempool.h -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/node.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/objects.h -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/odesolve.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/odesolve.h -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/output.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/project.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/qualrout.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/rain.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/rdii.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/report.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/routing.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/runoff.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/shape.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/snow.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/stats.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/statsrpt.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/subcatch.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/surfqual.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/swmm5.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/swmm5.def -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/swmm5.h -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/table.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/text.h -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/toposort.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/transect.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/treatmnt.c -> build/lib.linux-x86_64-3.10/
itzi/swmm/source
      copying itzi/swmm/source/xsect.c -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      copying itzi/swmm/source/xsect.dat -> build/lib.linux-x86_64-3.10/itzi
/swmm/source
      running build_ext
      compiler: unix
      building 'itzi.flow' extension
      creating build/temp.linux-x86_64-3.10
      creating build/temp.linux-x86_64-3.10/itzi
      x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g
-fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat
-Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
-I/usr/lib/python3/dist-packages/numpy/core/include
-I/usr/include/python3.10 -c itzi/flow.c -o build/temp.linux-x86_64-3.10/
itzi/flow.o -O3 -w -fopenmp
      itzi/flow.c: In function ‘__pyx_tp_dealloc_array’:
      itzi/flow.c:23021:5: error: lvalue required as increment operand
      23021 |     ++Py_REFCNT(o);
            |     ^~
      itzi/flow.c:23023:5: error: lvalue required as decrement operand
      23023 |     --Py_REFCNT(o);
            |     ^~
      itzi/flow.c: In function ‘__pyx_tp_dealloc_memoryview’:
      itzi/flow.c:23332:5: error: lvalue required as increment operand
      23332 |     ++Py_REFCNT(o);
            |     ^~
      itzi/flow.c:23334:5: error: lvalue required as decrement operand
      23334 |     --Py_REFCNT(o);
            |     ^~
      itzi/flow.c: In function ‘__pyx_tp_dealloc__memoryviewslice’:
      itzi/flow.c:23582:5: error: lvalue required as increment operand
      23582 |     ++Py_REFCNT(o);
            |     ^~
      itzi/flow.c:23584:5: error: lvalue required as decrement operand
      23584 |     --Py_REFCNT(o);
            |     ^~
      error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a
problem with pip.
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> itzi

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20240604/9e3f5bcc/attachment-0001.htm>


More information about the grass-user mailing list