NetBSD Problem Report #50360
From wiz@yt.nih.at Fri Oct 23 07:42:55 2015
Return-Path: <wiz@yt.nih.at>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 91DFEA64EF
for <gnats-bugs@gnats.NetBSD.org>; Fri, 23 Oct 2015 07:42:55 +0000 (UTC)
Message-Id: <20151023074246.992F52AC0E7@yt.nih.at>
Date: Fri, 23 Oct 2015 09:42:46 +0200 (CEST)
From: Thomas Klausner <wiz@NetBSD.org>
Reply-To: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Subject: MKREPRO: dates in roff output files
X-Send-Pr-Version: 3.95
>Number: 50360
>Category: bin
>Synopsis: MKREPRO: dates in roff output files
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: bin-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Oct 23 07:45:00 +0000 2015
>Closed-Date: Wed Dec 23 10:33:34 +0000 2015
>Last-Modified: Wed Dec 23 10:33:34 +0000 2015
>Originator: Thomas Klausner
>Release: NetBSD 7.99.21
>Organization:
Curiosity is the very basis of education and if you tell me that
curiosity killed the cat, I say only that the cat died nobly.
- Arnold Edinborough
>Environment:
Architecture: x86_64
Machine: amd64
>Description:
Multiple files in /usr/share/doc/reference/ contain the current date, even when
built with MKREPRO. Thus multiple runs from the same source on different dates
do not produce the same files.
Affected files (at least):
./usr/share/doc/reference/ref1/mail/mail.ps.gz
./usr/share/doc/reference/ref1/mail/mail.txt
./usr/share/doc/reference/ref1/roff/memacros/memacros.ps.gz
./usr/share/doc/reference/ref1/roff/memacros/memacros.txt
./usr/share/doc/reference/ref1/roff/meref/meref.ps.gz
./usr/share/doc/reference/ref1/roff/meref/meref.txt
./usr/share/doc/reference/ref1/roff/msdiffs/msdiffs.ps.gz
./usr/share/doc/reference/ref1/roff/msdiffs/msdiffs.txt
./usr/share/doc/reference/ref1/vi/vi.ps.gz
./usr/share/doc/reference/ref1/vi/vi.txt
Example difference for vi.txt:
······················October·7,·2015
vs.
······················October·8,·2015
below the header
How-To-Repeat:
build with MKREPRO on two different days.
>How-To-Repeat:
>Fix:
Hardcode the date; or use the date of the file timestamp(s);
or use SOURCE_DATE_EPOCH (see https://reproducible-builds.org/specs/source-date-epoch/)
>Release-Note:
>Audit-Trail:
From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/50360 CVS commit: src/distrib/common
Date: Tue, 24 Nov 2015 19:50:57 -0500
Module Name: src
Committed By: christos
Date: Wed Nov 25 00:50:57 UTC 2015
Modified Files:
src/distrib/common: Makefile.bootcd
src/distrib/common/bootimage: Makefile.bootimage
Log Message:
PR/50360: Thomas Klausner: if MKREPRO is set, provide a consistent timestamp
for the files in the cdroms to be built. For now we copy the timestamp of
<sys/param.h>. We could set an absolute timestamp too like -T 0 for the epoch.
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/distrib/common/Makefile.bootcd
cvs rdiff -u -r1.11 -r1.12 src/distrib/common/bootimage/Makefile.bootimage
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/50360 CVS commit: src/external/bsd/nvi/docs/USD.doc/vi.ref
Date: Tue, 24 Nov 2015 20:08:34 -0500
Module Name: src
Committed By: christos
Date: Wed Nov 25 01:08:34 UTC 2015
Modified Files:
src/external/bsd/nvi/docs/USD.doc/vi.ref: Makefile vi.ref
Log Message:
PR/50360: Thomas Klausner: MKREPRO fix
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/nvi/docs/USD.doc/vi.ref/Makefile
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/nvi/docs/USD.doc/vi.ref/vi.ref
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/50360 CVS commit: src/usr.bin/mail/USD.doc
Date: Tue, 24 Nov 2015 20:12:03 -0500
Module Name: src
Committed By: christos
Date: Wed Nov 25 01:12:03 UTC 2015
Modified Files:
src/usr.bin/mail/USD.doc: Makefile mail0.nr
Log Message:
PR/50360: Thomas Klausner: Fix MKREPRO issue
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/mail/USD.doc/Makefile
cvs rdiff -u -r1.3 -r1.4 src/usr.bin/mail/USD.doc/mail0.nr
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/50360 CVS commit: src/share/doc/usd
Date: Tue, 24 Nov 2015 20:20:12 -0500
Module Name: src
Committed By: christos
Date: Wed Nov 25 01:20:11 UTC 2015
Modified Files:
src/share/doc/usd/18.msdiffs: Makefile ms.diffs
src/share/doc/usd/19.memacros: Makefile intro.me
src/share/doc/usd/20.meref: Makefile ref.me
Log Message:
PR/50360: Thomas Klausner: Fix MKREPRO builds
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/share/doc/usd/18.msdiffs/Makefile
cvs rdiff -u -r1.4 -r1.5 src/share/doc/usd/18.msdiffs/ms.diffs
cvs rdiff -u -r1.4 -r1.5 src/share/doc/usd/19.memacros/Makefile \
src/share/doc/usd/19.memacros/intro.me
cvs rdiff -u -r1.4 -r1.5 src/share/doc/usd/20.meref/Makefile
cvs rdiff -u -r1.7 -r1.8 src/share/doc/usd/20.meref/ref.me
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Wed, 23 Dec 2015 10:33:34 +0000
State-Changed-Why:
I think this is fixed now. Thanks, christos!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.