Sorry, I missed an upstream change that moved a build option to nceplibs-g2c.
Updating that package to 2.3.0-2 should fix your error. If not, try rebuilding this package as well.
| Git Clone URL: | https://aur.archlinux.org/wgrib2.git (read-only, click to copy) |
|---|---|
| Package Base: | wgrib2 |
| Description: | Utility to read and write grib2 files |
| Upstream URL: | https://github.com/NOAA-EMC/wgrib2 |
| Licenses: | GPL, custom, Apache |
| Conflicts: | wgrib |
| Submitter: | graziano |
| Maintainer: | zqianem |
| Last Packager: | zqianem |
| Votes: | 8 |
| Popularity: | 0.001942 |
| First Submitted: | 2006-12-01 14:08 (UTC) |
| Last Updated: | 2025-11-24 15:16 (UTC) |
Sorry, I missed an upstream change that moved a build option to nceplibs-g2c.
Updating that package to 2.3.0-2 should fix your error. If not, try rebuilding this package as well.
Since last update (yesterday) I got
*** FATAL ERROR: packing type 42 not supported ***
when trying to decode ECMWF grib files
@skew-t Is it possible that you are using clang instead of gcc? I'm able to get the same error if I do CC=clang makepkg, as clang doesn't include omp.h while gcc does.
Interesting, the build fails for me without openmp installed with: Ncpu.c:13:10: fatal error: 'omp.h' file not found. It looks like the cmake config does not set USE_OPENMP to off from the default when the libraries are not found.
@skew-t Ah I see, the build does check for openmp but seems to succeed even if it's not present. Will look into how to deal with this when I have some more time.
@Alfred456654 Good catch, this has been fixed.
@skew-t I don't think this is true; wgrib2 is running on my system now and I don't have openmp installed.
openmp appears to be a dependency as well
netcdf-cxx should be added as a dependency. It's not possible to build wgrib2 without it as of v3.4.0-1.
Upstream moved from https://www.cpc.ncep.noaa.gov/products/wesley/wgrib2/ to https://github.com/NOAA-EMC/wgrib2
Uses the built-in statically linked libraries instead of trying to modify the makefile to work with Arch dependencies. See https://ftp.cpc.ncep.noaa.gov/wd51we/wgrib2/_README.nolib for details.
Pinned Comments
zqianem commented on 2024-07-20 04:27 (UTC)
Upstream moved from https://www.cpc.ncep.noaa.gov/products/wesley/wgrib2/ to https://github.com/NOAA-EMC/wgrib2