Source: kristall Severity: normal Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: usrmerge X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
When built on a system without usrmerge applied, the content from manpages is missing if the build environment does not have usrmerge symlinks from /bin to /usr/bin. This is because gem-to-man.awk assumes awk is present at /bin/awk, which is only present on Debian systems if the usrmerge symlink from /bin to /usr/bin is present. https://tests.reproducible-builds.org/debian/rb-pkg/experimental/amd64/diffoscope-results/kristall.html The attached patch changes this to /usr/bin/awk instead, which should be present on all debian systems. With this patch applied, kristall should build reproducibly on tests.reproducible-builds.org! Thanks for maintaining kristall! live well, vagrant
From 8c396a9b405a437d50924572779a6cc57ee32385 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@reproducible-builds.org> Date: Fri, 11 Mar 2022 01:10:22 +0000 Subject: [PATCH 1/3] doc/gem-to-man.awk: Use /usr/bin/awk. The /bin/awk location has not historically been present on Debian systems, and results in missing content when it is not available. This also leads to a different build when built on a usrmerge system where /bin is often a symlink to /usr/bin, resulting in different builds. --- doc/gem-to-man.awk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/gem-to-man.awk b/doc/gem-to-man.awk index dd1f590..db2b3c8 100755 --- a/doc/gem-to-man.awk +++ b/doc/gem-to-man.awk @@ -1,4 +1,4 @@ -#!/bin/awk -f +#!/usr/bin/awk -f BEGIN { preformatted=0 -- 2.30.2
signature.asc
Description: PGP signature