[Pkg-dpdk-devel] Bug#1001466: uhd: FTBFS with DPDK LTS 21.11
Luca Boccassi
bluca at debian.org
Fri Dec 10 16:32:41 GMT 2021
Source: uhd
Version: 4.1.0.4-7
Severity: normal
Tags: ftbfs experimental
X-Debbugs-Cc: pkg-dpdk-devel at lists.alioth.debian.org
Dear Maintainer,
DPDK LTS 21.11 is now available in experimental, and we'd like to start
the transition sometimes in February. During a rebuild of the reverse
build-deps, we noticed uhd fails to build. The error is inlined below.
You can reproduce it by installing libdpdk-dev from experimental.
It would be great if this could be fixed in the next couple of months.
Thank you!
In file included from /tmp/uhd-4.1.0.4/host/lib/transport/uhd-dpdk/dpdk_common.cpp:11:
/tmp/uhd-4.1.0.4/host/lib/include/uhdlib/transport/dpdk/udp.hpp:61:13: warning: "PKT_TX_IP_CKSUM" is deprecated
61 | mbuf->ol_flags = PKT_TX_IP_CKSUM | PKT_TX_IPV4;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/uhd-4.1.0.4/host/lib/include/uhdlib/transport/dpdk/udp.hpp:61:13: warning: "PKT_TX_IPV4" is deprecated
61 | mbuf->ol_flags = PKT_TX_IP_CKSUM | PKT_TX_IPV4;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/uhd-4.1.0.4/host/lib/transport/uhd-dpdk/dpdk_common.cpp: In constructor ‘uhd::transport::dpdk::dpdk_port::dpdk_port(uhd::transport::dpdk::port_id_t, size_t, uint16_t, uint16_t, rte_mempool*, rte_mempool*, std::string)’:
/tmp/uhd-4.1.0.4/host/lib/transport/uhd-dpdk/dpdk_common.cpp:126:53: error: ‘DEV_RX_OFFLOAD_JUMBO_FRAME’ was not declared in this scope; did you mean ‘DEV_RX_OFFLOAD_TIMESTAMP’?
126 | port_conf.rxmode.offloads = rx_offloads | DEV_RX_OFFLOAD_JUMBO_FRAME;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
| DEV_RX_OFFLOAD_TIMESTAMP
/tmp/uhd-4.1.0.4/host/lib/transport/uhd-dpdk/dpdk_common.cpp:127:22: error: ‘struct rte_eth_rxmode’ has no member named ‘max_rx_pkt_len’; did you mean ‘max_lro_pkt_size’?
127 | port_conf.rxmode.max_rx_pkt_len = _mtu;
| ^~~~~~~~~~~~~~
| max_lro_pkt_size
/tmp/uhd-4.1.0.4/host/lib/transport/uhd-dpdk/dpdk_common.cpp: In member function ‘int uhd::transport::dpdk::dpdk_port::_arp_reply(uhd::transport::dpdk::queue_id_t, rte_arp_hdr*)’:
/tmp/uhd-4.1.0.4/host/lib/transport/uhd-dpdk/dpdk_common.cpp:270:59: error: ‘struct rte_ether_hdr’ has no member named ‘d_addr’; did you mean ‘dst_addr’?
270 | rte_ether_addr_copy(&arp_req->arp_data.arp_sha, &hdr->d_addr);
| ^~~~~~
| dst_addr
/tmp/uhd-4.1.0.4/host/lib/transport/uhd-dpdk/dpdk_common.cpp:271:43: error: ‘struct rte_ether_hdr’ has no member named ‘s_addr’; did you mean ‘dst_addr’?
271 | rte_ether_addr_copy(&_mac_addr, &hdr->s_addr);
| ^~~~~~
| dst_addr
/tmp/uhd-4.1.0.4/host/lib/transport/uhd-dpdk/dpdk_common.cpp:281:31: error: ‘struct rte_ether_hdr’ has no member named ‘d_addr’; did you mean ‘dst_addr’?
281 | rte_ether_addr_copy(&hdr->d_addr, &arp_frame->arp_data.arp_tha);
| ^~~~~~
| dst_addr
--
Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-dpdk-devel/attachments/20211210/4188b86d/attachment.sig>
More information about the Pkg-dpdk-devel
mailing list