Skip to contentSkip to conversation

fetchmail: disable rpath to fix buildpaths warning.

PATCH New [email protected] 1 participant 1 message Jul 10, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fetchmail: disable rpath to fix buildpaths warning.

From: Wang Mingyu <[email protected]>

There was an error with the last modification to the buildpaths warning, which could cause segment error.

fix the following warning about buildpath:
WARNING: fetchmail-6.4.38-r0 do_package_qa: QA Issue: File /usr/bin/fetchmail in package fetchmail contains reference to TMPDIR [buildpaths]

---
 .../recipes-support/fetchmail/fetchmail_6.4.38.bb            | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
meta-networking/recipes-support/fetchmail/fetchmail_6.4.38.bb +1 -4
index 6cde94b20..cc23d5a34 100644
@@ -16,13 +16,10 @@ SRC_URI[sha256sum] = "a6cb4ea863ac61d242ffb2db564a39123761578d3e40d71ce7b6f2905b
 
 inherit autotools gettext pkgconfig python3-dir python3native
 
-EXTRA_OECONF = "--with-ssl=${STAGING_DIR_HOST}${prefix}"
-
-INSANE_SKIP:${PN} = "already-stripped"
+EXTRA_OECONF = "--with-ssl=${STAGING_DIR_HOST}${prefix} --disable-rpath "
 
 do_install:append() {
     sed -i 's,${RECIPE_SYSROOT_NATIVE},,g' ${D}${bindir}/fetchmailconf
-    sed -i 's,${RECIPE_SYSROOT},,g' ${D}${bindir}/fetchmail
 }
 
 PACKAGES =+ "fetchmail-python"
Signature · 1 line
2.34.1