Your message dated Wed, 24 Jan 2024 18:36:22 +0100
with message-id <[email protected]>
and subject line Re: Bug#990910: p7zip: reproducible builds: parallelism 
triggers differences
has caused the Debian Bug report #990910,
regarding p7zip: reproducible builds: parallelism triggers differences
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.)


-- 
990910: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990910
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: p7zip
Severity: normal
Tags: patch
User: [email protected]
Usertags: randomness
X-Debbugs-Cc: [email protected]

Apparently p7zip includes different paths when built in parallel:

  
https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/p7zip.html

  /usr/lib/p7zip/7z

  ../../../../CPP/myWindows/StdAfx.h:68
  vs.
  ../../../myWindows/StdAfx.h:68


The attached patch fixes this by disabling parallelism during the build.

With this patch applied, p7zip should be reproducible on
tests.reproducible-builds.org.


It may be possible to dig deeper into p7zip to fix the issues with a
parallel build, but I haven't found a good starting point to do so.


Thanks for maintaining p7zip!


live well,
  vagrant
From ef7ff07a47b785e48be34d32810a4a65c5edacee Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <[email protected]>
Date: Sat, 10 Jul 2021 22:42:22 +0000
Subject: [PATCH] debian/rules: Disable parallel builds to enable reproducible
 builds.

---
 debian/rules | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 49bfcac..de763c1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
 
-DH_AUTO_OPTIONS := -v -Smakefile --parallel
+DH_AUTO_OPTIONS := -v -Smakefile
 stampfile       := debian/build-stamp
 
 DEB_BUILD_MAINT_OPTIONS := hardening=+all
@@ -19,7 +19,7 @@ else
 endif
 
 %:
-	dh ${@}
+	dh ${@} --no-parallel
 
 override_dh_auto_clean:
 	# Make sure patches are applied otherwise `make clean' fails
-- 
2.32.0

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: p7zip
Source-Version: 16.02+transitional.1

Vagrant Cascadian pisze:
Source: p7zip
Severity: normal
Tags: patch
User: [email protected]
Usertags: randomness
X-Debbugs-Cc: [email protected]

Apparently p7zip includes different paths when built in parallel

p7zip was changed to transitional package, that should build reproducilby. I'm closing the bug report.

Regards,
robert

--- End Message ---

Reply via email to