NetBSD-Bugs archive

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

bin/50360: MKREPRO: dates in roff output files



>Number:         50360
>Category:       bin
>Synopsis:       MKREPRO: dates in roff output files
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 23 07:45:00 +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.
>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/)

>Unformatted:
 	
 	



Home | Main Index | Thread Index | Old Index