Package: emoslib
Version: 4.3.9-1
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org

Hi,
While working on the “reproducible builds” effort [1], we have noticed that
emoslib is not reproducible changing shell: debian/rules assume the behaviour
of dash's echo, which is not compatible with bash.

The attached patch (thanks, deki) fixes this behavior.

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


-- System Information:
Architecture: amd64 (x86_64)

Kernel: Linux 4.1.11-1-lts-apparmor (SMP w/8 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/bash
Init: systemd (via /run/systemd/system)
diff -Nur emoslib-4.3.9/debian/changelog emoslib-4.3.9-repr/debian/changelog
--- emoslib-4.3.9/debian/changelog	2016-03-22 19:28:00.000000000 -0400
+++ emoslib-4.3.9-repr/debian/changelog	2016-04-17 10:42:19.868582724 -0400
@@ -1,3 +1,9 @@
+emoslib (2:4.3.9-1.0~reproducible1) UNRELEASED; urgency=medium
+
+  * Solve reproducibility issues with different shells
+
+ -- boyska <piutto...@logorroici.org>  Sun, 17 Apr 2016 10:41:40 -0400
+
 emoslib (2:4.3.9-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nur emoslib-4.3.9/debian/rules emoslib-4.3.9-repr/debian/rules
--- emoslib-4.3.9/debian/rules	2016-03-22 19:28:00.000000000 -0400
+++ emoslib-4.3.9-repr/debian/rules	2016-04-17 10:41:02.746387904 -0400
@@ -96,4 +96,5 @@
 	# Change default from emos to emos_shared to link against shared libs in metview, etc.
 	grep -v LIBEMOS_SELF_LIBRARIES ${CMAKE_DIR}/libemos-config.cmake > ${CMAKE_DIR}/tmp
 	mv ${CMAKE_DIR}/tmp ${CMAKE_DIR}/libemos-config.cmake  
-	echo "\nset( LIBEMOS_SELF_LIBRARIES    "emos_shared" )" >> ${CMAKE_DIR}/libemos-config.cmake 
+	echo >> ${CMAKE_DIR}/libemos-config.cmake 
+	echo "set( LIBEMOS_SELF_LIBRARIES    "emos_shared" )" >> ${CMAKE_DIR}/libemos-config.cmake 
_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to