[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #56080] [octave forge] (dicom) 'make dist' is
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #56080] [octave forge] (dicom) 'make dist' is not reproducible |
Date: |
Sat, 6 Apr 2019 23:43:11 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36 |
Follow-up Comment #3, bug #56080 (project octave):
Yes, tar has several options to override the user, group, mtime, and so on. I
would highly recommend running tar with the options '--owner=0 --group=0
--numeric-owner --sort=name address@hidden', where timestamp is a shell
or make variable containing a time_t integer.
Take a look at the signal package makefile
TAR_REPRODUCIBLE_OPTIONS := --sort=name --mtime="@$(HG_TIMESTAMP)" --owner=0
--group=0 --numeric-owner
TAR_OPTIONS := --format=ustar $(TAR_REPRODUCIBLE_OPTIONS)
I'm not picking on dicom in particular, I just haven't looked at many Forge
packages other than the ones I contribute to until now, and I now realize that
many repos aren't making tarballs with these options, I hope that we can fix
them all.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56080>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/