Source: breathe
Version: 4.1.0-1
Severity: wishlist
Tags: patch
Usertags: toolchain


Whilst working on the "reproducible builds" effort [0], we noticed that breathe 
can generate non-reproducible output. Patch attached.



     : :'  :     Chris Lamb
     `. `'` /
diff --git a/breathe/ b/breathe/
index 07490e5..63bb424 100644
--- a/breathe/
+++ b/breathe/
@@ -156,7 +156,7 @@ class DoxygenFunctionDirective(BaseDirective):
             # TODO: We're cheating here with the set() as signatures has 
repeating entries for some
             # reason (failures in the matcher_stack code) so we consolidate 
them by shoving them in
             # a set to remove duplicates. Should be fixed!
-            for i, entry in enumerate(set(error.signatures)):
+            for i, entry in enumerate(sorted(set(error.signatures))):
                 if i:
                     literal_text += '\n'
                 # Replace new lines with a new line & enough spacing to reach 
the appropriate
Reproducible-builds mailing list

Reply via email to