On 7/8/2024 6:00 PM, Khem Raj wrote:
On Mon, Jul 8, 2024 at 5:41 PM Jeremy Puhlman via
lists.openembedded.org <[email protected]>
wrote:
From: "Jeremy A. Puhlman" <[email protected]>

The value the configure script uses is picked up
from the host machine ps, and there are cases when
the flag selection can be different. Which would
break reproducablity between builds on different
machines.

Signed-off-by: Jeremy A. Puhlman <[email protected]>
---
  meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb | 1 +
  1 file changed, 1 insertion(+)

diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb 
b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb
index 75b3d9e8c..989ec5413 100644
--- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb
+++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb
@@ -73,6 +73,7 @@ CACHED_CONFIGUREVARS = " \
      lt_cv_shlibpath_overrides_runpath=yes \
      ac_cv_path_UNAMEPROG=${base_bindir}/uname \
      ac_cv_path_PSPROG=${base_bindir}/ps \
+    ac_cv_ps_flags="-e" \
While this change seems ok, I wonder if then we also need to ensure
that procps provided ps utility is rdepend'ed upon too.
All the usage there is to see if snmpd is actually running. Any value that works for all of them would be reasonable. I thought the assumption was that busybox was always on the system and busybox ps accepts -e with an output that should work. Probably
don't need the rdepend, If base busybox is still assumed.

      ac_cv_file__etc_printcap=no \
      NETSNMP_CONFIGURE_OPTIONS= \
  "
--
2.35.7





--
Jeremy Puhlman
[email protected]

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

Reply via email to