Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/openssh: fix linux-pam select
@ 2024-02-24 21:30 Fabrice Fontaine
  2024-02-25  8:02 ` Peter Korsgaard
  0 siblings, 1 reply; 3+ messages in thread
From: Fabrice Fontaine @ 2024-02-24 21:30 UTC (permalink / raw)
  To: buildroot; +Cc: Adam Duskett, Fabrice Fontaine

Commit 2c5a82a29ceb382d53ccb08ffd34a92c142cadbb forgot to handle
linux-pam dependencies resulting in the following build failure:

WARNING: unmet direct dependencies detected for BR2_PACKAGE_LINUX_PAM
  Depends on [n]: BR2_ENABLE_LOCALE [=n] && BR2_USE_WCHAR [=n] && !BR2_STATIC_LIBS [=y] && BR2_USE_MMU [=y] && BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 [=y]
  Selected by [y]:
  - BR2_PACKAGE_OPENSSH [=y] && BR2_USE_MMU [=y] && BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION [=y]

WARNING: unmet direct dependencies detected for BR2_PACKAGE_LINUX_PAM
  Depends on [n]: BR2_ENABLE_LOCALE [=n] && BR2_USE_WCHAR [=n] && !BR2_STATIC_LIBS [=y] && BR2_USE_MMU [=y] && BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 [=y]
  Selected by [y]:
  - BR2_PACKAGE_OPENSSH [=y] && BR2_USE_MMU [=y] && BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION [=y]

[...]

configure: error: in `/home/autobuild/autobuild/instance-12/output-1/build/linux-pam-1.6.0':
configure: error: failed to find dlopen

Fixes: 2c5a82a29ceb382d53ccb08ffd34a92c142cadbb
 - http://autobuild.buildroot.org/results/c0aac8bed08850e07cb94f501d754c3c64cdfe07

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/openssh/Config.in | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/package/openssh/Config.in b/package/openssh/Config.in
index a3038ba01f..c108569547 100644
--- a/package/openssh/Config.in
+++ b/package/openssh/Config.in
@@ -1,7 +1,10 @@
 config BR2_PACKAGE_OPENSSH
 	bool "openssh"
 	depends on BR2_USE_MMU # fork()
-	select BR2_PACKAGE_LINUX_PAM if BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION
+	select BR2_PACKAGE_LINUX_PAM if \
+		BR2_PACKAGE_REFPOLICY_UPSTREAM_VERSION && \
+		BR2_ENABLE_LOCALE && BR2_USE_WCHAR && \
+		!BR2_STATIC_LIBS && BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
 	select BR2_PACKAGE_OPENSSL
 	select BR2_PACKAGE_ZLIB
 	help
-- 
2.43.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-02-25  9:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-24 21:30 [Buildroot] [PATCH 1/1] package/openssh: fix linux-pam select Fabrice Fontaine
2024-02-25  8:02 ` Peter Korsgaard
2024-02-25  9:04   ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox