fails to build with TOOLCHAIN = "clang"
src/http.c:1027:3: error: call to 'Wcurl_easy_setopt_err_long' declared
with 'warning' attribute: curl_easy_setopt expects a long argument
[-Werror,-Wattribute-warning]
1027 | curl_easy_setopt(curl, CURLOPT_TIMEOUT,
ctx->timeout);
| ^
/srv/build/yoe/build/tmp/work/cortexa57-yoe-linux/liboauth2/2.2.0/recipe-sysroot/usr/include/curl/typecheck-gcc.h:50:15:
note: expanded from macro 'curl_easy_setopt'
50 | Wcurl_easy_setopt_err_long();
\
| ^
src/http.c:1095:3: error: call to 'Wcurl_easy_setopt_err_long' declared
with 'warning' attribute: curl_easy_setopt expects a long argument
[-Werror,-Wattribute-warning]
1095 | curl_easy_setopt(curl, CURLOPT_POST, 1);
| ^
/srv/build/yoe/build/tmp/work/cortexa57-yoe-linux/liboauth2/2.2.0/recipe-sysroot/usr/include/curl/typecheck-gcc.h:50:15:
note: expanded from macro 'curl_easy_setopt'
50 | Wcurl_easy_setopt_err_long();
\
| ^
2 errors generated.
Detailed build log
https://termbin.com/qfx8
On Sun, Jan 25, 2026 at 2:28 AM Frederik Brændstrup via
lists.openembedded.org <[email protected]>
wrote:
> V2 removes the hard requirement for apache2 for liboauth2
>
> Signed-off-by: Frede Hoey Braendstrup <[email protected]>
> ---
> .../liboauth2/liboauth2_2.2.0.bb | 20 +++++++++++++++++++
> 1 file changed, 20 insertions(+)
> create mode 100644 meta-oe/recipes-support/liboauth2/liboauth2_2.2.0.bb
>
> diff --git a/meta-oe/recipes-support/liboauth2/liboauth2_2.2.0.bb
> b/meta-oe/recipes-support/liboauth2/liboauth2_2.2.0.bb
> new file mode 100644
> index 0000000000..0890a6b78d
> --- /dev/null
> +++ b/meta-oe/recipes-support/liboauth2/liboauth2_2.2.0.bb
> @@ -0,0 +1,20 @@
> +SUMMARY = "OAuth 2.x and OpenID Connect C library"
> +HOMEPAGE = "https://github.com/OpenIDC/liboauth2"
> +LICENSE = "Apache-2.0"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=2ee41112a44fe7014dce33e26468ba93"
> +
> +SRC_URI = "git://
> github.com/OpenIDC/liboauth2;protocol=https;branch=master;tag=v${PV}
> <http://github.com/OpenIDC/liboauth2;protocol=https;branch=master;tag=v$%7BPV%7D>
> "
> +
> +PV = "2.2.0"
> +SRCREV = "12571b6d6568c2db7d5f080f60ecb55795c0db19"
> +
> +DEPENDS = "libpcre2 jansson curl openssl cjose"
> +
> +inherit pkgconfig autotools-brokensep
> +
> +PACKAGECONFIG ??= "memcache redis jq apache"
> +PACKAGECONFIG[memcache] =
> "--with-memcache,--without-memcache,libmemcached"
> +PACKAGECONFIG[redis] = "--with-redis,--without-redis,hiredis"
> +PACKAGECONFIG[jq] = "--with-jq,--without-jq,jq"
> +PACKAGECONFIG[apache] = "--with-apache,--without-apache,apache2"
> +
> --
>
>
>
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#123847):
https://lists.openembedded.org/g/openembedded-devel/message/123847
Mute This Topic: https://lists.openembedded.org/mt/117448448/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-