Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 476378 - dev-libs/Ice-3.5.0 fails with sys-libs/db:6.0
Summary: dev-libs/Ice-3.5.0 fails with sys-libs/db:6.0
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: C++ Team [disbanded]
URL: http://www.zeroc.com/forums/bug-repor...
Whiteboard:
Keywords:
Depends on:
Blocks: db:6.0
  Show dependency tree
 
Reported: 2013-07-10 11:44 UTC by Lars Wendler (Polynomial-C)
Modified: 2013-07-30 06:22 UTC (History)
0 users

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


Attachments
build.log (build.log,54.89 KB, text/plain)
2013-07-10 11:44 UTC, Lars Wendler (Polynomial-C)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) gentoo-dev 2013-07-10 11:44:28 UTC
Created attachment 352996 [details]
build.log

g++ -c -I.. -I../../include -DFREEZE_API_EXPORTS -I/usr/include/db6.0  -march=barcelona -mtune=barcelona -O2 -pipe -m64 -Wall -D_REENTRANT -fPIC -DNDEBUG MapDb.cpp
MapDb.cpp: In constructor 'Freeze::MapDb::MapDb(const ConnectionIPtr&, const string&, const string&, const string&, const KeyCompareBasePtr&, const std::vector<IceUtil::Handle<Freeze::MapIndexBase> >&, bool)':
MapDb.cpp:137:46: error: call of overloaded 'set_bt_compare(int (*)(DB*, const DBT*, const DBT*))' is ambiguous
MapDb.cpp:137:46: note: candidates are:
In file included from ../Freeze/MapDb.h:14:0,
                 from MapDb.cpp:10:
/usr/include/db6.0/db_cxx.h:272:14: note: virtual int Db::set_bt_compare(bt_compare_fcn_type) <near match>
/usr/include/db6.0/db_cxx.h:272:14: note:   no known conversion for argument 1 from 'int (*)(DB*, const DBT*, const DBT*) {aka int (*)(__db*, const __db_dbt*, const __db_dbt*)}' to 'bt_compare_fcn_type {aka int (*)(__db*, const __db_dbt*, const __db_dbt*, long unsigned int*)}'
/usr/include/db6.0/db_cxx.h:273:14: note: virtual int Db::set_bt_compare(int (*)(Db*, const Dbt*, const Dbt*, size_t*)) <near match>
/usr/include/db6.0/db_cxx.h:273:14: note:   no known conversion for argument 1 from 'int (*)(DB*, const DBT*, const DBT*) {aka int (*)(__db*, const __db_dbt*, const __db_dbt*)}' to 'int (*)(Db*, const Dbt*, const Dbt*, size_t*) {aka int (*)(Db*, const Dbt*, const Dbt*, long unsigned int*)}'
make[2]: *** [MapDb.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-libs/Ice-3.5.0/work/Ice-3.5.0/cpp/src/Freeze'
make[1]: *** [Freeze] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-libs/Ice-3.5.0/work/Ice-3.5.0/cpp/src'
make: *** [all] Error 1
make: Leaving directory `/var/tmp/portage/dev-libs/Ice-3.5.0/work/Ice-3.5.0/cpp'
 * ERROR: dev-libs/Ice-3.5.0 failed (compile phase):
 *   emake failed
Comment 1 Lars Wendler (Polynomial-C) gentoo-dev 2013-07-30 06:22:32 UTC
Upstream told me that they won't support Berkeley DB 6 in Ice-3.5.0 (see Forum Thread in URL)

+*Ice-3.5.0-r1 (30 Jul 2013)
+
+  30 Jul 2013; Lars Wendler <polynomial-c@gentoo.org> Ice-3.4.2.ebuild,
+  -Ice-3.4.2-r1.ebuild, -Ice-3.5.0.ebuild, +Ice-3.5.0-r1.ebuild:
+  Non-maintainer commit: Converted ebuild to python-r1 eclass. Thanks to mgorny
+  for his expensive work with the conversion. Changed dependencies to not use
+  >=sys-libs/db-6.0 due to upstream not supporting this version because of
+  license issues (bug #476378). Removed old.
+