All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/freeradius-server: set krb5-config
@ 2022-08-23 21:32 Fabrice Fontaine
  2022-08-24 11:17 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2022-08-23 21:32 UTC (permalink / raw)
  To: buildroot; +Cc: David GOUARIN, Matt Weber, Fabrice Fontaine

Fix the following libkrb5 build failure raised since the addition of the
package in commit 736c4c1655d93652a9a7e79235bbe726b3d46176:

checking for krb5-config... /bin/krb5-config
checking krb5-config CFLAGS... Failed to find installation architecture
""
checking krb5-config LDFLAGS... Failed to find installation architecture

checking krb5-config reported version... Failed to find installation architecture
 ()
checking krb5-config reported vendor... Failed to find installation architecture

checking canonical API type... HEIMDAL

[...]

In file included from src/modules/rlm_krb5/rlm_krb5.c:32:
src/modules/rlm_krb5/krb5.h:41:9: error: unknown type name 'krb5_verify_opt'
   41 |         krb5_verify_opt options;
      |         ^~~~~~~~~~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/f173d1600c278d910f4cbeae86dcad1ee0f911f9

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/freeradius-server/freeradius-server.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/freeradius-server/freeradius-server.mk b/package/freeradius-server/freeradius-server.mk
index 5b74a3b01a..f77413a170 100644
--- a/package/freeradius-server/freeradius-server.mk
+++ b/package/freeradius-server/freeradius-server.mk
@@ -86,7 +86,9 @@ FREERADIUS_SERVER_CONF_OPTS += --without-libcap
 endif
 
 ifeq ($(BR2_PACKAGE_LIBKRB5),y)
-FREERADIUS_SERVER_CONF_OPTS += --with-rlm_krb5
+FREERADIUS_SERVER_CONF_OPTS += \
+	ac_cv_path_krb5-config=$(STAGING_DIR)/usr/bin/krb5-config \
+	--with-rlm_krb5
 FREERADIUS_SERVER_DEPENDENCIES += libkrb5
 else
 FREERADIUS_SERVER_CONF_OPTS += --without-rlm_krb5
-- 
2.35.1

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

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

* Re: [Buildroot] [PATCH 1/1] package/freeradius-server: set krb5-config
  2022-08-23 21:32 [Buildroot] [PATCH 1/1] package/freeradius-server: set krb5-config Fabrice Fontaine
@ 2022-08-24 11:17 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-08-24 11:17 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: David GOUARIN, Matt Weber, buildroot

On Tue, 23 Aug 2022 23:32:06 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Fix the following libkrb5 build failure raised since the addition of the
> package in commit 736c4c1655d93652a9a7e79235bbe726b3d46176:
> 
> checking for krb5-config... /bin/krb5-config
> checking krb5-config CFLAGS... Failed to find installation architecture
> ""
> checking krb5-config LDFLAGS... Failed to find installation architecture
> 
> checking krb5-config reported version... Failed to find installation architecture
>  ()
> checking krb5-config reported vendor... Failed to find installation architecture
> 
> checking canonical API type... HEIMDAL
> 
> [...]
> 
> In file included from src/modules/rlm_krb5/rlm_krb5.c:32:
> src/modules/rlm_krb5/krb5.h:41:9: error: unknown type name 'krb5_verify_opt'
>    41 |         krb5_verify_opt options;
>       |         ^~~~~~~~~~~~~~~
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/f173d1600c278d910f4cbeae86dcad1ee0f911f9
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/freeradius-server/freeradius-server.mk | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-08-24 11:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-23 21:32 [Buildroot] [PATCH 1/1] package/freeradius-server: set krb5-config Fabrice Fontaine
2022-08-24 11:17 ` Thomas Petazzoni via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.