Hi Sergey, Paul,
I have been discussing this issue with Richard from yocto and we now know what
is happening.
As I said before, the timestamps are wrong even before creation of packages,
meaning:
plobacz@latitude:/media/plobacz/9582beb9-8774-4d4d-976f-63a6f1c87c13/poky-contrib$
ls --full-time
Hi Paul,
Here is a tentative implementation of the proposed --set-mtime-command
option: [1].
Two new options are implemented: --set-mtime-command=COMMAND, which
defines the shell command which outputs mtime for the archive
member being added, and --set-mtime-format=FMT, which defines the
format o
Hi Piotr,
> And this is happening because yocto is using this sstate-cache which
> is packing the data into archive with another command,
Sorry, I didn't quite get it: do you mean that it uses another archiver,
or just gives another set of options to tar?
Regards,
Sergey
Hi Sergey,
I do not know yet how is it happening is this sstate_cache created from
previous builds or it uses another archiver,
but what I do know is that tar which is in there already got wrong timestamps.
I need to investigate it.
BR
Piotr
Od: Sergey Poznyakoff
Hi, I am attaching the "version bump" commit which is needed to fix
'make dist' command, per Makefile.in (instantiated from Automake):
distdir-am: $(DISTFILES)
@case `sed 15q $(srcdir)/NEWS` in \
*"$(VERSION)"*) : ;; \
*) \
echo "NEWS not updated; not releasin
Hi Sergey again,
do these tar commands in here
https://git.yoctoproject.org/poky/tree/meta/classes-global/sstate.bbclass#n859
may somehow be removing timestamps?
BR
Piotr
Od: bug-tar-bounces+p.lobacz=welotec@gnu.org
w imieniu użytkownika Piotr
Łobacz
Wysłane: wtorek, 1 sierpnia 2023 16:
OK Sergey,
by doing some more tests, I have finally confirmed it that these tar commands
are removing milliseconds from the archive.
By testing I mean that I have added in here
https://git.yoctoproject.org/poky/tree/meta/classes-global/sstate.bbclass#n847
stupid check:
echo "ble ble ble ${SSTAT
Hi Piotr,
> do these tar commands in here
> https://git.yoctoproject.org/poky/tree/meta/classes-global/sstate.bbclass#n859
> may somehow be removing timestamps?
Output archive format is not specified, therefore the default (gnu) is
used. This format keeps timestamps with second precision. That