Debian Bug report logs - #1010483
coinor-cgl: reproducible-builds: Embedded build path in example Makefile

version graph

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

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

Date: Mon, 2 May 2022 13:48:01 UTC

Severity: normal

Tags: patch

Fixed in version coinor-cgl/0.60.3+repack1-4

Done: Vagrant Cascadian <vagrant@debian.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#1010483; Package src:coinor-cgl. (Mon, 02 May 2022 13:48:03 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>. (Mon, 02 May 2022 13:48:03 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: coinor-cgl: reproducible-builds: Embedded build path in example Makefile
Date: Mon, 02 May 2022 06:45:35 -0700
[Message part 1 (text/plain, inline)]
Source: coinor-cgl
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org

The build path is embedded in /usr/share/doc/coinor-libcgl-doc/examples/Makefile:

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

  CXXFLAGS·=·-g·-O2·-ffile-prefix-map=/build/1st/coinor-cgl-0.60.3+repack1=.·-fstack...
  vs.
  CXXFLAGS·=·-g·-O2·-ffile-prefix-map=/build/2/coinor-cgl-0.60.3+repack1/2nd=.·-fstack...

The attached patch fixes this by replacing the build path with a
placeholder string in debian/rules.


With this patch applied coinor-cgl should build reproducibly on
tests.reproducible-builds.org!


Thanks for maintaining coinor-cgl!


live well,
  vagrant
[0001-debian-rules-Replace-the-build-path-in-example-Makef.patch (text/x-diff, inline)]
From ead6f2b5d0b1e0b03d0f607c6d91fa7ef7db8149 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Mon, 2 May 2022 13:40:30 +0000
Subject: [PATCH] debian/rules: Replace the build path in example Makefile with
 a placeholder string.

https://reproducible-builds.org/docs/build-path/
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index 3e66c59..d471945 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,3 +18,7 @@ override_dh_auto_configure:
 execute_after_dh_auto_build:
 	make doxydoc
 	$(RM) doxydoc/html/*.md5 doxydoc/html/*.dot doxydoc/html/*.map
+
+execute_before_dh_installexamples:
+	# Remove full build path from example Makefile
+	sed -i -e "s,prefix-map=$(CURDIR),prefix-map=BUILDPATH,g" Cgl/examples/Makefile
-- 
2.30.2

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

Reply sent to Vagrant Cascadian <vagrant@debian.org>:
You have taken responsibility. (Tue, 10 May 2022 21:51:05 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Tue, 10 May 2022 21:51:05 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1010483-close@bugs.debian.org
Subject: Bug#1010483: fixed in coinor-cgl 0.60.3+repack1-4
Date: Tue, 10 May 2022 21:48:55 +0000
Source: coinor-cgl
Source-Version: 0.60.3+repack1-4
Done: Vagrant Cascadian <vagrant@debian.org>

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

Debian distribution maintenance software
pp.
Vagrant Cascadian <vagrant@debian.org> (supplier of updated coinor-cgl 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: Tue, 10 May 2022 14:05:35 -0700
Source: coinor-cgl
Architecture: source
Version: 0.60.3+repack1-4
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Vagrant Cascadian <vagrant@debian.org>
Closes: 1010483
Changes:
 coinor-cgl (0.60.3+repack1-4) unstable; urgency=medium
 .
   * QA upload.
   * debian/rules: Replace the build path in example Makefile with a
     placeholder string. (Closes: #1010483)
   * debian/control: Update Vcs-* headers.
   * Update to debhelper-compat 13.
   * debian/control: Set Rules-Requires-Root to "no".
Checksums-Sha1:
 f7e60efe492b3a7497cdd4cf9fafe88b8e5331e9 1682 coinor-cgl_0.60.3+repack1-4.dsc
 3e63d7939eedc4de5a4b59a71beebbaf58c8bda3 10044 coinor-cgl_0.60.3+repack1-4.debian.tar.xz
 a64bf251f219c038bc69a407f0b5c9934ac6e13d 8410 coinor-cgl_0.60.3+repack1-4_arm64.buildinfo
Checksums-Sha256:
 85bc9803a3138a2134dadbd3ad90e0c7dbbdb72221e06af3e9ea7a048c9bbecc 1682 coinor-cgl_0.60.3+repack1-4.dsc
 a258bd369f06051d0a3de973bab24d0fd8187dcfe76c9bce7a25783e2873367a 10044 coinor-cgl_0.60.3+repack1-4.debian.tar.xz
 5f49056f428a496acfc77863198a635d914ed28c10e9881bf8f44d91accd28f5 8410 coinor-cgl_0.60.3+repack1-4_arm64.buildinfo
Files:
 7d4d1c626ef52946da0fc593c0766d78 1682 science optional coinor-cgl_0.60.3+repack1-4.dsc
 48c25046f8f03a6588ca5fb675c6075c 10044 science optional coinor-cgl_0.60.3+repack1-4.debian.tar.xz
 ceab10ea07cc566767f37a424d8e6bba 8410 science optional coinor-cgl_0.60.3+repack1-4_arm64.buildinfo

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

iIkEARYKADEWIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYnrajxMcdmFncmFudEBk
ZWJpYW4ub3JnAAoJENxRj8h/lxaqyOIBAJMAnVzJHkXyU9sA78z6CiM2ynvGZI+c
yXjwZQ2XmildAQCq5WclCt+ohvCP1KjQgzOqfPAPU0GNCXj/b+zkVAxKBA==
=Anf7
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 10 Jun 2022 07:27:05 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:38:14 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.