--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: intel-gpu-tools: please make the build reproducible
- From: "Chris Lamb" <lamby@debian.org>
- Date: Tue, 19 Nov 2019 13:16:23 -0500
- Message-id: <daf41e7d-cc2d-43a6-ac91-f8f6ae4aade1@sloti26t01>
Source: intel-gpu-tools
Version: 1.24-1
Severity: wishlist
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0] we noticed that
intel-gpu-tools could not be built reproducibly.
This is because it embedded the path to the test directory in the
binary. As we don't even build the tests (according to a comments,
they FTBFS...) my attached patch is almost-certainly harmless.
Patch attached.
[0] https://reproducible-builds.org/
Best wishes,
--
,''`.
: :' : Chris Lamb
`. `'` lamby@debian.org / chris-lamb.co.uk
`-
--- a/debian/patches/0001_Reproducible-builds.patch 1969-12-31 19:00:00.000000000 -0500
--- b/debian/patches/0001_Reproducible-builds.patch 2019-11-19 12:58:31.782550136 -0500
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <lamby@debian.org>
+Last-Update: 2019-11-19
+
+--- intel-gpu-tools-1.24.orig/lib/meson.build
++++ intel-gpu-tools-1.24/lib/meson.build
+@@ -112,7 +112,7 @@ if chamelium.found()
+ lib_sources += 'igt_chamelium_stream.c'
+ endif
+
+-srcdir = join_paths(meson.source_root(), 'tests')
++srcdir = join_paths('.', 'tests')
+
+ lib_version = vcs_tag(input : 'version.h.in', output : 'version.h',
+ fallback : 'NO-GIT',
--- a/debian/patches/series 2019-11-19 10:28:42.584479614 -0500
--- b/debian/patches/series 2019-11-19 12:34:03.769612335 -0500
@@ -1 +1,2 @@
#placeholder
+0001_Reproducible-builds.patch
--- End Message ---
--- Begin Message ---
Source: intel-gpu-tools
Source-Version: 1.27.1-1
Done: Timo Aaltonen <tjaalton@debian.org>
We believe that the bug you reported is fixed in the latest version of
intel-gpu-tools, 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 945105@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Timo Aaltonen <tjaalton@debian.org> (supplier of updated intel-gpu-tools 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 ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 08 Feb 2023 09:40:10 +0200
Source: intel-gpu-tools
Built-For-Profiles: noudeb
Architecture: source
Version: 1.27.1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Timo Aaltonen <tjaalton@debian.org>
Closes: 945105
Changes:
intel-gpu-tools (1.27.1-1) unstable; urgency=medium
.
* New upstream release.
* rules: Set srcdir. (Closes: #945105)
* patches/libproc2_library: Refreshed.
Checksums-Sha1:
49688fac0062479dde987505e2b3bdb78830fc1c 2429 intel-gpu-tools_1.27.1-1.dsc
63f2cd3f1f17df4cdb838032e6394a79e8e63b87 2321940 intel-gpu-tools_1.27.1.orig.tar.xz
1bd6e6b91786f7f456bfe0055c4161c76eaacbf7 14112 intel-gpu-tools_1.27.1-1.debian.tar.xz
12253b9f6adfa39b8dcf77726e09adea14bba128 8552 intel-gpu-tools_1.27.1-1_source.buildinfo
Checksums-Sha256:
4b51ae56876910ad429d192c70e3bf45e55eff46cedda0a6e1632b8b77ceaab4 2429 intel-gpu-tools_1.27.1-1.dsc
93b9a4816ed22b5145bb61024314c8a65caeea991ce93027643f1d40723bf417 2321940 intel-gpu-tools_1.27.1.orig.tar.xz
a872ae6214c15d2746d366768f999ee2d0b03cbef788ad4a0160543bf05b67e4 14112 intel-gpu-tools_1.27.1-1.debian.tar.xz
b3bc9fa6079c8aded29ad30cad0c864abaa657d2276f2fc8c2e034f327aed629 8552 intel-gpu-tools_1.27.1-1_source.buildinfo
Files:
30607b37ffaad4416e188687bcb47df9 2429 x11 optional intel-gpu-tools_1.27.1-1.dsc
62135c26178dc8121e619c4c19d7edcb 2321940 x11 optional intel-gpu-tools_1.27.1.orig.tar.xz
ebd636036f258ef9076b59bacb30af15 14112 x11 optional intel-gpu-tools_1.27.1-1.debian.tar.xz
c22a4995b7ff41f08729048bacbe0d19 8552 x11 optional intel-gpu-tools_1.27.1-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEdS3ifE3rFwGbS2Yjy3AxZaiJhNwFAmPjUgsACgkQy3AxZaiJ
hNxjhRAAlIEVzAE2wPOpjuVZBbapbjSG/wffWegqi2p3NYGx2hQ5ctJsjBaKO2ZH
4y/QgP63RiYKQHX83PGSU7Qb6S4eBVCAZVB1h5OccuZ8VChspf2mKS/fbtm+PmBj
szNkkOWEmY6XeLSwZgk0R7/wixT3xSWIlmVHVxBep6AYALidiWmzrRNQ6oRvEli8
ewAEieyS8lqWU7elgKH+DnZ00XA2j1HkYnFBas/KMmMntewo04kdxHm1WEJlGAAZ
Mko2UzYcMjcdIEP7o60TYNiMx4lljyVi/FUN+yUKLhtcaicLTlSa9BloRNcEoQ1S
C/Tzg2E686BQ/W8ylOrblEx2Okm5Ftshh95VUAAx47Cnh0CoqQEkNAgo0SxPWgmU
es9Xh+LDsReVgDzsY/EDN8PGq/mnJe1pupbVr+B7/oMIQQbkHANfVScftRAyYS+k
ZKfASLTEK/IUVVLh+vKAg1bZu+eiCRIhwP96WH6jbKwRXSTjj05vmzoCzH9da9zb
LSJ2uEwpksQ4aAOqdCcRwSLVL+otPoHIXEV2xqSoPxjXc9YsWei7e8qC3oxh+0OX
EcjmYPDZmhSAxpaFO6K6j+hoX+9puyemQnSdDwjiPwGLJmge/aov35Ecz4Kjkol8
30whQoZVPrIr1Go0qu7FC+BNdgoz8cnWVKqzrhu1jRqRcp60Y2g=
=AyJE
-----END PGP SIGNATURE-----
--- End Message ---