/usr/include/gtk-3.0/gtk/gtkshow.h:33:10: note: declared here 33 | gboolean gtk_show_uri (GdkScreen *screen, | ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -fno-strict-aliasing -Wall -Wextra -Wundef -Wnested-externs -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wformat=2 -Wold-style-definition -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wimplicit-function-declaration -Wreturn-type -Wswitch-enum -Wswitch-default -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -pipe -march=native -fno-common -Wl,--no-as-needed -Wl,-O1 -Wl,--as-needed -o atomix main.o board-gtk.o undo.o goal.o goal-view.o clock.o games-show.o libatomix.a -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lm /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: libatomix.a(level.o):(.bss+0x0): multiple definition of `parent_class'; libatomix.a(theme.o):(.bss+0x0): first defined here collect2: error: ld returned 1 exit status ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop-libressl-20200125-232521 ------------------------------------------------------------------- Please see the tracker bug for details. gcc-config -l: [1] x86_64-pc-linux-gnu-9.2.0 * clang: clang version 9.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/9/bin llvm: 9.0.1 Available Python interpreters, in order of preference: [1] python3.8 [2] python3.7 [3] python3.6 [4] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.40.0 * java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.14.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm ghc: The Glorious Glasgow Haskell Compilation System, version 8.0.2 repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Sat, 01 Feb 2020 01:27:54 +0000 emerge -qpvO games-puzzle/atomix [ebuild N ] games-puzzle/atomix-3.22.0
Created attachment 610286 [details] emerge-info.txt
Created attachment 610288 [details] emerge-history.txt
Created attachment 610290 [details] environment
Created attachment 610292 [details] etc.portage.tbz2
Created attachment 610294 [details] games-puzzle:atomix-3.22.0:20200201-022127.log
Created attachment 610296 [details] logs.tbz2
Created attachment 610298 [details] temp.tbz2
I confirm that adding -fcommon to CFLAGS resolved the problem. I made it creating env/common: CFLAGS="$CFLAGS -fcommon" and appending games-puzzle/atomix common to package.env.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da9edaa41ab976dc18bc2d32e5d1ef11d88d7183 commit da9edaa41ab976dc18bc2d32e5d1ef11d88d7183 Author: Alexey Sokolov <sokolov@google.com> AuthorDate: 2020-09-12 23:24:26 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2020-09-13 12:58:29 +0000 games-puzzle/atomix: fix build with gcc10 Closes: https://bugs.gentoo.org/707728 Package-Manager: Portage-3.0.4, Repoman-2.3.23 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/17518 Signed-off-by: James Le Cuirot <chewi@gentoo.org> games-puzzle/atomix/atomix-3.34.0-r1.ebuild | 30 ++++++++++++++++++++++ .../atomix/files/atomix-3.34.0-fnocommon.patch | 26 +++++++++++++++++++ 2 files changed, 56 insertions(+)