Bug#977522: vtk7: reproducible builds: unpredictible ordering in documentation
Vagrant Cascadian
vagrant at reproducible-builds.org
Wed Dec 16 04:49:26 GMT 2020
Control: clone 977522 -1
Control: retitle -1 vtk7: reproducible builds: unpredictible ordering in documentation
Control: reassign -1 vtk7
The patch also applies to vtk7.
live well,
vagrant
On 2020-12-15, Vagrant Cascadian wrote:
> Source: vtk9
> Severity: normal
> Tags: patch
> User: reproducible-builds at lists.alioth.debian.org
> Usertags: randomness
> X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
>
> Various .html files in the documentation include unsorted arrays:
>
> https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/vtk9.html
>
> /usr/share/doc/vtk9/html/c2_vtk_e_0.html
> 51 <li>3·parser(s)·:·[C++,·Python,·Java]</li>
> 51 <li>3·parser(s)·:·[Java,·Python,·C++]</li>
>
>
> The attached patch fixes this by sorting the parsers array in
> doc_class2example.pl.
>
>
> Thanks for maintaining vtk9!
>
>
> live well,
> vagrant
> From c3f5613299c9dfdee66709674a6cafafb6576137 Mon Sep 17 00:00:00 2001
> From: Vagrant Cascadian <vagrant at reproducible-builds.org>
> Date: Tue, 15 Dec 2020 07:38:56 +0000
> Subject: [PATCH 2/2] doc_class2example.pl: Sort the parsers array.
>
> Thanks to Bernhard M. Wiedemann <bernhardout at lsmod.de>.
> ---
> Utilities/Doxygen/doc_class2example.pl | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/Utilities/Doxygen/doc_class2example.pl b/Utilities/Doxygen/doc_class2example.pl
> index 3978563..ce8aeca 100755
> --- a/Utilities/Doxygen/doc_class2example.pl
> +++ b/Utilities/Doxygen/doc_class2example.pl
> @@ -261,6 +261,7 @@ if (exists $args{"parser"}) {
> } else {
> @parsers = keys %parsers;
> }
> + at parsers = sort @parsers;
>
> my $os_is_win = ($^O =~ m/(MSWin32|Cygwin)/i);
> my $open_file_as_text = $os_is_win ? O_TEXT : 0;
> --
> 2.29.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20201215/d1000893/attachment-0001.sig>
More information about the debian-science-maintainers
mailing list