[Buildroot] [PATCH v2 1/1] package/gdal: bump version to 3.6.2

Maxim Kochetkov fido_max at inbox.ru
Sat Mar 11 06:13:57 UTC 2023



On 11.03.2023 09:00, Maxim Kochetkov via buildroot wrote:
> Release notes: https://github.com/OSGeo/gdal/blob/v3.6.2/NEWS.md
> License changes: https://github.com/OSGeo/gdal/commit/a394f9cb299b2c3c2159098483d1fece3a464fda
> 
> ISC License is added for FlatGeobuf and Flatbush
> Apache-2.0 is added for flatbuffers
> 
> Signed-off-by: Maxim Kochetkov <fido_max at inbox.ru>
> ---
>   package/gdal/gdal.hash | 8 ++++----
>   package/gdal/gdal.mk   | 5 +++--
>   2 files changed, 7 insertions(+), 6 deletions(-)
> 
> diff --git a/package/gdal/gdal.hash b/package/gdal/gdal.hash
> index ab77d7840d..d0b08b4535 100644
> --- a/package/gdal/gdal.hash
> +++ b/package/gdal/gdal.hash
> @@ -1,6 +1,6 @@
> -# md5 from: https://download.osgeo.org/gdal/3.5.2/gdal-3.5.2.tar.xz.md5, sha256 locally computed:
> -md5  821b3b0637ebada5d20dbefb2e3ec964  gdal-3.5.2.tar.xz
> -sha256  0874dfdeb9ac42e53c37be4184b19350be76f0530e1f4fa8004361635b9030c2  gdal-3.5.2.tar.xz
> +# md5 from: https://download.osgeo.org/gdal/3.6.2/gdal-3.6.2.tar.gz.md5, sha256 locally computed:
> +md5  6f22ffdbd8e00059ddb2b825c5920c4c  gdal-3.6.2.tar.xz
> +sha256  35f40d2e08061b342513cdcddc2b997b3814ef8254514f0ef1e8bc7aa56cf681  gdal-3.6.2.tar.xz
>   
>   # Hashes of license files:
> -sha256  fac0116e799ca4de79b076ee04863b5e2b69541ea3664b9bb108c81a5355f16a  LICENSE.TXT
> +sha256  1dae3468e81d00da56e2936f74d33b8b3ad09d726437f19ce209a5dabea41f77  LICENSE.TXT
> diff --git a/package/gdal/gdal.mk b/package/gdal/gdal.mk
> index a3b11c53af..08992ce73c 100644
> --- a/package/gdal/gdal.mk
> +++ b/package/gdal/gdal.mk
> @@ -4,10 +4,10 @@
>   #
>   ################################################################################
>   
> -GDAL_VERSION = 3.5.2
> +GDAL_VERSION = 3.6.2
>   GDAL_SITE = https://download.osgeo.org/gdal/$(GDAL_VERSION)
>   GDAL_SOURCE = gdal-$(GDAL_VERSION).tar.xz
> -GDAL_LICENSE = MIT, many others
> +GDAL_LICENSE = Apache-2.0, ISC, MIT, many others
>   GDAL_LICENSE_FILES = LICENSE.TXT
>   GDAL_CPE_ID_VENDOR = osgeo
>   GDAL_INSTALL_STAGING = YES
> @@ -32,6 +32,7 @@ GDAL_DEPENDENCIES = host-pkgconf jpeg json-c libgeotiff libpng proj tiff zlib
>   # Yes, even though they have -DDGDAL_USE options, a few libraries are
>   # mandatory. If we don't provide them, bundled versions are used.
>   GDAL_CONF_OPTS = \
> +	-DCMAKE_NO_SYSTEM_FROM_IMPORTED=ON \

Please don't use this patch. Something went wrong with my build 
environment. I'm facing with the issue like 
this:https://stackoverflow.com/questions/75065825/buildroot-cmake-arch64-none-linux-gnu-include-c-9-2-1-cstdlib7515-fatal-e

I've failed to build almost every cmake package in buildroot with this 
issue. I have no idea why CMAKE_NO_SYSTEM_FROM_IMPORTED=ON helps and 
needed for me.

>   	-DGDAL_USE_GEOTIFF=ON \
>   	-DGDAL_USE_JPEG=ON \
>   	-DGDAL_USE_JSONC=ON \



More information about the buildroot mailing list