Bug#957944: wmfrog: ftbfs with GCC-10

Jeremy Sowden jeremy at azazel.net
Fri Apr 17 18:11:54 BST 2020


On 2020-04-17, at 11:13:23 +0000, Matthias Klose wrote:
> 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.
>
> [...]
> gcc -Wl,-z,relro -Wl,-z,now  -o wmfrog wmfrog.o xutils.o
> -I/usr/X11R6/include/X11 -I/usr/X11R6/include -L/usr/X11R6/lib -lXpm
> -lX11 -lXext
> /usr/bin/ld: xutils.o:./Src/xutils.h:23: multiple definition of
> `iconwin'; wmfrog.o:./Src/xutils.h:23: first defined here
> /usr/bin/ld: xutils.o:./Src/xutils.h:21: multiple definition of
> `display'; wmfrog.o:./Src/xutils.h:21: first defined here
> /usr/bin/ld: xutils.o:./Src/xutils.h:23: multiple definition of `win';
> wmfrog.o:./Src/xutils.h:23: first defined here
> /usr/bin/ld: xutils.o:./Src/xutils.h:24: multiple definition of
> `screen'; wmfrog.o:./Src/xutils.h:24: first defined here
> /usr/bin/ld: xutils.o:./Src/xutils.h:22: multiple definition of
> `Root'; wmfrog.o:./Src/xutils.h:22: first defined here
> /usr/bin/ld: xutils.o:./Src/xutils.h:25: multiple definition of
> `DisplayDepth'; wmfrog.o:./Src/xutils.h:25: first defined here
> [...]

Here's a patch.

J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_multiple_definitions_of_several_variables.patch
Type: text/x-diff
Size: 943 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-wmaker-devel/attachments/20200417/ba87b017/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-wmaker-devel/attachments/20200417/ba87b017/attachment-0001.sig>


More information about the Pkg-wmaker-devel mailing list