Your message dated Sat, 29 Oct 2016 22:40:13 +0000
with message-id <[email protected]>
and subject line Bug#825674: fixed in libsemanage 2.6-1
has caused the Debian Bug report #825674,
regarding libsemanage: please make the build reproducible
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.)


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

Hi!

While working on the "reproducible builds" effort [1], we have noticed
that libsemanage could not be built reproducibly.
The list of source files is unsorted, which causes a non-deterministic
linking order.

The attached patch fixes this by sorting the list.

Regards,
 Reiner

[1]: https://wiki.debian.org/ReproducibleBuilds
diff --git a/debian/patches/reproducible-build.patch b/debian/patches/reproducible-build.patch
new file mode 100644
index 0000000..dc623e5
--- /dev/null
+++ b/debian/patches/reproducible-build.patch
@@ -0,0 +1,14 @@
+Author: Reiner Herrmann <[email protected]>
+Description: Sort source files to get deterministic linking order
+
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -51,7 +51,7 @@
+ LIBSO=$(TARGET).$(LIBVERSION)
+ 
+ GENERATED=$(SWIGCOUT) $(SWIGRUBYCOUT) semanageswig_python_exception.i
+-SRCS= $(filter-out $(GENERATED),$(wildcard *.c))
++SRCS= $(filter-out $(GENERATED),$(sort $(wildcard *.c)))
+ 
+ OBJS= $(patsubst %.c,%.o,$(SRCS)) conf-scan.o conf-parse.o
+ LOBJS= $(patsubst %.c,%.lo,$(SRCS)) conf-scan.lo conf-parse.lo
diff --git a/debian/patches/series b/debian/patches/series
index 7ec7424..160aae3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ tests-makefile
 disable-expand-check.patch
 libexec-path.patch
 semigrate-store.patch
+reproducible-build.patch

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: libsemanage
Source-Version: 2.6-1

We believe that the bug you reported is fixed in the latest version of
libsemanage, 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.
Laurent Bigonville <[email protected]> (supplier of updated libsemanage 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: Sat, 29 Oct 2016 19:47:52 +0200
Source: libsemanage
Binary: libsemanage-common libsemanage1 libsemanage1-dev ruby-semanage 
python-semanage python3-semanage semanage-utils
Architecture: source all amd64
Version: 2.6-1
Distribution: unstable
Urgency: medium
Maintainer: Debian SELinux maintainers <[email protected]>
Changed-By: Laurent Bigonville <[email protected]>
Description:
 libsemanage-common - Common files for SELinux policy management libraries
 libsemanage1 - SELinux policy management library
 libsemanage1-dev - Header files and libraries for SELinux policy manipulation
 python-semanage - Python bindings for SELinux policy management
 python3-semanage - Python3 bindings for SELinux policy management
 ruby-semanage - Ruby bindings to for SELinux policy management
 semanage-utils - SELinux policy management utilities
Closes: 825674
Changes:
 libsemanage (2.6-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream release
     - Make the build reproducible (Closes: #825674)
     - debian/control: Bump {build-}dependencies to match new release
   * debian/libsemanage1.symbols: Add the Build-Depends-Package field
   * debian/gbp.conf: Rename git-buildpackage section to buildpackage
Checksums-Sha1:
 86f54f40f2ddef7887247758ae3af828d8c247a4 2306 libsemanage_2.6-1.dsc
 60dbea84f178fdc18edfe8a101a9a70fcd6584b1 155897 libsemanage_2.6.orig.tar.gz
 a90aa4a834a27ec5f1e87225dd8a1d887bc118fe 16412 libsemanage_2.6-1.debian.tar.xz
 7d4e602e40b70fa6883f176a4c4bbabf64eb325d 26820 libsemanage-common_2.6-1_all.deb
 e90b2d932028ef0e05784307b38c7387976b06ac 320634 
libsemanage1-dbgsym_2.6-1_amd64.deb
 d2c84675365c55ae5e91aae3629224bbd50e42ac 136782 
libsemanage1-dev_2.6-1_amd64.deb
 67ee0b2598a739baae7dd7dc388bed75f1213327 102562 libsemanage1_2.6-1_amd64.deb
 d9e74a34c5673ccce0d071dca7b91afaf7124f95 167922 
python-semanage-dbgsym_2.6-1_amd64.deb
 27add10eb0592bbf38d95ac850bb4b687e8f0dd1 70170 python-semanage_2.6-1_amd64.deb
 a344e6c81ce678a29de6597b96ae8046ab85ff67 166414 
python3-semanage-dbgsym_2.6-1_amd64.deb
 d34ca37900b5508c324955acbe033d75d4c170a2 69408 python3-semanage_2.6-1_amd64.deb
 ff08aca3a6dda57cbb185fae9475c00859a6ae27 151534 
ruby-semanage-dbgsym_2.6-1_amd64.deb
 ecc8b59567f0a6426c376247b3fb3781da78349d 59372 ruby-semanage_2.6-1_amd64.deb
 fe43b8278da8e75ac0cbad6d335cc564449335e5 26472 semanage-utils_2.6-1_amd64.deb
Checksums-Sha256:
 3dce2a75cbb8be47f6a6d328edcb740eb49a799caa295f440339acfb591bb826 2306 
libsemanage_2.6-1.dsc
 4f81541047290b751f2ffb926fcd381c186f22db18d9fe671b0b4a6a54e8cfce 155897 
libsemanage_2.6.orig.tar.gz
 916c3d75a3a1b0db2988b0756e2241bdfcc57b63229841052493074b2e5d34c1 16412 
libsemanage_2.6-1.debian.tar.xz
 345bf2aca10b0c3c5408abdd99218b530ea50256e1dfb30f59a3cec38350ecf1 26820 
libsemanage-common_2.6-1_all.deb
 13ba24b76b176b7326b46aac2b7f2cfc6dbfbda3c4a682d65813761a9445f9ff 320634 
libsemanage1-dbgsym_2.6-1_amd64.deb
 2f38aa543033f577efb075544bb95203588cac0f7b98f9dddf622839b3319dea 136782 
libsemanage1-dev_2.6-1_amd64.deb
 7979b613f1014baa865d7d3338af3f962c81f5c9c7efd480252e92bfca073e00 102562 
libsemanage1_2.6-1_amd64.deb
 a9959a658bf6bf445a093cb452cfab82a7ee8bd79d819862ad3f04ab9e463096 167922 
python-semanage-dbgsym_2.6-1_amd64.deb
 24abd81565286eb546c5dd42b1ccc622fab20d2723c43e53108b841152dfb6bf 70170 
python-semanage_2.6-1_amd64.deb
 82e5bcca6812bfb1afed11f3a9c457135f2565f6e6d2c3cbce8cb1d0db42edc2 166414 
python3-semanage-dbgsym_2.6-1_amd64.deb
 333f03f4a83e72deea801dc4a98878b81244d8d61915a5ef18d1c982ef3a331c 69408 
python3-semanage_2.6-1_amd64.deb
 740e90830b26dd3b0e2cd999810296192cade6c6bcefffc4838a4e835346ab4c 151534 
ruby-semanage-dbgsym_2.6-1_amd64.deb
 a638dce9e6450d88acfa7c2fec1d53b3309ee8dc86cda468e7416b00028c656c 59372 
ruby-semanage_2.6-1_amd64.deb
 bc6ad50f50fb6dd749202ec3966d8729d5282f09b798ffcf145c62f2d83b5af3 26472 
semanage-utils_2.6-1_amd64.deb
Files:
 2fac5730c09bae1697ffd4655b3b845f 2306 libdevel optional libsemanage_2.6-1.dsc
 666a48c4058c07f2b07ede9eaf210c5f 155897 libdevel optional 
libsemanage_2.6.orig.tar.gz
 4a53fc943b842ca181ef2c745a6d37b9 16412 libdevel optional 
libsemanage_2.6-1.debian.tar.xz
 8ff5cbd2ccbcf7619edb06312a5120e3 26820 libs optional 
libsemanage-common_2.6-1_all.deb
 d87bc5ec3edfc180cf5149594b92f6a0 320634 debug extra 
libsemanage1-dbgsym_2.6-1_amd64.deb
 03ea22a80380fc9c850f0e70b34d5fe5 136782 libdevel optional 
libsemanage1-dev_2.6-1_amd64.deb
 a4d2b481f3a8cde75778e82a823fe4cc 102562 libs optional 
libsemanage1_2.6-1_amd64.deb
 c9247d48bc3fc72936a8282e8e956286 167922 debug extra 
python-semanage-dbgsym_2.6-1_amd64.deb
 6f6f8acd1875c0c8925b84faed2e199e 70170 python optional 
python-semanage_2.6-1_amd64.deb
 823714415b9fe7e604b4db21e8d89740 166414 debug extra 
python3-semanage-dbgsym_2.6-1_amd64.deb
 7cbb77d4d6659d75a301e37c3e479887 69408 python optional 
python3-semanage_2.6-1_amd64.deb
 b7ac9fda70c868697f0a4f250719cb24 151534 debug extra 
ruby-semanage-dbgsym_2.6-1_amd64.deb
 c4c0a1f4db05c2e8595a44fc1092da0a 59372 ruby optional 
ruby-semanage_2.6-1_amd64.deb
 9cd005290539526ed13ef07d20e43ae8 26472 admin optional 
semanage-utils_2.6-1_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQEuBAEBCAAYBQJYFRuAERxiaWdvbkBkZWJpYW4ub3JnAAoJEB/FiR66sEPVrmUH
/25hlJ2n+u4bi+kzPOegT8BAeww38UnHasmmFYF9aHMNlLYtuwIiwcr6XQgVAPwk
Smo6uN9hfFLStMEDichZQjvUkExUgfuKa/LTe41bIKgggBxV+eVllwrs32Q6T9Z7
DjWFxGaMJuFWlppZYetQSbFIU740eMHS7RgNxK03zRx844Gdjm9eOp55bpuGYQGg
+oFLkQxza3VaysAB7zKmrxD1Nr5YSLiMK5dH+HK+ADaMedFqcEI02baR+JZkbtyz
CvbbcWFwO2/e5be03s4P36oVD1214Jc44R05CA9/ZY1lBbKngrrTtHsi8T39ip1A
y6Zu/8YK8er9hjdq+X1+sBY=
=eVzM
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
SELinux-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/selinux-devel

Reply via email to