Package Details: eccodes 2.20.0-2

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.72
First Submitted: 2016-12-07 14:34
Last Updated: 2021-02-14 13:28

Latest Comments

Fixed commented on 2020-07-07 14:34


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

It's working Thanks to @jjdhooghiem

@graziano please update

petres commented on 2020-06-19 16:19

@jjdhooghiem thanks for sharing it is working.

@graziano would you please update the PKBUILD, thanks!

jjdhooghiem commented on 2020-06-04 18:46

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

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

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

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

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

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);
/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);
/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);
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().
==> ERROR: Makepkg no ha podido compilar eccodes.
==> ¿Reiniciar la compilación de eccodes? [s/N]