Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 603680 - sys-libs/db-3.2.9_p2 fails compile: fatal error: iostream.h: No such file or directory
Summary: sys-libs/db-3.2.9_p2 fails compile: fatal error: iostream.h: No such file or ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-25 10:20 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2019-11-07 17:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,215.48 KB, text/plain)
2016-12-25 10:20 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details
db-3.2.9-gcc43.patch (db-3.2.9-gcc43.patch,459 bytes, patch)
2016-12-25 11:46 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2016-12-25 10:20:15 UTC
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.
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2016-12-25 11:39:31 UTC
I get the impression this statement doesn't work on GCC 5.

+#if defined(__GNUC__) && (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2016-12-25 11:46:38 UTC
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.
Comment 3 Larry the Git Cow gentoo-dev 2019-11-07 17:35:24 UTC
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(-)