Your message dated Fri, 25 Dec 2020 22:16:35 +0100
with message-id <160893099529.1527682.17224647246926537...@auryn.jones.dk>
and subject line Re: Bug#957480: libsrtp2: ftbfs with GCC-10
has caused the Debian Bug report #957480,
regarding libsrtp2: FTBFS: running cipher self-test for AES-128 GCM using 
NSS...failed with error code 8
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
957480: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=957480
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:libsrtp2
Version: 2.3.0-2
Severity: normal
Tags: sid bullseye
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-10

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/libsrtp2_2.3.0-2_unstable_gcc10.log
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-10/porting_to.html

[...]
checking for int8_t... yes
checking for uint8_t... yes
checking for int16_t... yes
checking for uint16_t... yes
checking for int32_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking size of unsigned long... 8
checking size of unsigned long long... 8
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking for socket... yes
checking for inet_aton... yes
checking for usleep... yes
checking for sigaction... yes
checking whether to enable debug logging in all modules... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether to leverage OpenSSL crypto... no
checking whether to leverage NSS crypto... no
checking for pcap_create in -lpcap... yes
checking for pcap_create in -lwpcap... no
checking whether to redirect logging to stdout... no
checking wheather to use a file for logging... no
checking for extra C compiler flags... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating crypto/Makefile
config.status: creating doc/Makefile
config.status: creating fuzzer/Makefile
config.status: creating libsrtp2.pc
config.status: creating crypto/include/config.h
configure: WARNING: unrecognized options: --disable-maintainer-mode, 
--disable-dependency-tracking, --disable-silent-rules, --disable-stdout, 
--enable-syslog, --disable-debug
touch debian/stamp-autotools
/usr/bin/make -C . shared_library test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -O4 
-fexpensive-optimizations -funroll-loops -fPIC -c srtp/srtp.c -o srtp/srtp.o
gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -O4 
-fexpensive-optimizations -funroll-loops -fPIC -c srtp/ekt.c -o srtp/ekt.o
gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -O4 
-fexpensive-optimizations -funroll-loops -fPIC -c crypto/cipher/cipher.c -o 
crypto/cipher/cipher.o
gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -O4 
-fexpensive-optimizations -funroll-loops -fPIC -c crypto/cipher/null_cipher.c 
-o crypto/cipher/null_cipher.o
gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -O4 
-fexpensive-optimizations -funroll-loops -fPIC -c crypto/cipher/aes_icm.c -o 
crypto/cipher/aes_icm.o
gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -O4 
-fexpensive-optimizations -funroll-loops -fPIC -c crypto/cipher/aes.c -o 
crypto/cipher/aes.o
gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -O4 
-fexpensive-optimizations -funroll-loops -fPIC -c crypto/hash/null_auth.c -o 
crypto/hash/null_auth.o
gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -O4 
-fexpensive-optimizations -funroll-loops -fPIC -c crypto/hash/auth.c -o 
crypto/hash/auth.o
gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -O4 
-fexpensive-optimizations -funroll-loops -fPIC -c crypto/hash/hmac.c -o 
crypto/hash/hmac.o
gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -O4 
-fexpensive-optimizations -funroll-loops -fPIC -c crypto/hash/sha1.c -o 
crypto/hash/sha1.o
gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -O4 
-fexpensive-optimizations -funroll-loops -fPIC -c crypto/math/datatypes.c -o 
crypto/math/datatypes.o
gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -O4 
-fexpensive-optimizations -funroll-loops -fPIC -c crypto/math/stat.c -o 
crypto/math/stat.o
gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -O4 
-fexpensive-optimizations -funroll-loops -fPIC -c crypto/kernel/crypto_kernel.c 
-o crypto/kernel/crypto_kernel.o
gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -O4 
-fexpensive-optimizations -funroll-loops -fPIC -c crypto/kernel/alloc.c -o 
crypto/kernel/alloc.o
gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -O4 
-fexpensive-optimizations -funroll-loops -fPIC -c crypto/kernel/key.c -o 
crypto/kernel/key.o
gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -O4 
-fexpensive-optimizations -funroll-loops -fPIC -c crypto/kernel/err.c -o 
crypto/kernel/err.o
gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -O4 
-fexpensive-optimizations -funroll-loops -fPIC -c crypto/replay/rdb.c -o 
crypto/replay/rdb.o
gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -O4 
-fexpensive-optimizations -funroll-loops -fPIC -c crypto/replay/rdbx.c -o 
crypto/replay/rdbx.o
gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -O4 
-fexpensive-optimizations -funroll-loops -fPIC -c crypto/replay/ut_sim.c -o 
crypto/replay/ut_sim.o
gcc -shared -o libsrtp2.so.1 -shared -Wl,-soname,libsrtp2.so.1 \
                        srtp/srtp.o srtp/ekt.o crypto/cipher/cipher.o 
crypto/cipher/null_cipher.o crypto/cipher/aes_icm.o crypto/cipher/aes.o 
crypto/hash/null_auth.o crypto/hash/auth.o crypto/hash/hmac.o 
crypto/hash/sha1.o crypto/math/datatypes.o crypto/math/stat.o 
crypto/kernel/crypto_kernel.o crypto/kernel/alloc.o crypto/kernel/key.o 
crypto/kernel/err.o crypto/replay/rdb.o crypto/replay/rdbx.o 
crypto/replay/ut_sim.o -L. -Wl,-z,relro 
if [ -n "1" ]; then \
        ln -sfn libsrtp2.so.1 libsrtp2.so; \
fi
ar cr libsrtp2.a srtp/srtp.o srtp/ekt.o crypto/cipher/cipher.o 
crypto/cipher/null_cipher.o crypto/cipher/aes_icm.o crypto/cipher/aes.o 
crypto/hash/null_auth.o crypto/hash/auth.o crypto/hash/hmac.o 
crypto/hash/sha1.o crypto/math/datatypes.o crypto/math/stat.o 
crypto/kernel/crypto_kernel.o crypto/kernel/alloc.o crypto/kernel/key.o 
crypto/kernel/err.o crypto/replay/rdb.o crypto/replay/rdbx.o 
crypto/replay/ut_sim.o
ranlib libsrtp2.a
gcc -DHAVE_CONFIG_H -Icrypto/include -I./include -I./crypto/include -Wdate-time 
-D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -D_REENTRANT -O4 
-fexpensive-optimizations -funroll-loops -fPIC -I./test -L. -Wl,-z,relro -o 
crypto/test/aes_calc crypto/test/aes_calc.c test/util.c libsrtp2.a  -lsrtp2
/usr/bin/ld: libsrtp2.a(datatypes.o):./crypto/math/datatypes.c:82: multiple 
definition of `bit_string'; /tmp/ccGJRWbX.o:./test/util.c:52: first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:209: crypto/test/aes_calc] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [/usr/share/cdbs/1/class/makefile.mk:77: debian/stamp-makefile-build] 
Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Version: 2.3.0-3

Quoting Bernhard Schmidt (2020-12-25 14:55:55)
> Control: tags -1 patch
> 
> This might fix it...
> 
> https://github.com/cisco/libsrtp/commit/716a73862b387a2107f37398c0fb7d9a754c0ccd

Yes, evidently it does: I applied that patch since release 2.3.0-3 and 
it built fine - I simply forgot to close this bugreport.

Sorry...!


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature


--- End Message ---

Reply via email to