Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: David GOUARIN <dgouarin@gmail.com>,
	Matt Weber <matthew.weber@collins.com>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/freeradius-server: fix libkrb5 build
Date: Mon, 15 Aug 2022 22:03:29 +0200	[thread overview]
Message-ID: <20220815200329.GN2854108@scaer> (raw)
In-Reply-To: <20220814220241.203440-1-fontaine.fabrice@gmail.com>

Fabrice, All,

On 2022-08-15 00:02 +0200, Fabrice Fontaine spake thusly:
> Fix the following libkrb5 build failure raised since the addition of the
> package in commit 736c4c1655d93652a9a7e79235bbe726b3d46176:
> 
> configure: error: in `/home/giuliobenetti/autobuild/run/instance-2/output-1/build/freeradius-server-3.2.0/src/modules/rlm_krb5':
> configure: error: cannot run test program while cross compiling
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/3968d611458060480d341bd60f7c50209a0ace15
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

For the sake of sharing the blame with whomever applies that patch:

Acked-by: Yann E. MORIN <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/freeradius-server/freeradius-server.mk | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/package/freeradius-server/freeradius-server.mk b/package/freeradius-server/freeradius-server.mk
> index 2f4c118da5..5b74a3b01a 100644
> --- a/package/freeradius-server/freeradius-server.mk
> +++ b/package/freeradius-server/freeradius-server.mk
> @@ -15,6 +15,12 @@ FREERADIUS_SERVER_CPE_ID_PRODUCT = freeradius
>  FREERADIUS_SERVER_DEPENDENCIES = libtalloc
>  FREERADIUS_SERVER_AUTORECONF = YES
>  
> +# We're patching src/modules/rlm_krb5/configure.ac
> +define FREERADIUS_SERVER_RUN_KRB5_AUTOCONF
> +	cd $(@D)/src/modules/rlm_krb5; $(AUTOCONF) -I$(@D)
> +endef
> +FREERADIUS_SERVER_PRE_CONFIGURE_HOOKS += FREERADIUS_SERVER_RUN_KRB5_AUTOCONF
> +
>  # some compiler checks are not supported while cross compiling.
>  # instead of removing those checks, we cache the answers
>  FREERADIUS_SERVER_CONF_OPTS += \
> -- 
> 2.35.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2022-08-15 20:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-14 22:02 [Buildroot] [PATCH 1/1] package/freeradius-server: fix libkrb5 build Fabrice Fontaine
2022-08-15 20:03 ` Yann E. MORIN [this message]
2022-08-15 20:21 ` Thomas Petazzoni via buildroot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220815200329.GN2854108@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@buildroot.org \
    --cc=dgouarin@gmail.com \
    --cc=fontaine.fabrice@gmail.com \
    --cc=matthew.weber@collins.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox