[Pkg-dpdk-devel] Bug#983574: dpdk_config_options in DEB_BUILD_OPTIONS fails

Nicholas Brown nickbroon at gmail.com
Fri Feb 26 16:15:37 GMT 2021


Package: dpdk
Version: unstable

The support for specifying dpdk_config_options in DEB_BUILD_OPTIONS fails
when building the unstable branch in a bullseye schroot.

It appears that commas are being replaced with dashes.

DEB_BUILD_OPTIONS="dpdk_config_options=-Duse_hpet=true,-Dmax_ethports=128,-Dmax_numa_nodes=8,-Ddisable_drivers=net/softnic"
gbp buildpackage -uc -us

dh_auto_configure --
-Duse_hpet=true-Dmax_ethports=128-Dmax_numa_nodes=8-Ddisable_drivers=net/softnic
\
--includedir=include/dpdk \
--default-library=shared \
-Dper_library_versions=false \
-Dinclude_subdir_arch=../x86_64-linux-gnu/dpdk \
-Dmachine="default"
install -d obj-x86_64-linux-gnu
cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 meson .. --wrap-mode=nodownload
--buildtype=plain --prefix=/usr --sysconfdir=/etc --localstatedir=/var
--libdir=lib/x86_64-linux-gnu
-Duse_hpet=true-Dmax_ethports=128-Dmax_numa_nodes=8-Ddisable_drivers=net/softnic
--includedir=include/dpdk --default-library=shared
-Dper_library_versions=false -Dinclude_subdir_arch=../x86_64-linux-gnu/dpdk
-Dmachine=default
The Meson build system
Version: 0.56.2
Source dir: /home/brownn/dpdk
Build dir: /home/brownn/dpdk/obj-x86_64-linux-gnu
Build type: native build
Program cat found: YES (/bin/cat)

../meson.build:4:0: ERROR: Value
true-Dmax_ethports=128-Dmax_numa_nodes=8-Ddisable_drivers=net/softnic is
not boolean (true or false).

A full log can be found at
/home/brownn/dpdk/obj-x86_64-linux-gnu/meson-logs/meson-log.txt
cd obj-x86_64-linux-gnu && tail -v -n \+0 meson-logs/meson-log.txt
==> meson-logs/meson-log.txt <==
Build started at 2021-02-26T15:25:29.485465
Main binary: /usr/bin/python3
Build Options:
-Duse_hpet=true-Dmax_ethports=128-Dmax_numa_nodes=8-Ddisable_drivers=net/softnic
-Dper_library_versions=false -Dinclude_subdir_arch=../x86_64-linux-gnu/dpdk
-Dmachine=default -Dprefix=/usr -Dincludedir=include/dpdk
-Dlibdir=lib/x86_64-linux-gnu -Dlocalstatedir=/var -Dsysconfdir=/etc
-Dbuildtype=plain -Ddefault_library=shared -Dwrap_mode=nodownload
Python system: Linux
The Meson build system
Version: 0.56.2
Source dir: /home/brownn/dpdk
Build dir: /home/brownn/dpdk/obj-x86_64-linux-gnu
Build type: native build
Program cat found: YES (/bin/cat)
Running command: /bin/cat /home/brownn/dpdk/VERSION
--- stdout ---
20.11.0

--- stderr ---



../meson.build:4:0: ERROR: Value
true-Dmax_ethports=128-Dmax_numa_nodes=8-Ddisable_drivers=net/softnic is
not boolean (true or false).
dh_auto_configure: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 meson
.. --wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc
--localstatedir=/var --libdir=lib/x86_64-linux-gnu
-Duse_hpet=true-Dmax_ethports=128-Dmax_numa_nodes=8-Ddisable_drivers=net/softnic
--includedir=include/dpdk --default-library=shared
-Dper_library_versions=false -Dinclude_subdir_arch=../x86_64-linux-gnu/dpdk
-Dmachine=default returned exit code 1
make[1]: *** [debian/rules:83: override_dh_auto_configure] Error 25
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-dpdk-devel/attachments/20210226/a3b2159f/attachment.htm>


More information about the Pkg-dpdk-devel mailing list