[GRASS-dev] wingrass builds status (git recover)

Hi,

I have recovered (at least partially) wingrass builds:

* daily builds (GRASS 7.6 & 7.7: only 64bit builds) [standalone [1] &
osgeo4w/grass-daily) are operational

Up-to-date maintenance scripts available at [2].

In next days I will re-cover grass74 daily builds and more importantly
release addons builds (7.4.4 & 7.6.1).

Ma

[1] https://wingrass.fsv.cvut.cz/grass77/x86_64/
[2] https://github.com/landam/wingrass-maintenance-scripts

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Hi Martin,

Martin Landa wrote

Hi,

I have recovered (at least partially) wingrass builds:

* daily builds (GRASS 7.6 & 7.7: only 64bit builds) [standalone [1] &
osgeo4w/grass-daily) are operational

Up-to-date maintenance scripts available at [2].

In next days I will re-cover grass74 daily builds and more importantly
release addons builds (7.4.4 & 7.6.1).

thanks for your effort to bring winGRASS daily builds back

tested here with the OSGeo4W 64bit dailys.

following issue when downloading OSGeo4W grass-daily-7.7.dev-f79c3568d-1:

° g.mkfontcap.exe - system error because libgraphite2.dll and libpcre-1.dll
can't be found
° "inflateValidate" in the dll
C:\OSGeo4W\apps\grass\grass77\bin\libpng16-16.dll can't be found

regarding the last issue item, in C:\OSGeo4W\apps\grass\grass77\bin\ there
shouldn't be any foreign dll, right?

looking into it

C:\OSGeo4W64\apps\grass\grass77\bin>ls | grep lib
libbz2-1.dll
libexpat-1.dll
libfontconfig-1.dll
libfreetype-6.dll
libgcc_s_seh-1.dll
libglib-2.0-0.dll
libharfbuzz-0.dll
libiconv-2.dll
libintl-8.dll
libpng16-16.dll
libstdc++-6.dll
libsystre-0.dll
libtre-5.dll
libwinpthread-1.dll
test.raster3d.lib.exe
zlib1.dll

downloading
https://wingrass.fsv.cvut.cz/grass77/x86_64/osgeo4w/grass-daily-7.7.dev-f79c3568d-1.tar.bz2

D:\temp\wwf\grass-daily-7.7.dev-f79c3568d-1.tar\grass-daily-7.7.dev-f79c3568d-1\apps\grass\grass77\bin>ls
| grep lib
libbz2-1.dll
libexpat-1.dll
libfontconfig-1.dll
libfreetype-6.dll
libgcc_s_seh-1.dll
libglib-2.0-0.dll
libharfbuzz-0.dll
libiconv-2.dll
libintl-8.dll
libpng16-16.dll
libstdc++-6.dll
libsystre-0.dll
libtre-5.dll
libwinpthread-1.dll
test.raster3d.lib.exe
zlib1.dll

these dlls are in
grass-daily-7.7.dev-f79c3568d-1.tar\grass-daily-7.7.dev-f79c3568d-1\apps\grass\grass77\bin

any idea about that?

these dlls maybe are the reason for

Starting GRASS GIS...
WARNUNG: Sperren gleichzeitiger Zugriffe auf ein Mapset ist unter Windows
         nicht möglich.
Cleaning up temporary files...

          __________ ___ __________ _______________
         / ____/ __ \/ | / ___/ ___/ / ____/ _/ ___/
        / / __/ /_/ / /| | \__ \\_ \ / / __ / / \__ \
       / /_/ / _, _/ ___ |___/ /__/ / / /_/ // / ___/ /
       \____/_/ |_/_/ |_/____/____/ \____/___//____/

Welcome to GRASS GIS 7.7.dev
GRASS GIS homepage: https://grass.osgeo.org
This version running through: Command Prompt
(C:\WINDOWS\system32\cmd.exe)
Help is available with the command: g.manual -i
See the licence terms with: g.version -c
See citation options with: g.version -x
If required, restart the GUI with: g.gui wxpython
When ready to quit enter: exit

Launching <wxpython> GUI in the background, please wait...
Microsoft Windows [Version 10.0.18362.175]
(c) 2019 Microsoft Corporation. Alle Rechte vorbehalten.

C:\>C:\OSGEO4~1\apps\grass\grass77\gui\wxpython\wxgui.py:101:
DeprecationWarning: Yield() is deprecated
  wx.Yield()
GRASS Modul 'g.proj' nicht gefunden. Kann Kartenfenster nicht starten.
Error in atexit._run_exitfuncs:
wx._core.wxAssertionError: C++ assertion "GetEventHandler() == this" failed
at ..\..\src\common\wincmn.cpp(478) in wxWindowBase::~wxWindowBase(): any
pushed event handlers must have been removed

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

Hello, I experienced the exact same issue on Windows. One of my PRs should fix it.

Regards,
Huidae

Huidae Cho, Ph.D., GISP, PE (MD), CFM, M.ASCE
Open Source GIS Developer, GRASS GIS Development Team
https://idea.isnew.info
Sent from my phone

On Sun, Jul 7, 2019, 3:53 PM Helmut Kudrnovsky <hellik@web.de> wrote:

Hi Martin,

Martin Landa wrote

Hi,

I have recovered (at least partially) wingrass builds:

  • daily builds (GRASS 7.6 & 7.7: only 64bit builds) [standalone [1] &
    osgeo4w/grass-daily) are operational

Up-to-date maintenance scripts available at [2].

In next days I will re-cover grass74 daily builds and more importantly
release addons builds (7.4.4 & 7.6.1).

thanks for your effort to bring winGRASS daily builds back

tested here with the OSGeo4W 64bit dailys.

following issue when downloading OSGeo4W grass-daily-7.7.dev-f79c3568d-1:

° g.mkfontcap.exe - system error because libgraphite2.dll and libpcre-1.dll
can’t be found
° “inflateValidate” in the dll
C:\OSGeo4W\apps\grass\grass77\bin\libpng16-16.dll can’t be found

regarding the last issue item, in C:\OSGeo4W\apps\grass\grass77\bin\ there
shouldn’t be any foreign dll, right?

looking into it

C:\OSGeo4W64\apps\grass\grass77\bin>ls | grep lib
libbz2-1.dll
libexpat-1.dll
libfontconfig-1.dll
libfreetype-6.dll
libgcc_s_seh-1.dll
libglib-2.0-0.dll
libharfbuzz-0.dll
libiconv-2.dll
libintl-8.dll
libpng16-16.dll
libstdc+±6.dll
libsystre-0.dll
libtre-5.dll
libwinpthread-1.dll
test.raster3d.lib.exe
zlib1.dll

downloading
https://wingrass.fsv.cvut.cz/grass77/x86_64/osgeo4w/grass-daily-7.7.dev-f79c3568d-1.tar.bz2

D:\temp\wwf\grass-daily-7.7.dev-f79c3568d-1.tar\grass-daily-7.7.dev-f79c3568d-1\apps\grass\grass77\bin>ls
| grep lib
libbz2-1.dll
libexpat-1.dll
libfontconfig-1.dll
libfreetype-6.dll
libgcc_s_seh-1.dll
libglib-2.0-0.dll
libharfbuzz-0.dll
libiconv-2.dll
libintl-8.dll
libpng16-16.dll
libstdc+±6.dll
libsystre-0.dll
libtre-5.dll
libwinpthread-1.dll
test.raster3d.lib.exe
zlib1.dll

these dlls are in
grass-daily-7.7.dev-f79c3568d-1.tar\grass-daily-7.7.dev-f79c3568d-1\apps\grass\grass77\bin

any idea about that?

these dlls maybe are the reason for

Starting GRASS GIS…
WARNUNG: Sperren gleichzeitiger Zugriffe auf ein Mapset ist unter Windows
nicht möglich.
Cleaning up temporary files…


/ / __ / | / / / / __/ / /
/ / __/ /
/ / /| | _
\
\ / / __ / / _

/ /
/ / , / ___ |
/ /
/ / / /
/ // / / /
_
/
/ |
/
/ |
/
// _///_/

Welcome to GRASS GIS 7.7.dev
GRASS GIS homepage: https://grass.osgeo.org
This version running through: Command Prompt
(C:\WINDOWS\system32\cmd.exe)
Help is available with the command: g.manual -i
See the licence terms with: g.version -c
See citation options with: g.version -x
If required, restart the GUI with: g.gui wxpython
When ready to quit enter: exit

Launching GUI in the background, please wait…
Microsoft Windows [Version 10.0.18362.175]
(c) 2019 Microsoft Corporation. Alle Rechte vorbehalten.

C:>C:\OSGEO4~1\apps\grass\grass77\gui\wxpython\wxgui.py:101:
DeprecationWarning: Yield() is deprecated
wx.Yield()
GRASS Modul ‘g.proj’ nicht gefunden. Kann Kartenfenster nicht starten.
Error in atexit._run_exitfuncs:
wx._core.wxAssertionError: C++ assertion “GetEventHandler() == this” failed
at …..\src\common\wincmn.cpp(478) in wxWindowBase::~wxWindowBase(): any
pushed event handlers must have been removed


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

Hello, I experienced the exact same issue on Windows. One of my PRs should

fix it.

thanks for your effort.

which of your PR?

next week I'll be able to test it locally in my winGRASS build environment.

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

Hi,

ne 7. 7. 2019 v 21:53 odesílatel Helmut Kudrnovsky <hellik@web.de> napsal:

following issue when downloading OSGeo4W grass-daily-7.7.dev-f79c3568d-1:

° g.mkfontcap.exe - system error because libgraphite2.dll and libpcre-1.dll
can't be found
° "inflateValidate" in the dll
C:\OSGeo4W\apps\grass\grass77\bin\libpng16-16.dll can't be found

hm, something related to a new build environment. No idea at this moment.

regarding the last issue item, in C:\OSGeo4W\apps\grass\grass77\bin\ there
shouldn't be any foreign dll, right?

These libraries are copied from msys2 build environment [1]. They are
needed since GRASS is built against them. Btw, they are not copied to
C:\OSGeo4W64\bin to avoid any potential conflict with other osgeo4w
packages (GRASS is the only one osgeo4w package built in msys2
environment I guess).

Ma

[1] https://github.com/OSGeo/grass/blob/master/mswindows/osgeo4w/package.sh#L260

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

čt 11. 7. 2019 v 22:54 odesílatel Martin Landa <landa.martin@gmail.com> napsal:

> ° "inflateValidate" in the dll
> C:\OSGeo4W\apps\grass\grass77\bin\libpng16-16.dll can't be found

probably relevant,
https://github.com/gtk-rs/gtk/issues/539#issuecomment-442993185

Ma

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Martin Landa wrote

čt 11. 7. 2019 v 22:54 odesílatel Martin Landa &lt;

landa.martin@

&gt; napsal:

> ° "inflateValidate" in the dll
> C:\OSGeo4W\apps\grass\grass77\bin\libpng16-16.dll can't be found

probably relevant,
https://github.com/gtk-rs/gtk/issues/539#issuecomment-442993185

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

will have a check next week when I have access again to my OSGeo 4W
environment

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

It’s #48 (https://github.com/OSGeo/grass/pull/48). It fixes find_program.

···

Huidae Cho, Ph.D., GISP, PE (MD), CFM, M.ASCE
Open Source GIS Developer, GRASS GIS Development Team

Hi,

ne 7. 7. 2019 v 21:53 odesílatel Helmut Kudrnovsky <hellik@web.de> napsal:

° "inflateValidate" in the dll
C:\OSGeo4W\apps\grass\grass77\bin\libpng16-16.dll can't be found

after upgrading build msys2 environment it seems that this problem
disappeared. Please try build no. 2+. Ma

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Hi,

ne 7. 7. 2019 v 21:53 odesílatel Helmut Kudrnovsky <hellik@web.de> napsal:

following issue when downloading OSGeo4W grass-daily-7.7.dev-f79c3568d-1:

° g.mkfontcap.exe - system error because libgraphite2.dll and libpcre-1.dll
can't be found

with osgeo4w or standalone installer? I was testing latest standalone
wingrass build (no.2) and no issue found. Ma

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Martin Landa wrote

Hi,

ne 7. 7. 2019 v 21:53 odesílatel Helmut Kudrnovsky &lt;

hellik@

&gt; napsal:

° "inflateValidate" in the dll
C:\OSGeo4W\apps\grass\grass77\bin\libpng16-16.dll can't be found

after upgrading build msys2 environment it seems that this problem
disappeared. Please try build no. 2+. Ma

tested now build no. 3, the libng-dll issue seems to be solved; but stilll
here the problem with

° g.mkfontcap.exe - system error because libgraphite2.dll and libpcre-1.dll
can't be found

probably relevant,
https://github.com/gtk-rs/gtk/issues/539#issuecomment-442993185

in that link:

I had the same issue with msys2 and Qt. It turned out that there was

another version of zlib1.dll in PATH.

zlib1.dll is here in

C:\OSGeo4W64\apps\grass\grass77\bin
C:\OSGeo4W64\apps\Python37\lib\site-packages\wx
C:\OSGeo4W64\bin
C:\OSGeo4W64\apps\saga\dll

If I start a winGRASS77 daily session:

C:\>where zlib1.dll
C:\OSGeo4W64\apps\grass\grass77\bin\zlib1.dll
C:\OSGeo4W64\bin\zlib1.dll

If a search in a windows command line:

C:\Users\>where zlib1.dll
C:\Program Files\Intel\WiFi\bin\zlib1.dll

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

tested now build no. 3, the libng-dll issue seems to be solved; but stilll
here the problem with

unfortunately the libpng-dll isn't solved with build no. 3; still there.

the issue causes that d.rast doesn't work.

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

Martin Landa wrote

Hi,

ne 7. 7. 2019 v 21:53 odesílatel Helmut Kudrnovsky &lt;

hellik@

&gt; napsal:

following issue when downloading OSGeo4W grass-daily-7.7.dev-f79c3568d-1:

° g.mkfontcap.exe - system error because libgraphite2.dll and
libpcre-1.dll
can't be found
° "inflateValidate" in the dll
C:\OSGeo4W\apps\grass\grass77\bin\libpng16-16.dll can't be found

hm, something related to a new build environment. No idea at this moment.

regarding the last issue item, in C:\OSGeo4W\apps\grass\grass77\bin\
there
shouldn't be any foreign dll, right?

These libraries are copied from msys2 build environment [1]. They are
needed since GRASS is built against them. Btw, they are not copied to
C:\OSGeo4W64\bin to avoid any potential conflict with other osgeo4w
packages (GRASS is the only one osgeo4w package built in msys2
environment I guess).

Ma

[1]
https://github.com/OSGeo/grass/blob/master/mswindows/osgeo4w/package.sh#L260

ok

there is libharfbuzz-0.dll in the list; see

https://github.com/msys2/MINGW-packages/issues/1322

/A new version of harfbuzz is requires -lgraphite2 but graphite2 mingw
package dont have libgraphite2.a./

so it seems it's a dependency problem with the new dependencies.

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

Helmut Kudrnovsky wrote

Martin Landa wrote

Hi,

ne 7. 7. 2019 v 21:53 odesílatel Helmut Kudrnovsky &lt;

hellik@

&gt; napsal:

following issue when downloading OSGeo4W
grass-daily-7.7.dev-f79c3568d-1:

° g.mkfontcap.exe - system error because libgraphite2.dll and
libpcre-1.dll
can't be found
° "inflateValidate" in the dll
C:\OSGeo4W\apps\grass\grass77\bin\libpng16-16.dll can't be found

hm, something related to a new build environment. No idea at this moment.

regarding the last issue item, in C:\OSGeo4W\apps\grass\grass77\bin\
there
shouldn't be any foreign dll, right?

These libraries are copied from msys2 build environment [1]. They are
needed since GRASS is built against them. Btw, they are not copied to
C:\OSGeo4W64\bin to avoid any potential conflict with other osgeo4w
packages (GRASS is the only one osgeo4w package built in msys2
environment I guess).

Ma

[1]
https://github.com/OSGeo/grass/blob/master/mswindows/osgeo4w/package.sh#L260

ok

there is libharfbuzz-0.dll in the list; see

https://github.com/msys2/MINGW-packages/issues/1322

/A new version of harfbuzz is requires -lgraphite2 but graphite2 mingw
package dont have libgraphite2.a./

so it seems it's a dependency problem with the new dependencies.

yes it is a dependency problem with the new dependencies. :slight_smile:

looking deeper

wingrass@DESKTOP-VADT8Q4 MSYS ~
$ pacman -Ss graphite
mingw32/mingw-w64-i686-graphite2 1.3.13-1
    Font rendering capabilities for complex non-Roman writing systems
    (mingw-w64)
mingw64/mingw-w64-x86_64-graphite2 1.3.13-1 [installed]
    Font rendering capabilities for complex non-Roman writing systems
    (mingw-w64)

C:\msys64\mingw64\bin\libgraphite2.dll

wingrass@DESKTOP-VADT8Q4 MSYS ~
$ pacman -Ss pcre
mingw32/mingw-w64-i686-pcre 8.43-1
    A library that implements Perl 5-style regular expressions (mingw-w64)
mingw32/mingw-w64-i686-pcre2 10.33-1
    A library that implements Perl 5-style regular expressions (mingw-w64)
mingw32/mingw-w64-i686-re2 20190701-1
    A fast, safe, thread-friendly alternative to backtracking regular
expression engines like those used in PCRE, Perl, and Python (mingw-w64)
mingw64/mingw-w64-x86_64-pcre 8.43-1 [installed]
    A library that implements Perl 5-style regular expressions (mingw-w64)
mingw64/mingw-w64-x86_64-pcre2 10.33-1
    A library that implements Perl 5-style regular expressions (mingw-w64)
mingw64/mingw-w64-x86_64-re2 20190701-1
    A fast, safe, thread-friendly alternative to backtracking regular
expression engines like those used in PCRE, Perl, and Python (mingw-w64)
msys/libpcre 8.43-2 (libraries) [installed]
    A library that implements Perl 5-style regular expressions
msys/libpcre16 8.43-2 (libraries) [installed]
    A library that implements Perl 5-style regular expressions
msys/libpcre2_16 10.33-2 (libraries)
    A library that implements Perl 5-style regular expressions
msys/libpcre2_32 10.33-2 (libraries)
    A library that implements Perl 5-style regular expressions
msys/libpcre2_8 10.33-2 (libraries) [installed]
    A library that implements Perl 5-style regular expressions
msys/libpcre2posix 10.33-2 (libraries)
    A library that implements Perl 5-style regular expressions
msys/libpcre32 8.43-2 (libraries) [installed]
    A library that implements Perl 5-style regular expressions
msys/libpcrecpp 8.43-2 (libraries) [installed]
    A library that implements Perl 5-style regular expressions
msys/libpcreposix 8.43-2 (libraries) [installed]
    A library that implements Perl 5-style regular expressions
msys/pcre 8.43-2 [installed]
    A library that implements Perl 5-style regular expressions
msys/pcre-devel 8.43-2 (development)
    PCRE headers and libraries
msys/pcre2 10.33-2
    A library that implements Perl 5-style regular expressions
msys/pcre2-devel 10.33-2 (development)
    PCRE headers and libraries

C:\msys64\mingw64\bin\libpcre-1.dll

both missing dlls are in my msys2 build environment;

copying these into C:\OSGeo4W64\apps\grass\grass77\bin solves the problem.

will open a ticket and hopefully my first PR :slight_smile:

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

Hi,

po 15. 7. 2019 v 21:58 odesílatel Helmut Kudrnovsky <hellik@web.de> napsal:

will open a ticket and hopefully my first PR :slight_smile:

great, meanwhile I have applied patch locally, so next build should
include these dlls. Ma

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa

Martin Landa wrote

Hi,

po 15. 7. 2019 v 21:58 odesílatel Helmut Kudrnovsky &lt;

hellik@

&gt; napsal:

will open a ticket and hopefully my first PR :slight_smile:

great, meanwhile I have applied patch locally, so next build should
include these dlls. Ma

see

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

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

Hi,

út 16. 7. 2019 v 0:58 odesílatel Helmut Kudrnovsky <hellik@web.de> napsal:

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

just small note, it's better to merge PR with 'Squash and merge' when
you want to avoid "merge commit".

Thanks for your work, Ma

PS: I will do backports right now.

--
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa