Notes for gdb - reproducible builds result

Version annotated: 7.7.1+dfsg-5
Identified issues:
Identifier: timestamps_in_jar
URL https://wiki.debian.org/ReproducibleBuilds/TimestampsInJarFiles
Description jar (Java Archive) file stores mtimes. Most often of files generated during
the build.
Identifier: timestamps_in_dvi_generated_by_latex
URL https://wiki.debian.org/ReproducibleBuilds/TimestampsInDviGeneratedByLaTeX
Description The creation date of the DVI file is the current time.
Identifier: captures_build_path
Description Captures build path, e.g., /build/1st/foo-42.0 v. /build/foo-42.0/2nd
Currently we vary the build path only when testing packages from unstable
and experimental, for testing and stable we recommend that rebuilds are done in the
same path as the original build.
.
This issue is only for miscellaneous issues which need individual fixes,
please create new issues for specific issues, e.g. gcc_captures_build_path.
.
Here follows some general tips for packages using the standard GNU toolchain:
.
If using autoconf, make sure you call ./configure via a relative and not absolute path.
.
If your issue is related to using the `__FILE__` macro, or the recording of
--debug-prefix-map flags in non-GCC non-debugging output, this is what is
fixed by our patch mentioned above; you should not need to fix it
specifically in your package.
.
For more background information see:
.
• https://alioth-lists.debian.net/pipermail/reproducible-builds/Week-of-Mon-20160822/006788.html
• https://alioth-lists.debian.net/pipermail/reproducible-builds/Week-of-Mon-20160905/006984.html
• https://alioth-lists.debian.net/pipermail/reproducible-builds/Week-of-Mon-20160912/007076.html
Identifier: timestamps_in_ps_generated_by_dvips
Description eg. %%CreationDate (or DVIPSSource?) in header
.
https://sources.debian.net/src/texlive-bin/latest/texk/web2c/pdftexdir/pdftex.web/#L14449
.
DVIPSSource date Can be set to SOURCE_DATE_EPOCH by setting FORCE_SOURCE_DATE to 1.
Identifier: different_due_to_umask
Description Files have varying permissions because of different umasks.
Identifier: test_suite_logs
Description Package embeds test suite logs, which may include a variety of
issues such as timestamps, timing information, kernel, username,
hostname, etc.
Comments: Capture build time and hostname in
/usr/share/doc/gdb/check.log.gz
export FORCE_SOURCE_DATE=1 in debian/rules did not fix dvi/ps
issues.
 

Our notes about issues affecting packages are stored in notes.git and are targeted at packages in Debian in 'unstable/amd64' (unless they say otherwise).