Debian Bug report logs -
#824263
cmake: please sort file lists from file(GLOB ...)
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-builds@lists.alioth.debian.org, Debian CMake Team <pkg-cmake-team@lists.alioth.debian.org>:
Bug#824263; Package src:cmake.
(Sat, 14 May 2016 10:45:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Reiner Herrmann <reiner@reiner-h.de>:
New Bug report received and forwarded. Copy sent to reproducible-builds@lists.alioth.debian.org, Debian CMake Team <pkg-cmake-team@lists.alioth.debian.org>.
(Sat, 14 May 2016 10:45:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: cmake
Version: 3.5.2-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: toolchain fileordering
X-Debbugs-Cc: reproducible-builds@lists.alioth.debian.org
Forwarded: http://public.kitware.com/pipermail/cmake-developers/2016-May/028392.html
Hi!
Packages using CMake often use file(GLOB ...) to retrieve a list of
source files [1]. As this is based on readdir(), the resulting file list
is unsorted. A common use case is to pass this list directly to
add_executable or add_library. But as the order is unpredictable, the
binaries are not reproducible (because the order in which the objects
are linked will vary).
The attached patch (already sent upstream) will sort the resulting lists
from file(GLOB ...) and help with building reproducible packages.
Regards,
Reiner
[1]: https://codesearch.debian.net/perpackage-results/path%3ACMakeLists.txt%20(file%7CFILE).*(glob%7CGLOB).*(SRC%7CSOURCE%7COBJ)/2/page_0
[cmake.diff (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian CMake Team <pkg-cmake-team@lists.alioth.debian.org>:
Bug#824263; Package src:cmake.
(Thu, 19 May 2016 19:54:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Reiner Herrmann <reiner@reiner-h.de>:
Extra info received and forwarded to list. Copy sent to Debian CMake Team <pkg-cmake-team@lists.alioth.debian.org>.
(Thu, 19 May 2016 19:54:03 GMT) (full text, mbox, link).
Message #10 received at 824263@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
The patch has now been applied in cmake's next branch:
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=edcccde7
[signature.asc (application/pgp-signature, inline)]
Reply sent
to Felix Geyer <fgeyer@debian.org>:
You have taken responsibility.
(Tue, 28 Jun 2016 19:07:04 GMT) (full text, mbox, link).
Notification sent
to Reiner Herrmann <reiner@reiner-h.de>:
Bug acknowledged by developer.
(Tue, 28 Jun 2016 19:07:04 GMT) (full text, mbox, link).
Message #15 received at 824263-close@bugs.debian.org (full text, mbox, reply):
Source: cmake
Source-Version: 3.5.2-2
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 824263@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Felix Geyer <fgeyer@debian.org> (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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 28 Jun 2016 19:39:56 +0200
Source: cmake
Binary: cmake cmake-data cmake-curses-gui cmake-qt-gui cmake-doc
Architecture: source
Version: 3.5.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian CMake Team <pkg-cmake-team@lists.alioth.debian.org>
Changed-By: Felix Geyer <fgeyer@debian.org>
Description:
cmake - cross-platform, open-source make system
cmake-curses-gui - curses based user interface for CMake (ccmake)
cmake-data - CMake data files (modules, templates and documentation)
cmake-doc - extended documentation in various formats for CMake
cmake-qt-gui - Qt4 based user interface for CMake (cmake-gui)
Closes: 824263 828092
Changes:
cmake (3.5.2-2) unstable; urgency=medium
.
* Make FindLibArchive compatible with libarchive 3.2. (Closes: #828092)
- Add FindLibArchive_Support_libarchive_3.2.patch
* Backport patch to make file(GLOB) order deterministic. (Closes: #824263)
- Add file_Sort_GLOB_results_to_make_it_deterministic.patch
Checksums-Sha1:
596eaeb921c31a9e6a9efaccb430f18f2e63c926 2431 cmake_3.5.2-2.dsc
f33eae751f333c611b46c5e438644c1c8314df67 28872 cmake_3.5.2-2.debian.tar.xz
Checksums-Sha256:
b3f70750e352d8e1d8e4617e3c401f2ade379d70ba54572a97b71d1a90b6ceb7 2431 cmake_3.5.2-2.dsc
4394f6b3c5f1d4403c277f231dbf6f12419671e683f2dbce2fcaad93abf9aa0e 28872 cmake_3.5.2-2.debian.tar.xz
Files:
671552878e776bb3334ca37794d0fb9f 2431 devel optional cmake_3.5.2-2.dsc
d727ebb23ae7cd6784dabe41ce7a868a 28872 devel optional cmake_3.5.2-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIcBAEBCgAGBQJXcsKZAAoJEP4ixv2DE11FRT0P/3Fw/AqBp0NDFnIsKDT/24my
5+ovfAYWfojM7Wmu5W3Iqwt5i3r01fmAAF4lzGFdnoG0RvedAoOKDTi1c0oEjJ55
7x8JyA2i6jXb//pAvn7URutevKdkg0IOn99PWnz2C0Y7orihdc1D8Zd3LWg5aNU8
+7QEewFmiobSAUMZd0LQL9f1SaAzuqUiiZwrU5MVnW3jI+wnP74evBJsGd+JwmP0
e07vS5MYsGwbxVOReZTevAKiQnVRbd5FFcrfjgqlrjsEIS/D/i3A7EJ5E8b5qOBv
alMyuB3iMxs0wgVc7nfkBRDRN21tDabhj3kzhNh6WHGsY+79OmfJ8e4cVHL9+1wz
0ujU4mwBSQjEeHGqta0CAJLzlA1D4ncT3wpjDgqssW+xeh/hqLv5y5FYMZXmd56A
LZVmFV+K7dIrrUZAjlvmvwgWb9tiMnzc3DF8qFgjvsmB+9w3T0mF+eytNC3cbcsL
bmd9iVT9BgRcyXHI+6KVi/IxsRzZTLQXv2ntRtHjwHe+JNDFMDlLMRF9C2EK8+Yy
xyv2eQ1UcOWaLEsJH2YZGdefDgN+4doQLIiH0fEm9YDqrhvC613pyuw/5qeuuP/i
Et5I3/YBMC+YoFspSDC/j+wq4K0FDNfcsRR0dfHYkgFMZQT5pWCbOXwHqDNJAqk2
hJfarwAXoUEVEUFYqiNF
=M86C
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Mon, 01 Aug 2016 07:48:29 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 13:44:07 2023;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.