[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#978407: marked as done (libcommoncpp2: reproducible builds: Example Makefile contains variable build paths and binary paths)



Your message dated Sun, 27 Dec 2020 03:18:33 +0000
with message-id <E1ktMZl-000F2W-In@fasolo.debian.org>
and subject line Bug#978407: fixed in libcommoncpp2 1.8.1-9
has caused the Debian Bug report #978407,
regarding libcommoncpp2: reproducible builds: Example Makefile contains variable build paths and binary paths
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 owner@bugs.debian.org
immediately.)


-- 
978407: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=978407
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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
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

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
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-----

--- End Message ---

Reply to: