Skip to contentSkip to conversation

zeroc-ice: blacklist, because it's not compatible with default db-6* version

PATCH In review Martin Jansa 2 participants 4 messages Jul 21, 2014 – Jul 22, 2014

lore
Share & tools
lore
#0 lore raw

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

---
 meta-oe/recipes-connectivity/zeroc-ice/zeroc-ice_3.5.1.bb | 10 ++++++++++
 1 file changed, 10 insertions(+)
meta-oe/recipes-connectivity/zeroc-ice/zeroc-ice_3.5.1.bb +10 -0
index 79d8b5a..e39aa18 100644
@@ -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
Signature · 1 line
2.0.2
#1 lore raw

PATCH 2/2 lksctp-tools: blacklist because it fails to link against sctp_connectx symbol

---
 meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.16.bb | 6 ++++++
 1 file changed, 6 insertions(+)
meta-networking/recipes-support/lksctp-tools/lksctp-tools_1.0.16.bb +6 -0
index 102c2bb..e2551e1 100644
@@ -12,6 +12,12 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/lksctp/${BP}.tar.gz"
 SRC_URI[md5sum] = "708bb0b5a6806ad6e8d13c55b067518e"
 SRC_URI[sha256sum] = "0903dd526b7f30a89d5031aa2c82757612becc38ed7bc6e4f972f8deae351f26"
 
+#| arm-oe-linux-gnueabi-libtool: link: arm-oe-linux-gnueabi-gcc  -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/qemuarm -shared  -fPIC -DPIC  .libs/bindx.o .libs/connectx.o .libs/peeloff.o .libs/opt_info.o .libs/addrs.o .libs/sendmsg.o .libs/recvmsg.o    -march=armv5te -marm -mthumb-interwork --sysroot=/home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/qemuarm -O2 -Wl,--version-script=/home/jenkins/oe/world/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/lksctp-tools/1.0.16-r0/lksctp-tools-1.0.16/src/lib/Versions.map -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed   -Wl,-soname -Wl,libsctp.so.1 -o .libs/libsctp.so.1.0.16
+#| /home/jenkins/oe/world/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/arm-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.9.0/ld: error: symbol sctp_connectx has undefined version
+#| collect2: error: ld returned 1 exit status
+#| make[4]: *** [libsctp.la] Error 1
+PNBLACKLIST[lksctp-tools] = "BROKEN: fails to link against sctp_connectx symbol"
+
 S = "${WORKDIR}/${BP}"
 
 BBCLASSEXTEND = "native"
Signature · 1 line
2.0.2
#2 lore raw
In reply to Martin Jansa

How many recipes have issues with db6? Is there some standard guidance on fixing these issues?

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

Philip

Quoted 27 lines · Martin Jansa
---
 meta-oe/recipes-connectivity/zeroc-ice/zeroc-ice_3.5.1.bb | 10 ++++++++++
 1 file changed, 10 insertions(+)
meta-oe/recipes-connectivity/zeroc-ice/zeroc-ice_3.5.1.bb +10 -0
index 79d8b5a..e39aa18 100644
@@ -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
#3 lore raw
Quoted 1 line · Philip Balister

How many recipes have issues with db6?

I know only about this one.

Quoted 1 line

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).

Quoted 1 line

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.

Quoted 35 lines

Philip

Quoted 27 lines · Martin Jansa
---
 meta-oe/recipes-connectivity/zeroc-ice/zeroc-ice_3.5.1.bb | 10 ++++++++++
 1 file changed, 10 insertions(+)
meta-oe/recipes-connectivity/zeroc-ice/zeroc-ice_3.5.1.bb +10 -0
index 79d8b5a..e39aa18 100644
@@ -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
Signature · 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]