Your message dated Wed, 03 Feb 2021 16:19:16 +0000
with message-id <[email protected]>
and subject line Bug#966657: fixed in json-c 0.15-2
has caused the Debian Bug report #966657,
regarding json-c: 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.)
--
966657: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=966657
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: json-c
Version: 0.15-1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: buildpath
X-Debbugs-Cc: [email protected]
Hi,
Whilst working on the Reproducible Builds effort [0] we noticed that
json-c could not be built reproducibly.
This is because it used the full, absolute path name as an (sanitised)
input to a filename, resulting in the binary package containing
/usr/share/doc/libjson-c-dev/html/md__build_1st_json-c-0_815_issues_closed_for_0_813.html
^^^^^^^^^^^^^^^^^^^^^^
or
/usr/share/doc/libjson-c-dev/html/md__build_2_json-c-0_815_2nd_issues_closed_for_0_813.html
^^^^^^^^^^^^^^^^^^^^^^^^
(etc. etc.)
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`---- a/debian/patches/0004-reproducible-build.patch 1970-01-01
01:00:00.000000000 +0100
--- b/debian/patches/0004-reproducible-build.patch 2020-08-01
11:08:07.910487246 +0100
@@ -0,0 +1,15 @@
+Description: Make the build reproducible
+Author: Chris Lamb <[email protected]>
+Last-Update: 2020-08-01
+
+--- json-c-0.15.orig/doc/Doxyfile.in
++++ json-c-0.15/doc/Doxyfile.in
+@@ -152,7 +152,7 @@ FULL_PATH_NAMES = NO
+ # will be relative from the directory where doxygen is started.
+ # This tag requires that the tag FULL_PATH_NAMES is set to YES.
+
+-STRIP_FROM_PATH =
++STRIP_FROM_PATH = @CMAKE_SOURCE_DIR@
+
+ # The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the
+ # path mentioned in the documentation of a class, which tells the reader which
--- a/debian/patches/series 2020-08-01 11:03:18.119435139 +0100
--- b/debian/patches/series 2020-08-01 11:05:35.281217833 +0100
@@ -2,3 +2,4 @@
0002-doxygen.patch
0001-CMakeLists-use-GNUInstallDirs.patch
#608.patch
+0004-reproducible-build.patch
--- a/doc/Doxyfile.in 2020-08-01 11:03:18.119435139 +0100
--- b/doc/Doxyfile.in 2020-08-01 11:08:06.946479160 +0100
@@ -152,7 +152,7 @@
# will be relative from the directory where doxygen is started.
# This tag requires that the tag FULL_PATH_NAMES is set to YES.
-STRIP_FROM_PATH =
+STRIP_FROM_PATH = @CMAKE_SOURCE_DIR@
# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the
# path mentioned in the documentation of a class, which tells the reader which
--- End Message ---
--- Begin Message ---
Source: json-c
Source-Version: 0.15-2
Done: Nicolas Mora <[email protected]>
We believe that the bug you reported is fixed in the latest version of
json-c, 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.
Nicolas Mora <[email protected]> (supplier of updated json-c 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: SHA512
Format: 1.8
Date: Wed, 03 Feb 2021 07:28:20 -0500
Source: json-c
Architecture: source
Version: 0.15-2
Distribution: unstable
Urgency: low
Maintainer: Nicolas Mora <[email protected]>
Changed-By: Nicolas Mora <[email protected]>
Closes: 966657
Changes:
json-c (0.15-2) unstable; urgency=low
.
[Debian Janitor]
* Set upstream metadata fields: Bug-Database, Repository, Repository-Browse.
.
[Nicolas Mora]
* d/patches make build reproductible (Closes: #966657)
* d/control: Update standards version to 4.5.1 (no change)
Checksums-Sha1:
50a595c2b4226a4c1c000385df914a9f76a83f7f 2084 json-c_0.15-2.dsc
673595fab1ae532d07f45859b41340a3917a0d9a 11140 json-c_0.15-2.debian.tar.xz
5245ab2010cbc401a898c857162499a3bcc00339 7877 json-c_0.15-2_amd64.buildinfo
Checksums-Sha256:
f16458d0da837e811ebd854182f1d606e95525a362da1da7f99e6a887a571b5f 2084
json-c_0.15-2.dsc
f1282bb4894df30e4061ae7bad88afb6351d62e06f10b0b070603a8107fffde4 11140
json-c_0.15-2.debian.tar.xz
8e4934db7c5641adefbd983d7a47176e79dcb20323150d30acaf8d34bfccacf9 7877
json-c_0.15-2_amd64.buildinfo
Files:
286f1d64af82a9999b8eb4c6a4b67cfc 2084 libs optional json-c_0.15-2.dsc
3d0d93162438e2f5efddf5d2c4633c83 11140 libs optional
json-c_0.15-2.debian.tar.xz
127101a83576dd3ca43471b3e6024b21 7877 libs optional
json-c_0.15-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEhAWwL8wo75dEyPJT/oITlEC9IrkFAmAaymMACgkQ/oITlEC9
IrnxjA//UUdYrw+2ypSBaVed6KEK+tNN1sTO+QPboF+swwZSB+Um8BAQ1LJ+cuzo
sXia7RdfZu8SwSDc3LemuXIS4SoN+zZD/4A/0y/PiWdEJlSluCVCPj8MF1zHteBR
48dPUCzDAXC72Ad4WAaSkTQ+7gTv5gkEWRP/c/KgRXxZmBMT8n+hckerzVs+Fb2X
xRo1KY5+s+N5gE7ozu8YYJUc2efhCuqH/y0+fZ4+3vYwbARS6bTXHtG5jtqtyZ3D
jy3FEXOMnqxdRR502SgwrZlIEfZ04vHDVgsDHDbHWqEsOH+nhPK+LicMXX2BnEc6
AspSJcCUR5n5tu8K9Ahx4kGJGCl/Fk9fFKP9bqW3GmriBkjtfRe3KULAtTAIGLfo
dQU3ySkJnsaNRFybRUiG5Co/QC1Bcq26SQY8FpQ/9DqfRC+/1XkV6Zzat7QZBSh0
skU/k6Sol0zpv3tpqBJW0+c/3Hb1fW7DHUhuce/ieb/jw5+N5rnKybpRlN7IkLcy
YOx55D5tZf4W4QjFKYSsMCuHkQ3Vt3RJmqZZwAFZVH1Jm2xBfr36FOe9T2c+uuAe
ZM84l+ywtqZhsKziIoO4BkGObgpbWXphprr2ppI0kuFQ4wfe58hViq3+KW+AIMes
lCjGTduRvgkk4ZjocMjDk226ctRATpKpNG0I+bYwCbUnxZRq59o=
=+yOp
-----END PGP SIGNATURE-----
--- End Message ---