#31264: tar.gz output files contain nonreproducible timestamps ------------------------------+----------------------- Reporter: JeremyRand | Owner: boklm Type: defect | Status: new Priority: Medium | Milestone: Component: Applications/rbm | Version: Severity: Normal | Resolution: Keywords: | Actual Points: Parent ID: | Points: Reviewer: | Sponsor: ------------------------------+-----------------------
Comment (by boklm): Replying to [comment:3 JeremyRand]: > So, would a good solution be to patch http://jqs44zhtxl2uo6gk.onion/builders/rbm.git/tree/lib/RBM/DefaultConfig.pm?id=e04f03f9626e993bb66d7784d258f95ca07bc769#n578 , replacing this: > > tar --no-recursion [% IF c('gnu_utils') -%] > > With this: > > GZIP="--no-name" tar --no-recursion [% IF c('gnu_utils') -%] Yes, that would work. An other place we should patch is the `maketar` function in `lib/RBM.pm`, which is used to generate the source tarballs: {{{ diff --git a/lib/RBM.pm b/lib/RBM.pm index 75912af..087ebe3 100644 --- a/lib/RBM.pm +++ b/lib/RBM.pm @@ -582,7 +582,7 @@ sub maketar { } my %compress = ( xz => ['xz', '-f'], - gz => ['gzip', '-f'], + gz => ['gzip', '--no-name', '-f'], bz2 => ['bzip2', '-f'], ); if (my $c = project_config($project, 'compress_tar', $options)) { }}} -- Ticket URL: <https://trac.torproject.org/projects/tor/ticket/31264#comment:4> Tor Bug Tracker & Wiki <https://trac.torproject.org/> The Tor Project: anonymity online
_______________________________________________ tor-bugs mailing list tor-bugs@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs