Your message dated Wed, 25 Oct 2023 23:58:01 +0000
with message-id <e1qvnlb-004kks...@fasolo.debian.org>
and subject line Bug#983303: fixed in imagemagick 8:6.9.12.98+dfsg1-3
has caused the Debian Bug report #983303,
regarding imagemagick: reproducible builds: Embeds different paths on usrmerge
system
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 ow...@bugs.debian.org
immediately.)
--
983303: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983303
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: imagemagick
Severity: normal
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: usrmerge
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Various files embed the full path to the "mv" and "rm" binaries, which
are different on usrmerge systems:
https://tests.reproducible-builds.org/debian/rb-pkg/bullseye/amd64/diffoscope-results/imagemagick.html
/etc/ImageMagick-6/delegates.xml
<delegate·xmlns=""·decode="bpg"·command=""bpgdec"·-b·16·-o·"%o.png"·"%i";·/bin/mv·"%o.png"·"%o""/>
vs.
<delegate·xmlns=""·decode="bpg"·command=""bpgdec"·-b·16·-o·"%o.png"·"%i";·/usr/bin/mv·"%o.png"·"%o""/>
The attached patch fixes this in debian/rules by passing arguments to
configure to use the paths in the non-usrmerge paths, as usrmerge
systems typically have compatibility symlinks, while non-usrmerge
systems do not.
This patch does not resolve all reproducibility issues (a patch for
consistent dates was just submitted), though the main identified issue
is build paths, which is not tested for bullseye.
Thanks for maintaining imagemagick!
live well,
vagrant
From 3bf9713f938ea8cbc1fb91c167a87ac9bb9a27b5 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagr...@reproducible-builds.org>
Date: Mon, 22 Feb 2021 01:23:34 +0000
Subject: [PATCH 2/4] debian/rules: Pass MVDelegate and RMDelegate to
configure.
The path to "mv" and "rm" may end up in binaries or documentation,
which may be /bin/CMD or /usr/bin/CMD depending on if the running
system is a usrmerge system or not. Consistently use /bin/CMD as this
is the most compatible path.
https://tests.reproducible-builds.org/debian/issues/paths_vary_due_to_usrmerge_issue.html
---
debian/rules | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 118f703..cf0a609 100755
--- a/debian/rules
+++ b/debian/rules
@@ -96,7 +96,9 @@ STATIC_CONFIGURE_OPTIONS := \
--without-rsvg
CONFIGURE_OPTIONS ?= $(STATIC_CONFIGURE_OPTIONS) \
$(CONFIGURE_OPTIONS_CACHE) \
- $(CONFIGURE_ARCH_FLAGS)
+ $(CONFIGURE_ARCH_FLAGS) \
+ MVDelegate=/bin/mv \
+ RMDelegate=/bin/rm
# export for alternatives
export MAGICK_PROGRAMS := compare animate convert composite conjure import identify stream display montage mogrify
--
2.20.1
signature.asc
Description: PGP signature
--- End Message ---
--- Begin Message ---
Source: imagemagick
Source-Version: 8:6.9.12.98+dfsg1-3
Done: Bastien Roucariès <ro...@debian.org>
We believe that the bug you reported is fixed in the latest version of
imagemagick, 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 983...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bastien Roucariès <ro...@debian.org> (supplier of updated imagemagick 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 25 Oct 2023 23:30:18 +0000
Source: imagemagick
Architecture: source
Version: 8:6.9.12.98+dfsg1-3
Distribution: unstable
Urgency: medium
Maintainer: ImageMagick Packaging Team
<pkg-gmagick-im-t...@lists.alioth.debian.org>
Changed-By: Bastien Roucariès <ro...@debian.org>
Closes: 983303 1054462
Changes:
imagemagick (8:6.9.12.98+dfsg1-3) unstable; urgency=medium
.
* Bug fix: "imagemagick no longer sets
"PACKAGE_RELEASE_DATE", thanks to Håvard F. Aasen (Closes:
#1054462).
* Bug fix: "reproducible builds: Embeds different paths on usrmerge
system", thanks to Vagrant Cascadian (Closes: #983303).
Checksums-Sha1:
80bde7beb17d53d528ab387acce9701b25bd7f20 5055 imagemagick_6.9.12.98+dfsg1-3.dsc
6ad5baaeed29dca91a7152bdf35360acafee07e2 259992
imagemagick_6.9.12.98+dfsg1-3.debian.tar.xz
aad26f335b56e3fcbf001ee7a8856870fcd725c3 13853
imagemagick_6.9.12.98+dfsg1-3_source.buildinfo
Checksums-Sha256:
989375266743a2855122b8d3c92e59fa8b61cc3ada4cc8d3887b652a0a3d067b 5055
imagemagick_6.9.12.98+dfsg1-3.dsc
72c94f4d2713fcc3e4cf377c4ae16758edb45c9ad6f1c45f3948639c046b2000 259992
imagemagick_6.9.12.98+dfsg1-3.debian.tar.xz
64d3c0dde10642d30992ae32f45dcc7b34adae0021a3afc30b5474480bbe39bf 13853
imagemagick_6.9.12.98+dfsg1-3_source.buildinfo
Files:
ec8904f43bd74fe43e96d7c24a1c8ce2 5055 graphics optional
imagemagick_6.9.12.98+dfsg1-3.dsc
c847f84f86a97c223784952094e23ed4 259992 graphics optional
imagemagick_6.9.12.98+dfsg1-3.debian.tar.xz
19741f735ba85ce2739e9d8fea868727 13853 graphics optional
imagemagick_6.9.12.98+dfsg1-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEEXQGHuUCiRbrXsPVqADoaLapBCF8FAmU5pgYRHHJvdWNhQGRl
Ymlhbi5vcmcACgkQADoaLapBCF+UxA//eyLs8qgmJGK9HBuU69IwewBhvPXoIlA1
ErGSLxpxKzYpy4uNzSC5P8vinHV0PpDb4aqRsVT0Pzro+unFGzm9esWJfBk3PCgH
WYchpJo0bli4UZky/sleR/wejmPusGTsYsfLQn7gGsUxBQ2c8da7Y00ccOd+idCX
y1FesF/acmLpR+B8kYkDPtT+1S9ut9w8VyNGQ/N5lhfQ7X6I0cFoz3Je4IUa7gxG
eJogTmDynIqwhleTzyJQFJKDGlWCY21iXUcdopnnzz/JciOsymSvRqiNpWetyv/8
Dp/b6/4DywZ9fnXVE8WQszaFWWlfMQK7ufhggAaujUqujFRE7rLGkqAoyzTC/4d9
YZyu+s8hSufQN0hhKT47OeD8VDfdciMES8IANy4FCzrNfDIWOkmZh7sLo1Rb7/mf
W9ZhWUjorS5/1ySvcYQEYimtPeKnH60DXT4soE6GzvBkV/lD4YmKbbHrqwAwdT59
dbjWBXyEp0BOj4aL2vf2WFawdOWuhCd/pB8IaYyT/UV7CFv00K78P1lTJQR5c9+i
yly5LxVYoyS68vDtHd73fOsXRa5TLVPjVZv23hj2Q5jl29S3BD1eBHVJ28TaFc8+
XMb18aiippxll3oTA27njIaIm0uDBRTNAEx1c5O9tUpVDuI0muY+bxhkoWjiLyr8
kOyt2oJVSDg=
=M1jr
-----END PGP SIGNATURE-----
--- End Message ---