Your message dated Sat, 30 Dec 2017 11:34:42 +0000
with message-id <e1evfpw-000cmo...@fasolo.debian.org>
and subject line Bug#885845: fixed in netcdf 1:4.5.0-2
has caused the Debian Bug report #885845,
regarding netcdf FTCBFS: CHECK_C_SOURCE_RUNS
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 ow...@bugs.debian.org
immediately.)
--
885845: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=885845
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: netcdf
Version: 1:4.5.0-1
Tags: patch upstream
User: helm...@debian.org
Usertags: rebootstrap
netcdf fails to cross build from source, because it uses
CHECK_C_SOURCE_RUNS. Fortunately, the only relevant check can easily be
turned into CHECK_C_SOURCE_COMPILES (by exploiting that arrays of
negative length cause a compile error). After doing so, netcdf cross
builds successfully. Please consider applying the attached patch.
Helmut
Index: netcdf-4.5.0/CMakeLists.txt
===================================================================
--- netcdf-4.5.0.orig/CMakeLists.txt
+++ netcdf-4.5.0/CMakeLists.txt
@@ -93,7 +93,6 @@
INCLUDE(${CMAKE_ROOT}/Modules/CheckFunctionExists.cmake)
INCLUDE(${CMAKE_ROOT}/Modules/CheckCXXSourceCompiles.cmake)
INCLUDE(${CMAKE_ROOT}/Modules/CheckCSourceCompiles.cmake)
-INCLUDE(${CMAKE_ROOT}/Modules/CheckCSourceRuns.cmake)
INCLUDE(${CMAKE_ROOT}/Modules/TestBigEndian.cmake)
INCLUDE(${CMAKE_ROOT}/Modules/CheckSymbolExists.cmake)
INCLUDE(${CMAKE_ROOT}/Modules/GetPrerequisites.cmake)
@@ -1194,14 +1193,12 @@
SET(SIGNED_TEST_SOURCE "\n
#include <stdlib.h>\n
int main(void) {\n
- char is_signed = (char) - 1;\n
- if(is_signed < 0)\n
- return 1;\n
- else\n
- return 0;\n
+ char error_if_char_is_signed[((char)-1) < 0 ? -1 : 1];\n
+ error_if_char_is_signed[0] = 0;
+ return 0;\n
}\n")
-CHECK_C_SOURCE_RUNS("${SIGNED_TEST_SOURCE}" __CHAR_UNSIGNED__)
+CHECK_C_SOURCE_COMPILES("${SIGNED_TEST_SOURCE}" __CHAR_UNSIGNED__)
# Library include checks
CHECK_INCLUDE_FILE("math.h" HAVE_MATH_H)
--- End Message ---
--- Begin Message ---
Source: netcdf
Source-Version: 1:4.5.0-2
We believe that the bug you reported is fixed in the latest version of
netcdf, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 885...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bas Couwenberg <sebas...@debian.org> (supplier of updated netcdf package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 30 Dec 2017 11:59:33 +0100
Source: netcdf
Binary: netcdf-doc libnetcdf13 libnetcdf-dev netcdf-bin
Architecture: source amd64 all
Version: 1:4.5.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
Changed-By: Bas Couwenberg <sebas...@debian.org>
Description:
libnetcdf-dev - creation, access, and sharing of scientific data
libnetcdf13 - Interface for scientific data access to large binary data
netcdf-bin - Programs for reading and writing NetCDF files
netcdf-doc - Documentation for NetCDF
Closes: 885845
Changes:
netcdf (1:4.5.0-2) unstable; urgency=medium
.
* Strip trailing whitespace from changelog.
* Add patch by Helmut Grohne to fix cross building.
(closes: #885845)
* Bump Standards-Version to 4.1.2, no changes.
* Add Multi-Arch fields suggested by Multiarch hinter.
* Drop obsolete dbg package.
Checksums-Sha1:
22f0f48c4e391038a837e1bccacd030ed3bc5c62 2344 netcdf_4.5.0-2.dsc
fc9c84d3d204a9c6e3be35eacb739931ba365200 25284 netcdf_4.5.0-2.debian.tar.xz
977cca6ffafbb4e81dacbbfaaa7dea37ec1c4f58 79352 libnetcdf-dev_4.5.0-2_amd64.deb
ce1eaa6ce01e9e47ed2f60737800088821dd0c0c 1093128
libnetcdf13-dbgsym_4.5.0-2_amd64.deb
e62c32b8954d64ea40d24e3e921d3ce588001524 382136 libnetcdf13_4.5.0-2_amd64.deb
5ef06c4b5f77e5c53403aab36c4830dd4398a355 423248
netcdf-bin-dbgsym_4.5.0-2_amd64.deb
896945963d1a97e700a3ecb45d69bca2bbff98cf 226364 netcdf-bin_4.5.0-2_amd64.deb
498265bdb9487ddaa8c5a4f996b2e7efd9340890 2113708 netcdf-doc_4.5.0-2_all.deb
f41841715df3302f5f0f50a81a8952132325b613 10041 netcdf_4.5.0-2_amd64.buildinfo
Checksums-Sha256:
c6e2bf25923a46cdf1e7a461889edb327b4313b5be760a3931589a1da39025a7 2344
netcdf_4.5.0-2.dsc
ced26af43d4677994742ffa065859a4651c2ec0d5e485608dacca600315168b2 25284
netcdf_4.5.0-2.debian.tar.xz
35bb48285568c7df2bd0e340e9c84c1a20e7f543d7323ecd12b27fb297e6be1c 79352
libnetcdf-dev_4.5.0-2_amd64.deb
3f22bc6ac660057bdd9e4a269a36c960de649cfefc65576fd5b4482fd076669d 1093128
libnetcdf13-dbgsym_4.5.0-2_amd64.deb
26f90863b240e1823fd28a604b49dfc18c1be81debe0ea7077a023dacc1c6203 382136
libnetcdf13_4.5.0-2_amd64.deb
0e70eea70d5ab9bd378294e6a559c750c8414fa3af0ccd3d74f7965417467457 423248
netcdf-bin-dbgsym_4.5.0-2_amd64.deb
5d0a3d3e112b616cb91bf79c0bfed8dcb668aa144842d59ebdcebfc53995aded 226364
netcdf-bin_4.5.0-2_amd64.deb
e54375de4ab0554ee50405753bafa46c974128716b632f3c6e75f0a4d8c93321 2113708
netcdf-doc_4.5.0-2_all.deb
4ddc1e471ca516b747892ff5edd14a2ee27d68d8f81c192ad2c66d346d0870d0 10041
netcdf_4.5.0-2_amd64.buildinfo
Files:
96e03307177c5d4d4587fd88f35feba2 2344 science optional netcdf_4.5.0-2.dsc
a57ab69f69a4ce221d0aee693a322ff5 25284 science optional
netcdf_4.5.0-2.debian.tar.xz
39a074f29af1d4743a2240740953f9f7 79352 libdevel optional
libnetcdf-dev_4.5.0-2_amd64.deb
d56d27f7d0fa98b322aa190d8e9200e8 1093128 debug optional
libnetcdf13-dbgsym_4.5.0-2_amd64.deb
d922fec10416d30503060b94a42ef574 382136 libs optional
libnetcdf13_4.5.0-2_amd64.deb
eec7f9f95a1a37610ee30abcd3953b0d 423248 debug optional
netcdf-bin-dbgsym_4.5.0-2_amd64.deb
8a9bc6d12dabf03baf6b4c086c443223 226364 science optional
netcdf-bin_4.5.0-2_amd64.deb
31332e4950979daa8f72c1b98f50a947 2113708 doc optional
netcdf-doc_4.5.0-2_all.deb
c2543d9d834efb9a232bc8ca44b1e388 10041 science optional
netcdf_4.5.0-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEgYLeQXBWQI1hRlDRZ1DxCuiNSvEFAlpHdcQACgkQZ1DxCuiN
SvFPxQ//acHLd/kAK1jCwDyxI+I+GgarItXohQGoXkErZGwlU7Sxm5arpSw73s+Z
laUafxYhfh8xEx56ypW5AA0JhekG5dGIsDmTfHq6CdnQmVKRHS+00omhZLrmhyHC
/1QdaHF2PhS6cFzGA9j2T3qIws2fjHskMA883tgOyIz6NW3BgivyaGzXnfnV5UpR
FgcvLqQ4T8FZ20SzeCFXszRORmvx1AE1mNmOSFHFuQD9HZrMMq4MWMxBiNN28AKB
9ujeR5BoCdTELapiB1e3Y31beib1f5SXZzOp2yyB3UF1VKt2uLX35zOqkLNawJKs
4OVX1duGkDQk9yr11sUD3AHItrDNZJydtWbnyMWBzTYXI3Sbxxzo3ZTd3A+h1dtR
pcrkDzxQ9mjUv1oknw0iiqA3fOtKBM0ie70zvc2Qcp4dl44aQ3Qg7ijmCrS3TafS
0jo4Iq1nMnm2GbB15iy2MJ9R5aeGMtcBiS3msDglxwXXCklblNSZ1ZdGpRLqleNA
xb1y8nLqk9uwazMGpybSxT4tPb4dGzLL6XQpRYNSSfcLMWDbqwpjxkXfHTebf+tt
xKbx80dTPrPW8lCF1Um5tlvrbL0jjcp9pFMDg6aRXKDGEhMuiVUtmqfIFFmOvSk1
PRxH+pYPlZq+SMjuQQRJBsPr4gu+sv02Re7FRuXy3vYOfaLcwFY=
=Id0/
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel