[GRASS-user] WinGRASS build up (WIP)

Dear all,

after several months of having WinGRASS builds down I have finally
good news. I am slowly restoring daily builds (including addons). I
will keep you informed.

You can test WinGRASS builds of version 7.8.0 (first Python3-ready
GRASS version!) from OSGeo4W network and standalone installer [1].
Addons for version 7.8.0 will be restored soon.

BIG THANKS especially to Juergen for PR [2] and Helli for testing it!!!

Martin

[1] https://grass.osgeo.org/grass78/binary/mswindows/native/x86_64/WinGRASS-7.8.0-1-Setup-x86_64.exe
[2] https://github.com/osgeo/grass/pull/137

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

Hi,

pá 1. 11. 2019 v 12:04 odesílatel Martin Landa <landa.martin@gmail.com> napsal:

Addons for version 7.8.0 will be restored soon.

updates:

1) first build of Addons for version 7.8.0 published [1]. I have also
uploaded new osgeo4w and standloane builds of 7.8.0 (*-2) containing
locally applied fix [2], see standalone installer [3].

2) also 32bit builds uploaded, both osgeo4w and standalone [4]

Please test. With the new builds you should be able to install addons.

Ma

[1] https://wingrass.fsv.cvut.cz/grass78/x86_64/addons/grass-7.8.0/
[2] https://github.com/OSGeo/grass/pull/176
[3] https://grass.osgeo.org/grass78/binary/mswindows/native/x86_64/WinGRASS-7.8.0-2-Setup-x86_64.exe
[4] https://grass.osgeo.org/grass78/binary/mswindows/native/x86/WinGRASS-7.8.0-2-Setup-x86.exe

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

Hi Martin,

I added "experimental" packages to OSGeo4W (ie. only available if you tick Exp
in the OSGeo4W installer):

- PROJ 6.2.1
- GDAL 3.0.2
- liblwgeom 3.0.0
- OGDI 4.1.0
- Rebuilds of QGIS 3.10.0, QGIS 3.4.13 and spatialite 4.3.0a against the above
  packages
- Backward compatibility packages gdal204dll and proj5dll that carry the original
  DLLs from PROJ 5.2.0 and GDAL 2.4.1

The only missing bit is GRASS built against new GDAL and PROJ. Once that's is
available I can remove the "experimental" tag.

Jürgen

--
Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50
Software Engineer D-26506 Norden https://www.norbit.de

(attachments)

Pflichtangaben (222 Bytes)

Hi Jürgen,

just updated my OSGeo4W in normal mode (not tick Exp), QGIS, GRASS 7.8.0, I'm getting an error that gdal300.dll and proj6.2.x.dlll is missing.

regards
Helmut

Gesendet: Montag, 04. November 2019 um 18:39 Uhr
Von: "Jürgen E. Fischer" <jef@norbit.de>
An: "Martin Landa" <landa.martin@gmail.com>
Cc: grass-user@lists.osgeo.org, qgis-developer@lists.osgeo.org, osgeo4w-dev@lists.osgeo.org, "Helmut Kudrnovsky" <hellik@web.de>
Betreff: Re: WinGRASS build up (WIP)
Hi Martin,

I added "experimental" packages to OSGeo4W (ie. only available if you tick Exp
in the OSGeo4W installer):

- PROJ 6.2.1
- GDAL 3.0.2
- liblwgeom 3.0.0
- OGDI 4.1.0
- Rebuilds of QGIS 3.10.0, QGIS 3.4.13 and spatialite 4.3.0a against the above
packages
- Backward compatibility packages gdal204dll and proj5dll that carry the original
DLLs from PROJ 5.2.0 and GDAL 2.4.1

The only missing bit is GRASS built against new GDAL and PROJ. Once that's is
available I can remove the "experimental" tag.

Jürgen

--
Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50
Software Engineer D-26506 Norden https://www.norbit.de
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Juergen Fischer, Nils Kutscher HR: Amtsgericht Aurich HRB 100827
Datenschutzerklaerung: https://www.norbit.de/83/

Hi Helmut,

On Mon, 04. Nov 2019 at 18:54:00 +0100, Helmut Kudrnovsky wrote:

just updated my OSGeo4W in normal mode (not tick Exp), QGIS, GRASS 7.8.0, I'm
getting an error that gdal300.dll and proj6.2.x.dlll is missing.

Was probably fixed, while you were hitting it.

Any idea when GRASS will be updated with the new dependencies?

Jürgen

--
Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50
Software Engineer D-26506 Norden https://www.norbit.de
QGIS release manager (PSC) Germany IRC: jef on FreeNode

(attachments)

Pflichtangaben (222 Bytes)

Any idea when GRASS will be updated with the new dependencies?

see https://github.com/OSGeo/grass/pull/136#issuecomment-547497328

"Sure it is still GDAL2"

is OSGeo4W still default in gdal2/proj5? is gdal3/proj6 still in OSGeo4W experimental/testing?

in #136, environment is pointing to gdal-dev proj-dev, which I assume is gdal3/proj6, right?

GRASS is in a RC cycle for GRASS 7.8.1: RC1

a possible workflow may be (?):

(1) update/adapt #136 to reflect a default gdal3/proj6 in OSGeo4W
(2) apply updated PR to issue a GRASS 7.8.1 RC2
(3) switch OSGeo4W to a default gdal3/proj6
(4) binary release GRASS 7.8.1 RC2 in OSGeo4W

@Martin: any opinion?

Kind regards
Helmut

Hi Helmut,

On Tue, 05. Nov 2019 at 18:30:18 +0100, Helmut Kudrnovsky wrote:

>Any idea when GRASS will be updated with the new dependencies?

see https://github.com/OSGeo/grass/pull/136#issuecomment-547497328

"Sure it is still GDAL2"

is OSGeo4W still default in gdal2/proj5? is gdal3/proj6 still in OSGeo4W experimental/testing?

I went ahead an did all what is proposed there and now you can build GRASS with
GDAL3 and PROJ6 using the "experimental" packages. Once that's done we can
flip the switch and take all the "experimental" packages live - they are only
waiting for GRASS.

in #136, environment is pointing to gdal-dev proj-dev, which I assume is gdal3/proj6, right?

No, GDAL master (3.1 2b) and PROJ master (7.0 2b). And #136 is for master
(ie. grass-daily)

#137 was for the release branch and was merged.

GRASS is in a RC cycle for GRASS 7.8.1: RC1

With #118 merged - so it should already work with GDAL3 and PROJ6.

a possible workflow may be (?):

(1) update/adapt #136 to reflect a default gdal3/proj6 in OSGeo4W
(2) apply updated PR to issue a GRASS 7.8.1 RC2
(3) switch OSGeo4W to a default gdal3/proj6
(4) binary release GRASS 7.8.1 RC2 in OSGeo4W

Or just build GRASS with the "test" packages, upload it and then we can remove
all the "experimental" tags.

Jürgen

--
Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50
Software Engineer D-26506 Norden https://www.norbit.de
QGIS release manager (PSC) Germany IRC: jef on FreeNode

(attachments)

Pflichtangaben (222 Bytes)

Hi Jürgen,

Or just build GRASS with the "test" packages, upload it and then we can remove
all the "experimental" tags.

just checked OSGeo4W, to be sure:

OSGeo4W normal mode

GDAL 2.4.1-1
PROJ 5.2.0-1
GEOS 3.8.0-1

OSGeo4W testing/experimental mode, update would be

GDAL 2.4.1-1 => GDAL 3.0.2-1
PROJ 5.2.0-1 => PROJ 6.2.1-1
GEOS 3.8.0-1

I could do a test compilation with OSGeo4W testing/experimental mode and issue a

grass-7.8.1RC1-2.tar.bz2

with test in setup.hint.

not sure how ready Martin's build environment is to switch also to build addons ?!

regards
Helmut

Gesendet: Dienstag, 05. November 2019 um 18:56 Uhr
Von: "Jürgen E. Fischer"

Betreff: Re: Re: WinGRASS build up (WIP)
Hi Helmut,

On Tue, 05. Nov 2019 at 18:30:18 +0100, Helmut Kudrnovsky wrote:

>Any idea when GRASS will be updated with the new dependencies?

see https://github.com/OSGeo/grass/pull/136#issuecomment-547497328

"Sure it is still GDAL2"

is OSGeo4W still default in gdal2/proj5? is gdal3/proj6 still in OSGeo4W experimental/testing?

I went ahead an did all what is proposed there and now you can build GRASS with
GDAL3 and PROJ6 using the "experimental" packages. Once that's done we can
flip the switch and take all the "experimental" packages live - they are only
waiting for GRASS.

in #136, environment is pointing to gdal-dev proj-dev, which I assume is gdal3/proj6, right?

No, GDAL master (3.1 2b) and PROJ master (7.0 2b). And #136 is for master
(ie. grass-daily)

#137 was for the release branch and was merged.

GRASS is in a RC cycle for GRASS 7.8.1: RC1

With #118 merged - so it should already work with GDAL3 and PROJ6.

a possible workflow may be (?):

(1) update/adapt #136 to reflect a default gdal3/proj6 in OSGeo4W
(2) apply updated PR to issue a GRASS 7.8.1 RC2
(3) switch OSGeo4W to a default gdal3/proj6
(4) binary release GRASS 7.8.1 RC2 in OSGeo4W

Or just build GRASS with the "test" packages, upload it and then we can remove
all the "experimental" tags.

Jürgen

--
Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50
Software Engineer D-26506 Norden https://www.norbit.de
QGIS release manager (PSC) Germany IRC: jef on FreeNode
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Juergen Fischer, Nils Kutscher HR: Amtsgericht Aurich HRB 100827
Datenschutzerklaerung: https://www.norbit.de/83/

Hi Helmut,

On Tue, 05. Nov 2019 at 20:31:36 +0100, Helmut Kudrnovsky wrote:

I could do a test compilation with OSGeo4W testing/experimental mode and issue a

grass-7.8.1RC1-2.tar.bz2

with test in setup.hint.

Thanks.

not sure how ready Martin's build environment is to switch also to build addons ?!

No clue about that.

Jürgen

--
Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50
Software Engineer D-26506 Norden https://www.norbit.de
QGIS release manager (PSC) Germany IRC: jef on FreeNode

(attachments)

Pflichtangaben (222 Bytes)

Hi,

út 5. 11. 2019 v 20:31 odesílatel Helmut Kudrnovsky <hellik@web.de> napsal:

I could do a test compilation with OSGeo4W testing/experimental mode and issue a

grass-7.8.1RC1-2.tar.bz2

with test in setup.hint.

not sure how ready Martin's build environment is to switch also to build addons ?!

next daily builds (32/64bit) should be built against GDAL3/PROJ6.

We are close 7.8.RC2, BTW.

Ma

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

I could do a test compilation with OSGeo4W testing/experimental mode and issue a

grass-7.8.1RC1-2.tar.bz2

with test in setup.hint.

Thanks.

now locally switched to gdal3/proj6 for compiling winGRASS, see

###############

C:>gdalinfo --version
GDAL 3.0.2, released 2019/10/28
C:>cs2cs --version
Rel. 6.2.1, November 1st, 2019

###############
GRASS is now configured for: x86_64-w64-mingw32
Source directory: /usr/src/rc_nexgen/grass-7.8.1RC1
Build directory: /usr/src/rc_nexgen/grass-7.8.1RC1
Installation directory: ${prefix}/grass78
Startup script in directory:/c/OSGeo4W64/bin
C compiler: gcc -g -O2
C++ compiler: c++ -g -O2
Building shared libraries: yes
OpenGL platform: Windows
MacOSX application: no
MacOSX architectures:
MacOSX SDK:
BLAS support: no
BZIP2 support: yes
C++ support: yes
Cairo support: yes
DWG support: no
FFTW support: yes
FreeType support: yes
GDAL support: yes
GEOS support: yes
LAPACK support: no
Large File support (LFS): yes
libLAS support: yes
MySQL support: no
NetCDF support: no
NLS support: yes
ODBC support: yes
OGR support: yes
OpenCL support: no
OpenGL support: yes
OpenMP support: no
PDAL support: no
PNG support: yes
POSIX thread support: no
PostgreSQL support: yes
Readline support: no
Regex support: yes
SQLite support: yes
TIFF support: yes
X11 support: no
Zstandard support: yes
using new PROJ 5+ API

###############
GRASS GIS 7.8.1RC1 exported compilation log

Started compilation: Tue Nov 5 22:20:43 CET 2019

Errors in:
No errors detected.

Finished compilation: Tue Nov 5 23:04:48 CET 2019

###############
System Info
GRASS Version: 7.8.1RC1
Code revision: exported
Build date: 2019-11-05
Build platform: x86_64-w64-mingw32
GDAL: 3.0.2 <=
PROJ: 6.2.1 <=
GEOS: 3.8.0
SQLite: 3.29.0
Python: 3.7.0
wxPython: 4.0.3
Platform: Windows-10-10.0.18362-SP0 (OSGeo4W)
###############

will promote it now as testing to OSGeo4W 64 bit

regards
Helmut

Jürgen:

not sure how ready Martin's build environment is to switch also to build
addons ?!

No clue about that.

Martin [1]:

not sure how ready Martin's build environment is to switch also to build
addons ?!

next daily builds (32/64bit) should be built against GDAL3/PROJ6.

We are close 7.8.RC2, BTW.

so lets wait how it works, then lets do the final switch.

[1] https://lists.osgeo.org/pipermail/grass-user/2019-November/080980.html

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

next daily builds (32/64bit) should be built against GDAL3/PROJ6.

daily build 78:

https://wingrass.fsv.cvut.cz/grass78/x86_64/logs/log-r9c8923eb9-9/package.log

######################

[...]
checking for location of External PROJ includes... /c/OSGeo4W64/include
checking for proj.h... yes
checking External PROJ major version... 6
checking External PROJ minor version... 2
checking External PROJ patch version... 1
found PROJ version 6.2.1
using new PROJ version 5+ API
checking for location of External PROJ library... /usr/src/grass78/mswindows/osgeo4w/lib
checking for proj_pj_info in -lproj... yes
checking for location of External PROJ data files... /c/OSGeo4W64/share/proj
checking for /c/OSGeo4W64/share/proj/epsg... no
configure: warning: *** Unable to locate PROJ data files.
[...]
GDAL support: yes

######################

daily build 79:

https://wingrass.fsv.cvut.cz/grass79/x86_64/logs/log-r39af5f541-9/package.log

######################

[...]
checking for location of External PROJ includes... /c/OSGeo4W64/include
checking for proj.h... yes
checking External PROJ major version... 6
checking External PROJ minor version... 2
checking External PROJ patch version... 1
found PROJ version 6.2.1
using new PROJ version 5+ API
checking for location of External PROJ library... /usr/src/grass79/mswindows/osgeo4w/lib
checking for proj_pj_info in -lproj... yes
checking for location of External PROJ data files... /c/OSGeo4W64/share/proj
checking for /c/OSGeo4W64/share/proj/epsg... no
configure: warning: *** Unable to locate PROJ data files.
[...]
GDAL support: yes

######################

daily builds with proj6/gdal3 in OSGeo4W looks good so far.

regards
Helmut

Hi,

st 6. 11. 2019 v 9:42 odesílatel Helmut Kudrnovsky <hellik@web.de> napsal:

daily builds with proj6/gdal3 in OSGeo4W looks good so far.

yes, screenshot attached. Let's wait for RC2. Ma

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

(attachments)

VirtualBox_Windows 10_06_11_2019_10_01_32.jpg

On Wed, Nov 6, 2019 at 9:43 AM Helmut Kudrnovsky <hellik@web.de> wrote:

next daily builds (32/64bit) should be built against GDAL3/PROJ6.

daily build 78:

https://wingrass.fsv.cvut.cz/grass78/x86_64/logs/log-r9c8923eb9-9/package.log

######################

[…]
checking for location of External PROJ includes… /c/OSGeo4W64/include
checking for proj.h… yes
checking External PROJ major version… 6
checking External PROJ minor version… 2
checking External PROJ patch version… 1
found PROJ version 6.2.1
using new PROJ version 5+ API
checking for location of External PROJ library… /usr/src/grass78/mswindows/osgeo4w/lib
checking for proj_pj_info in -lproj… yes
checking for location of External PROJ data files… /c/OSGeo4W64/share/proj
checking for /c/OSGeo4W64/share/proj/epsg… no
configure: warning: *** Unable to locate PROJ data files.
[…]
GDAL support: yes

######################

daily build 79:

https://wingrass.fsv.cvut.cz/grass79/x86_64/logs/log-r39af5f541-9/package.log

######################

[…]
checking for location of External PROJ data files… /c/OSGeo4W64/share/proj
checking for /c/OSGeo4W64/share/proj/epsg… no

configure: warning: *** Unable to locate PROJ data files.

Harmless, but not nice. >From PROJ 6 onwards, there is no epsg file any more in share/proj/, I will fix the test in master.

Markus M

[…]
GDAL support: yes

######################

daily builds with proj6/gdal3 in OSGeo4W looks good so far.

regards
Helmut


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

On Wed, Nov 6, 2019 at 4:54 PM Markus Metz <markus.metz.giswork@gmail.com> wrote:

On Wed, Nov 6, 2019 at 9:43 AM Helmut Kudrnovsky <hellik@web.de> wrote:

next daily builds (32/64bit) should be built against GDAL3/PROJ6.

daily build 78:

https://wingrass.fsv.cvut.cz/grass78/x86_64/logs/log-r9c8923eb9-9/package.log

######################

[…]
checking for location of External PROJ includes… /c/OSGeo4W64/include
checking for proj.h… yes
checking External PROJ major version… 6
checking External PROJ minor version… 2
checking External PROJ patch version… 1
found PROJ version 6.2.1
using new PROJ version 5+ API
checking for location of External PROJ library… /usr/src/grass78/mswindows/osgeo4w/lib
checking for proj_pj_info in -lproj… yes
checking for location of External PROJ data files… /c/OSGeo4W64/share/proj
checking for /c/OSGeo4W64/share/proj/epsg… no
configure: warning: *** Unable to locate PROJ data files.
[…]
GDAL support: yes

######################

daily build 79:

https://wingrass.fsv.cvut.cz/grass79/x86_64/logs/log-r39af5f541-9/package.log

######################

[…]
checking for location of External PROJ data files… /c/OSGeo4W64/share/proj
checking for /c/OSGeo4W64/share/proj/epsg… no
configure: warning: *** Unable to locate PROJ data files.

Harmless, but not nice. From PROJ 6 onwards, there is no epsg file any more in share/proj/, I will fix the test in master.

Fixed in master 43fae79

Markus M

[…]
GDAL support: yes

######################

daily builds with proj6/gdal3 in OSGeo4W looks good so far.

regards
Helmut


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

Hi Markus,

st 6. 11. 2019 v 20:27 odesílatel Markus Metz
<markus.metz.giswork@gmail.com> napsal:

Fixed in master 43fae79

thanks for hard work! Are you planning backport to grass78?

Martin

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

On Wed, Nov 6, 2019 at 8:30 PM Martin Landa <landa.martin@gmail.com> wrote:

Hi Markus,

st 6. 11. 2019 v 20:27 odesílatel Markus Metz
<markus.metz.giswork@gmail.com> napsal:

Fixed in master 43fae79

thanks for hard work! Are you planning backport to grass78?

no, because this is a cosmetic change.

Markus M

Martin


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

Hi Jurgen,

st 6. 11. 2019 v 10:03 odesílatel Martin Landa <landa.martin@gmail.com> napsal:

GRASS 7.8.1 has been uploaded to OSGeo4W (testing area). Feel free to
switch to GDAL3 and PROJ6. Just let me know when I can set 7.8.1
builds as current.

Thanks, Ma

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

Hi Martin,

On Mon, 11. Nov 2019 at 00:49:49 +0100, Martin Landa wrote:

st 6. 11. 2019 v 10:03 odesílatel Martin Landa <landa.martin@gmail.com> napsal:

GRASS 7.8.1 has been uploaded to OSGeo4W (testing area). Feel free to
switch to GDAL3 and PROJ6. Just let me know when I can set 7.8.1
builds as current.

Done - including GRASS.

Jürgen

--
Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50
Software Engineer D-26506 Norden https://www.norbit.de
QGIS release manager (PSC) Germany IRC: jef on FreeNode

(attachments)

Pflichtangaben (222 Bytes)