After fixing bug #707496, you'll see:
ld: sway/345c74e@@sway@exe/config.c.o:/home/portage/gui-wm/sway-1.2/work/sway-1.2-build/../sway-1.2/include/sway/server.h:81: multiple definition of `server'; sway/345c74e@@sway@exe/commands.c.o:/home/portage/gui-wm/sway-1.2/work/sway-1.2-build/../sway-1.2/include/sway/server.h:81: first defined here
[and so on]
This is already fixed upstream but no release is available yet.
ah, you even saw that it was fixed already :D, ya, use git master (9999) if you need -fno-common
*** Bug 708798 has been marked as a duplicate of this bug. ***
(In reply to Matthew Thode ( prometheanfire ) from comment #1)
> ah, you even saw that it was fixed already :D, ya, use git master (9999) if
> you need -fno-common
The fix is 2-liner. Are you fine with me or someone else to pull patch as-is in to gentoo?
if you wish to make a revbump to do so, feel free.
The bug has been closed via the following commit(s):
Author: Sergei Trofimovich <email@example.com>
AuthorDate: 2020-04-17 17:28:03 +0000
Commit: Sergei Trofimovich <firstname.lastname@example.org>
CommitDate: 2020-04-17 17:28:16 +0000
gui-wm/sway: tweak for gcc-10, bug #708704
Apply upstream 29a5ce5 "Fix compiling with -fno-common ".
Reported-by: Jeroen Roovers
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <email@example.com>
gui-wm/sway/files/sway-1.4-gcc-10.patch | 42 ++++++++++++
gui-wm/sway/sway-1.4-r1.ebuild | 118 ++++++++++++++++++++++++++++++++
2 files changed, 160 insertions(+)