diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2024-12-07 12:36:23 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-12-07 12:14:02 -0800 |
commit | b0ceff02049bad541cb2d70aae05045ce1d4804d (patch) | |
tree | fee83a137c10f6caa11a6286578686a7ecd6443f | |
parent | 360412de2f752ae016a1f5e6748180b3b33a49a2 (diff) | |
download | meta-openembedded-b0ceff02049bad541cb2d70aae05045ce1d4804d.tar.gz |
openhpi: explicitly disable ov-rest plugin
* since elfutils upgrade to 0.192 in:
https://git.openembedded.org/openembedded-core/commit/?id=1d6ac3c811798732e6addc798656bbe104661d77
json-c is detected in RSS and ov-rest plugin gets enabled, but fails to build:
../../../openhpi-3.8.0/plugins/ov_rest/ov_rest_event.c:78:10: fatal error: amqp_ssl_socket.h: No such file or directory
78 | #include <amqp_ssl_socket.h>
| ^~~~~~~~~~~~~~~~~~~
compilation terminated.
../../../openhpi-3.8.0/plugins/ov_rest/ov_rest_re_discover.c:707:23: error: initialization of 'SaErrorT' {aka 'int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion]
707 | SaErrorT rv = NULL;
| ^~~~
* keep it explicitly disabled as it was disabled before
* add rabbitmq-c dependency for the first issue, the 2nd issue could be
worked around by:
# openhpi-3.8.0/plugins/ov_rest/ov_rest_re_discover.c:707:23: error: initialization of 'SaErrorT' {aka 'int'} from 'void *' makes integer from pointer without a cast [-Wint-conversion]
CFLAGS += "-Wno-error=int-conversion"
or better fixed properly by someone actually using this recipe
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-networking/recipes-daemons/openhpi/openhpi_3.8.0.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-networking/recipes-daemons/openhpi/openhpi_3.8.0.bb b/meta-networking/recipes-daemons/openhpi/openhpi_3.8.0.bb index ac13d7a196..d1e08cd073 100644 --- a/meta-networking/recipes-daemons/openhpi/openhpi_3.8.0.bb +++ b/meta-networking/recipes-daemons/openhpi/openhpi_3.8.0.bb | |||
@@ -66,6 +66,7 @@ PACKAGECONFIG[sysfs] = "--enable-sysfs,--disable-sysfs,sysfsutils," | |||
66 | PACKAGECONFIG[libgcrypt] = "--enable-encryption,--disable-encryption,libgcrypt," | 66 | PACKAGECONFIG[libgcrypt] = "--enable-encryption,--disable-encryption,libgcrypt," |
67 | PACKAGECONFIG[non32bit] = "--enable-non32bit-int,--disable-non32bit-int,," | 67 | PACKAGECONFIG[non32bit] = "--enable-non32bit-int,--disable-non32bit-int,," |
68 | PACKAGECONFIG[snmp-bc] = "--enable-snmp_bc,--disable-snmp_bc" | 68 | PACKAGECONFIG[snmp-bc] = "--enable-snmp_bc,--disable-snmp_bc" |
69 | PACKAGECONFIG[ov-rest] = "--enable-ov_rest,--disable-ov_rest,curl rabbitmq-c json-c" | ||
69 | 70 | ||
70 | export DISTRO | 71 | export DISTRO |
71 | 72 | ||