layer.conf: Set elfutils version correctly
PATCH 1/2 layer.conf: Set elfutils version correctly
We need to set PREFERRED_VERSION for elfutils or the wrong one will be used.
Signed-off-by Richard Purdie <[email protected]>
--- conf/layer.conf | 1 + 1 file changed, 1 insertion(+)
conf/layer.conf +1 -0
@@ -18,5 +18,6 @@ LAYERSERIES_COMPAT_gplv2 = "honister" LICENSE_PATH += "${LAYERDIR}/licenses" +PREFERRED_VERSION_elfutils = "${@['', '0.148']['GPLV3' in (d.getVar('INCOMPATIBLE_LICENSE') or '').upper()]}" PREFERRED_VERSION_shared-mime-info = "${@['', '1.10']['GPLV3' in (d.getVar('INCOMPATIBLE_LICENSE') or '').upper()]}" PREFERRED_VERSION_shared-mime-info-native = "${@['', '1.10']['GPLV3' in (d.getVar('INCOMPATIBLE_LICENSE') or '').upper()]}"
Signature · 1 line
2.32.0
PATCH 2/2 elfutils: Work around reproducibility issue
The version in this layer doesn't reproduce, so disable the warnings/errors and allow it to build.
Signed-off-by Richard Purdie <[email protected]>
--- recipes-devtools/elfutils/elfutils_0.148.bb | 3 +++ 1 file changed, 3 insertions(+)
recipes-devtools/elfutils/elfutils_0.148.bb +3 -0
@@ -66,6 +66,9 @@ CFLAGS += "-Wno-error=format-truncation=" # but 0.182 has different license, so to be safe don't backport the fix, just ignore the issue CFLAGS += "-Wno-error=stringop-overflow=" +# There are fixes in later versions for this but the old version won't be reproducible +TARGET_CC_ARCH:remove:class-target = " -Wdate-time" + EXTRA_OECONF = "--program-prefix=eu- --without-lzma" EXTRA_OECONF:append:class-native = " --without-bzlib"
Signature · 1 line
2.32.0