[35/101] x86_64-pc-linux-gnu-gcc -Iboltd@exe -I. -I../bolt-0.8 -I../bolt-0.8/boltd -I../bolt-0.8/common -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/polkit-1 -I/usr/include/gio-unix-2.0 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu99 -fstack-protector-strong -Waggregate-return -Wunused -Warray-bounds -Wcast-align -Wclobbered -Wdeclaration-after-statement -Wempty-body -Wformat=2 -Wformat-nonliteral -Wformat-security -Wformat-signedness -Wignored-qualifiers -Wimplicit-function-declaration -Winit-self -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-parameter-type -Wmissing-prototypes -Wnested-externs -Wno-discarded-qualifiers -Wno-missing-field-initializers -Wno-suggest-attribute=format -Wno-unused-parameter -Wold-style-definition -Woverride-init -Wpointer-arith -Wredundant-decls -Wreturn-type -Wshadow -Wsign-compare -Wstrict-aliasing=3 -Wstrict-prototypes -Wstringop-overflow -Wstringop-truncation -Wtype-limits -Wundef -Wuninitialized -Wunused-but-set-variable -Wwrite-strings -O2 -march=native -fno-common -pthread '-DG_LOG_DOMAIN="bolt"' -MD -MQ 'boltd@exe/boltd_bolt-daemon.c.o' -MF 'boltd@exe/boltd_bolt-daemon.c.o.d' -o 'boltd@exe/boltd_bolt-daemon.c.o' -c ../bolt-0.8/boltd/bolt-daemon.c [36/101] x86_64-pc-linux-gnu-gcc -o boltd 'boltd@exe/boltd_bolt-daemon.c.o' -Wl,--as-needed -Wl,--no-undefined -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -Wl,--start-group libdaemon.a libcommon.a /usr/lib64/libglib-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libudev.so /usr/lib64/libpolkit-gobject-1.so -Wl,--end-group '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/var/tmp/portage/sys-apps/bolt-0.8/work/bolt-0.8-build/ FAILED: boltd x86_64-pc-linux-gnu-gcc -o boltd 'boltd@exe/boltd_bolt-daemon.c.o' -Wl,--as-needed -Wl,--no-undefined -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -Wl,--start-group libdaemon.a libcommon.a /usr/lib64/libglib-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libudev.so /usr/lib64/libpolkit-gobject-1.so -Wl,--end-group '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/var/tmp/portage/sys-apps/bolt-0.8/work/bolt-0.8-build/ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: libdaemon.a(boltd_bolt-power.c.o):(.bss+0x0): multiple definition of `BoltError'; libdaemon.a(boltd_bolt-manager.c.o):(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: libdaemon.a(boltd_bolt-device.c.o):(.bss+0x0): multiple definition of `BoltError'; libdaemon.a(boltd_bolt-manager.c.o):(.bss+0x0): first defined here ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma-libressl-20200126-092715 ------------------------------------------------------------------- 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 (uninstalled) [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 repository: ==> /var/db/repos/gentoo/metadata/timestamp.chk <== Tue, 28 Jan 2020 13:26:22 +0000 emerge -qpvO sys-apps/bolt [ebuild N ] sys-apps/bolt-0.8 USE="-doc -systemd"
Created attachment 606836 [details] emerge-info.txt
Created attachment 606838 [details] emerge-history.txt
Created attachment 606840 [details] environment
Created attachment 606842 [details] etc.portage.tbz2
Created attachment 606844 [details] logs.tbz2
Created attachment 606846 [details] sys-apps:bolt-0.8:20200128-141738.log
Created attachment 606848 [details] temp.tbz2
can you try with https://gitlab.freedesktop.org/bolt/bolt/merge_requests/210.patch (insert into /etc/portage/patches)?
(In reply to Matthew Thode ( prometheanfire ) from comment #8) > can you try with > https://gitlab.freedesktop.org/bolt/bolt/merge_requests/210.patch (insert > into /etc/portage/patches)? works fine
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5470d0a54d0057cddb5352d9c438cf661e7e2430 commit 5470d0a54d0057cddb5352d9c438cf661e7e2430 Author: Matthew Thode <prometheanfire@gentoo.org> AuthorDate: 2020-01-30 22:07:46 +0000 Commit: Matthew Thode <prometheanfire@gentoo.org> CommitDate: 2020-01-30 22:08:00 +0000 sys-apps/bolt: fix building with gcc-10 Closes: https://bugs.gentoo.org/706958 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Matthew Thode <prometheanfire@gentoo.org> sys-apps/bolt/Manifest | 2 +- sys-apps/bolt/bolt-0.7.ebuild | 42 ---------------------- .../bolt/{bolt-0.8.ebuild => bolt-0.8-r1.ebuild} | 9 +++-- 3 files changed, 8 insertions(+), 45 deletions(-)