Created attachment 466972 [details] Generated version.c file Looking at mcelogs Makefile the problem seems to be with the build rule for version.tmp I've attached the generated version.c, which obviously does not compile.
Created attachment 466978 [details, diff] mcelog-makefile-dash-fix.patch This patch should fix builds on dash, I've reported upstream but I'm not sure how they feel about other-shell-compat
Fixed upstream https://github.com/andikleen/mcelog/commit/ad66dd599e8981f5433758ae6da4e8ae07c02258
Nice. Thanks for sending those upstream, Ben.
Wow that was fast!
v149 is out with this fix, FYI upstream fixed the *other* bashism too, so we need to drop "${FILESDIR}"/${PN}-1.0_pre3_p20120918-bashism.patch
Thanks Ben! I've pushed a bump to 149 and dropped the upstreamed patch. We should consider stabilizing 149 soon, since the latest stable doesn't support a bunch of modern hardware (like Skylake).