Your message dated Sat, 18 Oct 2025 10:05:42 +0000
with message-id <[email protected]>
and subject line Bug#1063339: fixed in odc 1.6.2-1
has caused the Debian Bug report #1063339,
regarding odc FTCBFS: 64bit checks are incompatible with cross compilation
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 [email protected]
immediately.)
--
1063339: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063339
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: odc
Version: 1.5.0-1
Tags: patch upstream
User: [email protected]
Usertags: ftcbfs
odc fails to cross build from source, because the upstream
CMakeLists.txt tries really hard to not build on 32bit platforms. It
verifies that sizeof(long) and sizeof(double) are 64bit in three
different ways, two of which require running a program. Running a
compiled program is what really does not work at all during cross
compilation, so those checks fail. I propose removing the redundant
checks and only leaving the check_type_size ones, because they should be
sufficient to ensure the property and they work with cross compilation.
I'm attaching a patch for your convenience.
Applying this patch will not make odc cross buildable. I've filed a
separate bug against dh-fortran-mod about another problem. Still close
this bug when addressing the cmake checks.
Helmut
--- odc-1.5.0.orig/CMakeLists.txt
+++ odc-1.5.0/CMakeLists.txt
@@ -22,42 +22,6 @@
### long and double must be 64 bits exactly
-# test by c compilation
-ecbuild_check_c_source_return(
- "#include <stdio.h>\nint main(){printf(\"%ld\",sizeof(long));return 0;}"
- VAR check_long_final
- OUTPUT __sizeof_long_final
-)
-ecbuild_check_c_source_return(
- "#include <stdio.h>\nint main(){printf(\"%ld\",sizeof(double));return 0;}"
- VAR check_double_final
- OUTPUT __sizeof_double_final
-)
-
-if( NOT check_long_final OR NOT __sizeof_long_final EQUAL "8" )
- message( FATAL_ERROR "operating system ${CMAKE_SYSTEM} (${EC_OS_BITS} bits) and sizeof long [${__sizeof_long_final}] -- long must be 64 bits exactly" )
-elseif( NOT check_double_final OR NOT __sizeof_double_final EQUAL "8" )
- message( FATAL_ERROR "operating system ${CMAKE_SYSTEM} (${EC_OS_BITS} bits) and sizeof double [${__sizeof_double_final}] -- double must be 64 bits exactly" )
-endif()
-
-# test by cxx compilation
-ecbuild_check_cxx_source_return(
- "#include <iostream>\nint main(){ std::cout << sizeof(long);return 0;}"
- VAR cxx_check_long_final
- OUTPUT __cxx_sizeof_long_final
-)
-ecbuild_check_cxx_source_return(
- "#include <iostream>\nint main(){ std::cout << sizeof(double);return 0;}"
- VAR cxx_check_double_final
- OUTPUT __cxx_sizeof_double_final
-)
-
-if( NOT cxx_check_long_final OR NOT __cxx_sizeof_long_final EQUAL "8" )
- message( FATAL_ERROR "operating system ${CMAKE_SYSTEM} (${EC_OS_BITS} bits) and sizeof long [${__cxx_sizeof_long_final}] -- long must be 64 bits exactly" )
-elseif( NOT cxx_check_double_final OR NOT __cxx_sizeof_double_final EQUAL "8" )
- message( FATAL_ERROR "operating system ${CMAKE_SYSTEM} (${EC_OS_BITS} bits) and sizeof double [${__cxx_sizeof_double_final}] -- double must be 64 bits exactly" )
-endif()
-
check_type_size( long ODC_SIZEOF_LONG )
check_type_size( double ODC_SIZEOF_DOUBLE )
--- End Message ---
--- Begin Message ---
Source: odc
Source-Version: 1.6.2-1
Done: Alastair McKinstry <[email protected]>
We believe that the bug you reported is fixed in the latest version of
odc, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Alastair McKinstry <[email protected]> (supplier of updated odc 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 17 Oct 2025 08:40:35 +0100
Source: odc
Architecture: source
Version: 1.6.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers
<[email protected]>
Changed-By: Alastair McKinstry <[email protected]>
Closes: 1063339
Changes:
odc (1.6.2-1) unstable; urgency=medium
.
* New upstream release
* Move d/watch to version 4
* Remove old FSF address from d/copyright
* cross.patch: Drop checks that break cross-building. Thanks to
Helmut Grohe. Closes: #1063339
* Use dh_fortran_lib for Fortran libraries
Checksums-Sha1:
fa5a60387085c436677191be7b3bdb28ba9d1e96 2108 odc_1.6.2-1.dsc
adf69892981bbfe08678ce306e4ed138f1375782 302412 odc_1.6.2.orig.tar.xz
d993722934370ce1f4d4f5059a3315454893ba5b 4784 odc_1.6.2-1.debian.tar.xz
Checksums-Sha256:
3e445a041129c6cc3a0d9233bb70e9d26bc24b0d696ed316bf3733f98f148d39 2108
odc_1.6.2-1.dsc
9a2300059c3bdbe6e03886617f22727c3c8004c6fb43c5c6d7dc1559bbf9097e 302412
odc_1.6.2.orig.tar.xz
e06a8a1db1b7f4aa51a24ff7917c65fc437841260e8062d431519c39835b3dea 4784
odc_1.6.2-1.debian.tar.xz
Files:
d1036195c9807334820cfeaa286873dd 2108 utils optional odc_1.6.2-1.dsc
cdc3cea3c48be83a9abc5c69c0db8a0e 302412 utils optional odc_1.6.2.orig.tar.xz
52b7d61c1dc5d5c5657de8756af48b3b 4784 utils optional odc_1.6.2-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEgjg86RZbNHx4cIGiy+a7Tl2a06UFAmjzYSkACgkQy+a7Tl2a
06V9Uw/+I7KUgQVSQcOJOs7uTU3cHpwRtXjFtsRxy/uhhoHDP7PIdqAfWaU6U0Kb
MlTNDwKv+hEwt8gMgW3feDEG8W6NMVAZNQYZWxu4qVuQtisamXkFTevqDEh30paX
z4szRgxj5APFdjJMZ0DkK7u1D4eIuR8wUCt9GqV8zLOoozGTHZHqmYnGwcgCRWi4
9XXmEHmkMlVDlBQhgfs5jn8eytrWGTRjJyT3RYTQdF7uwGV8hAfHrV95OyaXEyhj
Xjn82x43jfzKDM2+kzbVmNgR4kiafzLNodyMHrh3n4j94HLRBROthrRhnJHOoU9f
Q+hQ7H1uHMwfJ4rv1mxKPvi0A0PVm1t44McVr40TVUyvcGBfOzV9JpJH4p/AAP+b
WvD6N4b9XSTABRYPs7YkopKK4AhWQV2+IkJnFdWhbBituq2HJQyGdgfjuKGs/G+B
jo2G+2zOLbwfu816Qqo1xmkhdZYeKie+zvaBonxgSs1iYfVwci9Z4LwDlVk8bjgL
9wfPYYTCMxet1siwyvCM3XcrsN20jagkMex/theZNqQoxPZpxZNYEnDOXWpI/lpq
2C/JC93KC59KtEU9kpeFbprPnrttSNa8KKSCXNnC+iPj2MmWCY2PCGJt90BwWZKC
I7GvciXNalVDUUvMwxoAve1ebk1B+feG3o3Z/IZNXFTwYq7GB/0=
=+41g
-----END PGP SIGNATURE-----
pgpQvAcHX7INd.pgp
Description: PGP signature
--- End Message ---
--
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers