parsing of POPPLER_MINOR_VERSION is broken, as it doesn't truncate
leading zeroes. Leading gcc to believe it's trying to evaluate an
octal value (e.g. 08 > 72 ). However, 8 isn't a valid octal value.
Patches from master do not apply cleanly do a series of changes
done to configure.ac. So instead, a commit from master was chosen.
Update GDAL/OGR to 3.0.4
GDAL 3.0.4 includes a fix for build failure due to poppler 0.85.0
upgrade (change to parameters for setErrorCallback). See commit:
6e9e51ef93
* treewide: http -> https sources
This updates the source urls of all top-level packages from http to
https where possible.
* buildtorrent: fix url and tab -> spaces
This fixes:
error: cannot initialize a variable of type 'GooString *' with an rvalue of type 'const GooString *'
which occurs with recent clang or gcc-7.
See https://github.com/OSGeo/gdal/pull/573
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/gdal/versions.
These checks were done:
- built on NixOS
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/.gdal2tiles.py-wrapped -h’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/.gdal2tiles.py-wrapped --help’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/gdal2tiles.py -h’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/gdal2tiles.py --help’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/.gdalident.py-wrapped -h’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/.gdalident.py-wrapped --help’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/.gdalident.py-wrapped help’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/gdalident.py -h’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/gdalident.py --help’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/gdalident.py help’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/.mkgraticule.py-wrapped help’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/mkgraticule.py help’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/gdalsrsinfo help’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/ogrinfo help’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/testepsg -h’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/testepsg --help’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/testepsg help’ got 0 exit code
- ran ‘/nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0/bin/gdal-config --version’ and found version 2.3.0
- found 2.3.0 with grep in /nix/store/6zxb4kpk3mk347ypcxdc2dymq9gl37w7-gdal-2.3.0
- directory tree listing: https://gist.github.com/b6bcad3891a98e65991899121540cc85
- du listing: https://gist.github.com/f89d55b943a68b1550b8eff3f204f27f
Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:
- built on NixOS
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/.epsg_tr.py-wrapped --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/epsg_tr.py --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/.gcps2vec.py-wrapped --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gcps2vec.py --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/.gdal2tiles.py-wrapped -h` got 0 exit code
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/.gdal2tiles.py-wrapped --help` got 0 exit code
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/.gdal2tiles.py-wrapped --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdal2tiles.py -h` got 0 exit code
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdal2tiles.py --help` got 0 exit code
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdal2tiles.py --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/.gdal_auth.py-wrapped --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdal_auth.py --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/.gdal_fillnodata.py-wrapped --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdal_fillnodata.py --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/.gdal_merge.py-wrapped --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdal_merge.py --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/.gdal_polygonize.py-wrapped --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdal_polygonize.py --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/.gdal_proximity.py-wrapped --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdal_proximity.py --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/.gdal_sieve.py-wrapped --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdal_sieve.py --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/.gdalchksum.py-wrapped --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdalchksum.py --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/.gdalcompare.py-wrapped --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdalcompare.py --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/.gdalident.py-wrapped -h` got 0 exit code
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/.gdalident.py-wrapped --help` got 0 exit code
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/.gdalident.py-wrapped help` got 0 exit code
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/.gdalident.py-wrapped --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdalident.py -h` got 0 exit code
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdalident.py --help` got 0 exit code
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdalident.py help` got 0 exit code
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdalident.py --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/.gdalimport.py-wrapped --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdalimport.py --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/.gdalmove.py-wrapped --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdalmove.py --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/.mkgraticule.py-wrapped help` got 0 exit code
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/mkgraticule.py help` got 0 exit code
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/.rgb2pct.py-wrapped --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/rgb2pct.py --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdalinfo --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdalserver --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdal_translate --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdaladdo --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdalwarp --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/nearblack --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdalmanage --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdalenhance --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdaltransform --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdallocationinfo --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdalsrsinfo help` got 0 exit code
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdalsrsinfo --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdaltindex --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdal_rasterize --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdal_grid --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/ogrinfo help` got 0 exit code
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/ogrinfo --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/ogr2ogr --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/ogrlineref --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/testepsg -h` got 0 exit code
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/testepsg --help` got 0 exit code
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/testepsg help` got 0 exit code
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdalbuildvrt --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gnmmanage --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gnmanalyse --version` and found version 2.2.4
- ran `/nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4/bin/gdal-config --version` and found version 2.2.4
- found 2.2.4 with grep in /nix/store/jdbh08lrbarwcp1j656y02qqjlcv28xf-gdal-2.2.4
- directory tree listing: https://gist.github.com/9fbb0e6bcdf6a8ed1d3b5a8f20a84eca
Also some minor tweaks:
There didn't seem any need to use -O0 optimization level anymore.
Also the option "with-libpng" should have been "with-png" all along.
The following parameters are now available:
* hardeningDisable
To disable specific hardening flags
* hardeningEnable
To enable specific hardening flags
Only the cc-wrapper supports this right now, but these may be reused by
other wrappers, builders or setup hooks.
cc-wrapper supports the following flags:
* fortify
* stackprotector
* pie (disabled by default)
* pic
* strictoverflow
* format
* relro
* bindnow