[oe] [meta-oe][PATCH 1/2] zeroc-ice: blacklist, because it's not compatible with default db-6* version

Martin Jansa martin.jansa at gmail.com
Tue Jul 22 14:16:49 UTC 2014


On Tue, Jul 22, 2014 at 09:59:55AM -0400, Philip Balister wrote:
> How many recipes have issues with db6?

I know only about this one.

> Is there some standard guidance on fixing these issues?

I would look into upstream if they already fixed it in newer zeroc-ice
and upgrade to that version or backport that patch.

If they didn't then someone needs to check db API changes and adapt it
(and submit it upstream).

> I am on vacation for 2.5 weeks, when I get back I'll look into this.

OK, I'm merge the blacklist until it's fixed.

Better to document the issue in blacklist and let the build fail
immediately than wait for bitbake to fail.

Users still can set P_V for db together with empty PNBLACKLIST value to
build zeroc-ice.

> Philip
> 
> On 07/21/2014 06:29 PM, Martin Jansa wrote:
> > Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> > ---
> >  meta-oe/recipes-connectivity/zeroc-ice/zeroc-ice_3.5.1.bb | 10 ++++++++++
> >  1 file changed, 10 insertions(+)
> > 
> > diff --git a/meta-oe/recipes-connectivity/zeroc-ice/zeroc-ice_3.5.1.bb b/meta-oe/recipes-connectivity/zeroc-ice/zeroc-ice_3.5.1.bb
> > index 79d8b5a..e39aa18 100644
> > --- a/meta-oe/recipes-connectivity/zeroc-ice/zeroc-ice_3.5.1.bb
> > +++ b/meta-oe/recipes-connectivity/zeroc-ice/zeroc-ice_3.5.1.bb
> > @@ -10,6 +10,16 @@ SRC_URI = "http://www.zeroc.com/download/Ice/3.5/Ice-${PV}.tar.gz \
> >  SRC_URI[md5sum] = "f00c59983cc904bca977133c0a9b3e80"
> >  SRC_URI[sha256sum] = "989e51194c6adadbd156da3288e37bad847b93b3b876502e83033b70493af392"
> >  
> > +#| 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:138:46: error: call of overloaded 'set_bt_compare(int (*)(DB*, const DBT*, const DBT*))' is ambiguous
> > +#| MapDb.cpp:138:46: note: candidates are:
> > +#| /home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/include/db_cxx.h:272:14: note: virtual int Db::set_bt_compare(bt_compare_fcn_type) <near match>
> > +#| /home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/include/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*)}'
> > +#| /home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/include/db_cxx.h:273:14: note: virtual int Db::set_bt_compare(int (*)(Db*, const Dbt*, const Dbt*, size_t*)) <near match>
> > +#| /home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/include/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[3]: *** [MapDb.o] Error 1
> > +PNBLACKLIST[zeroc-ice] = "BROKEN: not compatible with default db version"
> > +
> >  S = "${WORKDIR}/Ice-${PV}"
> >  
> >  inherit python-dir pkgconfig
> > 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20140722/d42017d0/attachment-0002.sig>


More information about the Openembedded-devel mailing list