unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#23307: VLC does not build deterministically
@ 2016-04-18 11:46 Ludovic Courtès
  2016-04-18 13:42 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Ludovic Courtès @ 2016-04-18 11:46 UTC (permalink / raw)
  To: 23307

[-- Attachment #1: Type: text/plain, Size: 772 bytes --]

Commit 4ef2721b52c4929aac15db4f8b39702cd37955a1 fixed an obvious
timestamp-related reproducibility issue in VLC 2.2.1, but there remains
a problem with the ‘lib/vlc/plugins/plugins.dat’ whose contents differ
across rebuilds by a few 32-bit values (see attached diffoscope output.)

The ‘plugins.dat’ file is generated by this rule in bin/Makefile.am:

--8<---------------cut here---------------start------------->8---
../modules/plugins.dat: vlc-cache-gen$(EXEEXT)
	$(AM_V_at)rm -f ../modules/plugins.dat
	$(AM_V_GEN)if test "$(build)" = "$(host)"; then \
		./vlc-cache-gen$(EXEEXT) ../modules ; \
	else \
		echo "Cross-compilation: cache generation skipped!" ; \
	fi
--8<---------------cut here---------------end--------------->8---

Ludo’.


[-- Attachment #2: diffoscope output --]
[-- Type: application/octet-stream, Size: 90415 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#23307: VLC does not build deterministically
  2016-04-18 11:46 bug#23307: VLC does not build deterministically Ludovic Courtès
@ 2016-04-18 13:42 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2016-04-18 13:42 UTC (permalink / raw)
  To: 23307-done

ludo@gnu.org (Ludovic Courtès) skribis:

> Commit 4ef2721b52c4929aac15db4f8b39702cd37955a1 fixed an obvious
> timestamp-related reproducibility issue in VLC 2.2.1, but there remains
> a problem with the ‘lib/vlc/plugins/plugins.dat’ whose contents differ
> across rebuilds by a few 32-bit values (see attached diffoscope output.)
>
> The ‘plugins.dat’ file is generated by this rule in bin/Makefile.am:
>
> ../modules/plugins.dat: vlc-cache-gen$(EXEEXT)
> 	$(AM_V_at)rm -f ../modules/plugins.dat
> 	$(AM_V_GEN)if test "$(build)" = "$(host)"; then \
> 		./vlc-cache-gen$(EXEEXT) ../modules ; \
> 	else \
> 		echo "Cross-compilation: cache generation skipped!" ; \
> 	fi

Turned out to be simple:

  http://git.savannah.gnu.org/cgit/guix.git/commit/?id=cd76fbde6f70a6c0087f9330c266d51e334a0679

Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-18 13:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-18 11:46 bug#23307: VLC does not build deterministically Ludovic Courtès
2016-04-18 13:42 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).