Your message dated Fri, 12 Nov 2021 14:54:51 +0100
with message-id <[email protected]>
and subject line Re: cmtk: please make the build (mostly) reproducible - 
closing the bug
has caused the Debian Bug report #827994,
regarding cmtk: please make the build (mostly) reproducible
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.)


-- 
827994: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827994
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: cmtk
Version: 3.2.2-1.4
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: ordering
X-Debbugs-Cc: [email protected]

Hi,

Whilst working on the "reproducible builds" effort [0], we noticed that cmtk 
could not be built reproducibly.

Patch attached that addresses most of the problem. However, due to the use of 
default values in the "help" output, the "--time" entry for the manpage 
actually displays the current (default) time!

It actually does this in a totally broken way, not converting it to a char, so 
you end up with weird stuff on the command line, but it shouldn't be shown 
anyway if we want to be reproducible.


 [0] https://wiki.debian.org/ReproducibleBuilds


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/patches/reproducible_build 1970-01-01 02:00:00.000000000 +0200
--- b/debian/patches/reproducible_build 2016-06-23 15:45:30.277388001 +0200
@@ -0,0 +1,11 @@
+--- cmtk-3.2.2.orig/scripts/gen_manpages
++++ cmtk-3.2.2/scripts/gen_manpages
+@@ -75,7 +75,7 @@ cmtk \- the Computational Morphometry To
+ This helper script provides a unified access to all command line tools 
provided by CMTK.  Please specify CMTK's command to run and its options. See 
\fBcmtk-<command>(1)\fR manpage or output of \fBcmtk <command> --help\fR for 
<command> specific options
+ .SH COMMANDS
+ EOF
+-/bin/ls $MANDIR/*.1 | grep -v -e 'cmtk\.1' | while read f; do
++/bin/ls $MANDIR/*.1 | grep -v -e 'cmtk\.1' | LC_ALL=C sort | while read f; do
+       descr="$(grep -a -A1 '.SH DESCRIPTION' $f| tail -n 1)"
+       cmd=${f%.*}
+       cmd=${cmd##*cmtk-}
--- a/debian/patches/series     2016-06-23 15:19:31.335404639 +0200
--- b/debian/patches/series     2016-06-23 15:45:26.801356823 +0200
@@ -2,3 +2,4 @@
 fix-bashisms.patch
 fix_cmake_version_comparison
 dcmtk-3.6.1-compatibility
+reproducible_build

--- End Message ---
--- Begin Message ---
Hi,

when taking over this package to Debian Med I checked the bug reports.
It seems the bug can be closed:


cmtk (3.3.1-1) unstable; urgency=medium

  * New upstream primarily a bugfix release
  * Took a patch to make manpages more reproducible (partially addresses
    #827994)
...
 -- Yaroslav Halchenko <[email protected]>  Sun, 04 Sep 2016 10:38:33 -0400


I confirm the patch was applied in that version and is also part of
the code I will upload now.

Feel free to reopen if I might be wrong.

Kind regards

      Andreas.

-- 
http://fam-tille.de

--- End Message ---

Reply via email to