Bug#957802: sipsak: ftbfs with GCC-10

Guillem Jover gjover at sipwise.com
Wed Nov 18 11:26:36 GMT 2020


Control: tag -1 patch

On Fri, 2020-04-17 at 11:10:50 +0000, Matthias Klose wrote:
> Package: src:sipsak
> Version: 0.9.7-1
> Severity: normal
> Tags: sid bullseye
> User: debian-gcc at lists.debian.org
> Usertags: ftbfs-gcc-10

> [...]
> /usr/bin/ld: src/sipsak.o:./src/sipsak.h:327: multiple definition of `cseq_counter'; src/transport.o:./src/sipsak.h:327: first defined here
> /usr/bin/ld: src/exit_code.o:./src/sipsak.h:332: multiple definition of `sysl'; src/transport.o:./src/sipsak.h:332: first defined here
> /usr/bin/ld: src/exit_code.o:./src/sipsak.h:326: multiple definition of `transport'; src/transport.o:./src/sipsak.h:326: first defined here
> /usr/bin/ld: src/exit_code.o:./src/sipsak.h:313: multiple definition of `tls_session'; src/transport.o:./src/sipsak.h:313: first defined here
[…]
> collect2: error: ld returned 1 exit status
> make[1]: *** [Makefile:676: sipsak] Error 1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> make: *** [debian/rules:41: build-arch] Error 2
> dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

I've fixed this with the attached patch.

Thanks,
Guillem
-------------- next part --------------
A non-text attachment was scrubbed...
Name: extern-variables.patch
Type: text/x-diff
Size: 4940 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-voip-maintainers/attachments/20201118/d9e52fe9/attachment.patch>


More information about the Pkg-voip-maintainers mailing list