Skip to contentSkip to conversation

drbd: BLACKLIST recipe

PATCH Superseded Armin Kuster 1 participant 2 messages Apr 14, 2018

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 drbd: BLACKLIST recipe

fails do to new kernel headers.

| ../drbd/9.0.8-1-r0/drbd-9.0.8-1/drbd/drbd_receiver.c:1479:7: error: 'struct bio' has no member named 'bi_bdev'; did you mean 'bi_iter'?
|   bio->bi_bdev = device->ldev->backing_bdev;
|        ^~~~~~~
|        bi_iter
| .../drbd/9.0.8-1-r0/drbd-9.0.8-1/drbd/drbd_receiver.c:1484:17: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
|   bio->bi_end_io = drbd_peer_request_endio;
---
 meta-networking/recipes-support/drbd/drbd_9.0.8-1.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-support/drbd/drbd_9.0.8-1.bb +2 -0
index e943f24..7a607b0 100644
@@ -20,3 +20,5 @@ EXTRA_OEMAKE += "KDIR='${STAGING_KERNEL_DIR}'"
 do_install () {
     oe_runmake install DESTDIR="${D}"
 }
+
+PNBLACKLIST[drdb] = "implicit declaration of function 'setup_timer'; 4.15 head file issue?" 
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/2 librcf: BLACKLIST compile failed.

errror: conflicting declaration 'typedef class boost::asio::io_context boost::asio::io_service'
error: no matching function for call to 'boost::asio::basic_deadline_timer<boost::posix_time::ptime>::basic_deadline_timer(RCF::AsioIoService&)'
error: invalid use of incomplete type 'RCF::AsioIoService {aka class boost::asio::io_service}'

---
 meta-oe/recipes-devtools/librcf/librcf_2.2.0.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-devtools/librcf/librcf_2.2.0.0.bb +2 -0
index 43eff72..267c0e7 100644
@@ -50,3 +50,5 @@ FILES_${PN}-demos = "${bindir}/*"
 FILES_${PN}-dev += "${datadir}/cmake/Modules/FindLibRcf.cmake"
 
 BBCLASSEXTEND = "nativesdk"
+
+PNBLACKLIST[librcf] = " error: invalid use of incomplete type 'RCF::AsioIoService {aka class boost::asio::io_service}; among others?" 
Signature · 1 line
2.7.4