Debian Bug report logs - #978407
libcommoncpp2: reproducible builds: Example Makefile contains variable build paths and binary paths

version graph

Package: src:libcommoncpp2; Maintainer for src:libcommoncpp2 is Debian QA Group <packages@qa.debian.org>;

Reported by: Vagrant Cascadian <vagrant@reproducible-builds.org>

Date: Sun, 27 Dec 2020 01:54:02 UTC

Severity: normal

Tags: patch

Fixed in version libcommoncpp2/1.8.1-9

Done: Vagrant Cascadian <vagrant@reproducible-builds.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Debian QA Group <packages@qa.debian.org>:
Bug#978407; Package src:libcommoncpp2. (Sun, 27 Dec 2020 01:54:04 GMT) (full text, mbox, link).


Acknowledgement sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
New Bug report received and forwarded. Copy sent to reproducible-bugs@lists.alioth.debian.org, Debian QA Group <packages@qa.debian.org>. (Sun, 27 Dec 2020 01:54:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Vagrant Cascadian <vagrant@reproducible-builds.org>
To: submit@bugs.debian.org
Subject: libcommoncpp2: reproducible builds: Example Makefile contains variable build paths and binary paths
Date: Sat, 26 Dec 2020 17:51:22 -0800
[Message part 1 (text/plain, inline)]
Source: libcommoncpp2
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath usrmerge shell
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

The included file /usr/share/doc/libcommoncpp2-dev/examples/Makefile.gz
various paths dependent on the build environment:

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

  ACLOCAL·=·${SHELL}·'/build/1st/libcommoncpp2-1.8.1/autoconf/missing'·aclocal-1.16
  vs.
  ACLOCAL·=·${SHELL}·'/build/2/libcommoncpp2-1.8.1/2nd/autoconf/missing'·aclocal-1.16

  EGREP·=·/bin/grep·-E
  vs.
  EGREP·=·/usr/bin/grep·-E


The attached patch fixes this by removing the Makefile from the package,
while preserving the Makefile.in and Makefile.am files needed to
regenerate the Makefile should the user wish to use it.


Thanks for maintaining libcommoncpp2!


live well,
  vagrant
[0001-debian-rules-Remove-example-Makefile.patch (text/x-diff, inline)]
From f9304813d7191100159470e35f64127ed4a20a7c Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sun, 27 Dec 2020 00:17:27 +0000
Subject: [PATCH 1/3] debian/rules: Remove example Makefile.

The Makefile contains information specific to the build environment
such as build paths and paths to specific binaries. Remove it as it
would need to be regenerated on the end user system in order to be
used.
---
 debian/rules | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/rules b/debian/rules
index fec6698..f227c11 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,6 +11,11 @@ override_dh_install:
 override_dh_strip:
 	dh_strip --dbgsym-migration='libcommoncpp2-dbg (<< 1.8.1-7~)'
 
+override_dh_installexamples:
+	dh_installexamples
+	# Remove Makefile which embeds binary paths and build paths
+	rm -f debian/libcommoncpp2-doc/usr/share/doc/libcommoncpp2-dev/examples/Makefile
+
 help2man:
 	/usr/bin/help2man -N -S 'Debian GNU/Linux' -o debian/ccgnu2-config.8 ccgnu2-config \
 	    -n 'script to get information about the installed version of libcommoncpp2'
-- 
2.20.1

[signature.asc (application/pgp-signature, inline)]

Reply sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
You have taken responsibility. (Sun, 27 Dec 2020 03:21:02 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Sun, 27 Dec 2020 03:21:02 GMT) (full text, mbox, link).


Message #10 received at 978407-close@bugs.debian.org (full text, mbox, reply):

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 978407-close@bugs.debian.org
Subject: Bug#978407: fixed in libcommoncpp2 1.8.1-9
Date: Sun, 27 Dec 2020 03:18:33 +0000
Source: libcommoncpp2
Source-Version: 1.8.1-9
Done: Vagrant Cascadian <vagrant@reproducible-builds.org>

We believe that the bug you reported is fixed in the latest version of
libcommoncpp2, 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 978407@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@reproducible-builds.org> (supplier of updated libcommoncpp2 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: Sat, 26 Dec 2020 19:01:39 -0800
Source: libcommoncpp2
Architecture: source
Version: 1.8.1-9
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Vagrant Cascadian <vagrant@reproducible-builds.org>
Closes: 978407 978408
Changes:
 libcommoncpp2 (1.8.1-9) unstable; urgency=medium
 .
   * QA upload.
 .
   [ Debian Janitor ]
   * Use secure URI in debian/watch.
   * Use secure URI in Homepage field.
   * Set debhelper-compat version in Build-Depends.
   * Update standards version to 4.5.0, no changes needed.
 .
   [ Vagrant Cascadian ]
   * debian/rules: Remove example Makefile. (Closes: #978407)
   * debian/control: Update Vcs headers.
   * debian/rules: Rename manpages based on build paths. (Closes: #978408)
   * libcommoncpp2-doc: Refresh lintian overrides.
   * debian/control: Set Rules-Requires-Root to "no".
   * debian/control: Update to debhelper-compat 13.
   * debian/rules: Remove --list-missing argument from dh_install.
   * Fix installation of commoncpp2.info
   * debian/control: Update Standards-Version to 4.5.1.
Checksums-Sha1:
 d6af0ca8c9bbb39b45dd3f95dc3d16159b9370fa 1533 libcommoncpp2_1.8.1-9.dsc
 f7ba53f27afaadf35c35ab6cb60c90172a307a99 12432 libcommoncpp2_1.8.1-9.debian.tar.xz
 197a5b2862d96343dd6dfd86cef19c0d8f1df5c7 6416 libcommoncpp2_1.8.1-9_amd64.buildinfo
Checksums-Sha256:
 1c1001fb77532170280c310892ee9fc91e92f351f26f9b852163c09727516bbd 1533 libcommoncpp2_1.8.1-9.dsc
 080a506092f624cec5913e19149d5b2ec31982c9558d604a83c933a8302e7b84 12432 libcommoncpp2_1.8.1-9.debian.tar.xz
 86c4053af1f666227e6fe3fd94cbc715ed7f07c27d0ff0d4661a3e8db66b1196 6416 libcommoncpp2_1.8.1-9_amd64.buildinfo
Files:
 8f1e0e50df309678ec95d69888b903ed 1533 devel optional libcommoncpp2_1.8.1-9.dsc
 54a420c135995db6dfa40d3f3a84f93b 12432 devel optional libcommoncpp2_1.8.1-9.debian.tar.xz
 aaf8231b36f5f9defb8d9b38eb0cd6d7 6416 devel optional libcommoncpp2_1.8.1-9_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iJYEARYKAD4WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCX+f6ZiAcdmFncmFudEBy
ZXByb2R1Y2libGUtYnVpbGRzLm9yZwAKCRDcUY/If5cWqvRXAP9iPNQVlx67ZuAD
nn2yUeCbXb0yT9bBzHcYiFISKPAiYwD/TuIHzy1nkNnBzqDAzkNbx7j0aQds4H9T
/4rO3a1vRgs=
=N0yT
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 29 Jan 2021 07:24:55 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Wed May 17 12:51:11 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.