Created attachment 457358 [details] build.log [ebuild NS ] sys-libs/db-3.2.9_p2 [1.85-r3, 5.3.28-r2, 6.0.35] USE="-doc -examples {-test}" This is almost a duplicate of #218469, but many years have passed and we're a few extra GCCs deep, so its possible the bug resurfacing is for different reasons. c++ -c -I. -I/var/tmp/portage/sys-libs/db-3.2.9_p2/work/db-3.2.9/dist/../include -D_REENTRANT -fexceptions -O2 -pipe -mtune=native -march=native /var/tmp/portage/sys-libs/db-3.2.9_p2/work/db-3.2.9/dist/../cxx/cxx_app.cpp In file included from /var/tmp/portage/sys-libs/db-3.2.9_p2/work/db-3.2.9/dist/../cxx/cxx_app.cpp:18:0: /var/tmp/portage/sys-libs/db-3.2.9_p2/work/db-3.2.9/dist/../include/db_cxx.h:56:22: fatal error: iostream.h: No such file or directory compilation terminated.
I get the impression this statement doesn't work on GCC 5. +#if defined(__GNUC__) && (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)
Created attachment 457372 [details, diff] db-3.2.9-gcc43.patch Locally edited the patch slightly, and compilation now works for me. Replacement patch attached.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35649ba689623e24501e7091b13eb8ba8d60fc84 commit 35649ba689623e24501e7091b13eb8ba8d60fc84 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2019-11-07 17:35:02 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2019-11-07 17:35:18 +0000 sys-libs/db: First batch of EAPI-7 revbumps Bug: https://bugs.gentoo.org/697542 Closes: https://bugs.gentoo.org/612686 Closes: https://bugs.gentoo.org/639754 Closes: https://bugs.gentoo.org/603680 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> .../db/{db-1.85-r3.ebuild => db-1.85-r4.ebuild} | 30 ++-- .../{db-3.2.9_p2.ebuild => db-3.2.9_p2-r1.ebuild} | 177 +++++++++++---------- ...-4.2.52_p5-r1.ebuild => db-4.2.52_p5-r2.ebuild} | 164 +++++++++++-------- ...-4.3.29_p1-r1.ebuild => db-4.3.29_p1-r2.ebuild} | 158 ++++++++++-------- ...-4.4.20_p4-r1.ebuild => db-4.4.20_p4-r2.ebuild} | 146 +++++++++-------- sys-libs/db/files/db-1.85-gentoo-paths.patch | 4 +- sys-libs/db/files/db-3.2.9-gcc43.patch | 2 +- .../db/files/db-4.2-jni-check-prefix-first.patch | 4 +- .../db/files/db-4.2-listen-to-java-options.patch | 4 +- sys-libs/db/files/db-4.2.52_p2-TXN.patch | 8 +- .../db/files/db-4.3-jni-check-prefix-first.patch | 4 +- sys-libs/db/files/db-4.3-libtool.patch | 4 +- sys-libs/db/files/db-4.4-libtool.patch | 4 +- 13 files changed, 398 insertions(+), 311 deletions(-)