Package Details: grib_api 1.20.0-2

Git Clone URL: https://aur.archlinux.org/grib_api.git (read-only)
Package Base: grib_api
Description: A program interface for encoding and decoding GRIB messages
Upstream URL: https://software.ecmwf.int/wiki/display/GRIB/Home
Licenses: Apache
Conflicts: grib_def
Provides: grib_api
Replaces: grib_api, grib_def
Submitter: graziano
Maintainer: graziano
Last Packager: graziano
Votes: 14
Popularity: 0.335641
First Submitted: 2007-10-30 09:34
Last Updated: 2017-02-06 14:14

Latest Comments

graziano commented on 2016-12-23 08:31

ach... out for season holiday right now... apply Lompik fix below. Will fix the package when back next year...

Universebenzene commented on 2016-12-23 00:09

An error occurred in the build() part in 1.19.0-1:

src/grib_api-1.19.0-Source/src/grib_jasper_encoding.c:113:10: error: ‘jas_image_t {aka struct <anonymous>}’ has no member named ‘inmem_’
image.inmem_ = 1;
^
make[2]: *** [src/CMakeFiles/grib_api.dir/build.make:4503: src/CMakeFiles/grib_api.dir/grib_jasper_encoding.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1145: src/CMakeFiles/grib_api.dir/all] Error 2
make: *** [Makefile:161: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build grib_api.

Any ideas?

Lompik commented on 2016-12-13 15:13

if you have jasper v1.900.31 installed, just add `sed -i 's/image.inmem_.*=.*1;//' src/grib_jasper_encoding.c` before the `mkdir -p build` command in the build function of the PKGBUILD.

scotchnsoda commented on 2016-12-12 22:00

From the ECMWF Confluence (repository) page:

"Starting from version 2.0.0, ecCodes is the primary GRIB encoding/decoding package used at ECMWF. Nevertheless GRIB-API will be maintained and new releases made publicly available to support decoding of ECMWF model output. Replacing GRIB-API with ecCodes is expected to be transparent for current GRIB-API users. In particular the "grib_" functions are included in the ecCodes library. Users are strongly advised to start the migration process."

Apparently jasper compatibility is fixed in the ECC release. There is no Arch package for this yet, I don't have the time to organize a PKGBUILD, but here's a link for anyone that needs it:
https://software.ecmwf.int/wiki/display/ECC

scotchnsoda commented on 2016-12-08 19:13

dependency jasper was just updated, is anyone getting issues with compatibility?

mjakob422 commented on 2015-10-14 20:01

A heads up, it seems like ECMWF changed to the Apache license:

https://software.ecmwf.int/wiki/display/GRIB/License

graziano commented on 2015-08-07 07:26

Updated per @hotaru and @mjakob422 comments.

mjakob422 commented on 2015-07-23 10:21

I believe cmake should be a make dependency as well.

hotaru commented on 2015-07-20 00:57

fails to build if libaec isn't installed.

ftschindler commented on 2014-08-06 19:02

An update of mesa-demos gave the following error:

error: failed to commit transaction (conflicting files)
mesa-demos: /usr/bin/points exists in filesystem

pacman -Qo /usr/bin/points
/usr/bin/points is owned by grib_api 1.12.3-1

I am not sure if mesa-demos or grib_api is to blame but I would guess that this is a problem of grib_api...

All comments