| Summary: | sci-misc/nco-4.3.1: missing tools flag for netcdf | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | bitozoid |
| Component: | Current packages | Assignee: | Gentoo Science Related Packages <sci> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | jlec |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
31 Jul 2015; Justin Lecher <jlec@gentoo.org> -nco-4.3.1.ebuild, metadata.xml, + nco-4.4.2.ebuild: + Add missing USE-dep, bug #542704 + 31 Jul 2015; Justin Lecher <jlec@gentoo.org> -nco-4.3.1.ebuild, metadata.xml, + nco-4.4.2.ebuild: + Add missing USE-dep, bug #542704 + |
ncgen is needed to compile nco: $ grep PATH_TO_NCGEN data/Makefile.in -@PATH_TO_NCGEN@ -o $@ $< -@PATH_TO_NCGEN@ -k netCDF-4 -o $@ $< -@PATH_TO_NCGEN@ -k netCDF-4 -o $@ $< -@PATH_TO_NCGEN@ -k netCDF-4 -o $@ $< -@PATH_TO_NCGEN@ -k netCDF-4 -o $@ $< -@PATH_TO_NCGEN@ -k netCDF-4 -o $@ $< -@PATH_TO_NCGEN@ -k netCDF-4 -o $@ $< ncgen is built when tools flag is enabled for netcdf, but it is not listed in RDEPEND. Reproducible: Always Steps to Reproduce: Disable tools flag for sci-libs/netcdf. Emerge sci-misc/nco. Actual Results: Build fails. Expected Results: Happy build. When you enable tools, you find another error. error: conflicting types for 'nc_rename_grp'. 'defines' are not consistent. Using sci-libs/netcdf-4.3.2-r1 # grep RENAME_GRP src/nco/nco_netcdf.* src/nco/nco_netcdf.c:#ifndef HAS_CSZ_NC_RENAME_GRP_IN_LIBNETCDF src/nco/nco_netcdf.c:#endif /* HAS_CSZ_NC_RENAME_GRP_IN_LIBNETCDF */ src/nco/nco_netcdf.h:#ifndef HAS_CSZ_NC_RENAME_GRP_IN_LIBNETCDF src/nco/nco_netcdf.h:#endif /* HAS_CSZ_NC_RENAME_GRP_IN_LIBNETCDF */ # grep RENAME_GRP /usr/include/netcdf.h #ifndef NC_HAVE_RENAME_GRP #define NC_HAVE_RENAME_GRP Maybe a version bump? https://github.com/czender/nco/blob/master/src/nco/nco_netcdf.h#L375