Your message dated Fri, 22 Oct 2021 14:33:52 +0000
with message-id <[email protected]>
and subject line Bug#777542: fixed in cmake 3.21.3-5
has caused the Debian Bug report #777542,
regarding ISO C forbids conversion of function pointer to object pointer type
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.)
--
777542: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777542
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cmake
Version: 3.0.2-1
Forwarded: http://www.cmake.org/Bug/view.php?id=13208
Tags: upstream
The following piece of code fails on debian/jessie:
[...]
include(CheckSymbolExists)
check_symbol_exists(memalign malloc.h HAVE_MEMALIGN)
[...]
$ CFLAGS="-pedantic -pedantic-errors" cmake .
the output states:
Determining if the memalign exist failed with the following output:
Change Dir: /home/mathieu/tmp/flou/bin/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec2230537635/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec2230537635.dir/build.make
CMakeFiles/cmTryCompileExec2230537635.dir/build
make[1]: Entering directory '/home/mathieu/tmp/flou/bin/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/home/mathieu/tmp/flou/bin/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object
CMakeFiles/cmTryCompileExec2230537635.dir/CheckSymbolExists.c.o
/usr/bin/cc -pedantic -pedantic-errors -fopenmp -o
CMakeFiles/cmTryCompileExec2230537635.dir/CheckSymbolExists.c.o -c
/home/mathieu/tmp/flou/bin/CMakeFiles/CMakeTmp/CheckSymbolExists.c
/home/mathieu/tmp/flou/bin/CMakeFiles/CMakeTmp/CheckSymbolExists.c: In
function ‘main’:
/home/mathieu/tmp/flou/bin/CMakeFiles/CMakeTmp/CheckSymbolExists.c:8:11:
error: ISO C forbids conversion of function pointer to object pointer
type [-Wpedantic]
return ((int*)(&memalign))[argc];
^
CMakeFiles/cmTryCompileExec2230537635.dir/build.make:57: recipe for
target 'CMakeFiles/cmTryCompileExec2230537635.dir/CheckSymbolExists.c.o'
failed
make[1]: Leaving directory '/home/mathieu/tmp/flou/bin/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec2230537635.dir/CheckSymbolExists.c.o]
Error 1
Makefile:118: recipe for target 'cmTryCompileExec2230537635/fast' failed
make: *** [cmTryCompileExec2230537635/fast] Error 2
File /home/mathieu/tmp/flou/bin/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <malloc.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef memalign
return ((int*)(&memalign))[argc];
#else
(void)argc;
return 0;
#endif
}
--- End Message ---
--- Begin Message ---
Source: cmake
Source-Version: 3.21.3-5
Done: Timo Röhling <[email protected]>
We believe that the bug you reported is fixed in the latest version of
cmake, 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.
Timo Röhling <[email protected]> (supplier of updated cmake 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, 22 Oct 2021 14:24:08 +0200
Source: cmake
Architecture: source
Version: 3.21.3-5
Distribution: unstable
Urgency: medium
Maintainer: Debian CMake Team <[email protected]>
Changed-By: Timo Röhling <[email protected]>
Closes: 671746 777542
Changes:
cmake (3.21.3-5) unstable; urgency=medium
.
* Package can be cross-compiled now
* Make FindFLTK safe to include multiple times (Closes: #671746)
* Fix check_symbols_exists() with -pedantic-errors (Closes: #777542)
Checksums-Sha1:
d114a13cada79c24685b74ea730772f38567500b 3416 cmake_3.21.3-5.dsc
02fcd0397c30f87aaf4df5a00f4123b77a5037c2 33568 cmake_3.21.3-5.debian.tar.xz
b1f64fe446ebf905bfb36462cd9ebc66150d1c7b 15545 cmake_3.21.3-5_amd64.buildinfo
Checksums-Sha256:
e5c7cbfbdf34612312753f257ceff62a66d1c6ec8833633822aa9b420fbef2d3 3416
cmake_3.21.3-5.dsc
d13abb3dbe93c9d4c3e4d46af92f07ae1230628009319895af143e73ee8b35af 33568
cmake_3.21.3-5.debian.tar.xz
651e871fc77eb16788726034015328d2654827b69206a6d161ec6b6aaaf7024a 15545
cmake_3.21.3-5_amd64.buildinfo
Files:
561b58efd7239f25e11515dc9780c504 3416 devel optional cmake_3.21.3-5.dsc
f3f72559b3c59fbf234412c9adefaed7 33568 devel optional
cmake_3.21.3-5.debian.tar.xz
6e1d30c36cf79a99bf2d1a1e74918237 15545 devel optional
cmake_3.21.3-5_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHIBAEBCgAyFiEEJvtDgpxjkjCIVtam+C8H+466LVkFAmFyyBcUHHJvZWhsaW5n
QGRlYmlhbi5vcmcACgkQ+C8H+466LVm5oAv/Zs4255laJVJmqUXqcPQZ6NcD+TeQ
W7HQtts0reAGLafiow6p6E3mkdHGekvjcG2jjovTXmIDPX1DmPwGmGu99MJJP72f
1yvy5XwihUCbP/YsJqW+6h0YrJ4F7M2L8gSJQlwYbOuGQgXKyjxb57A/sux6F1gC
iKozUK1dSxNZ0bC5FJXj49ImRIHMFgVuQfatU8kn6bK7Zb2FDNb7fysvuFCcippr
0WxgFmMrHzDX91KdtEJp4r8eTMI+3XGbx0FMtr4oe+R9s0MiVeTKWJcEYc9WgyMq
TUHyzs5qpQE3Oj51LJnxb797+smTALfAU3TO9ztClH9xPBmQt+dtEhNjElZSzHkF
BWn8ztTjdDtMOf8nP2zfEA2sggFlvX5/Pa9qP8XafU/xRHuuPqb/dcdOCcX+2IfI
aNGed7+PEo+0ARSjUjByQpEYJ4QtUh9WWl3C+DJp9NxfUjNphP8kIDdIaMjqJlqP
/lacsn2IxLL+NbvKhZiv5t5TPK/mgWfW4oCx
=rGu2
-----END PGP SIGNATURE-----
--- End Message ---