Source: zabbix
Version: 1:6.0.10+dfsg-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramac...@debian.org
https://buildd.debian.org/status/fetch.php?pkg=zabbix=amd64=1%3A6.0.10%2Bdfsg-1%2Bb1=1672133685=0
simple.c: In function ‘check_https’:
simple.c:180:65: error: invalid use of void expression
180 | if (CURLE_OK != (err = curl_easy_setopt(easyhandle, opt =
CURLOPT_USERAGENT, "Zabbix " ZABBIX_VERSION)) ||
| ^
simple.c:181:69: error: invalid use of void expression
181 | CURLE_OK != (err = curl_easy_setopt(easyhandle, opt =
CURLOPT_URL, https_host)) ||
| ^
simple.c:182:69: error: invalid use of void expression
182 | CURLE_OK != (err = curl_easy_setopt(easyhandle, opt =
CURLOPT_PORT, (long)port)) ||
| ^
simple.c:183:69: error: invalid use of void expression
183 | CURLE_OK != (err = curl_easy_setopt(easyhandle, opt =
CURLOPT_NOBODY, 1L)) ||
| ^
simple.c:184:69: error: invalid use of void expression
184 | CURLE_OK != (err = curl_easy_setopt(easyhandle, opt =
CURLOPT_SSL_VERIFYPEER, 0L)) ||
| ^
simple.c:185:69: error: invalid use of void expression
185 | CURLE_OK != (err = curl_easy_setopt(easyhandle, opt =
CURLOPT_SSL_VERIFYHOST, 0L)) ||
| ^
simple.c:186:69: error: invalid use of void expression
186 | CURLE_OK != (err = curl_easy_setopt(easyhandle, opt =
CURLOPT_TIMEOUT, (long)timeout)) ||
| ^
simple.c:187:69: error: invalid use of void expression
187 | CURLE_OK != (err = curl_easy_setopt(easyhandle, opt =
ZBX_CURLOPT_ACCEPT_ENCODING, "")))
| ^
simple.c:196:73: error: invalid use of void expression
196 | if (CURLE_OK != (err = curl_easy_setopt(easyhandle, opt
= CURLOPT_INTERFACE, CONFIG_SOURCE_IP)))
|
^
make[6]: *** [Makefile:500: libsimplesysinfo_a-simple.o] Error 1
Cheers
--
Sebastian Ramacher