Re: [GRASS-dev] [GRASS GIS] #3900: Go back to using community version of ctypesgen

2019-09-07 Thread GRASS GIS
#3900: Go back to using community version of ctypesgen
+-
  Reporter:  ossalanr   |  Owner:  grass-dev@…
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  8.0.0
 Component:  Python ctypes  |Version:  unspecified
Resolution: |   Keywords:
   CPU:  All|   Platform:  All
+-

Comment (by ossalanr):

 It originally worked with Windows, and I don't believe that anyone has
 changed anything that would prevent that. On the other hand, I don't
 personally have a Windows dev environment, so I can't tell you.

 Please file PRs or issues if there are Windows-specific problems.

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

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

2019-09-07 Thread Helmut Kudrnovsky
Helmut Kudrnovsky wrote
> Martin Landa wrote
>> Hi,
>> 
>> so 7. 9. 2019 v 22:20 odesílatel Helmut Kudrnovsky 
> 
>> hellik@
> 
>>  napsal:
>>> in both test cases (d.barscale.exe --html-description, r.info.exe
>>> --html-description), I get nothing, neither an error message nor
>>> --html-description output.
>> 
>> strange, in the case of r.info.exe I am getting html description output.
> 
> maybe too much linux/unix paths in windows world late at night ;-D
> 
>>GISBASE=C:/msys64/usr/src/grass79/dist.x86_64-w64-mingw32
> 
> is it really C:/ ? while all other paths are 
> 
> PATH="/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin:
> 

what should go into $PATH? probably:

C:\msys64\usr\src\grass_trunk_git\grass\bin.x86_64-w64-mingw32
C:\msys64\usr\src\grass_trunk_git\grass\dist.x86_64-w64-mingw32
C:\msys64\usr\src\grass_trunk_git\grass\dist.x86_64-w64-mingw32\bin
C:\msys64\usr\src\grass_trunk_git\grass\dist.x86_64-w64-mingw32\lib
C:\msys64\usr\src\grass_trunk_git\grass\dist.x86_64-w64-mingw32\scripts
C:\msys64\usr\src\grass_trunk_git\grass\mswindows
C:\msys64\usr\src\grass_trunk_git\grass\mswindows\osgeo4w\lib
C:\OSGeo4W64\apps\Python37
C:\OSGeo4W64\bin

anything else?





-
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

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

2019-09-07 Thread Helmut Kudrnovsky
Martin Landa wrote
> Hi,
> 
> so 7. 9. 2019 v 22:20 odesílatel Helmut Kudrnovsky 

> hellik@

>  napsal:
>> in both test cases (d.barscale.exe --html-description, r.info.exe
>> --html-description), I get nothing, neither an error message nor
>> --html-description output.
> 
> strange, in the case of r.info.exe I am getting html description output.

maybe too much linux/unix paths in windows world late at night ;-D

>GISBASE=C:/msys64/usr/src/grass79/dist.x86_64-w64-mingw32

is it really C:/ ? while all other paths are 

PATH="/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin:





-
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

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

2019-09-07 Thread Martin Landa
Hi,

so 7. 9. 2019 v 22:20 odesílatel Helmut Kudrnovsky  napsal:
> in both test cases (d.barscale.exe --html-description, r.info.exe
> --html-description), I get nothing, neither an error message nor
> --html-description output.

strange, in the case of r.info.exe I am getting html description output.

Ma

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

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

2019-09-07 Thread Helmut Kudrnovsky
Martin Landa wrote
> Hi Helmut,
> 
> so 7. 9. 2019 v 20:31 odesílatel Martin Landa 

> landa.martin@

>  napsal:
>> so apparently you have the same problem as me. It fails to load
>> libgrass_display.7.9.dll for unknown reason. It also causes that all
>> display modules fails to be compiled (or at least manual pages are not
>> generated).
> 
> try to run from msys terminal (or something similar depending on your
> paths):
> 
> GISRC=/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/demolocation/.grassrc79
> GISBASE=C:/msys64/usr/src/grass79/dist.x86_64-w64-mingw32
> PATH="/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/scripts:$PATH"
> PYTHONPATH="C:/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/etc/python;C:/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/gui/wxpython;$PYTHONPATH"
> PATH="/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/scripts:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/lib:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/lib:/c/OSGeo4W64/apps/Python37:/c/OSGeo4W64/bin:/c/msys64/usr/src/grass79/mswindows/osgeo4w/lib:/c/msys64/usr/src/grass79/mswindows/osgeo4w:/usr/bin:/mingw64/bin"
> LC_ALL=C LANG=C LANGUAGE=C
> /c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin/d.barscale.exe
> --html-description
> 
> You will probably do not get any output or even error (which is problem).
> 
> But when you run the same command for r.info.exe, it works.
> 
> GISRC=/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/demolocation/.grassrc79
> GISBASE=C:/msys64/usr/src/grass79/dist.x86_64-w64-mingw32
> PATH="/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/scripts:$PATH"
> PYTHONPATH="C:/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/etc/python;C:/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/gui/wxpython;$PYTHONPATH"
> PATH="/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/scripts:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/lib:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/lib:/c/OSGeo4W64/apps/Python37:/c/OSGeo4W64/bin:/c/msys64/usr/src/grass79/mswindows/osgeo4w/lib:/c/msys64/usr/src/grass79/mswindows/osgeo4w:/usr/bin:/mingw64/bin"
> LC_ALL=C LANG=C LANGUAGE=C
> /c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin/r.info.exe
> --html-description

in both test cases (d.barscale.exe --html-description, r.info.exe
--html-description), I get nothing, neither an error message nor
--html-description output.




-
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

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

2019-09-07 Thread Helmut Kudrnovsky
Martin Landa wrote
> Hi,
> 
> so 7. 9. 2019 v 20:40 odesílatel Martin Landa 

> landa.martin@

>  napsal:
>> not sure. libgrass_display.7.9.dll is successfully built, but cannot
>> be loaded for unknown reasons. Ma
> 
> in other words problem is not ctypes compilation, but loading
> libgrass_display.7.9.dll. It fails on different places (ctypes,
> display modules).

screening package.log, a similar OSError: [WinError 127] issue is here:

--
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:/c/OSGeo4W64/bin:/usr/src/grass_trunk_git/grass/mswindows/osgeo4w/lib:/usr/src/grass_trunk_git/grass/mswindows/osgeo4w:/usr/bin:/mingw64/bin"
LC_ALL=C LANG=C LANGUAGE=C ./ctypesgen.py --cpp "gcc -E
-I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-D__GLIBC_HAVE_LONG_LONG" -lgrass_g3d.7.9  
/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include/grass/raster3d.h
/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include/grass/defs/raster3d.h
-o OBJ.x86_64-w64-mingw32/raster3d.py
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:/c/OSGeo4W64/bin:/usr/src/grass_trunk_git/grass/mswindows/osgeo4w/lib:/usr/src/grass_trunk_git/grass/mswindows/osgeo4w:/usr/bin:/mingw64/bin"
LC_ALL=C LANG=C LANGUAGE=C ./ctypesgen.py --cpp "gcc -E
-I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-D__GLIBC_HAVE_LONG_LONG" -lgrass_arraystats.7.9  
/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include/grass/arraystats.h
/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include/grass/defs/arraystats.h
-o OBJ.x86_64-w64-mingw32/arraystats.py
Status: Preprocessing C:\Users\hkmyr\AppData\Local\Temp\tmplbjp8651.h
Status: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-D__GLIBC_HAVE_LONG_LONG -U __GNUC__ -dD "-Dinline=" "-D__inline__="
"-D__extension__=" "-D_Bool=uint8_t" "-D__const=const" "-D__asm__(x)="
"-D__asm(x)=" "-DCTYPESGEN=1"
"C:\Users\hkmyr\AppData\Local\Temp\tmplbjp8651.h"
Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-D__GLIBC_HAVE_LONG_LONG: In file included from
C:/msys64/mingw64/x86_64-w64-mingw32/include/_mingw.h:284,
Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-D__GLIBC_HAVE_LONG_LONG:  from
C:/msys64/mingw64/x86_64-w64-mingw32/include/corecrt.h:10,
Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-D__GLIBC_HAVE_LONG_LONG:  from
C:/msys64/mingw64/x86_64-w64-mingw32/include/crtdefs.h:10,
Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include

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

2019-09-07 Thread Helmut Kudrnovsky
Martin Landa wrote
> Hi,
> 
> so 7. 9. 2019 v 20:38 odesílatel Helmut Kudrnovsky 

> hellik@

>  napsal:
>> What about this one in display:
>>
>> C:/msys64/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include/grass/gis.h:24,
>> Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
>> -I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
>> -I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
>> -D__GLIBC_HAVE_LONG_LONG:  from
>> C:/msys64/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include/grass/display.h:4,
>> Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
>> -I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
>> -I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
>> -D__GLIBC_HAVE_LONG_LONG:  from
> 
> not sure. libgrass_display.7.9.dll is successfully built, but cannot
> be loaded for unknown reasons. Ma

these #error VARARGS not implemented for this compiler errors are more or
less everywhere during compilation

[...]
Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-D__GLIBC_HAVE_LONG_LONG:  from
C:\msys64\usr\src\grass_trunk_git\grass\dist.x86_64-w64-mingw32\include\grass\raster.h:4,
Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-D__GLIBC_HAVE_LONG_LONG:  from
C:\Users\hkmyr\AppData\Local\Temp\tmp14ml_k0z.h:1:
Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-D__GLIBC_HAVE_LONG_LONG:
C:/msys64/mingw64/x86_64-w64-mingw32/include/vadefs.h:35:2: error: #error
VARARGS not implemented for this compiler
Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-D__GLIBC_HAVE_LONG_LONG:35 | #error VARARGS not implemented for this
compiler
Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-D__GLIBC_HAVE_LONG_LONG:   |  ^

Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-D__GLIBC_HAVE_LONG_LONG:  from
C:\msys64\usr\src\grass_trunk_git\grass\dist.x86_64-w64-mingw32\include\grass\gprojects.h:23,
Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-D__GLIBC_HAVE_LONG_LONG:  from
C:\Users\hkmyr\AppData\Local\Temp\tmpxez_l_d1.h:1:
Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-D__GLIBC_HAVE_LONG_LONG:
C:/msys64/mingw64/x86_64-w64-mingw32/include/vadefs.h:35:2: error: #error
VARARGS not implemented for this compiler
Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-D__GLIBC_HAVE_LONG_LONG:35 | #error VARARGS not implemented for this
compiler
Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-D__GLIBC_HAVE_LONG_LONG:   |  ^
Status: Parsing C:\Users\hkmyr\AppData\Local\Temp\tmpxez_l_d1.h

Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-D__GLIBC_HAVE_LONG_LONG:  from
C:/msys64/mingw64/lib/gcc/x86_64-w64-mingw32/9.2.0/include/stddef.h:1,
Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-D__GLIBC_HAVE_LONG_LONG:  from
C:\msys64\usr\src\grass_trunk_git\grass\dist.x86_64-w64-mingw32\include\grass\gmath.h:33,
Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-D__GLIBC_HAVE_LONG_LONG:  from

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

2019-09-07 Thread Martin Landa
Hi,

so 7. 9. 2019 v 20:40 odesílatel Martin Landa  napsal:
> not sure. libgrass_display.7.9.dll is successfully built, but cannot
> be loaded for unknown reasons. Ma

in other words problem is not ctypes compilation, but loading
libgrass_display.7.9.dll. It fails on different places (ctypes,
display modules).

Ma

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

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

2019-09-07 Thread Martin Landa
Hi,

so 7. 9. 2019 v 20:38 odesílatel Helmut Kudrnovsky  napsal:
> What about this one in display:
>
> C:/msys64/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include/grass/gis.h:24,
> Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
> -I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
> -I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
> -D__GLIBC_HAVE_LONG_LONG:  from
> C:/msys64/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include/grass/display.h:4,
> Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
> -I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
> -I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
> -D__GLIBC_HAVE_LONG_LONG:  from

not sure. libgrass_display.7.9.dll is successfully built, but cannot
be loaded for unknown reasons. Ma

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

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

2019-09-07 Thread Martin Landa
Hi Helmut,

so 7. 9. 2019 v 20:31 odesílatel Martin Landa  napsal:
> so apparently you have the same problem as me. It fails to load
> libgrass_display.7.9.dll for unknown reason. It also causes that all
> display modules fails to be compiled (or at least manual pages are not
> generated).

try to run from msys terminal (or something similar depending on your paths):

GISRC=/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/demolocation/.grassrc79
GISBASE=C:/msys64/usr/src/grass79/dist.x86_64-w64-mingw32
PATH="/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/scripts:$PATH"
PYTHONPATH="C:/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/etc/python;C:/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/gui/wxpython;$PYTHONPATH"
PATH="/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/scripts:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/lib:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/lib:/c/OSGeo4W64/apps/Python37:/c/OSGeo4W64/bin:/c/msys64/usr/src/grass79/mswindows/osgeo4w/lib:/c/msys64/usr/src/grass79/mswindows/osgeo4w:/usr/bin:/mingw64/bin"
LC_ALL=C LANG=C LANGUAGE=C
/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin/d.barscale.exe
--html-description

You will probably do not get any output or even error (which is problem).

But when you run the same command for r.info.exe, it works.

GISRC=/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/demolocation/.grassrc79
GISBASE=C:/msys64/usr/src/grass79/dist.x86_64-w64-mingw32
PATH="/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/scripts:$PATH"
PYTHONPATH="C:/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/etc/python;C:/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/gui/wxpython;$PYTHONPATH"
PATH="/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/scripts:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/lib:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/lib:/c/OSGeo4W64/apps/Python37:/c/OSGeo4W64/bin:/c/msys64/usr/src/grass79/mswindows/osgeo4w/lib:/c/msys64/usr/src/grass79/mswindows/osgeo4w:/usr/bin:/mingw64/bin"
LC_ALL=C LANG=C LANGUAGE=C
/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin/r.info.exe
--html-description

Ma

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

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

2019-09-07 Thread Helmut Kudrnovsky
Martin Landa wrote
> Hi,
> 
> so 7. 9. 2019 v 13:28 odesílatel Helmut Kudrnovsky 

> hellik@

>  napsal:
>> > Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/corecrt.h:80:
>> Syntax
>> > error at 'uintptr_t'
>> > Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:165: Syntax
>> > error at 'va_list'
>> >
>> > and ctypes issue see also:
>> >
>> > https://trac.osgeo.org/grass/ticket/3368
>>
>> https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/va-arg-va-copy-va-end-va-start?view=vs-2019
> 
> it would be nice of course to solve these error. In any case these
> errors do not cause compilation failure.
> 
> Ma
> 
> -- 
> Martin Landa
> http://geo.fsv.cvut.cz/gwiki/Landa
> http://gismentors.cz/mentors/landa
> ___
> grass-dev mailing list

> grass-dev@.osgeo

> https://lists.osgeo.org/mailman/listinfo/grass-dev


What about this one in display:

C:/msys64/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include/grass/gis.h:24,
Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-D__GLIBC_HAVE_LONG_LONG:  from
C:/msys64/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include/grass/display.h:4,
Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-D__GLIBC_HAVE_LONG_LONG:  from



-
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

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

2019-09-07 Thread Martin Landa
Hi,

so 7. 9. 2019 v 13:28 odesílatel Helmut Kudrnovsky  napsal:
> > Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/corecrt.h:80: Syntax
> > error at 'uintptr_t'
> > Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:165: Syntax
> > error at 'va_list'
> >
> > and ctypes issue see also:
> >
> > https://trac.osgeo.org/grass/ticket/3368
>
> https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/va-arg-va-copy-va-end-va-start?view=vs-2019

it would be nice of course to solve these error. In any case these
errors do not cause compilation failure.

Ma

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

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

2019-09-07 Thread Martin Landa
Hi,

so 7. 9. 2019 v 13:06 odesílatel Helmut Kudrnovsky  napsal:

[...]

> Status: Processing description list.
> Traceback (most recent call last):
>   File "./ctypesgen.py", line 165, in 
> ctypesgencore.processor.process(descriptions, options)
>   File
> "C:\msys64\usr\src\grass_trunk_git\grass\lib\python\ctypes\ctypesgencore\processor\pipeline.py",
> line 60, in process
> find_source_libraries(data, options)
>   File
> "C:\msys64\usr\src\grass_trunk_git\grass\lib\python\ctypes\ctypesgencore\processor\operations.py",
> line 206, in find_source_libraries
> library = ctypesgencore.libraryloader.load_library(library_name)
>   File
> "C:\msys64\usr\src\grass_trunk_git\grass\lib\python\ctypes\ctypesgencore\libraryloader.py",
> line 258, in load_library
> result = LibraryLoader.load_library(self, libname)
>   File
> "C:\msys64\usr\src\grass_trunk_git\grass\lib\python\ctypes\ctypesgencore\libraryloader.py",
> line 63, in load_library
> return self.load(path)
>   File
> "C:\msys64\usr\src\grass_trunk_git\grass\lib\python\ctypes\ctypesgencore\libraryloader.py",
> line 279, in load
> return _WindowsLibrary(path)
>   File
> "C:\msys64\usr\src\grass_trunk_git\grass\lib\python\ctypes\ctypesgencore\libraryloader.py",
> line 240, in __init__
> self.cdll = ctypes.cdll.LoadLibrary(path)
>   File "C:/msys64/mingw64/lib/python3.7\ctypes\__init__.py", line 442, in
> LoadLibrary
> return self._dlltype(name)
>   File "C:/msys64/mingw64/lib/python3.7\ctypes\__init__.py", line 364, in
> __init__
> self._handle = _dlopen(self._name, mode)
> OSError: [WinError 126] Das angegebene Modul wurde nicht gefunden
> make[1]: *** [Makefile:102: OBJ.x86_64-w64-mingw32/display.py] Error 1

so apparently you have the same problem as me. It fails to load
libgrass_display.7.9.dll for unknown reason. It also causes that all
display modules fails to be compiled (or at least manual pages are not
generated).

Ma
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

[GRASS-dev] [GRASS GIS] Batch modify: #3881, #3877, #3663, #3053, #3855, #1393, ...

2019-09-07 Thread GRASS GIS
Batch modification to #3881, #3877, #3663, #3053, #3855, #1393, #3882, #3883, 
#3859, #3665, #3304, #3887, #3090, #3664, #396, #3891, #3885, #2768, #3166, 
#2604, #2951, #3384, #3902, #3667, #3239, #3584, #3871, #151, #3895, #3737, 
#3781, #3896, #3898, #3281, #3588, #572, #816, #3341, #3300, #2625, #2459, 
#3538, #3254, #3261, #1421, #3283, #3661, #3742, #2656, #3134, #3745, #3748, 
#2132, #3696, #3699, #3806, #3809, #3653, #2640, #3174, #2670, #3520, #2887, 
#798, #3650, #3624, #3811, #3047, #3074, #3186, #3873, #2236, #2435, #2363, 
#3708, #2194, #3826, #3824, #3827, #2788, #3480, #3263, #182, #438, #2891, 
#3679, #1265, #1610, #3363, #3373, #2895, #3762, #3445, #3117, #3294, #2242, 
#3768, #3767, #3655, #3730, #2418, #3695, #3330, #3840, #2935, #2555, #3832, 
#3834, #3853, #3869, #3790, #3874 by neteler:
milestone to 7.8.1

Comment:
Ticket retargeted after milestone closed

-- 
Tickets URL: 

GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3897: d.mon errors when closing

2019-09-07 Thread GRASS GIS
#3897: d.mon errors when closing
--+-
  Reporter:  veroandreo   |  Owner:  grass-dev@…
  Type:  defect   | Status:  closed
  Priority:  normal   |  Milestone:  7.8.0
 Component:  Display  |Version:  git-releasebranch78
Resolution:  fixed|   Keywords:  d.mon
   CPU:  Unspecified  |   Platform:  Unspecified
--+-
Changes (by neteler):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 Replying to [comment:5 annakrat]:
 > Fix is in master now.

 Your fixes solve the remaining issue. I have backported it, works fine now
 in 7.8 (so it is for 7.8.1 then).

 Thanks! & closing.

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [GRASS GIS] #3900: Go back to using community version of ctypesgen

2019-09-07 Thread GRASS GIS
#3900: Go back to using community version of ctypesgen
+-
  Reporter:  ossalanr   |  Owner:  grass-dev@…
  Type:  defect | Status:  new
  Priority:  normal |  Milestone:  8.0.0
 Component:  Python ctypes  |Version:  unspecified
Resolution: |   Keywords:
   CPU:  All|   Platform:  All
+-

Comment (by neteler):

 Great indeed! Does it also work on Windows? We need to have it working on
 all relevant operating systems...

-- 
Ticket URL: 
GRASS GIS 

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

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

2019-09-07 Thread Helmut Kudrnovsky
Helmut Kudrnovsky wrote
> regarding
> 
> Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/corecrt.h:80: Syntax
> error at 'uintptr_t'
> Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:165: Syntax
> error at 'va_list'
> 
> and ctypes issue see also:
> 
> https://trac.osgeo.org/grass/ticket/3368

https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/va-arg-va-copy-va-end-va-start?view=vs-2019




-
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

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

2019-09-07 Thread Helmut Kudrnovsky
Helmut Kudrnovsky wrote
> Helmut Kudrnovsky wrote
>> I get a longer log with errors when I'm do make in the ctypes subfolder:
> 
> Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
> -I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
> -I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
> -D__GLIBC_HAVE_LONG_LONG:
> C:/msys64/mingw64/x86_64-w64-mingw32/include/vadefs.h:35:2: error: #error
> VARARGS not implemented for this compiler
> Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
> -I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
> -I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
> -D__GLIBC_HAVE_LONG_LONG:35 | #error VARARGS not implemented for this
> compiler
> Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
> -I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
> -I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
> -D__GLIBC_HAVE_LONG_LONG:   |  ^
> 
> 
> $ gcc --version
> gcc.exe (Rev2, Built by MSYS2 project) 9.2.0
> Copyright (C) 2019 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.

regarding

Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/corecrt.h:80: Syntax
error at 'uintptr_t'
Error: C:/msys64/mingw64/x86_64-w64-mingw32/include/stdio.h:165: Syntax
error at 'va_list'

and ctypes issue see also:

https://trac.osgeo.org/grass/ticket/3368




-
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

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

2019-09-07 Thread Helmut Kudrnovsky
Helmut Kudrnovsky wrote
> I get a longer log with errors when I'm do make in the ctypes subfolder:

Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-D__GLIBC_HAVE_LONG_LONG:
C:/msys64/mingw64/x86_64-w64-mingw32/include/vadefs.h:35:2: error: #error
VARARGS not implemented for this compiler
Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-D__GLIBC_HAVE_LONG_LONG:35 | #error VARARGS not implemented for this
compiler
Error: gcc -E -I/c/OSGeo4W64/include -D_FILE_OFFSET_BITS=64
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-I/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/include
-D__GLIBC_HAVE_LONG_LONG:   |  ^


$ gcc --version
gcc.exe (Rev2, Built by MSYS2 project) 9.2.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.







-
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

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

2019-09-07 Thread Helmut Kudrnovsky
Martin Landa wrote
> Hi,
> 
> pá 30. 8. 2019 v 17:35 odesílatel Helmut Kudrnovsky 

> hellik@

>  napsal:
>> Do you have a list of your issues facing while winGRASS compiling?
> 
> different ;-) I am closer to successful build. Now it fails compiling
> ctypes/display.py:
> 
> """
> Status: Processing description list.
> Traceback (most recent call last):
>   File "./ctypesgen.py", line 165, in 
> 
> ctypesgencore.processor.process(descriptions, options)
>   File
> "C:\msys64\usr\src\grass79\lib\python\ctypes\ctypesgencore\processor\pipeline.py",
> line 60, in process
> find_source_libraries(data, options)
>   File
> "C:\msys64\usr\src\grass79\lib\python\ctypes\ctypesgencore\processor\operations.py",
> line 206, in find_source_libraries
> library = ctypesgencore.libraryloader.load_library(library_name)
>   File
> "C:\msys64\usr\src\grass79\lib\python\ctypes\ctypesgencore\libraryloader.py",
> line 258, in load_library
> result = LibraryLoader.load_library(self, libname)
>   File
> "C:\msys64\usr\src\grass79\lib\python\ctypes\ctypesgencore\libraryloader.py",
> line 63, in load_library
> return self.load(path)
>   File
> "C:\msys64\usr\src\grass79\lib\python\ctypes\ctypesgencore\libraryloader.py",
> line 279, in load
> return _WindowsLibrary(path)
>   File
> "C:\msys64\usr\src\grass79\lib\python\ctypes\ctypesgencore\libraryloader.py",
> line 240, in __init__
> self.cdll = ctypes.cdll.LoadLibrary(path)
>   File "C:\OSGeo4W64\apps\Python37\lib\ctypes\__init__.py", line 434,
> in LoadLibrary
> return self._dlltype(name)
>   File "C:\OSGeo4W64\apps\Python37\lib\ctypes\__init__.py", line 356,
> in __init__
> self._handle = _dlopen(self._name, mode)
> OSError: [WinError 127] Uvedená procedura nebyla nalezena
> make[6]: *** [Makefile:102: OBJ.x86_64-w64-mingw32/display.py] Error 1
> """

I get a longer log with errors when I'm do make in the ctypes subfolder:

---
$ make
make
/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/etc/python/grass/lib
make[1]: Entering directory
'/usr/src/grass_trunk_git/grass/lib/python/ctypes'
make[1]:
'/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/etc/python/grass/lib'
is up to date.
make[1]: Leaving directory
'/usr/src/grass_trunk_git/grass/lib/python/ctypes'
make OBJ.x86_64-w64-mingw32/date.py OBJ.x86_64-w64-mingw32/gis.py
OBJ.x86_64-w64-mingw32/raster.py OBJ.x86_64-w64-mingw32/gmath.py
OBJ.x86_64-w64-mingw32/proj.py OBJ.x86_64-w64-mingw32/imagery.py
OBJ.x86_64-w64-mingw32/vector.py OBJ.x86_64-w64-mingw32/rtree.py
OBJ.x86_64-w64-mingw32/display.py OBJ.x86_64-w64-mingw32/stats.py
OBJ.x86_64-w64-mingw32/dbmi.py OBJ.x86_64-w64-mingw32/raster3d.py
OBJ.x86_64-w64-mingw32/arraystats.py OBJ.x86_64-w64-mingw32/cluster.py
OBJ.x86_64-w64-mingw32/vedit.py OBJ.x86_64-w64-mingw32/segment.py
OBJ.x86_64-w64-mingw32/rowio.py OBJ.x86_64-w64-mingw32/temporal.py
OBJ.x86_64-w64-mingw32/ogsf.py OBJ.x86_64-w64-mingw32/nviz.py
/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/etc/python/grass/lib/date.py
/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/etc/python/grass/lib/gis.py
/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/etc/python/grass/lib/raster.py
/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/etc/python/grass/lib/gmath.py
/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/etc/python/grass/lib/proj.py
/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/etc/python/grass/lib/imagery.py
/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/etc/python/grass/lib/vector.py
/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/etc/python/grass/lib/rtree.py
/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/etc/python/grass/lib/display.py
/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/etc/python/grass/lib/stats.py
/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/etc/python/grass/lib/dbmi.py
/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/etc/python/grass/lib/raster3d.py
/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/etc/python/grass/lib/arraystats.py
/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/etc/python/grass/lib/cluster.py
/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/etc/python/grass/lib/vedit.py
/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/etc/python/grass/lib/segment.py
/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/etc/python/grass/lib/rowio.py
/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/etc/python/grass/lib/temporal.py
/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/etc/python/grass/lib/ogsf.py
/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/etc/python/grass/lib/nviz.py
/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/etc/python/grass/lib/__init__.py
/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/etc/python/grass/lib/ctypes_preamble.py
/usr/src/grass_trunk_git/grass/dist.x86_64-w64-mingw32/etc/python/grass/lib/ctypes_loader.py

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

2019-09-07 Thread Martin Landa
Hi,

so 7. 9. 2019 v 12:20 odesílatel Helmut Kudrnovsky  napsal:
> it's not easy to keep msys2 and osgeo4w python in sync

the goal is to use Python version from osgeo4w environment, see
https://github.com/OSGeo/grass/pull/126

> >By [1] is
> >forced osgeo4w Python version. In [2] he should remove all python
> >packages.They are not needed.
>
> does it mean that in msys2 there is no python3 needed at all?
>
> 
> pacman -S [...] mingw-w64-x86_64-python3-numpy mingw-w64-x86_64-python3-six
> 
>
> should this be removed von the how-to-compile wiki?

I think so. Ma

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

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

2019-09-07 Thread Helmut Kudrnovsky
>it's not good idea to mix different version of Python. 

it's not easy to keep msys2 and osgeo4w python in sync

>By [1] is
>forced osgeo4w Python version. In [2] he should remove all python
>packages.They are not needed.

does it mean that in msys2 there is no python3 needed at all?


pacman -S [...] mingw-w64-x86_64-python3-numpy mingw-w64-x86_64-python3-six


should this be removed von the how-to-compile wiki?

if I remember I added them when we started to compile with python3 back them
because compilation failed 






-
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] [release planning] GRASS GIS 7.8.0 with Python3 support

2019-09-07 Thread Stefan Blumentrath
Hi Martin,

Yes, it is indeed not necessarily related.

But what about the idea to provide addon-zip-files for download that could be 
generated in a make routine (make zip, like e.g. here: 
https://stackoverflow.com/questions/28844155/makefile-generating-zip-files-of-all-sub-folders
 and then make copy, like e.g. here: 
https://stackoverflow.com/questions/19509718/how-to-write-a-makefile-to-copy-scripts-to-server)?
 

Cheers 
Stefan 

Fra: Martin Landa 
Sendt: fredag 6. september 2019 21:51:52
Til: Stefan Blumentrath 
Kopi: Sebastiaan Couwenberg ; grass-dev@lists.osgeo.org 

Emne: Re: [GRASS-dev] [release planning] GRASS GIS 7.8.0 with Python3 support

Hi,

pá 6. 9. 2019 v 9:24 odesílatel Stefan Blumentrath
 napsal:
> People interested in accessing addon code instantly should be able to deal 
> with the full addon repo. Maybe splitting up grass7 and grass6 addons in 
> different repos could reduce the pain a bit?

I was thinking to split grass7 and grass6 into different branches.

grass7/ -> master/grass7 branch
grass6/ -> grass6 branch

But it's unrelated to discussed g.extension issue.

Ma

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

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

2019-09-07 Thread Martin Landa
Hi,

so 7. 9. 2019 v 12:07 odesílatel Helmut Kudrnovsky  napsal:
> msys2:
>
> myuser@DESKTOP-VADT8Q4 MINGW64 /usr/src/grass_trunk_git/grass
> $ python --version
> Python 3.7.4
> osgeo4w:
>
> C:\>python --version
> Python 3.7.0

it's not good idea to mix different version of Python. By [1] is
forced osgeo4w Python version. In [2] he should remove all python
packages.They are not needed.

Ma

[1] https://github.com/OSGeo/grass/pull/126
[2] 
https://trac.osgeo.org/grass/wiki/CompileOnWindows#InstalltheMSYS2directorystructure

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

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

2019-09-07 Thread Helmut Kudrnovsky
Helmut Kudrnovsky wrote
>>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
> '
> 
> \|
> 
> ' > 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 ...

msys2:

myuser@DESKTOP-VADT8Q4 MINGW64 /usr/src/grass_trunk_git/grass
$ python --version
Python 3.7.4


myuser@DESKTOP-VADT8Q4 MINGW64 /usr/src/grass_trunk_git/grass
$ python3 -c "import encodings; print(encodings.__file__)"
C:/msys64/mingw64/lib/python3.7/encodings/__init__.py

myuser@DESKTOP-VADT8Q4 MINGW64 /usr/src/grass_trunk_git/grass
$ python
Python 3.7.4 (default, Aug 15 2019, 18:17:27)  [GCC 9.2.0 64 bit (AMD64)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import encodings


osgeo4w:

C:\>python --version
Python 3.7.0

C:\>python3 -c "import encodings; print(encodings.__file__)"
C:\OSGEO4~1\apps\Python37\lib\encodings\__init__.py

C:\>python
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit
(AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import encodings
>>>

in package.sh

[...]
# Force Python3
# alias python=python3
export PYTHONPATH=
export PYTHONHOME=$OSGEO4W_ROOT_MSYS/apps/Python37
export PATH=$OSGEO4W_ROOT_MSYS/apps/Python37:$PATH
[...]

do we use msys2/py3 or osgeo4w/py3 for compilation?



-
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Dev-f3991897.html
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

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

2019-09-07 Thread Martin Landa
so 7. 9. 2019 v 12:01 odesílatel Martin Landa  napsal:
> > /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'
>
> this part I already solved locally. Will create WIP PR. I have
> different problem with display dll.

https://github.com/OSGeo/grass/pull/126

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

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

2019-09-07 Thread Martin Landa
Hi,

so 7. 9. 2019 v 11:39 odesílatel Helmut Kudrnovsky  napsal:
> /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'

this part I already solved locally. Will create WIP PR. I have
different problem with display dll.

I tried to run manually in msys2 bash:

GISRC=/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/demolocation/.grassrc79
GISBASE=C:/msys64/usr/src/grass79/dist.x86_64-w64-mingw32
PATH="/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/scripts:$PATH"
PYTHONPATH="C:/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/etc/python;C:/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/gui/wxpython;$PYTHONPATH"
PATH="/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/scripts:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/lib:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/lib:/c/OSGeo4W64/apps/Python37:/c/OSGeo4W64/bin:/c/msys64/usr/src/grass79/mswindows/osgeo4w/lib:/c/msys64/usr/src/grass79/mswindows/osgeo4w:/usr/bin:/mingw64/bin"
LC_ALL=C LANG=C LANGUAGE=C
/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin/d.barscale.exe
--html-description

I got no output, no error.

When I switched to r.info.exe, it works.

GISRC=/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/demolocation/.grassrc79
GISBASE=C:/msys64/usr/src/grass79/dist.x86_64-w64-mingw32
PATH="/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/scripts:$PATH"
PYTHONPATH="C:/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/etc/python;C:/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/gui/wxpython;$PYTHONPATH"
PATH="/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/scripts:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/lib:/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/lib:/c/OSGeo4W64/apps/Python37:/c/OSGeo4W64/bin:/c/msys64/usr/src/grass79/mswindows/osgeo4w/lib:/c/msys64/usr/src/grass79/mswindows/osgeo4w:/usr/bin:/mingw64/bin"
LC_ALL=C LANG=C LANGUAGE=C
/c/msys64/usr/src/grass79/dist.x86_64-w64-mingw32/bin/r.info.exe
--html-description

Ma

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

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

2019-09-07 Thread Helmut Kudrnovsky
>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
'\|' > 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
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev