Your message dated Thu, 30 Jul 2015 22:20:24 +0200
with message-id <>
and subject line Re: Bug#793891: nco: FTBFS with netcdf in experimental
has caused the Debian Bug report #793891,
regarding nco: FTBFS with netcdf in experimental
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact

Debian Bug Tracking System
Contact with problems
--- Begin Message ---
Package: nco
Version: 4.5.1-1
Severity: normal
Tags: upstream
Usertags: netcdf-split-c-f-cxx

Dear Maintainer,

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

 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

Kind Regards,


Description: application/xz

--- End Message ---
--- Begin Message ---
notfound 793891 nco/4.5.1-1

Hi Charlie,

On 29-07-15 22:49, Sebastiaan Couwenberg wrote:
> On 29-07-15 22:39, Charlie Zender wrote:
>> 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.
> The biggest changes in the new netcdf library is that it's built with
> the HDF5 MPI variants (openmpi on most architectures). It may be that an
> MPI optimized strdup() is used now?

The nco (4.5.1-1) build failures was fixed with the new
netcdf (1:4.4.0~rc2-1~exp4) in which nc-config & netcdf.pc are patched
to include the HDF5 library & include paths.

Kind Regards,


 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

--- End Message ---
Pkg-grass-devel mailing list

Reply via email to