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

Bug#1010785: marked as done (gdome2: reproducible-builds: embedded build paths libgdome.so.*)



Your message dated Wed, 08 Jun 2022 17:04:12 +0000
with message-id <E1nyz6K-0009Jf-Ir@fasolo.debian.org>
and subject line Bug#1010785: fixed in gdome2 0.8.1+debian-8
has caused the Debian Bug report #1010785,
regarding gdome2: reproducible-builds: embedded build paths libgdome.so.*
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.)


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

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

  /build/1st/gdome2-0.8.1+debian/libgdome/gdome.c:65
  vs.
  /build/2/gdome2-0.8.1+debian/2nd/libgdome/gdome.c:65


The attached patch to debian/rules fixes this by passing
-ffile-prefix-map in CFLAGS and ensuring CFLAGS is passed to configure.

Alternately, updating the packaging to use dh/debhelper at a recent
compat level would also likely fix this.


With this patch applied, gdome2 should build reproducibly on
tests.reproducible-builds.org!


live well,
  vagrant
From 65c23dfcbf5fd3a59d4a3141430247225e4d4413 Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Mon, 9 May 2022 23:06:56 +0000
Subject: [PATCH] debian/rules: add -ffile-prefix-map to CFLAGS and ensure
 CFLAGS are passed in the configure phase.

---
 debian/rules | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 5e25754..ae361d7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,13 +11,15 @@ ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
 INSTALL_PROGRAM += -s
 endif
 
+CFLAGS += -ffile-prefix-map=$(CURDIR)=.
+
 configure: configure-stamp
 configure-stamp:
 	dh_testdir
 	cp /usr/share/misc/config.sub /usr/share/misc/config.guess .
 	libtoolize -c -f
 	autoreconf -f -i
-	./configure --prefix=/usr \
+	CFLAGS="$(CFLAGS)" ./configure --prefix=/usr \
 		    --mandir=\$${prefix}/share/man \
 		    --infodir=\$${prefix}/share/info \
 		    --with-html-dir=\$${prefix}/share/doc/libgdome2-dev 
-- 
2.36.0

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: gdome2
Source-Version: 0.8.1+debian-8
Done: Hugh McMaster <hugh.mcmaster@outlook.com>

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

Debian distribution maintenance software
pp.
Hugh McMaster <hugh.mcmaster@outlook.com> (supplier of updated gdome2 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, 08 Jun 2022 10:52:20 +1000
Source: gdome2
Architecture: source
Version: 0.8.1+debian-8
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Hugh McMaster <hugh.mcmaster@outlook.com>
Closes: 875888 895991 949147 1010785
Changes:
 gdome2 (0.8.1+debian-8) unstable; urgency=medium
 .
   * QA upload.
   * debian/copyright: Switch to DEP-5 format.
   * debian/control:
     - Use debhelper-compat v13 (Closes: #875888, #1010785).
     - Raise Standards-Version to 4.6.1 from 3.9.4 (no changes needed).
     - Declare packages Multi-Arch: same.
     - Declare Rules-Requires-Root: no.
     - Build-Depend on pkg-config.
   * debian/patches:
     - Add DEP-3 headers to patches 1 to 4.
     - Patch configure.in to use pkg-config to find libxml2 (Closes: #949147).
     - Update patch 1 to use Autoconf variables instead of calling xml2-config.
   * debian/rules:
     - Switch to the 'dh' build system.
     - Add hardening flags to DEB_BUILD_MAINT_OPTIONS.
   * debian/watch: Update to version 4.
   * libgdome2-0: Add install and symbols files.
   * libgdome2-dev:
     - Add install, docs and examples files.
     - Install gdome2.pc in a multi-arch location (Closes: #895991).
   * Don't install gdome-config, gdomeConf.sh, gdome2.m4 or libgdome.la.
Checksums-Sha1:
 8b454bcab27aa2035866e25f256c3b1654ccd707 1732 gdome2_0.8.1+debian-8.dsc
 bd2f63ebbf58c3fff2a2339d0a19774b6adbed20 10956 gdome2_0.8.1+debian-8.debian.tar.xz
 bbc3c620f8fab91357a1682c2ea12f257b6d65d0 7234 gdome2_0.8.1+debian-8_source.buildinfo
Checksums-Sha256:
 18969e4b70230f112a72f5987487ac1f85ddf172b7a66039ceb4e0fa38cd2019 1732 gdome2_0.8.1+debian-8.dsc
 49aebdb1e05548621efc6cb72bd20f06269e81ba3d916270ef7707cc6dc137e0 10956 gdome2_0.8.1+debian-8.debian.tar.xz
 410b3e4ed706d3d47a779ad0abb645b08965f20e756b86e9720af0f6e04e8691 7234 gdome2_0.8.1+debian-8_source.buildinfo
Files:
 ac633b5b2bf45b2691006b994d9feea8 1732 libdevel optional gdome2_0.8.1+debian-8.dsc
 9b8349f4efeec7fa1ec1094fb09354eb 10956 libdevel optional gdome2_0.8.1+debian-8.debian.tar.xz
 ac315b302c7eac899736577d226bcfca 7234 libdevel optional gdome2_0.8.1+debian-8_source.buildinfo

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

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmKg0fYQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFF0gDADFTw4VuZOVdb527WlEnRZF3unFvCD/2ljk
ipOR6vvUz8SL1QzXfhrc6eZ9hC5q8zgWSF0N1pSnuU093HCI9iKrd9I9gW+omfV3
5HP7CbCuyqmIx944COr8dLug1AICk5zGufPckVPQNfUqfjUefBUUfPq/hVtKF7az
2/nQHmy0+fJI8qRlMBdgWfEmBr0Qj1UCC88VWtZyAN/QsYhgeiq+h9w8v1jlmmNm
lgHRmIaytnkgOzjkSzw75oTzl2QjtEhc9KfQ2nLIxFHVxvJnlhNZo/k8ucpH008k
PB9Zov+5DgNO0qnAtGFme2M7WMv7Ks4aVD5w6MXJmKxrlVG9ugtvM6p6HRVXgCzA
LOWZX16oXYAWHIVY4k+LzmKaWiqzwI6/xLKiPo4S56WiyjqiFKpZsQdlB1jcL0uh
9m3+o0cN+JP0p8yA767C3L2sC+N2pkghKxbHVaYDqZgKfiRR72fT2abYGBCDbiI6
nkvJksYCHLB3b43laXUCH1a0HpLAWEM=
=OKUN
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: