Bug#793891: nco: FTBFS with netcdf in experimental

2015-07-29 Thread Charlie Zender

Any hints here would be appreciated...
NCO builds fine on many different machines.
It appears to me that new Debian netCDF package seems
to cause NCO's configure test for strdup() to fail,
so NCO uses its own internal prototype for strdup()
instead, and then this prototype runs into a conflict
with the strdup() prototype in string.h.
Not sure why the new netCDF package would alter previous behavior.

On 7/29/15 02:13, Bas Couwenberg wrote:

Package: nco
Version: 4.5.1-1
Severity: normal
Tags: upstream
User: debian-...@lists.debian.org
Usertags: netcdf-split-c-f-cxx

Dear Maintainer,

nco (4.5.1-1) fails to build with the new netcdf packages in
experimental:

  libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. \
-I/usr/include -D_FORTIFY_SOURCE=2 -I/usr/include -g -O2 \
-fstack-protector-strong -Wformat -Werror=format-security -std=c99 \
-D_BSD_SOURCE -D_POSIX_SOURCE -c nco_bnr.c  -fPIC -DPIC \
-o .libs/nco_bnr.o
  In file included from /usr/include/string.h:635:0,
   from nco_att_utl.h:22,
   from nco_att_utl.c:10:
  nco_sng_utl.h:79:3: error: expected identifier or '(' before '__extension__'
 strdup /* [fnc] Duplicate string */
 ^
  In file included from /usr/include/string.h:635:0,
   from nco_netcdf.h:46,
   from nco_aux.h:22,
   from nco_aux.c:19:
  nco_sng_utl.h:79:3: error: expected identifier or '(' before '__extension__'
 strdup /* [fnc] Duplicate string */
 ^

The full build log is attached.

The build succeeds with netcdf (1:4.1.3-7.2),
but fails with netcdf (1:4.4.0~rc2-1~exp2).

This issue needs to be resolved to not hinder the upcoming netcdf
transition.

Kind Regards,

Bas



--
Charlie Zender, Earth System Sci.  Computer Sci.
University of California, Irvine 949-891-2429 )'(

___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel


Bug#793891: nco: FTBFS with netcdf in experimental

2015-07-28 Thread Bas Couwenberg
Package: nco
Version: 4.5.1-1
Severity: normal
Tags: upstream
User: debian-...@lists.debian.org
Usertags: netcdf-split-c-f-cxx

Dear Maintainer,

nco (4.5.1-1) fails to build with the new netcdf packages in
experimental:

 libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. \
   -I/usr/include -D_FORTIFY_SOURCE=2 -I/usr/include -g -O2 \
   -fstack-protector-strong -Wformat -Werror=format-security -std=c99 \
   -D_BSD_SOURCE -D_POSIX_SOURCE -c nco_bnr.c  -fPIC -DPIC \
   -o .libs/nco_bnr.o
 In file included from /usr/include/string.h:635:0,
  from nco_att_utl.h:22,
  from nco_att_utl.c:10:
 nco_sng_utl.h:79:3: error: expected identifier or '(' before '__extension__'
strdup /* [fnc] Duplicate string */
^
 In file included from /usr/include/string.h:635:0,
  from nco_netcdf.h:46,
  from nco_aux.h:22,
  from nco_aux.c:19:
 nco_sng_utl.h:79:3: error: expected identifier or '(' before '__extension__'
strdup /* [fnc] Duplicate string */
^

The full build log is attached.

The build succeeds with netcdf (1:4.1.3-7.2),
but fails with netcdf (1:4.4.0~rc2-1~exp2).

This issue needs to be resolved to not hinder the upcoming netcdf
transition.

Kind Regards,

Bas


nco_4.5.1-1_netcdf-ftbfs.build.xz
Description: application/xz
___
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel