Your message dated Thu, 12 May 2016 04:15:05 +0000
with message-id <[email protected]>
and subject line Bug#822566: fixed in stk 4.5.2+dfsg-2
has caused the Debian Bug report #822566,
regarding stk: please make the build reproducible (fileordering)
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.)


-- 
822566: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822566
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: stk
Version: 4.5.0-3
Severity: wishlist
Tags: patch upstream
User: [email protected]
Usertags: fileordering
X-Debbugs-Cc: [email protected]

Dear Maintainer,

While working on the “reproducible builds” effort [1], we have noticed
that 'stk' could not be built reproducibly.

The attached patch fixes the order in which *.o files are merged. Once
applied, stk can be built reproducibly in our current experimental
framework.

Regards,
Alexis Bienvenüe.

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



diff -Nru stk-4.5.0/debian/changelog stk-4.5.0/debian/changelog
--- stk-4.5.0/debian/changelog	2015-12-11 02:39:07.000000000 +0100
+++ stk-4.5.0/debian/changelog	2016-04-25 14:30:42.000000000 +0200
@@ -1,3 +1,9 @@
+stk (4.5.0-3.0~reproducible1) unstable; urgency=medium
+
+  * Sort *.o files when building shared lib, to get reproducible build.
+
+ -- Alexis Bienvenüe <[email protected]>  Mon, 25 Apr 2016 14:30:42 +0200
+
 stk (4.5.0-3) unstable; urgency=medium
 
   * Use autotools_dev again to get up-to-date config.{sub,guess}
diff -Nru stk-4.5.0/debian/patches/0007-Sort-o-files stk-4.5.0/debian/patches/0007-Sort-o-files
--- stk-4.5.0/debian/patches/0007-Sort-o-files	1970-01-01 01:00:00.000000000 +0100
+++ stk-4.5.0/debian/patches/0007-Sort-o-files	2016-04-25 14:59:52.000000000 +0200
@@ -0,0 +1,83 @@
+Description: Sort *.o files
+ Fix the order in which *.o files are merged to build the shared lib,
+ to get reproducible build.
+Author: Alexis Bienvenüe <[email protected]>
+
+Index: stk-4.5.0/src/Makefile.in
+===================================================================
+--- stk-4.5.0.orig/src/Makefile.in
++++ stk-4.5.0/src/Makefile.in
+@@ -90,7 +90,7 @@ $(STATICLIB) : $(OBJECTS)
+ 
+ $(SHAREDLIB) : $(OBJECTS)
+ 	$(RM) -f $(@) $(SHAREDLIB).$(MAJOR) $(SHAREDLIB)
+-	$(CC) $(LDFLAGS) -fPIC @libflags@ $(OBJECT_PATH)/*.o $(LIBS)
++	$(CC) $(LDFLAGS) -fPIC @libflags@ `LC_ALL=C ls $(OBJECT_PATH)/*.o` $(LIBS)
+ 	$(LN) -s @sharedname@ $(SHAREDLIB)
+ 
+ install-headers:
+Index: stk-4.5.0/projects/demo/Makefile.in
+===================================================================
+--- stk-4.5.0.orig/projects/demo/Makefile.in
++++ stk-4.5.0/projects/demo/Makefile.in
+@@ -63,7 +63,7 @@ $(OBJECT_PATH)/.placeholder:
+ 	touch $(OBJECT_PATH)/.placeholder
+ 
+ stk-demo: demo.cpp $(OBJECTS)
+-	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o stk-demo demo.cpp $(OBJECT_PATH)/*.o $(LIBRARY)
++	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o stk-demo demo.cpp `LC_ALL=C ls $(OBJECT_PATH)/*.o` $(LIBRARY)
+ 
+ libdemo: demo.cpp
+ 	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o demo utilities.cpp demo.cpp -L../../src -lstk $(LIBRARY)
+Index: stk-4.5.0/projects/effects/Makefile.in
+===================================================================
+--- stk-4.5.0.orig/projects/effects/Makefile.in
++++ stk-4.5.0/projects/effects/Makefile.in
+@@ -52,7 +52,7 @@ $(OBJECT_PATH)/.placeholder:
+ 	touch $(OBJECT_PATH)/.placeholder
+ 
+ effects: effects.cpp $(OBJECTS)
+-	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o effects effects.cpp $(OBJECT_PATH)/*.o $(LIBRARY)
++	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o effects effects.cpp `LC_ALL=C ls $(OBJECT_PATH)/*.o` $(LIBRARY)
+ 
+ libeffects: effects.cpp
+ 	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o effects effects.cpp -L../../src -lstk $(LIBRARY)
+Index: stk-4.5.0/projects/eguitar/Makefile.in
+===================================================================
+--- stk-4.5.0.orig/projects/eguitar/Makefile.in
++++ stk-4.5.0/projects/eguitar/Makefile.in
+@@ -52,7 +52,7 @@ $(OBJECT_PATH)/.placeholder:
+ 	touch $(OBJECT_PATH)/.placeholder
+ 
+ eguitar: eguitar.cpp $(OBJECTS)
+-	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o eguitar eguitar.cpp $(OBJECT_PATH)/*.o $(LIBRARY)
++	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o eguitar eguitar.cpp `LC_ALL=C ls $(OBJECT_PATH)/*.o` $(LIBRARY)
+ 
+ libeguitar: eguitar.cpp
+ 	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o eguitar utilities.cpp eguitar.cpp -L../../src -lstk $(LIBRARY)
+Index: stk-4.5.0/projects/examples/Makefile.in
+===================================================================
+--- stk-4.5.0.orig/projects/examples/Makefile.in
++++ stk-4.5.0/projects/examples/Makefile.in
+@@ -57,7 +57,7 @@ strip :
+ 	strip $(PROGRAMS)
+ 
+ audioprobe: @objects@
+-	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o audioprobe audioprobe.cpp $(OBJECT_PATH)/*.o $(LIBRARY) -lrtaudio
++	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o audioprobe audioprobe.cpp `LC_ALL=C ls $(OBJECT_PATH)/*.o` $(LIBRARY) -lrtaudio
+ 
+ midiprobe:
+ 	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o midiprobe midiprobe.cpp $(LIBRARY) -lrtmidi
+Index: stk-4.5.0/projects/ragamatic/Makefile.in
+===================================================================
+--- stk-4.5.0.orig/projects/ragamatic/Makefile.in
++++ stk-4.5.0/projects/ragamatic/Makefile.in
+@@ -53,7 +53,7 @@ $(OBJECT_PATH)/.placeholder:
+ 	touch $(OBJECT_PATH)/.placeholder
+ 
+ ragamat: ragamat.cpp $(OBJECTS)
+-	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o ragamat ragamat.cpp $(OBJECT_PATH)/*.o $(LIBRARY)
++	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o ragamat ragamat.cpp `LC_ALL=C ls $(OBJECT_PATH)/*.o` $(LIBRARY)
+ 
+ libragamat: ragamat.cpp Tabla.cpp Drone.cpp VoicDrum.cpp
+ 	$(CC) $(LDFLAGS) $(CFLAGS) $(DEFS) -o ragamat Tabla.cpp Drone.cpp VoicDrum.cpp ragamat.cpp -L../../src -lstk $(LIBRARY)
diff -Nru stk-4.5.0/debian/patches/series stk-4.5.0/debian/patches/series
--- stk-4.5.0/debian/patches/series	2015-12-11 02:39:07.000000000 +0100
+++ stk-4.5.0/debian/patches/series	2016-04-25 15:01:02.000000000 +0200
@@ -4,3 +4,4 @@
 0004-File-endian.h-is-not-on-machine-subdir.patch
 0005-Fix-install-target-for-new-soname-scheme.patch
 0006-Install-missing-include-files-SKINI.msg-and-SKINI.tb.patch
+0007-Sort-o-files

--- End Message ---
--- Begin Message ---
Source: stk
Source-Version: 4.5.2+dfsg-2

We believe that the bug you reported is fixed in the latest version of
stk, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Felipe Sateler <[email protected]> (supplier of updated stk 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 12 May 2016 00:09:16 -0300
Source: stk
Binary: libstk0-dev libstk-4.5.0 stk stk-doc
Architecture: source
Version: 4.5.2+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers 
<[email protected]>
Changed-By: Felipe Sateler <[email protected]>
Description:
 libstk-4.5.0 - Sound Synthesis Toolkit
 libstk0-dev - Sound Synthesis Toolkit (development files)
 stk        - Sound Synthesis Toolkit (example applications)
 stk-doc    - Sound Synthesis Toolkit (documentation)
Closes: 815509 822566
Changes:
 stk (4.5.2+dfsg-2) unstable; urgency=medium
 .
   [ Felipe Sateler ]
   * Do not remove Rt{Audio,Midi}, they are not installed anymore
   * Bump standards version
   * Only build demo program when realtime is enabled (Closes: #815509)
   * Remove stale files on clean
 .
   [ Alexis Bienvenüe ]
   * Fix order of .o files (Closes: #822566)
Checksums-Sha1:
 b055d7d8a4623a438196c37186d470963b4941c2 2351 stk_4.5.2+dfsg-2.dsc
 b3f09cbdae2ffdb18615f05e04d82741790fffb1 14528 stk_4.5.2+dfsg-2.debian.tar.xz
Checksums-Sha256:
 c25e1d95122490e91a736a8e317a846684174cf9d854698a624d9ab2fb11d082 2351 
stk_4.5.2+dfsg-2.dsc
 38da867d85b7720581dc960da09f18ac3498102c5b572b013010d35b39896d37 14528 
stk_4.5.2+dfsg-2.debian.tar.xz
Files:
 62fdef211f6ab890259d608059b3896f 2351 sound optional stk_4.5.2+dfsg-2.dsc
 f8a20a962afe3122d4f7dc07a5b33ae3 14528 sound optional 
stk_4.5.2+dfsg-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJXM/RMAAoJEKO6uuJAjdbPAhgP/3OEXlSg657WOil8DjQ6kB5G
74Sjuw+G05Brhbw3NGuvi/cmh5BlbyGaywz7a9HSlLsxFNAz0GFAZH5G+zkSHA2d
oQv4rj1R2YBsk4CO527dADLie8t7CZ8DWYf2b3vmodA35thEScYwDLZYMB/COn0O
suPs9/NcD+aRhzdbQ8/knEIiSzoOajPkwF5gL+8fXMv/A9qz2cLKUiEIRuoKRF73
DyRsNptPLuJzKhj8+ZwsACGpNUeWzV0HQLBSbnUoa0j3XXhObRQsF/dosUxt3WXG
3uZP/GBFGKRW5c4m+jZxaYZZX3xLLlbGUtq4vg1qNRMPLHRdcJZ4hybl6KPkFRJS
0BkSPHkiatjmfsDV7y9a2IjySQS+2hh3Dz0ZbqlONAm+CcXrxoIYe8CcHOi2HcRG
3+zrgc1AUdJBFEOxigMOkQL33A6RCgECfvmbtgI3GeLnaJOGZpT2t4PG3V1yTXR4
KKa9epNMHH/1Ft2U4Oz9PKLRq34GyshpJFwe/Z//sV1QSjWJn4lIU9z641T0ML9n
BjwyveocZeP+YJ6OHVg+/78aYnDTmqeM2hkvwzyWOOIXUv0d2fQRoiaqEQOH2yip
yml081RTKzj4rfptO/PatR4YnU3Tyjq8pU/XDKF5FTgOo+t2ZrCiUOsf0uyPrhS1
kVhlSpXHPjBTmcEWXFHh
=t2Mr
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to