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: Jianhui Zhao <zhaojh329@gmail.com>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/libuwsc: fix wolfssl build
Date: Sat, 10 Dec 2022 09:45:01 +0100	[thread overview]
Message-ID: <20221210084501.GQ2855@scaer> (raw)
In-Reply-To: <20221208202610.5018-1-fontaine.fabrice@gmail.com>

Fabrice, All,

On 2022-12-08 21:26 +0100, Fabrice Fontaine spake thusly:
> libuwsc needs BR2_PACKAGE_WOLFSSL_ALL (which enables openssl compat
> layer) to avoid the following wolfssl build failure raised since the
> addition of the package in commit
> 120c04775d7ebe5a2cfc14848f5d11f3a333970b:
> 
> /home/br-user/work/instance-1/output-1/build/libuwsc-3.3.5/src/ssl.c:62:5: error: unknown type name 'SSL_CTX'
>    62 |     SSL_CTX *ctx;
>       |     ^~~~~~~
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/6c2a6ed6fca1f92aab299f6ed9cd900b20e8d512
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

I added a blurb that explains why we don't siply select _ALL.

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/libuwsc/libuwsc.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/libuwsc/libuwsc.mk b/package/libuwsc/libuwsc.mk
> index cad351529d..051ea411fa 100644
> --- a/package/libuwsc/libuwsc.mk
> +++ b/package/libuwsc/libuwsc.mk
> @@ -18,7 +18,7 @@ LIBUWSC_CONF_OPTS += \
>  	-DUWSC_USE_MBEDTLS=OFF \
>  	-DUWSC_USE_OPENSSL=ON \
>  	-DUWSC_USE_WOLFSSL=OFF
> -else ifeq ($(BR2_PACKAGE_WOLFSSL),y)
> +else ifeq ($(BR2_PACKAGE_WOLFSSL_ALL),y)
>  LIBUWSC_DEPENDENCIES += wolfssl
>  LIBUWSC_CONF_OPTS += \
>  	-DUWSC_SSL_SUPPORT=ON \
> -- 
> 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-12-10  8:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-08 20:26 [Buildroot] [PATCH 1/1] package/libuwsc: fix wolfssl build Fabrice Fontaine
2022-12-10  8:45 ` Yann E. MORIN [this message]
2022-12-16 15:05 ` Peter Korsgaard
  -- strict thread matches above, loose matches on Subject: below --
2024-01-14 15:56 Fabrice Fontaine
2024-01-15  7:47 ` Peter Korsgaard
2024-02-03 10:39 ` Peter Korsgaard

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=20221210084501.GQ2855@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@buildroot.org \
    --cc=fontaine.fabrice@gmail.com \
    --cc=zhaojh329@gmail.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