Bug#957944: wmfrog: ftbfs with GCC-10

Doug Torrance dtorrance at piedmont.edu
Fri Apr 17 19:59:32 BST 2020


On Fri, Apr 17, 2020 at 1:48 PM Jeremy Sowden <jeremy at azazel.net> wrote:
>
> 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.

I've opened a pull request upstream [1] with your patch.

Doug

[1] https://github.com/tcolar/wmfrog/pull/4



More information about the Pkg-wmaker-devel mailing list