Ninja build is failing intermittently

206 Views Asked by At

I am building DPDK 21.11.1. I have installed both ninja and meson packages along with all required tools. My meson build is successful. It generates the ninja.build file. My meson version in .49.2. While running the ninja command build is failing at

../../BUILDROOT/external/dpdk/Linux/RPM/root-dpdk/.ninja_log lib/76b5a35@@rte_vhost@sta/vhost_vhost_crypto.c.o a4371e2d46dc69fc lib/76b5a35@@rte_pipeline@sta/pipeline_rte_table_action.c.o 6110779d602aab2f

After that, it's existing without giving any error. There are a lot of files to compile/build after this entry in ninja.build file. I tried upgrading the meson version to meson-0.61.5 but no luck. **gcc version is gcc (GCC) 10.2.1 20210130 (Red Hat 10.2.1-11)

I am using following commands in spec file. meson -Dprefix=$RPM_BUILD_ROOT%{_prefix} --buildtype=debug %{buildroot} cd %{buildroot} ninja

where buildroot is my build dir. I tried using the -v option of the ninja as well but it's not showing any error. Could you please suggest how can I fix this issue?

0

There are 0 best solutions below