Bug#995973: libsrtp2: FTBFS on x32

Laurent Bigonville bigon at debian.org
Sat Oct 9 10:29:27 BST 2021


Source: libsrtp2
Version: 2.3.0-5
Severity: important
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Hello,

libsrtp2 currently FTBFS on x32 with the following error:

gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -O4 -fexpensive-optimizations -funroll-loops -fPIC -I/usr/include/nss -I/usr/include/nspr -L. -Wl,-z,relro -o test/rtp_decoder test/rtp_decoder.c test/rtp.c test/util.c test/getopt_s.c crypto/math/datatypes.c libsrtp2.a -lpcap -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4  -lsrtp2
test/rtp_decoder.c: In function ‘rtp_decoder_handle_pkt’:
test/rtp_decoder.c:767:26: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘__time_t’ {aka ‘long long int’} [-Wformat=]
  767 |     fprintf(stdout, "%02ld:%02ld.%06ld\n", delta.tv_sec / 60, delta.tv_sec % 60,
      |                      ~~~~^                 ~~~~~~~~~~~~~~~~~
      |                          |                              |
      |                          long int                       __time_t {aka long long int}
      |                      %02lld
test/rtp_decoder.c:767:32: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘__time_t’ {aka ‘long long int’} [-Wformat=]
  767 |     fprintf(stdout, "%02ld:%02ld.%06ld\n", delta.tv_sec / 60, delta.tv_sec % 60,
      |                            ~~~~^                              ~~~~~~~~~~~~~~~~~
      |                                |                                           |
      |                                long int                                    __time_t {aka long long int}
      |                            %02lld
Build done. Please run '/usr/bin/make runtest' to run self tests.
make[1]: Leaving directory '/<<PKGBUILDDIR>>'

This has already been forwarded upstream: https://github.com/cisco/libsrtp/issues/566

Kind regards,
Laurent Bigonville


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.14.0-1-amd64 (SMP w/8 CPU threads)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy


More information about the Pkg-voip-maintainers mailing list