Public bug reported:
Comparing the old autopkgtest with the code in Eoan proposed.
Issue:
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-eoan/eoan/amd64/d/dpdk/20190506_145757_c388d@/log.gz
The issue is that actually the old code is broken but it was never
detected.
The new build has fixes to correctly consider also some of the newer libs:
Those are added to pkgconfig: -lrte_telemetry -lrte_bpf -lrte_flow_classify
-lrte_pdump -lrte_power -lrte_member -lrte_latencystats -lrte_jobstats
-lrte_gro -lrte_efd -lrte_distributor -lrte_cfgfile -lrte_bitratestats
But that also makes those libs dependencies considered when generating the
pkg-config.
Due to that it changes:
old: Requires.private: libbsd, zlib, libmnl, libmlx4, libibverbs, libmlx5,
libcrypto
new: Requires.private: libbsd, zlib, libmnl, libmlx4, libibverbs, libmlx5,
libcrypto, jansson, libelf
This is due to
LDD
/usr/lib/x86_64-linux-gnu/librte_telemetry.so.18.11
[...]
libjansson.so.4 => /lib/x86_64-linux-gnu/libjansson.so.4
(0x00007fc7cb4da000)
/usr/lib/x86_64-linux-gnu/librte_bpf.so.18.11:
[...]
libelf.so.1 => /lib/x86_64-linux-gnu/libelf.so.1 (0x00007fc6a3d07000)
In test environment:
$ pkg-config --libs --cflags libdpdk
Package jansson was not found in the pkg-config search path.
Perhaps you should add the directory containing `jansson.pc'
to the PKG_CONFIG_PATH environment variable
Package 'jansson', required by 'libdpdk', not found
$ sudo apt install libelf-dev libjansson-dev
[...]
$ pkg-config --libs --cflags libdpdk
-include rte_config.h -march=corei7
-I/usr/include/dpdk/../x86_64-linux-gnu/dpdk -I/usr/include/dpdk
-I/usr/include/libnl3 -lrte_telemetry -lrte_bpf -lrte_flow_classify
-lrte_pipeline -lrte_table -lrte_port -lrte_vhost -lrte_security -lrte_sched
-lrte_reorder -lrte_rawdev -lrte_pdump -lrte_power -lrte_meter -lrte_member
-lrte_lpm -lrte_latencystats -lrte_kni -lrte_jobstats -lrte_ip_frag -lrte_gso
-lrte_gro -lrte_eventdev -lrte_efd -lrte_distributor -lrte_cryptodev
-lrte_compressdev -lrte_cfgfile -lrte_bitratestats -lrte_bbdev -lrte_acl
-lrte_timer -lrte_hash -lrte_metrics -lrte_pci -lrte_ethdev -lrte_net
-lrte_mbuf -lrte_mempool -lrte_ring -lrte_cmdline -lrte_eal -lrte_kvargs
Both libs are already in main, so there is no new MIR to consider here.
This is incomplete:
139 Package: libdpdk-dev
140 Section: libdevel
141 Architecture: amd64 arm64 armhf i386 ppc64el
142 Multi-Arch: same
143 Pre-Depends: ${misc:Pre-Depends},
144 Depends: libbsd-dev,
145 libibverbs-dev,
146 libipsec-mb-dev [amd64],
147 libmnl-dev,
148 libnuma-dev,
149 libpcap-dev,
150 libssl-dev,
151 zlib1g-dev,
152 ${librte:Depends},
153 ${misc:Depends},
We forgot that when we added these:
https://salsa.debian.org/paelzer-guest/dpdk/commit/320aaf32f12be36f6b709f9ad4c160a367a22b37
https://salsa.debian.org/paelzer-guest/dpdk/commit/ac15546c278dac063927e5c79aa6106744ead711
Overall we miss:
libelf-dev
libjansson-dev
And in additon (onyl there by chance):
libcap-dev
The right fix for that is to make libdpdk-dev depend on those as well.
We could generate it one day, but for now just fix it in d/control.
** Affects: dpdk (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1828068
Title:
DPDK 18.11.1 correctly adds more sub-libs but that breaks (current)
libdpdk-dev
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dpdk/+bug/1828068/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs