Skip to contentSkip to conversation

fwupd: skip buildpaths errors

PATCH New Mikko Rapeli 1 participant 3 messages Jul 26, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 fwupd: skip buildpaths errors

Test binaries are embeddding build paths and can't easily figure out why. Thus ignore the errors in these binaries for now.

---
 meta-oe/recipes-bsp/fwupd/fwupd_1.9.18.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-bsp/fwupd/fwupd_1.9.18.bb +2 -0
index e6c276ba4..a98ed67f7 100644
@@ -140,3 +140,5 @@ FILES:${PN} += "${libdir}/fwupd-plugins-* \
 FILES:${PN}-ptest += "${libexecdir}/installed-tests/ \
                       ${datadir}/installed-tests/"
 RDEPENDS:${PN}-ptest += "gnome-desktop-testing"
+
+INSANE_SKIP:${PN}-ptest += "buildpaths"
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/3 gcab: ignore buildpaths error from sources

gcab-src has some meson generated files which embed absolute paths from build environment. meson seems ot do this on purpose to fix other issues.

Ignored those issues for now.

---
 meta-oe/recipes-gnome/gcab/gcab_1.6.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-gnome/gcab/gcab_1.6.bb +3 -0
index 4278fc945..49c64f0ba 100644
@@ -22,3 +22,6 @@ PACKAGECONFIG[nls] = "-Dnls=true,-Dnls=false"
 PACKAGECONFIG[tests] = "-Dtests=true -Dinstalled_tests=true,-Dtests=false -Dinstalled_tests=false"
 
 BBCLASSEXTEND = "native"
+
+# meson embeds absolute paths to generated files on purpose
+INSANE_SKIP:gcab-src += "buildpaths"
Signature · 1 line
2.34.1
#2 lore raw

PATCH 3/3 libjcat: skip buildpaths check

In reply to Mikko Rapeli

Test binary has embedded build time paths. Ignore
for now.

---
 meta-oe/recipes-gnome/libjcat/libjcat_0.2.1.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-gnome/libjcat/libjcat_0.2.1.bb +2 -0
index 2d95e1444..7dc88d727 100644
@@ -32,3 +32,5 @@ GTKDOC_MESON_OPTION = "gtkdoc"
 RDEPENDS:${PN}:class-target = "\
     ${@bb.utils.contains('PACKAGECONFIG', 'gpg', 'gnupg', '', d)} \
 "
+
+INSANE_SKIP:${PN}-ptest += "buildpaths"
Signature · 1 line
2.34.1