Bug#1027656: janus: FTBFS: turnrest.c:168:9: error: void value not ignored as it ought to be

Lucas Nussbaum lucas at debian.org
Sun Jan 1 14:12:08 GMT 2023


Source: janus
Version: 1.1.1-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230101 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> gcc -DPACKAGE_NAME=\"Janus\ WebRTC\ Server\" -DPACKAGE_TARNAME=\"janus-gateway\" -DPACKAGE_VERSION=\"1.1.1\" -DPACKAGE_STRING=\"Janus\ WebRTC\ Server\ 1.1.1\" -DPACKAGE_BUGREPORT=\"https://github.com/meetecho/janus-gateway\" -DPACKAGE_URL=\"https://janus.conf.meetecho.com\" -DPACKAGE=\"janus-gateway\" -DVERSION=\"1.1.1\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_WCHAR_H=1 -DSTDC_HEADERS=1 -D_ALL_SOURCE=1 -D_DARWIN_C_SOURCE=1 -D_GNU_SOURCE=1 -D_HPUX_ALT_XOPEN_SOCKET_API=1 -D_NETBSD_SOURCE=1 -D_OPENBSD_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D__STDC_WANT_IEC_60559_ATTRIBS_EXT__=1 -D__STDC_WANT_IEC_60559_BFP_EXT__=1 -D__STDC_WANT_IEC_60559_DFP_EXT__=1 -D__STDC_WANT_IEC_60559_FUNCS_EXT__=1 -D__STDC_WANT_IEC_60559_TYPES_EXT__=1 -D__STDC_WANT_LIB_EXT2__=1 -D__STDC_WANT_MATH_SPEC_FUNCS__=1 -D_TANDEM_SOURCE=1 -D__EXTENSIONS__=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAS_DTLS_WINDOW_SIZE=1 -DHAVE_SRTP_AESGCM=1 -DHAVE_PORTRANGE=1 -DHAVE_LIBNICE_TCP=1 -DHAVE_CLOSE_ASYNC=1 -DHAVE_ICE_NOMINATION=1 -DHAVE_SRTP_2=1 -DHAVE_SCTP=1 -DHAVE_LIBCURL=1 -DHAVE_TURNRESTAPI=1 -DHAVE_SAMPLEEVH=1 -DHAVE_ENUM_MHD_RESULT=1 -DHAVE_WEBSOCKETS=1 -DHAVE_LIBWEBSOCKETS_PEER_SIMPLE=1 -DHAVE_WSEVH=1 -DHAVE_RABBITMQ=1 -DHAVE_RABBITMQEVH=1 -DHAVE_MQTT=1 -DHAVE_MQTTEVH=1 -DHAVE_NANOMSG=1 -DHAVE_NANOMSGEVH=1 -DHAVE_PFUNIX=1 -DHAVE_LIBSYSTEMD=1 -DHAVE_LIBOGG=1 -DHAVE_LIBPCAP=1 -I.   -Wdate-time -D_FORTIFY_SOURCE=2  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/nice -I/usr/include/p11-kit-1 -I/usr/include/gupnp-igd-1.0 -I/usr/include/gupnp-1.6 -I/usr/include/gssdp-1.6 -I/usr/include/libsoup-3.0 -I/usr/include/sysprof-4 -I/usr/include/libxml2 -pthread   -I/usr/include/x86_64-linux-gnu  -DPLUGINDIR=\"/usr/lib/x86_64-linux-gnu/janus/plugins\" -DTRANSPORTDIR=\"/usr/lib/x86_64-linux-gnu/janus/transports\" -DEVENTDIR=\"/usr/lib/x86_64-linux-gnu/janus/events\" -DLOGGERDIR=\"/usr/lib/x86_64-linux-gnu/janus/loggers\" -DCONFDIR=\"/etc/janus\"   -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security 	-fPIC 	-fstack-protector-all 	-fstrict-aliasing 	-ggdb3 	-pthread 	-Wall 	-Warray-bounds 	-Wextra 	-Wformat-nonliteral 	-Wformat-security 	-Wformat=2 	-Winit-self 	-Wlarger-than=65537 	-Wmissing-declarations 	-Wmissing-format-attribute 	-Wmissing-include-dirs 	-Wmissing-noreturn 	-Wmissing-prototypes 	-Wnested-externs 	-Wold-style-definition 	-Wpacked 	-Wpointer-arith 	-Wsign-compare 	-Wstrict-prototypes 	-Wswitch-default 	-Wunused 	-Wno-unused-parameter 	-Wno-unused-result 	-Wwrite-strings 	-Werror=implicit-function-declaration 		-Wcast-align 		-Wno-override-init 		-Wunsafe-loop-optimizations 		-Wunused-but-set-variable -c -o janus-utils.o `test -f 'utils.c' || echo './'`utils.c
> In file included from /usr/include/x86_64-linux-gnu/curl/curl.h:3195,
>                  from turnrest.c:21:
> turnrest.c: In function ‘janus_turnrest_request’:
> turnrest.c:168:9: error: void value not ignored as it ought to be
>   168 |         curl_easy_setopt(curl, api_http_get ? CURLOPT_HTTPGET : CURLOPT_POST, 1);
>       |         ^
> make[4]: *** [Makefile:2506: janus-turnrest.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2023/01/01/janus_1.1.1-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230101;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230101&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-voip-maintainers mailing list