Debian Bug report logs - #1006254
mdnsd: reproducible-builds: Example Makefiles embed build paths and binary paths

version graph

Package: src:mdnsd; Maintainer for src:mdnsd is Gürkan Myczko <tar@debian.org>;

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

Date: Tue, 22 Feb 2022 02:15:01 UTC

Severity: normal

Tags: patch

Fixed in version mdnsd/0.11-3

Done: Gürkan Myczko <tar@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, Gürkan Myczko <tar@debian.org>:
Bug#1006254; Package src:mdnsd. (Tue, 22 Feb 2022 02:15: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, Gürkan Myczko <tar@debian.org>. (Tue, 22 Feb 2022 02:15: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: mdnsd: reproducible-builds: Example Makefiles embed build paths and binary paths
Date: Mon, 21 Feb 2022 18:10:07 -0800
[Message part 1 (text/plain, inline)]
Source: mdnsd
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 build path and several binary paths are embedded in example
Makefiles shipped in the mdsnd package:

│ │ │ ├── ./usr/share/doc/mdnsd/examples/Makefile
...
│ │ │ │ -ACLOCAL = ${SHELL} '/tmp/reprotest.277oHq/const_build_path/aux/missing' aclocal-1.16
│ │ │ │ +ACLOCAL = ${SHELL} '/tmp/reprotest.277oHq/build-experiment-1/aux/missing' aclocal-1.16


Since these values may differ with the installed system, in order to use
the example Makefile, a person would have to regenerate it from
Makefile.in and/or Makefile.am, which are also provided in the package.

The attached patch fixes this by adjusting debian/mdnsd.examples to
avoid installing the example Makefile.


With this patch applied mdnsd should become reproducible on
tests.reproducible-builds.org!


Thanks for maintaining mdnsd!


live well,
  vagrant
[0001-mdnsd.examples-Avoid-installing-generated-Makefile.patch (text/x-diff, inline)]
From 73985d4b673fbcbfe21e6cd2ccd915a40551bf52 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Tue, 22 Feb 2022 02:00:04 +0000
Subject: [PATCH] mdnsd.examples: Avoid installing generated Makefile.

The generated Makefile embeds full paths to scripts containing the
build path, so would need to be regenerated anyways. It also contains
other differences (e.g. usrmerge vs. non-usrmerge, /bin/sh
implementation differences, etc.) which may not be consistant with the
user's system.
---
 debian/mdnsd.examples | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/mdnsd.examples b/debian/mdnsd.examples
index e39721e..f71db6f 100644
--- a/debian/mdnsd.examples
+++ b/debian/mdnsd.examples
@@ -1 +1,2 @@
-examples/*
+examples/Makefile.*
+examples/*.service
-- 
2.35.1

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

Reply sent to Gürkan Myczko <tar@debian.org>:
You have taken responsibility. (Wed, 23 Feb 2022 21:06:03 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Wed, 23 Feb 2022 21:06:03 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1006254-close@bugs.debian.org
Subject: Bug#1006254: fixed in mdnsd 0.11-3
Date: Wed, 23 Feb 2022 21:03:55 +0000
Source: mdnsd
Source-Version: 0.11-3
Done: Gürkan Myczko <tar@debian.org>

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

Debian distribution maintenance software
pp.
Gürkan Myczko <tar@debian.org> (supplier of updated mdnsd 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: SHA256

Format: 1.8
Date: Wed, 23 Feb 2022 21:36:09 +0100
Source: mdnsd
Architecture: source
Version: 0.11-3
Distribution: unstable
Urgency: medium
Maintainer: Gürkan Myczko <tar@debian.org>
Changed-By: Gürkan Myczko <tar@debian.org>
Closes: 1006254
Changes:
 mdnsd (0.11-3) unstable; urgency=medium
 .
   * Apply patch to resolve reproducible-builds. (Closes: #1006254)
     Thanks Vagrant Cascadian.
Checksums-Sha1:
 3d26887882ebcd00c57f4baa58ec920fa66818ad 1832 mdnsd_0.11-3.dsc
 9ae1b4debf4a0497b834c987e0a72281570e14f4 3248 mdnsd_0.11-3.debian.tar.xz
 e4de552b96cb98c869bc648bc4cca051fbe4906a 6879 mdnsd_0.11-3_source.buildinfo
Checksums-Sha256:
 2a4a43ea1420dbb63117fef7cf7a502ed892ce74f5c942cebd762afc41fc50d5 1832 mdnsd_0.11-3.dsc
 b8c15c35cfcb585da07df9ffc817edd118697430503af5b52abbf35923dc2100 3248 mdnsd_0.11-3.debian.tar.xz
 2e0ffdb888848898fab8a4299e02e8ab4dc3f9b00882dd97bfeba764f7bae130 6879 mdnsd_0.11-3_source.buildinfo
Files:
 c815f27d8355c3332f0b7e2501d62fe2 1832 net optional mdnsd_0.11-3.dsc
 0554ad2e6e17c0a732875d1e4faac830 3248 net optional mdnsd_0.11-3.debian.tar.xz
 aa1d4fb9b0df66f271609ccbd706f33b 6879 net optional mdnsd_0.11-3_source.buildinfo

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

iQIzBAEBCAAdFiEEtgob82PcExn/Co6JEWhSvN91FcAFAmIWm6cACgkQEWhSvN91
FcBiXA//UZO0YYTJM39Laly7JlVDasMpc0lmK24v3LvFZYmHAnnbEYyZXyGRNPjj
3h+8ASP+vgIseGbVxwJpoqjVbVL1IF3aIcWZfbiiX8w1LYgj+rW4k6kaqTMl2IVj
z/6qAJ1SzvYHiTtmuVN7bz7w0qCRN3g4LupTT8UWFXRhV7zKxSlOoXbYSNv/2bSd
LiDR2TeuHb2RZVyjxj4L5WP3p1fj3TLI4tKkbVJAGSo2wJy3o7n3/MKoTS8IIoYj
qIsPH4BCKzM6+JAXf0dph+jeiNCxhBU7tOgTfdgXa+FFrMaCkuoqaFZw7qgkXo7u
cdvg++qilQBeVIJ1NE+gDuX0mSArtAnJEyskBvd+sV1pZelUThBLvJCW7Vx6tTDt
z3g55F7Q+hBxhqcNCF87u1iH1gTADGHycqr1UBqrhdrxIYz2id0x5lZPtVwoT+ih
40z9OZFCze7UJ4T4h8ZtrjOPRXstfrG2ZcAFzMkDAHGsV03iKK/JFnDIdcerB7pt
VGKhHwTaNn/wqOJZXiqU1GutrwBEM28yNu2bbCieiUBchDpH4xNdbVLs1thiz3K/
zpDLTPp0mDZx/9jkyfcE7fsh6LeN94q61VWASfUz0WoGnlJBSX3fnNOq4HH//nPN
nAC6EZvLjglHDsQVZ4i2s25MBX7BnL7GMWc3WJj3jIjlSc/ZZjQ=
=gREw
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 29 Mar 2022 07:26:36 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 10:18:46 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.