libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -pipe -march=native -fno-diagnostics-color -O2 -c time.cpp -fPIC -DPIC -o .libs/time.o /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -pipe -march=native -fno-diagnostics-color -O2 -c -o timer.lo timer.cpp libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../src -I../include -I../include -Wno-long-long -Wall -pedantic -pipe -march=native -fno-diagnostics-color -O2 -c timer.cpp -fPIC -DPIC -o .libs/timer.o timer.cpp: In member function void cxxtools::Timer::start(const cxxtools::DateTime&, const cxxtools::Milliseconds&, bool)’: timer.cpp:134:15: error: aggregate tm tim’ has incomplete type and cannot be defined 134 | struct tm tim; | ^~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-j4-20220612-070004 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.1.1 * clang/llvm (if any): clang version 14.0.5 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/bin /usr/lib/llvm/14 14.0.5 Python 3.9.13 Available Ruby profiles: (none found) Available Rust versions: [1] rust-1.61.0 * The Glorious Glasgow Haskell Compilation System, version 8.10.4 php cli: [1] php8.1 * HEAD of ::gentoo commit bc3575d9a6cf28044fc1d0cb3fb70147d68ae565 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Jun 13 19:47:59 2022 +0000 2022-06-13 19:47:59 UTC emerge -qpvO dev-libs/cxxtools [ebuild N ] dev-libs/cxxtools-3.0-r1
Created attachment 784754 [details] emerge-info.txt
Created attachment 784757 [details] dev-libs:cxxtools-3.0-r1:20220613-203116.log
Created attachment 784760 [details] emerge-history.txt
Created attachment 784763 [details] environment
Created attachment 784766 [details] etc.portage.tar.bz2
Created attachment 784769 [details] logs.tar.bz2
Created attachment 784772 [details] temp.tar.bz2
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7966df0d4206f1f85a392e7325048ebe41be40e7 commit 7966df0d4206f1f85a392e7325048ebe41be40e7 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-14 12:11:15 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-14 12:11:15 +0000 dev-libs/cxxtools: fix build with GCC 12; fix build with lld Closes: https://bugs.gentoo.org/851837 Closes: https://bugs.gentoo.org/829662 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/cxxtools/cxxtools-3.0-r2.ebuild | 45 ++++++++++++++++++++++ .../cxxtools/files/cxxtools-3.0-gcc12-time.patch | 11 ++++++ .../files/cxxtools-3.0-lld-linking-openssl.patch | 11 ++++++ 3 files changed, 67 insertions(+)