Package Details: nco 4.7.8-1

Git Clone URL: https://aur.archlinux.org/nco.git (read-only)
Package Base: nco
Description: netCDF Operators allow users to manipulate and analyse data stored in NetCDF files
Upstream URL: http://nco.sourceforge.net/
Licenses: GPL
Submitter: graziano
Maintainer: graziano
Last Packager: graziano
Votes: 14
Popularity: 0.089487
First Submitted: 2006-11-23 15:10
Last Updated: 2018-12-02 15:47

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

1 2 3 Next › Last »

Severmateus commented on 2018-11-14 11:14

Hi @graziano, i didn't manage to build 4.7.7 due to: "undefined reference to 'nc_open_mem'" while building, and dropped to 4.6.7 and works perfectly.

Debug: libtool: link: gcc -std=c99 -pedantic -D_DEFAULT_SOURCE -fPIC -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -o .libs/ncatted ncatted.o -L/usr/local/lib ./.libs/libnco.so -lexpat /usr/local/lib/libnetcdf.so -lcurl -L/usr/lib -lgsl -lgslcblas -lm -ludunits2 -Wl,-rpath -Wl,/usr/local/lib /usr/bin/ld: ./.libs/libnco.so: undefined reference to `nc_open_mem'

birdspider commented on 2018-07-17 13:22

any particular reason for not using system/makepkg.conf's C{XX}FLAGS ? i.e.

make CXXFLAGS="${CXXFLAGS} -fpermissive -fPIC" CFLAGS="${CFLAGS} -fPIC"

XavierCLL commented on 2017-07-07 04:09

Hi @graziano, I fixed the PKGBUILD for successful build: https://pastebin.com/0NfmHhVi

lazyboy commented on 2017-05-31 15:27

@graziano: I've tried out 4.6.7, but there are 'conflicting types for »nco_yyget_leng«':

https://pastebin.com/WW6qyZAz

graziano commented on 2017-05-30 13:25

@lazyboy: Tanks, patched in 4.6.7

lazyboy commented on 2017-05-22 15:03

Next compilation error:
https://pastebin.com/rQCA3DJx

graziano commented on 2017-01-25 14:21

@lazyboy, I will file the bug for the missing PIC flag to antlr2 package. You may want to recompile the antlr2 package from extra yourself from the sources https://git.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/antlr2 manually adding in the PKGBUILD the flags:

CFLAGS+='-fPIC -DPIC' ./configure --prefix=/usr \
--disable-examples \
--disable-csharp

and re-install the antlr2.

lazyboy commented on 2017-01-25 14:01

Compilation error with 4.6.3:
http://pastebin.com/p9sQLtz2

graziano commented on 2016-08-18 14:46

Fixed the compilation error and bumped for an upstream release.

pezzacolori commented on 2016-08-18 07:30

I get following error when compiling (tried with and without flex package installed)

ncap_lex.o ncap_lex.c
ncap_lex.c:1060:8: error: conflicting types for ‘nco_yyget_leng’
int nco_yyget_leng (void );
^~~~~~~~~~~~~~
ncap_lex.l:104:13: note: previous declaration of ‘nco_yyget_leng’ was here
yy_size_t yyget_leng(void); /* fixes: warning: no previous prototype for `yyget_leng' */
^~~~~~~~~~~~~~
ncap_lex.c: In function ‘yy_get_next_buffer’:
ncap_lex.c:1131:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( n = 0; n < max_size && \
^
ncap_lex.c:2600:3: note: in expansion of macro ‘YY_INPUT’
YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
^~~~~~~~
ncap_lex.c: In function ‘nco_yy_scan_bytes’:
ncap_lex.c:3141:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for ( i = 0; i < _yybytes_len; ++i )
^
ncap_lex.c: At top level:
ncap_lex.c:3215:5: error: conflicting types for ‘nco_yyget_leng’
int nco_yyget_leng (void)
^~~~~~~~~~~~~~
ncap_lex.l:104:13: note: previous declaration of ‘nco_yyget_leng’ was here
yy_size_t yyget_leng(void); /* fixes: warning: no previous prototype for `yyget_leng' */
^~~~~~~~~~~~~~
ncap_lex.c:2739:16: warning: ‘input’ defined but not used [-Wunused-function]
static int input (void)
^~~~~
make[3]: *** [Makefile:1071: ncap_lex.o] Error 1
make[3]: Leaving directory '/home/pezzatti/aur/nco/src/nco-4.6.0/src/nco'
make[2]: *** [Makefile:382: all-recursive] Error 1
make[2]: Leaving directory '/home/pezzatti/aur/nco/src/nco-4.6.0/src'
make[1]: *** [Makefile:444: all-recursive] Error 1
make[1]: Leaving directory '/home/pezzatti/aur/nco/src/nco-4.6.0'
make: *** [Makefile:376: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
:: failed to build nco package(s)