From unknown Mon Jun 16 23:49:57 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#28017 <28017@debbugs.gnu.org> To: bug#28017 <28017@debbugs.gnu.org> Subject: Status: [PATCH] Reproducible issue for skalibs Reply-To: bug#28017 <28017@debbugs.gnu.org> Date: Tue, 17 Jun 2025 06:49:57 +0000 retitle 28017 [PATCH] Reproducible issue for skalibs reassign 28017 guix-patches submitter 28017 "Z. Ren" severity 28017 normal tag 28017 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 08 11:29:55 2017 Received: (at submit) by debbugs.gnu.org; 8 Aug 2017 15:29:55 +0000 Received: from localhost ([127.0.0.1]:52144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1df6SA-0008Ku-UL for submit@debbugs.gnu.org; Tue, 08 Aug 2017 11:29:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53995) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dez1S-0003VF-7g for submit@debbugs.gnu.org; Tue, 08 Aug 2017 03:33:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dez1M-0006xz-3Z for submit@debbugs.gnu.org; Tue, 08 Aug 2017 03:33:45 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35410) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dez1M-0006xv-0a for submit@debbugs.gnu.org; Tue, 08 Aug 2017 03:33:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dez1K-0002hx-Mo for guix-patches@gnu.org; Tue, 08 Aug 2017 03:33:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dez1F-0006ws-ND for guix-patches@gnu.org; Tue, 08 Aug 2017 03:33:42 -0400 Received: from mx2.dlut.edu.cn ([202.118.66.81]:52358 helo=dlut.edu.cn) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dez1F-0006wY-2P for guix-patches@gnu.org; Tue, 08 Aug 2017 03:33:37 -0400 Received: by ajax-webmail-mx2 (Coremail) ; Tue, 8 Aug 2017 15:33:34 +0800 (GMT+08:00) X-Originating-IP: [210.30.107.182] Date: Tue, 8 Aug 2017 15:33:34 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: "Z. Ren" To: guix-patches@gnu.org Subject: [PATCH] Reproducible issue for skalibs X-Priority: 3 X-Mailer: Coremail Webmail Server Version 5.0.4 dev build 20151203(78088.8298) Copyright (c) 2002-2017 www.mailtech.cn dlut X-SendMailWithSms: false Content-Type: multipart/mixed; boundary="----=_Part_313554_1115813997.1502177614410" MIME-Version: 1.0 Message-ID: <5b40ba57.16151.15dc0c35a4b.Coremail.zren@dlut.edu.cn> X-Coremail-Locale: en_US X-CM-TRANSID: UUJ2ygBXuvROaYlZK6SAAA--.5573W X-CM-SenderInfo: h2uh0qhgox3hxhgxhubq/1tbiAgAGAlPExfY86wAAs1 X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 08 Aug 2017 11:29:51 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) ------=_Part_313554_1115813997.1502177614410 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi! While conducting a study inspired by the "reproducible builds" practice [1], we have noticed that the package skalibs could not be built reproducibly. After investigation, we observe that the unreproducibility is caused by "Makefile", in which the order of ALL_SRCS is not sorted. Consequently, the file order of the library files "lib/{libskarnet.so.2.3.10.0, skalibs/libskarnet.a}" may not be deterministic. The attached patch sorts the ALL_SRCS list, so that the file order in the libraries is deterministic. Once applied, skalibs could be built reproducibly. [1]: https://wiki.debian.org/ReproducibleBuilds ------=_Part_313554_1115813997.1502177614410 Content-Type: application/octet-stream; name="0001-reproducible-fix-for-skalibs.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="0001-reproducible-fix-for-skalibs.patch" RnJvbSAyNDkzZWRlODY4MjAyY2M0YzMyYTg5YjYxMmNlYzZmNTdkMDdkN2U0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBaLiBSZW4gPHpyZW5AZGx1dC5lZHUuY24+CkRhdGU6IFR1ZSwg OCBBdWcgMjAxNyAxNDo1MDozNSArMDgwMApTdWJqZWN0OiBbUEFUQ0hdIHJlcHJvZHVjaWJsZSBm aXggZm9yIHNrYWxpYnMKCi0tLQogZ251L3BhY2thZ2VzL3NrYXJuZXQuc2NtIHwgOCArKysrKysr LQogMSBmaWxlIGNoYW5nZWQsIDcgaW5zZXJ0aW9ucygrKSwgMSBkZWxldGlvbigtKQoKZGlmZiAt LWdpdCBhL2dudS9wYWNrYWdlcy9za2FybmV0LnNjbSBiL2dudS9wYWNrYWdlcy9za2FybmV0LnNj bQppbmRleCAzN2UwOWQ4NjQuLjRlNzE4OGE0ZiAxMDA2NDQKLS0tIGEvZ251L3BhY2thZ2VzL3Nr YXJuZXQuc2NtCisrKyBiL2dudS9wYWNrYWdlcy9za2FybmV0LnNjbQpAQCAtMzksNyArMzksMTMg QEAKICAgICAoYnVpbGQtc3lzdGVtIGdudS1idWlsZC1zeXN0ZW0pCiAgICAgKGFyZ3VtZW50cwog ICAgICAnKCM6Y29uZmlndXJlLWZsYWdzICcoIi0tZW5hYmxlLWZvcmNlLWRldnIiKSA7IGRvIG5v dCBhbmFseXplIC9kZXYvcmFuZG9tCi0gICAgICAgIzp0ZXN0cz8gI2YpKSA7IG5vIHRlc3RzIGV4 aXN0CisgICAgICAgIzp0ZXN0cz8gI2YgOyBubyB0ZXN0cyBleGlzdAorICAgICAgICM6cGhhc2Vz CisgICAgICAgKG1vZGlmeS1waGFzZXMgJXN0YW5kYXJkLXBoYXNlcworICAgICAgICAoYWRkLWFm dGVyICd1bnBhY2sgJ3JlcHJvZHVjaWJsZQorICAgICAgICAgKGxhbWJkYSBfCisgICAgICAgICAg KHN1YnN0aXR1dGUqICJNYWtlZmlsZSIKKyAgICAgICAgICAgKCgiXFwkXFwoQUxMX1NSQ1M6JS5j PSUub1xcKSIpICIkKHNvcnQgJChBTExfU1JDUzolLmM9JS5vKSkiKSkpKSkpKQogICAgIChob21l LXBhZ2UgImh0dHA6Ly9za2FybmV0Lm9yZy9zb2Z0d2FyZS9za2FsaWJzLyIpCiAgICAgKHN5bm9w c2lzICJQbGF0Zm9ybSBhYnN0cmFjdGlvbiBsaWJyYXJpZXMgZm9yIHNrYXJuZXQub3JnIHNvZnR3 YXJlIikKICAgICAoZGVzY3JpcHRpb24KLS0gCjIuMTEuMAoK ------=_Part_313554_1115813997.1502177614410-- From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 22 08:59:35 2017 Received: (at 28017-done) by debbugs.gnu.org; 22 Aug 2017 12:59:35 +0000 Received: from localhost ([127.0.0.1]:48770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dk8mL-00033f-5H for submit@debbugs.gnu.org; Tue, 22 Aug 2017 08:59:35 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dk8mJ-00033S-Ox for 28017-done@debbugs.gnu.org; Tue, 22 Aug 2017 08:59:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dk8m8-0000oR-SD for 28017-done@debbugs.gnu.org; Tue, 22 Aug 2017 08:59:26 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57298) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dk8m8-0000oL-OP; Tue, 22 Aug 2017 08:59:20 -0400 Received: from [193.50.110.251] (port=38324 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dk8m8-00017U-A8; Tue, 22 Aug 2017 08:59:20 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: "Z. Ren" Subject: Re: [bug#28017] [PATCH] Reproducible issue for skalibs References: <5b40ba57.16151.15dc0c35a4b.Coremail.zren@dlut.edu.cn> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 5 Fructidor an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Tue, 22 Aug 2017 14:59:18 +0200 In-Reply-To: <5b40ba57.16151.15dc0c35a4b.Coremail.zren@dlut.edu.cn> (Z. Ren's message of "Tue, 8 Aug 2017 15:33:34 +0800 (GMT+08:00)") Message-ID: <87valf69nd.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 28017-done Cc: 28017-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hello, "Z. Ren" skribis: > While conducting a study inspired by the "reproducible builds" practice [= 1], we have noticed that the package skalibs could not be built reproducibl= y. > > After investigation, we observe that the unreproducibility is caused by "= Makefile", in which the order of ALL_SRCS is not sorted. Consequently, the = file order of the library files "lib/{libskarnet.so.2.3.10.0, skalibs/libsk= arnet.a}" may not be deterministic. Indeed. Pushed with slight reindentation and a commit message that follows our conventions. Thank you! Ludo=E2=80=99. From unknown Mon Jun 16 23:49:57 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 20 Sep 2017 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator