[Debian-med-packaging] Bug#1142461: Bug#1142461: unicycler: patch to make the build reproducible

Santiago Vila sanvila at debian.org
Mon Jul 20 17:14:52 BST 2026


On Mon, Jul 20, 2026 at 10:38:38AM +0200, Jochen Sprickerhof wrote:
> Source: unicycler
> Version: 0.5.1+dfsg-4
> Severity: normal
> Tags: patch
> 
> Hi,
> 
> unicycler is currently not reproducible:
> 
> https://reproduce.debian.net/amd64/unstable.html#unicycler

Hi. The proposed patch has this:

-SOURCES      = $(shell find unicycler -name "*.cpp")
+SOURCES      = $(shell find unicycler -name "*.cpp" | sort)

which in turn becomes this:

OBJECTS      = $(SOURCES:.cpp=.o)

and finally the OBJECTS are used in this way:

$(TARGET): $(OBJECTS)
        $(CXX) $(FLAGS) $(CXXFLAGS) -Wl,$(SONAME),$(TARGET) -o $(TARGET) $(OBJECTS) $(LDFLAGS)

Would not make sense to fix that at the CXX level? (I imagine a huge
number of similar makefiles which would have to be patched similarly).

Thanks.



More information about the Debian-med-packaging mailing list