watchdog: Fix determinism issue from sendmail host path
PATCH 1/3 watchdog: Fix determinism issue from sendmail host path
The build was injecting the path of the host's sendmail binary. Set this deterministically to match OE's path for it.
Signed-off-by Richard Purdie <[email protected]>
--- meta/recipes-extended/watchdog/watchdog_5.16.bb | 1 + 1 file changed, 1 insertion(+)
meta/recipes-extended/watchdog/watchdog_5.16.bb +1 -0
@@ -28,6 +28,7 @@ CFLAGS += "-I${STAGING_INCDIR}/tirpc" LDFLAGS += "-ltirpc" EXTRA_OECONF += " --disable-nfs " +CACHED_CONFIGUREVARS += "ac_cv_path_PATH_SENDMAIL=${sbindir}/sendmail" INITSCRIPT_PACKAGES = "${PN} ${PN}-keepalive"
Signature · 1 line
2.27.0
PATCH 2/3 vim: Fix a race over creation of the desktop files
The LINGUAS file can be written by two different Makefile targets and if they race, the desktop file contents isn't deterministic.
Fix the makfile to avoid this.
Signed-off-by Richard Purdie <[email protected]>
--- meta/recipes-support/vim/files/racefix.patch | 33 ++++++++++++++++++++ meta/recipes-support/vim/vim.inc | 1 + 2 files changed, 34 insertions(+) create mode 100644 meta/recipes-support/vim/files/racefix.patch
meta/recipes-support/vim/files/racefix.patch new file +33 -0
@@ -0,0 +1,33 @@ +The creation of the LINGUAS file is duplicated for each desktop file +which can lead the commands to race against each other. Rework +the makefile to avoid this as the expense of leaving the file on disk. + +Upstream-Status: Pending +RP 2021/2/15 + +Index: git/src/po/Makefile +=================================================================== +--- git.orig/src/po/Makefile ++++ git/src/po/Makefile +@@ -165,17 +165,16 @@ $(PACKAGE).pot: ../*.c ../if_perl.xs ../ + po/gvim.desktop.in po/vim.desktop.in + mv -f ../$(PACKAGE).po $(PACKAGE).pot + +-vim.desktop: vim.desktop.in $(POFILES) ++LINGUAS: + echo $(LANGUAGES) | tr " " "\n" |sed -e '/\./d' | sort > LINGUAS ++ ++vim.desktop: vim.desktop.in $(POFILES) LINGUAS + $(MSGFMT) --desktop -d . --template vim.desktop.in -o tmp_vim.desktop +- rm -f LINGUAS + if command -v desktop-file-validate; then desktop-file-validate tmp_vim.desktop; fi + mv tmp_vim.desktop vim.desktop + +-gvim.desktop: gvim.desktop.in $(POFILES) +- echo $(LANGUAGES) | tr " " "\n" |sed -e '/\./d' | sort > LINGUAS ++gvim.desktop: gvim.desktop.in $(POFILES) LINGUAS + $(MSGFMT) --desktop -d . --template gvim.desktop.in -o tmp_gvim.desktop +- rm -f LINGUAS + if command -v desktop-file-validate; then desktop-file-validate tmp_gvim.desktop; fi + mv tmp_gvim.desktop gvim.desktop +
meta/recipes-support/vim/vim.inc +1 -0
@@ -12,6 +12,7 @@ SRC_URI = "git://github.com/vim/vim.git \ file://vim-add-knob-whether-elf.h-are-checked.patch \ file://0001-src-Makefile-improve-reproducibility.patch \ file://no-path-adjust.patch \ + file://racefix.patch \ " SRCREV = "98056533b96b6b5d8849641de93185dd7bcadc44"
Signature · 1 line
2.27.0
PATCH 3/3 selftest/reproducible: Update exclusions
In reply to Richard PurdieAdd ruby-ri-docs and meson back as not reproducible, remove watchdog as issue fixed.
Signed-off-by Richard Purdie <[email protected]>
--- meta/lib/oeqa/selftest/cases/reproducible.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
meta/lib/oeqa/selftest/cases/reproducible.py +5 -1
@@ -24,6 +24,9 @@ import datetime # https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20201127-hwds3mcl/ # https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20201203-sua0pzvc/ # (both packages/ and packages-excluded/) + +# ruby-ri-docs, meson: +#https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20210215-0_td9la2/packages/diff-html/ exclude_packages = [ 'acpica-src', 'babeltrace2-ptest',
@@ -53,16 +56,17 @@ exclude_packages = [ 'lttng-tools-dbg', 'lttng-tools-ptest', 'ltp', + 'meson', 'ovmf-shell-efi', 'parted-ptest', 'perf', 'python3-cython', 'qemu', 'rsync', + 'ruby-ri-docs', 'swig', 'syslinux-misc', 'systemd-bootchart', - 'watchdog', 'xmlto', 'xorg-minimal-fonts' ]
Signature · 1 line
2.27.0