Package Details: eccodes 2.26.0-1

Git Clone URL: (read-only, click to copy)
Package Base: eccodes
Description: ECMWF decoding library for GRIB, BUFR and GTS
Upstream URL:
Licenses: Apache
Conflicts: grib_api, libbufr-ecmwf
Submitter: graziano
Maintainer: jankoh
Last Packager: jankoh
Votes: 10
Popularity: 0.000087
First Submitted: 2016-12-07 14:34 (UTC)
Last Updated: 2022-05-20 06:32 (UTC)

Latest Comments

jankoh commented on 2021-09-20 21:29 (UTC) (edited on 2021-09-26 13:44 (UTC) by jankoh)

CAUTION: The current version of curl (7.79.0) does a stricter return code check when downloading files. This affects the source package page of this package. You can either download the source package yourself (using wget, or a browser) and put it in the correct folder to build the package or configure makepkg to use a different downloader. (This will effect all other makepkg downloads, too.)

The change would be (you must be root or have sudo configured properly): sed -i -r "s/(http[s]?::)\/usr\/bin\/curl\ -qgb\ \"\"\ -fLC\ -\ --retry\ 3\ --retry-delay\ 3 -o/\1\/usr\/sbin\/wget\ --no-cookies\ --retry-connrefused\ -t\ 3\ --waitretry\ 3 -O/" /etc/makepkg.conf

UPDATE: The issue ist fixed: no need for this hack anmore.

jankoh commented on 2021-04-02 13:08 (UTC)

Package updated to depend on openjpeg2. Please be aware that there is currently no possibility to force openjpeg2 over openjpeg in cmake-options. So if both openjpeg and openjpeg2 are installed, it's on the packages side to decide which one to use, and upstream defaults on openjpeg in that case. So if you really want to get rid of openjpeg, you need to uninstall it first, and build this package afterwards so it does not implicitly link on openjpeg instead of openjpeg2.

Best regards, Jan

capitalaslash commented on 2021-04-01 09:06 (UTC)

please update the dependency on openjpeg to openjpeg2, current eccodes version supports both and the latter is in extra.

Fixed commented on 2020-07-07 14:34 (UTC)


Can't buid this package as the dependency of gnudatalanguage due to Fortran errors.

Can update it please?

mblaschek commented on 2020-07-03 11:39 (UTC)

It's working Thanks to @jjdhooghiem

@graziano please update

petres commented on 2020-06-19 16:19 (UTC)

@jjdhooghiem thanks for sharing it is working.

@graziano would you please update the PKBUILD, thanks!

jjdhooghiem commented on 2020-06-04 18:46 (UTC) (edited on 2020-06-04 18:51 (UTC) by jjdhooghiem)

The following option allows building with GCC-10, with fortran enabled. -DCMAKE_Fortran_FLAGS=-fallow-argument-mismatch

In this way python can be disabled, python2 can be removed as a dependency. -DENABLE_PYTHON=0

aweech commented on 2020-06-03 23:05 (UTC)

The package breaks for me, and I think it's due to GCC 10. It fails to compile the fortran bindings. If you don't need them, you can add -DENABLE_FORTRAN=OFF to the cmake invocation in the PKGBUILD, and then it builds successfully.

Nestor_013 commented on 2019-04-08 16:13 (UTC) (edited on 2019-04-08 16:17 (UTC) by Nestor_013)

No building problems here.

For what it's worth I made quick changes to build version 2.12.0. Here is the diff

jadelord commented on 2018-11-07 17:54 (UTC)

Hi graziano,

I get the following error message

-- Could NOT find AEC (missing: AEC_INCLUDE_DIR) 
-- Could NOT find package AEC required for feature AEC -- Provide AEC location with -DAEC_PATH=/...
CMake Error at cmake/ecbuild_log.cmake:191 (message):
  CRITICAL - Feature AEC cannot be enabled -- following required
  packages weren't found: AEC
Call Stack (most recent call first):
  cmake/ecbuild_add_option.cmake:318 (ecbuild_critical)
  CMakeLists.txt:98 (ecbuild_add_option)

-- Configuring incomplete, errors occurred!
See also "/home/avmo/.cache/aurman/eccodes/src/eccodes-2.9.0-Source/build/CMakeFiles/CMakeOutput.log".
See also "/home/avmo/.cache/aurman/eccodes/src/eccodes-2.9.0-Source/build/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().
2018-11-07 18:35:04,478 - wrappers - makepkg - ERROR - makepkg query ['makepkg', '-cf', '--noconfirm'] failed in directory /home/avmo/.cache/aurman/eccodes

For the record, libaec is installed in the system.

sehnem commented on 2018-05-28 18:13 (UTC)

Hi, I cannot build this package getting the follow error: /usr/bin/ld: cannot find -lsz

I think it is an szip dependence, but it has a conflict with libaec...

Any solution?

OvelixMax commented on 2017-11-27 19:44 (UTC)

Hi @graziano, I can't install the last update. It's something with the netcdf libs. I have the last netcdf installed (netcdf-4.5.0-1). Scanning dependencies of target grib_to_netcdf [ 55%] Building C object tools/CMakeFiles/grib_to_netcdf.dir/grib_to_netcdf.c.o /tmp/yaourt-tmp-ovel/aur-eccodes/src/eccodes-2.5.0-Source/tools/grib_to_netcdf.c: En la función ‘define_netcdf_dimensions’: /tmp/yaourt-tmp-ovel/aur-eccodes/src/eccodes-2.5.0-Source/tools/grib_to_netcdf.c:3044:20: aviso: implicit declaration of function ‘nc_def_var_chunking’; did you mean ‘nc_get_var_long’? [-Wimplicit-function-declaration] stat = nc_def_var_chunking(ncid, var_id, NC_CHUNKED, chunks); ^~~~~~~~~~~~~~~~~~~ nc_get_var_long /tmp/yaourt-tmp-ovel/aur-eccodes/src/eccodes-2.5.0-Source/tools/grib_to_netcdf.c:3044:54: error: ‘NC_CHUNKED’ undeclared (first use in this function); did you mean ‘NC_DOUBLE’? stat = nc_def_var_chunking(ncid, var_id, NC_CHUNKED, chunks); ^~~~~~~~~~ NC_DOUBLE /tmp/yaourt-tmp-ovel/aur-eccodes/src/eccodes-2.5.0-Source/tools/grib_to_netcdf.c:3044:54: nota: cada identificador sin declarar se reporta sólo una vez para cada función en el que aparece /tmp/yaourt-tmp-ovel/aur-eccodes/src/eccodes-2.5.0-Source/tools/grib_to_netcdf.c:3048:20: aviso: implicit declaration of function ‘nc_def_var_deflate’; did you mean ‘nc_get_var_float’? [-Wimplicit-function-declaration] stat = nc_def_var_deflate(ncid, var_id, setup.shuffle, 1, setup.deflate); ^~~~~~~~~~~~~~~~~~ nc_get_var_float make[2]: *** [tools/CMakeFiles/grib_to_netcdf.dir/build.make:63: tools/CMakeFiles/grib_to_netcdf.dir/grib_to_netcdf.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:1382: tools/CMakeFiles/grib_to_netcdf.dir/all] Error 2 make: *** [Makefile:163: all] Error 2 ==> ERROR: Se produjo un fallo en build(). Cancelando... ==> ERROR: Makepkg no ha podido compilar eccodes. ==> ¿Reiniciar la compilación de eccodes? [s/N]