[GRASS-dev] winGRASS addons - consolidation/fix release needed!!

Helmut Kudrnovsky hellik at web.de
Sat Sep 7 02:39:34 PDT 2019


>pá 30. 8. 2019 v 17:35 odesílatel Helmut Kudrnovsky <[hidden email]> napsal:
>> Do you have a list of your issues facing while winGRASS compiling?
>
>different ;-) I am closer to successful build. Now it fails compiling

completly fresh git checkout here, still the already earlier mentioned issue
in 

GRASS GIS 7.9.dev a9d2c0bd6 compilation log
--------------------------------------------------
Started compilation: Sat Sep  7 11:16:10 CEST 2019
--
Errors in:
/usr/src/grass_trunk_git/grass/lib/pngdriver
/usr/src/grass_trunk_git/grass/lib/psdriver
[...]

caused by

if [ "" != "" ] ; then
GISRC=/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/demolocation/.grassrc79
GISBASE=C:/msys64/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32
PATH="/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/bin:/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/bin:/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/scripts:$PATH"
PYTHONPATH="C:/msys64/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/etc/python;C:/msys64/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/gui/wxpython;$PYTHONPATH"
PATH="/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/bin:/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/bin:/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/scripts:/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/lib:/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/lib:/c/OSGeo4W64/apps/Python37:/usr/bin:/mingw64/bin/:/c/OSGeo4W64/bin:/usr/src/grass_trunk_git/grass/mswindows/osgeo4w/lib:/usr/src/grass_trunk_git/grass/mswindows/osgeo4w"
LC_ALL=C LANG=C LANGUAGE=C  --html-description < /dev/null | grep -v
'</body>\|</html>' > pngdriver.tmp.html ; fi
VERSION_NUMBER=7.9.dev VERSION_DATE=2019 MODULE_TOPDIR=../.. \
        python3
/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/tools/mkhtml.py
pngdriver >
/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/docs/html/pngdriver.html
Fatal Python error: initfsencoding: unable to load the file system codec
ModuleNotFoundError: No module named 'encodings'

did a pacman -Syu in msys2 for an uptodate python

pacman -Ql mingw-w64-x86_64-python3 > pac.log shows:

mingw-w64-x86_64-python3 /mingw64/lib/python3.7/encodings/
mingw-w64-x86_64-python3 /mingw64/lib/python3.7/encodings/__init__.py
mingw-w64-x86_64-python3 /mingw64/lib/python3.7/encodings/__pycache__/
mingw-w64-x86_64-python3
/mingw64/lib/python3.7/encodings/__pycache__/__init__.cpython-37.opt-1.pyc
[...]

package encodings should be there.

maybe an intereference between msys/python3 and osgeo4w/python3

will investigate ...






-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html


More information about the grass-dev mailing list