Bug#749511: netcdf: wrong quote characters

Michael Tautschnig mt at debian.org
Tue May 27 14:58:24 UTC 2014


Package: netcdf
Version: 1:4.1.3-7
Usertags: goto-cc

During a rebuild of all packages in a clean sid chroot (and cowbuilder+pbuilder)
the build failed with the following error. Please note that we use our research
compiler tool-chain (using tools from the cbmc package), which permits extended
reporting on type inconsistencies at link time.

[...]
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../fortran -I.. -I../libsrc -DgFortran -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c curlfunctions.c  -fPIC -DPIC -o .libs/liboc_la-curlfunctions.o
curlfunctions.c: In function 'ocset_curl_flags':
curlfunctions.c:30:66: warning: character constant too long for its type [enabled by default]
  cstat = curl_easy_setopt(curl, CURLOPT_ENCODING, 'deflate, gzip');
                                                                  ^
literals with 13 characters are not supported
Makefile:388: recipe for target 'liboc_la-curlfunctions.lo' failed
make[3]: *** [liboc_la-curlfunctions.lo] Error 1
make[3]: Leaving directory '/srv/jenkins-slave/workspace/sid-goto-cc-netcdf/netcdf-4.1.3/oc'
Makefile:551: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1

Likely this should be double quotes here in order to set the accepted encoding
to the desired value (the current code will set it to a value other than the
desired one!) - and curl's documentation also suggests that the option has
actually be renamed to CURLOPT_ACCEPT_ENCODING.

Best,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 859 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20140527/4b503c5e/attachment.sig>


More information about the Pkg-grass-devel mailing list