Source: mini-buildd
Version: 1.0.16
Severity: wishlist
Tags: patch


The current unreproducible status is due to different env HOME value generated
by help2man.

An example patch is provided to fix make the package reproducible.

--- a/mini-buildd
+++ b/mini-buildd
@@ -77,9 +77,9 @@
                                 help="SMTP credentials in format '[USER]:[PASSWORD]@smtp|ssmtp://HOST:PORT'.")
         group_conf.add_argument("-U", "--dedicated-user", action="store", default="mini-buildd",
                                 help="Force a custom dedicated user name (to run as a different user than 'mini-buildd').")
-        group_conf.add_argument("-H", "--home", action="store", default=os.getenv("HOME"),
+        group_conf.add_argument("-H", "--home", action="store", default="$HOME",
                                 help="Run with this home dir. The only use case to change this for debugging, really.")
-        group_conf.add_argument("-F", "--pidfile", action="store", default=os.path.join(os.getenv("HOME"), ""),
+        group_conf.add_argument("-F", "--pidfile", action="store", default=os.path.join("$HOME", ""),
                                 help="Set pidfile path.")
         group_conf.add_argument("-f", "--foreground", action="store_true",
                                 help="Don't daemonize, log to console.")
Reproducible-builds mailing list

Reply via email to