From b9302d9c7f0c8580a4ce7d19ab404d5a1e08482e Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 3 Mar 2023 19:03:48 +0100 Subject: [PATCH] gdal: Disable failing test ``` > raise CalledProcessError(retcode, cmd) E subprocess.CalledProcessError: Command '['/nix/store/r0xi4wqmplkiapxhi8ns7hd3jl5011gc-python3-3.10.10/bin/python3.10', 'osr_basic_subprocess.py']' returned non-zero exit status 1. /nix/store/r0xi4wqmplkiapxhi8ns7hd3jl5011gc-python3-3.10.10/lib/python3.10/subprocess.py:369: CalledProcessError ----------------------------- Captured stderr call ----------------------------- ERROR 1: PROJ: proj_create_from_database: crs not found Traceback (most recent call last): File "/build/source/autotest/osr/osr_basic_subprocess.py", line 42, in assert sr.ImportFromEPSG(4326) == 0 AssertionError ``` --- pkgs/development/libraries/gdal/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/gdal/default.nix b/pkgs/development/libraries/gdal/default.nix index fdd5fc951ee8..955b459f4ab6 100644 --- a/pkgs/development/libraries/gdal/default.nix +++ b/pkgs/development/libraries/gdal/default.nix @@ -183,6 +183,8 @@ stdenv.mkDerivation rec { "test_osr_ct_options_area_of_interest" # ZIP does not support timestamps before 1980 " test_sentinel2_zipped" + # tries to call unwrapped executable + "test_SetPROJAuxDbPaths" ] ++ lib.optionals (!stdenv.isx86_64) [ # likely precision-related expecting x87 behaviour "test_jp2openjpeg_22"