x86_64-pc-linux-gnu-g++ -std=c++11 -DHAVE_CONFIG_H -I. -I.. -fPIC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -DWITH_OPENGL -DGLEW_STATIC -DRELEASE -Wall -Wextra -ffast-math -fmessage-length=0 -finline-functions -I/var/tmp/portage/app-emulation/punes-0.105/work/puNES-0.105/./src -I/var/tmp/portage/app-emulation/punes-0.105/work/puNES-0.105/./src/gui -I/var/tmp/portage/app-emulation/punes-0.105/work/puNES-0.105/./src/core -I/var/tmp/portage/app-emulation/punes-0.105/work/puNES-0.105/./src/video/shaders -I/var/tmp/portage/app-emulation/punes-0.105/work/puNES-0.105/./src/gui/linux -I/var/tmp/portage/app-emulation/punes-0.105/work/puNES-0.105/./src/video/opengl -I/usr/include/qt5/QtCore -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -DQT_SVG_LIB -I/usr/include/qt5/QtSvg -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/libdrm --param inline-unit-growth=200 --param large-function-growth=500 -c -o gui/resources.o gui/resources.cpp x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -DWITH_OPENGL -DGLEW_STATIC -DRELEASE -Wall -Wextra -ffast-math -fmessage-length=0 -finline-functions -I/var/tmp/portage/app-emulation/punes-0.105/work/puNES-0.105/./src -I/var/tmp/portage/app-emulation/punes-0.105/work/puNES-0.105/./src/gui -I/var/tmp/portage/app-emulation/punes-0.105/work/puNES-0.105/./src/core -I/var/tmp/portage/app-emulation/punes-0.105/work/puNES-0.105/./src/video/shaders -I/var/tmp/portage/app-emulation/punes-0.105/work/puNES-0.105/./src/gui/linux -I/var/tmp/portage/app-emulation/punes-0.105/work/puNES-0.105/./src/video/opengl -I/usr/include/qt5/QtCore -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -DQT_SVG_LIB -I/usr/include/qt5/QtSvg -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/libdrm -c -o core/palette.o core/palette.c x86_64-pc-linux-gnu-g++ -std=c++11 -fPIC -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -DWITH_OPENGL -DGLEW_STATIC -DRELEASE -Wall -Wextra -ffast-math -fmessage-length=0 -finline-functions -I/var/tmp/portage/app-emulation/punes-0.105/work/puNES-0.105/./src -I/var/tmp/portage/app-emulation/punes-0.105/work/puNES-0.105/./src/gui -I/var/tmp/portage/app-emulation/punes-0.105/work/puNES-0.105/./src/core -I/var/tmp/portage/app-emulation/punes-0.105/work/puNES-0.105/./src/video/shaders -I/var/tmp/portage/app-emulation/punes-0.105/work/puNES-0.105/./src/gui/linux -I/var/tmp/portage/app-emulation/punes-0.105/work/puNES-0.105/./src/video/opengl -I/usr/include/qt5/QtCore -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -DQT_SVG_LIB -I/usr/include/qt5/QtSvg -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/include/libdrm --param inline-unit-growth=200 --param large-function-growth=500 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o punes core/main.o gui/resources.o core/palette.o core/libcore.a video/libvideo.a c++/libcplus.a gui/libgui.a audio/libaudio.a /var/tmp/portage/app-emulation/punes-0.105/work/puNES-0.105/src/extra/lib7zip-1.6.5/Lib7Zip/lib7zip.a -lQt5Svg -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lasound -ldl -lpthread /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: core/palette.o:(.bss+0x0): multiple definition of `palette_RGB'; core/main.o:(.bss+0xb760): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: core/palette.o:(.bss+0xc20): multiple definition of `palette_base_file'; core/main.o:(.bss+0xc380): first defined here ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_developer-20200221-171645 ------------------------------------------------------------------- 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.41.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 <== Sun, 23 Feb 2020 19:37:10 +0000 emerge -qpvO app-emulation/punes [ebuild N ] app-emulation/punes-0.105 USE="-cg"
Created attachment 615404 [details] emerge-info.txt
Created attachment 615406 [details] app-emulation:punes-0.105:20200223-202708.log.bz2
Created attachment 615408 [details] emerge-history.txt
Created attachment 615410 [details] environment
Created attachment 615412 [details] etc.portage.tbz2
Created attachment 615414 [details] logs.tbz2
Created attachment 615416 [details] temp.tbz2
Created attachment 621624 [details, diff] Patch to correct compilation errors with the -fno-common option
Created attachment 621626 [details, diff] Patch to fix compilation warnings with the new QT I know that other things are discussed in the bug but I have also prepared this patch for the new QTs.
Compilation issues solved in 0.106.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56bf8b6a7e58810b7f3399e4ec33963d936c3cd6 commit 56bf8b6a7e58810b7f3399e4ec33963d936c3cd6 Author: Azamat H. Hackimov <azamat.hackimov@gmail.com> AuthorDate: 2020-07-28 13:33:32 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-08-08 09:04:04 +0000 app-emulation/punes: update to 0.106 Update package to 0.106, which fixes gcc10 compilation issue (#710612). Additional fixes compilation error #734276. Closes: https://bugs.gentoo.org/710612 Closes: https://bugs.gentoo.org/734276 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org> app-emulation/punes/Manifest | 1 + app-emulation/punes/punes-0.106.ebuild | 58 ++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+)