1020651">

Debian Bug report logs - #1020651
xmlrpc-epi: reproducible-builds: Embedded build path in libxmlrpc-epi.so.*

version graph

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

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

Date: Sat, 24 Sep 2022 20:33:02 UTC

Severity: normal

Tags: patch

Fixed in version xmlrpc-epi/0.54.2-1.3

Done: Chris Lamb <lamby@debian.org>

Bug is archived. No further changes may be made.

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, Robin Cornelius <robin.cornelius@gmail.com>:
Bug#1020651; Package src:xmlrpc-epi. (Sat, 24 Sep 2022 20:33: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, Robin Cornelius <robin.cornelius@gmail.com>. (Sat, 24 Sep 2022 20:33: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: xmlrpc-epi: reproducible-builds: Embedded build path in libxmlrpc-epi.so.*
Date: Sat, 24 Sep 2022 13:31:23 -0700
[Message part 1 (text/plain, inline)]
Source: xmlrpc-epi
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/lib/debug/usr/lib/x86_64-linux-gnu/libxmlrpc-epi.so.0.0.3:

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

  0»      (line_strp)» (offset:·0x0):·/build/1st/xmlrpc-epi-0.54.2/src
  vs.
  0»      (line_strp)» (offset:·0x0):·/build/2/xmlrpc-epi-0.54.2/2nd/src  

The attached patch fixes this by passing the -ffile-prefix-map argument
via CFLAGS in debian/rules.

Another option that *might* fix this and other issues would be to switch
to dh and a recent debhelper compat level.


With this patch applied xmlrpc-epi should build reproducibly on
tests.reproducible-builds.org!


Thanks for maintaining xmlrpc-epi!


live well,
  vagrant
[0001-debian-rules-Pass-ffile-prefix-map-via-CFLAGS-to-avo.patch (text/x-diff, inline)]
From 27274f7aa845adc0a9624bebd8bd06a855b3becb Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Sat, 24 Sep 2022 20:22:29 +0000
Subject: [PATCH] debian/rules: Pass -ffile-prefix-map via CFLAGS to avoid
 embedding the build path.

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

diff --git a/debian/rules b/debian/rules
index c268dfb..1747e7c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@ DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
 
-CFLAGS = -Wall -g
+CFLAGS = -Wall -g -ffile-prefix-map=$(CURDIR)=.
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -O0
-- 
2.37.2

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

Information forwarded to debian-bugs-dist@lists.debian.org, Robin Cornelius <robin.cornelius@gmail.com>:
Bug#1020651; Package src:xmlrpc-epi. (Thu, 08 Dec 2022 17:42:02 GMT) (full text, mbox, link).


Acknowledgement sent to "Chris Lamb" <lamby@debian.org>:
Extra info received and forwarded to list. Copy sent to Robin Cornelius <robin.cornelius@gmail.com>. (Thu, 08 Dec 2022 17:42:02 GMT) (full text, mbox, link).


Message #10 received at 1020651@bugs.debian.org (full text, mbox, wrote: > tags 865688 + pending patch > tags 1020651 + pending patch > thanks > > I've just uploaded xmlrpc-epi 0.54.2-1.3 to DELAYED/10: > > xmlrpc-epi (0.54.2-1.3) unstable; urgency=medium > . > * Non-maintainer upload. > * Apply a patch from Helmut Grohne to make the xmlrpc-epi build in a > cross-architecture situation. (Closes: #865688) > * Move to dpkg-buildflags(1) in order to make the build reproducible. > (Closes: #1020651) > > The full debdiff is attached. > > > Regards, > > -- > ,''`. > : :' : Chris Lamb > `. `'` lamby@debian.org / chris-lamb.co.uk > `- &In-Reply-To=<167052112921.1258798.12846412475665875355@copycat>">reply):

From: "Chris Lamb" <lamby@debian.org>
To: 865688@bugs.debian.org, 865688-submitted@bugs.debian.org, 1020651@bugs.debian.org, 1020651-submitter@bugs.debian.org
Subject: Re: xmlrpc-epi: reproducible-builds: Embedded build path in libxmlrpc-epi.so.*
Date: Thu, 08 Dec 2022 17:39:43 +0000
[Message part 1 (text/plain, inline)]
tags 865688 + pending patch
tags 1020651 + pending patch
thanks

I've just uploaded xmlrpc-epi 0.54.2-1.3 to DELAYED/10:
  
  xmlrpc-epi (0.54.2-1.3) unstable; urgency=medium
  .
    * Non-maintainer upload.
    * Apply a patch from Helmut Grohne to make the xmlrpc-epi build in a
      cross-architecture situation. (Closes: #865688)
    * Move to dpkg-buildflags(1) in order to make the build reproducible.
      (Closes: #1020651)

The full debdiff is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org / chris-lamb.co.uk
       `-
[xmlrpc-epi_0.54.2-1.3_amd64.debdiff.txt (text/plain, attachment)]

Added tag(s) pending. Request was from "Chris Lamb" <lamby@debian.org> to control@bugs.debian.org. (Thu, 08 Dec 2022 17:42:05 GMT) (full text, mbox, link).


Message sent on to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug#1020651. (Thu, 08 Dec 2022 17:42:07 GMT) (full text, mbox, link).


Reply sent to Chris Lamb <lamby@debian.org>:
You have taken responsibility. (Mon, 19 Dec 2022 22:24:13 GMT) (full text, mbox, link).


Notification sent to Vagrant Cascadian <vagrant@reproducible-builds.org>:
Bug acknowledged by developer. (Mon, 19 Dec 2022 22:24:13 GMT) (full text, mbox, link).


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

From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
To: 1020651-close@bugs.debian.org
Subject: Bug#1020651: fixed in xmlrpc-epi 0.54.2-1.3
Date: Mon, 19 Dec 2022 22:23:53 +0000
Source: xmlrpc-epi
Source-Version: 0.54.2-1.3
Done: Chris Lamb <lamby@debian.org>

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

Debian distribution maintenance software
pp.
Chris Lamb <lamby@debian.org> (supplier of updated xmlrpc-epi 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: Thu, 08 Dec 2022 17:34:51 +0000
Source: xmlrpc-epi
Binary: libxmlrpc-epi-dev libxmlrpc-epi0 libxmlrpc-epi0-dbg
Architecture: source amd64
Version: 0.54.2-1.3
Distribution: unstable
Urgency: medium
Maintainer: Robin Cornelius <robin.cornelius@gmail.com>
Changed-By: Chris Lamb <lamby@debian.org>
Description:
 libxmlrpc-epi-dev - Development files for libxmlrpc-epi0, a XML-RPC request library
 libxmlrpc-epi0 - XML-RPC request serialisation/deserialisation library
 libxmlrpc-epi0-dbg - Debug symbols for libxmlrpc-epi0, a XML-RPC request library
Closes: 865688 1020651
Changes:
 xmlrpc-epi (0.54.2-1.3) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Apply a patch from Helmut Grohne to make the xmlrpc-epi build in a
     cross-architecture situation. (Closes: #865688)
   * Move to dpkg-buildflags(1) in order to make the build reproducible.
     (Closes: #1020651)
Checksums-Sha1:
 0402a209447c8f812806ac20f81d21115e09ab90 2104 xmlrpc-epi_0.54.2-1.3.dsc
 256a790a6e2a61dc8cd6f99b7fb9c61543e3a3aa 526416 xmlrpc-epi_0.54.2.orig.tar.gz
 926101c80277af0ae5edc6544a2cabffeb4164c9 4759 xmlrpc-epi_0.54.2-1.3.diff.gz
 788294c295c3efaf425591a844358eb0d757fe7d 46656 libxmlrpc-epi-dev_0.54.2-1.3_amd64.deb
 26e40f584070314fb3ea80d0bec0f9a2b7c425b1 76808 libxmlrpc-epi0-dbg_0.54.2-1.3_amd64.deb
 167c09a84fa580fe583917ae463005c183baa824 34504 libxmlrpc-epi0_0.54.2-1.3_amd64.deb
 e474e9813272ef4dce7f47b51e7513ff934c6945 6490 xmlrpc-epi_0.54.2-1.3_amd64.buildinfo
Checksums-Sha256:
 b3b2d3e371e35e553a4aaaef4a264dee1155a540a4515dabe60b0dac2d4d3269 2104 xmlrpc-epi_0.54.2-1.3.dsc
 397b60f39b51a339a2e505da1b9721a31c3e073aaac6c565de240f4e5356cf13 526416 xmlrpc-epi_0.54.2.orig.tar.gz
 f1515ac6fed5131b4f34ab6f4bd11ff623618841a7a61a4f75c5ee90cb8be19b 4759 xmlrpc-epi_0.54.2-1.3.diff.gz
 f255d83aa6696ab60116049dadf45f6266bee04a62494a7822be8f1a2a9be9a7 46656 libxmlrpc-epi-dev_0.54.2-1.3_amd64.deb
 7c1efefa3cddc95d1e7b552f547561d2ef686b873c4805bc2c592f60b97a6979 76808 libxmlrpc-epi0-dbg_0.54.2-1.3_amd64.deb
 803e45d4e97e662ec5c64147e238ba62f78b255f02b4843406f9673a11b13da5 34504 libxmlrpc-epi0_0.54.2-1.3_amd64.deb
 1528664b26ff3331ee02b05cdebff4bbe2d8d41dce66516312dd5c8574a96352 6490 xmlrpc-epi_0.54.2-1.3_amd64.buildinfo
Files:
 01b77c44b5006e0d309ed49830a9d713 2104 libs extra xmlrpc-epi_0.54.2-1.3.dsc
 ea69b51ce4dbdb1a7223e287a4a96a49 526416 libs extra xmlrpc-epi_0.54.2.orig.tar.gz
 c9512ecd4c8ba74504f326855a34cd03 4759 libs extra xmlrpc-epi_0.54.2-1.3.diff.gz
 e761979a9102cb5754dfbbcae5936a7d 46656 libdevel extra libxmlrpc-epi-dev_0.54.2-1.3_amd64.deb
 a1bdf402c4466c29448b79ca36fa8968 76808 debug extra libxmlrpc-epi0-dbg_0.54.2-1.3_amd64.deb
 a3e84868ac35585d8d4b57f3b9a716f5 34504 libs extra libxmlrpc-epi0_0.54.2-1.3_amd64.deb
 2f3a62253d16bc072214d70b7aa49699 6490 libs extra xmlrpc-epi_0.54.2-1.3_amd64.buildinfo

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

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAmOSISgACgkQHpU+J9Qx
HlgzMxAAn/HE8BIIxq2i4cfJHYUqpHg7jsGRM72CMicpC6QaYW4JkEPBhgDmA4pn
Tml5Xw8nFo/Xo7xrJ6pB1GGVQlqbHEMh5gXpo0kDR7ffNy0of3bBsK52F3hENwdd
Nq7B4/aq8rUOb/n80ZU0ePKrtvSMXpCl5lR+HjJs7DO6XYjlxpiAx0/4gGD5KobA
q09Pwo11S/rp8EKh4wsEmQkrmkao3FdsxL/UuYKnNDhUe9IYrOVp7HUcdspjjpuu
L5KOBnpW9Zc3YEwiO23P/0XkhfwLZVgb3K5yy1QHUgkJntkkPN5KuOQBrOEWbPHd
uGPZKwAuq2A8Vl8rjhtU1N2ALrkvCvQewkKPcT09mtav1FunnHyPGU8Mxpb+QBWn
2iRCof5YPzRXcOPLAlH9XdE82H79hwummcW2V9ohyEsOIpcK2XsFykQUKxexQWrB
xS4WnyyeLZkOsY2BKyglEqI6NuTo2Z/sALi79JFOPAsLuyxzSXqgF5MzuOyjrWhB
mXouWz/IX3eCeE3TvMaemznb2fusvr3P7HhTzh6zce0FpvAIu1DoPjVdbTcxv6jF
4+wcZ2FlSZSGCxUIVJOW6hZT96taHTYxhGORNI+PXIe+HUR4LtcGiXkXh/HzTD81
1NHo+OSYHcJivLs9EF+A9qzVWn/cnrVmzb4+nZkiWJLhedJdyD0=
=5BPm
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 22 Jan 2023 07:28:30 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: Fri Jan 31 01:01:48 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General 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.