From: Dan McGregor <[email protected]>

Without explicitly disabling pam in ppp, it will check the host for
pam headers. This leads to this QA error:

ERROR: ppp-2.5.1-r0 do_configure: QA Issue: This autoconf log
indicates errors, it looked at host include and/or library paths
while determining system capabilities.
Rerun configure task after fixing this. [configure-unsafe]

This is a somewhat difficult to hit, only my test machines that have
the pam dev package installed show it.

Fix this by adding a packageconfig for pam, with its default value
off, since enabling PAM is completely untested.

Signed-off-by: Dan McGregor <[email protected]>
---
 meta/recipes-connectivity/ppp/ppp_2.5.1.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/ppp/ppp_2.5.1.bb 
b/meta/recipes-connectivity/ppp/ppp_2.5.1.bb
index 5b8c49ca850..19e89b18383 100644
--- a/meta/recipes-connectivity/ppp/ppp_2.5.1.bb
+++ b/meta/recipes-connectivity/ppp/ppp_2.5.1.bb
@@ -27,7 +27,10 @@ SRC_URI = 
"https://download.samba.org/pub/${BPN}/${BP}.tar.gz \
 
 SRC_URI[sha256sum] = 
"733b7f5840b613da4eab0429a5081293275f06ba8b528e1b8eea6964faf0243a"
 
-inherit autotools systemd
+inherit autotools systemd pkgconfig
+
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[pam] = "--with-pam=yes,--with-pam=no,libpam"
 
 EXTRA_OECONF += "--with-openssl=${STAGING_EXECPREFIXDIR}"
 
-- 
2.47.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#206260): 
https://lists.openembedded.org/g/openembedded-core/message/206260
Mute This Topic: https://lists.openembedded.org/mt/109175489/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to