geoserver: disable libjpeg-turbo extension because of java issues

This commit is contained in:
Rolf Schröder
2025-12-03 10:03:29 +01:00
parent 246a3b97b3
commit 60c783c04b
2 changed files with 12 additions and 7 deletions
+3 -1
View File
@@ -76,9 +76,11 @@ in
_, stdout = machine.execute(f"cat {log_file}")
print(stdout.replace("\\n", "\n"))
assert "GDAL Native Library loaded" in stdout, "gdal"
assert "The turbo jpeg encoder is available for usage" in stdout, "libjpeg-turbo"
assert "org.geotools.imageio.netcdf.utilities.NetCDFUtilities" in stdout, "netcdf"
assert "Unable to load library 'netcdf'" not in stdout, "netcdf"
# libjpeg-turbo is disabled as of 2.28.1.
# assert "The turbo jpeg encoder is available for usage" in stdout, "libjpeg-turbo"
'';
}
+9 -6
View File
@@ -197,12 +197,15 @@ in
# hash = "sha256-sLUgsMXymnTuceCRLzqIAPmk4/Q3BO+A+7BLQoc3iP0="; # jp2k
#};
libjpeg-turbo = mkGeoserverExtension {
name = "libjpeg-turbo";
version = "2.28.1"; # libjpeg-turbo
hash = "sha256-fn1ItYvLMfvRLpCE8rEpTpBmkk8zkN3QtBO/RN4RXfo="; # libjpeg-turbo
buildInputs = [ libjpeg.out ];
};
# Throws "java.lang.UnsatisfiedLinkError: 'void org.libjpegturbo.turbojpeg.TJDecompressor.init()'"
# as of 2.28.1.
# NOTE: When re-enabling this, RE-ENABLE THE CORRESPONDING TEST, TOO! (See tests/geoserver.nix)
#libjpeg-turbo = mkGeoserverExtension {
# name = "libjpeg-turbo";
# version = "2.28.1"; # libjpeg-turbo
# hash = "sha256-fn1ItYvLMfvRLpCE8rEpTpBmkk8zkN3QtBO/RN4RXfo="; # libjpeg-turbo
# buildInputs = [ libjpeg.out ];
#};
mapml = mkGeoserverExtension {
name = "mapml";