Debian Bug report logs -
#1024284
gentoo: reproducible-builds: home directory embedded in /usr/bin/gentoo
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, reproducible-bugs@lists.alioth.debian.org, Debian QA Group <packages@qa.debian.org>:
Bug#1024284; Package src:gentoo.
(Wed, 16 Nov 2022 23:42:05 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>.
(Wed, 16 Nov 2022 23:42:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Source: gentoo
Severity: normal
Tags: patch
User: reproducible-builds@lists.alioth.debian.org
Usertags: environment
X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
The home directory of the build user is embedded in /usr/bin/gentoo:
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/gentoo.html
The attached patch to src/Makefile.am fixes this by adding setting the
configuration option to a fixed value.
According to my local tests, with this patch applied, gentoo should
build reproducibly on tests.reproducible-builds.org!
Thanks for maintaining gentoo!
live well,
vagrant
[0001-src-Makefile.am-Do-not-embed-the-build-user-s-home-d.patch (text/x-diff, inline)]
From 2445243834ff430f55ed0e6bfa2abb4846a2f9dc Mon Sep 17 00:00:00 2001
From: Vagrant Cascadian <vagrant@reproducible-builds.org>
Date: Wed, 16 Nov 2022 23:33:50 +0000
Subject: [PATCH] src/Makefile.am: Do not embed the build user's home directory
---
src/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index eb0194c..07bd08b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -203,7 +203,7 @@ localedir=@localedir@
AM_CFLAGS=@GENTOO_CFLAGS@ @GTK_CFLAGS@ -I../widgets \
-DPATH_CFG=\"$(sysconfdir)\" \
- -DPATH_GRC=\"$$HOME/\" \
+ -DPATH_GRC=\"/nonexistent/\" \
-DPATH_ICN=\"$(datadir)/gentoo/icons\"\
-DLOCALEDIR=\"$(localedir)\"
--
2.38.1
[signature.asc (application/pgp-signature, inline)]
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 11:32:03 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.