* [Buildroot] [PATCH 1/1] package/netdata: disable cloud
@ 2022-06-01 20:31 Fabrice Fontaine
2022-06-04 14:39 ` Yann E. MORIN
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2022-06-01 20:31 UTC (permalink / raw)
To: buildroot; +Cc: Marcin Niestroj, Fabrice Fontaine
Disable cloud to avoid the following build failures raised since bump to
version 1.33.1 in commit 73dc2eef2dc40b78e732872b26eee0bcea1087d1 and
https://github.com/netdata/netdata/commit/e7e5d0c37242d8457e4b2610a95effe0db5ca1b1:
In file included from aclk/aclk.c:7:
aclk/aclk_otp.h:11:23: error: unknown type name 'RSA'
11 | int aclk_get_mqtt_otp(RSA *p_key, char **mqtt_id, char **mqtt_usr, char **mqtt_pass, url_t *target);
| ^~~
aclk/aclk.c:48:8: error: unknown type name 'RSA'
48 | static RSA *aclk_private_key = NULL;
| ^~~
aclk/aclk.c: In function 'load_private_key':
aclk/aclk.c:52:9: warning: implicit declaration of function 'RSA_free' [-Wimplicit-function-declaration]
52 | RSA_free(aclk_private_key);
| ^~~~~~~~
aclk/aclk.c:65:5: error: unknown type name 'BIO'; did you mean 'EIO'?
65 | BIO *key_bio = BIO_new_mem_buf(private_key, -1);
| ^~~
| EIO
[...]
In file included from database/sqlite/../../aclk/aclk.h:6:0,
from database/sqlite/sqlite_aclk.c:10:
database/sqlite/../../aclk/aclk_util.h:6:29: fatal error: mqtt_wss_client.h: No such file or directory
compilation terminated.
Fixes:
- http://autobuild.buildroot.org/results/6c87c0d1699fd518a989cb81a191419f427accc5
- http://autobuild.buildroot.org/results/aa77c027316b45e812eaf9ced61fb8e967bb987f
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/netdata/netdata.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/netdata/netdata.mk b/package/netdata/netdata.mk
index dade6c625b..c0ce74d18b 100644
--- a/package/netdata/netdata.mk
+++ b/package/netdata/netdata.mk
@@ -12,6 +12,7 @@ NETDATA_LICENSE = GPL-3.0+
NETDATA_LICENSE_FILES = LICENSE
NETDATA_CPE_ID_VENDOR = netdata
NETDATA_CONF_OPTS = \
+ --disable-cloud \
--disable-dbengine \
--disable-ebpf \
--disable-ml \
--
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/netdata: disable cloud
2022-06-01 20:31 [Buildroot] [PATCH 1/1] package/netdata: disable cloud Fabrice Fontaine
@ 2022-06-04 14:39 ` Yann E. MORIN
0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2022-06-04 14:39 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: Marcin Niestroj, buildroot
Fabrice, All,
On 2022-06-01 22:31 +0200, Fabrice Fontaine spake thusly:
> Disable cloud to avoid the following build failures raised since bump to
> version 1.33.1 in commit 73dc2eef2dc40b78e732872b26eee0bcea1087d1 and
> https://github.com/netdata/netdata/commit/e7e5d0c37242d8457e4b2610a95effe0db5ca1b1:
>
> In file included from aclk/aclk.c:7:
> aclk/aclk_otp.h:11:23: error: unknown type name 'RSA'
> 11 | int aclk_get_mqtt_otp(RSA *p_key, char **mqtt_id, char **mqtt_usr, char **mqtt_pass, url_t *target);
> | ^~~
> aclk/aclk.c:48:8: error: unknown type name 'RSA'
> 48 | static RSA *aclk_private_key = NULL;
> | ^~~
> aclk/aclk.c: In function 'load_private_key':
> aclk/aclk.c:52:9: warning: implicit declaration of function 'RSA_free' [-Wimplicit-function-declaration]
> 52 | RSA_free(aclk_private_key);
> | ^~~~~~~~
> aclk/aclk.c:65:5: error: unknown type name 'BIO'; did you mean 'EIO'?
> 65 | BIO *key_bio = BIO_new_mem_buf(private_key, -1);
> | ^~~
> | EIO
I think this would be solved by enablign appropriate support in openssl.
> [...]
>
> In file included from database/sqlite/../../aclk/aclk.h:6:0,
> from database/sqlite/sqlite_aclk.c:10:
> database/sqlite/../../aclk/aclk_util.h:6:29: fatal error: mqtt_wss_client.h: No such file or directory
> compilation terminated.
mqtt_wss_client.h is provided by netdata itself:
netdata-1.33.1/mqtt_websockets/src/include/mqtt_wss_client.h
.. so I guess some mis-configuration.
> Fixes:
> - http://autobuild.buildroot.org/results/6c87c0d1699fd518a989cb81a191419f427accc5
> - http://autobuild.buildroot.org/results/aa77c027316b45e812eaf9ced61fb8e967bb987f
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> package/netdata/netdata.mk | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/package/netdata/netdata.mk b/package/netdata/netdata.mk
> index dade6c625b..c0ce74d18b 100644
> --- a/package/netdata/netdata.mk
> +++ b/package/netdata/netdata.mk
> @@ -12,6 +12,7 @@ NETDATA_LICENSE = GPL-3.0+
> NETDATA_LICENSE_FILES = LICENSE
> NETDATA_CPE_ID_VENDOR = netdata
> NETDATA_CONF_OPTS = \
> + --disable-cloud \
> --disable-dbengine \
> --disable-ebpf \
> --disable-ml \
> --
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-06-04 14:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-01 20:31 [Buildroot] [PATCH 1/1] package/netdata: disable cloud Fabrice Fontaine
2022-06-04 14:39 ` Yann E. MORIN
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.