Debian Bug report logs - #977561
osmo-hlr: reproducible builds: Example Makefile contains variable build paths and binary paths

version graph

Package: src:osmo-hlr; Maintainer for src:osmo-hlr is Debian Mobcom Maintainers <Debian-mobcom-maintainers@lists.alioth.debian.org>;

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

Date: Wed, 16 Dec 2020 19:21:01 UTC

Severity: normal

Tags: patch

Found in version osmo-hlr/1.7.0+dfsg1-2

Fixed in version osmo-hlr/1.2.1+dfsg1-1

Done: Thorsten Alteholz <debian@alteholz.de>

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 Mobcom Maintainers <Debian-mobcom-maintainers@lists.alioth.debian.org>:
Bug#977561; Package src:osmo-hlr. (Wed, 16 Dec 2020 19:21: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 Mobcom Maintainers <Debian-mobcom-maintainers@lists.alioth.debian.org>. (Wed, 16 Dec 2020 19:21: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: osmo-hlr: reproducible builds: Example Makefile contains variable build paths and binary paths
Date: Wed, 16 Dec 2020 11:19:25 -0800
[Message part 1 (text/plain, inline)]
Source: osmo-hlr
Version: 1.7.0+dfsg1-2
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/osmo-hlr/examples/Makefile contains
various paths dependent on the build environment:

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

  154 ACLOCAL·=·${SHELL}·'/build/1st/osmo-hlr-1.2.0+dfsg1/missing'·aclocal-1.16
  154 ACLOCAL·=·${SHELL}·'/build/2/osmo-hlr-1.2.0+dfsg1/2nd/missing'·aclocal-1.16
  
  176 EGREP·=·/bin/grep·-E
  176 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 osmo-hlr!


live well,
  vagrant
[0001-debian-rules-Remove-example-Makefile.patch (text/x-diff, inline)]
From 5c565cc9d173b988f3f0e47591c3e3251454da31 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Wed, 16 Dec 2020 19:07:33 +0000
Subject: [PATCH] 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 | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index 6a206cc..cf98b80 100755
--- a/debian/rules
+++ b/debian/rules
@@ -24,3 +24,7 @@ override_dh_clean:
 
 override_dh_installsystemd:
 	dh_installsystemd --no-enable --no-start
+
+override_dh_installexamples:
+	dh_installexamples
+	rm -f debian/osmo-hlr/usr/share/doc/osmo-hlr/examples/Makefile
-- 
2.29.2

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

Reply sent to Thorsten Alteholz <debian@alteholz.de>:
You have taken responsibility. (Thu, 07 Jan 2021 10:21:08 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Thu, 07 Jan 2021 10:21:08 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 977561-close@bugs.debian.org
Subject: Bug#977561: fixed in osmo-hlr 1.2.1+dfsg1-1
Date: Thu, 07 Jan 2021 10:18:46 +0000
Source: osmo-hlr
Source-Version: 1.2.1+dfsg1-1
Done: Thorsten Alteholz <debian@alteholz.de>

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

Debian distribution maintenance software
pp.
Thorsten Alteholz <debian@alteholz.de> (supplier of updated osmo-hlr 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, 06 Jan 2021 19:21:23 +0000
Source: osmo-hlr
Architecture: source
Version: 1.2.1+dfsg1-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Mobcom Maintainers <Debian-mobcom-maintainers@lists.alioth.debian.org>
Changed-By: Thorsten Alteholz <debian@alteholz.de>
Closes: 977561
Changes:
 osmo-hlr (1.2.1+dfsg1-1) unstable; urgency=medium
 .
   * New upstream release
   * add 0001-debian-rules-Remove-example-Makefile.patch (Closes: #977561)
     Thanks to Vagrant Cascadian for the patch and making the package
     build reproducible.
Checksums-Sha1:
 1e2325c669a77e555f78c9886bc73ba903b82e61 2482 osmo-hlr_1.2.1+dfsg1-1.dsc
 fff29ba259fdd8d7aabc5d0fa74ea4d98c5cd541 92944 osmo-hlr_1.2.1+dfsg1.orig.tar.xz
 255f0e5845e3b7dfabfdecc5f443a70b193a37b2 4724 osmo-hlr_1.2.1+dfsg1-1.debian.tar.xz
 061444f75135c4ef817557b2442da9f4be2adfae 8087 osmo-hlr_1.2.1+dfsg1-1_amd64.buildinfo
Checksums-Sha256:
 db368652a214fcb2cf6c36d0f87bf4014d21b6054696b6372b06cad06d6b1e91 2482 osmo-hlr_1.2.1+dfsg1-1.dsc
 af904d0a45f346b8c5774311b6bcae244958b03bbfe4cc122fdb412314f12c8a 92944 osmo-hlr_1.2.1+dfsg1.orig.tar.xz
 f1dc80581b58791f8ce00edd920548f96b69f4c5b10884205877e3673cd65cef 4724 osmo-hlr_1.2.1+dfsg1-1.debian.tar.xz
 2ffe7f983eaf0734276f27f0492097b7e4deb76773de6cc7f4420051a50dbfb2 8087 osmo-hlr_1.2.1+dfsg1-1_amd64.buildinfo
Files:
 b0269b91b3fd0989934acdc976de8a46 2482 net optional osmo-hlr_1.2.1+dfsg1-1.dsc
 9c05ff6e8d9bdeaec30f31557b1ae929 92944 net optional osmo-hlr_1.2.1+dfsg1.orig.tar.xz
 147912e19a3327268655c0e00c71f075 4724 net optional osmo-hlr_1.2.1+dfsg1-1.debian.tar.xz
 c05910c2e7321ed002e18f662dd3b965 8087 net optional osmo-hlr_1.2.1+dfsg1-1_amd64.buildinfo

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

iQKnBAEBCgCRFiEEYgH7/9u94Hgi6ruWlvysDTh7WEcFAl/2ENNfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYy
MDFGQkZGREJCREUwNzgyMkVBQkI5Njk2RkNBQzBEMzg3QjU4NDcTHGRlYmlhbkBh
bHRlaG9sei5kZQAKCRCW/KwNOHtYRx1vD/9qFa+vnWVDo6lC9MS5Oie5QNt+m3rS
xFyYiKc6SgOLsydIYCPkJaKCtoEwNTJZCL2MF/7Y9eZboAEdOiSe6cyrGD/gn7vD
X3QTqo1HKBucRL7CUK+fY3ETRUFKPE9Er5hc7AxdfrIgg3+FZhYDV2ECH2/+t28O
3IxKOMhKNgYhg1NSvIc3ZLloS0Ofe6Cuk+5h9/aYXc5mEP7kn87vkP6qBR5YtG8W
sDEfCx4zkkys6gugQGCW8Nv+7Oc2cmljVxwfzZH5Ko9Ou8RxOf5iAy5qh3KlHN+w
41CPwb2stKa2wF61cIFzXMUrdEEb+9skZkYlQWGeVFEbVM8dhn12kV3Kn7plGDEt
YOIzruOZX/adtVOHvy13sqbfE8kkH1Xnv9RCypTnbd24pbQRVXEK9DjtXvXRCzAM
Ls7MiI0aAcTdhoFZkxW4d+T/60i4qcMzAz7FHZRNhlmjZJf3CAxpYcQQr2IwEWkZ
zJ+gCH8WD8qDP7jMhDr9xkKrRbu9inYSPsNIQGOnuh7YEKPZjezbqG4lereDF9YQ
e4T6qUDFVDhkn3njIE4yUFtXKPKw7pY7d6+suOVCbwxJRpfQz1YMUwJ0Xhg0uuHY
LVAqaNTXKRu/KP3Jj8ZgLMKrcs9JmeHMhtRFrMQx/k1jiyU6VEwqpA7IfJ63S4in
HafFkEDhouBFug==
=F22U
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Fri, 05 Feb 2021 07:29:42 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:50:20 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.