From: "Ruslan R. Laishev" <zator@yandex.ru>
To: users@dpdk.org
Subject: Troubles with building of DPDK.RPM and meson
Date: Tue, 12 Oct 2021 09:45:52 +0300 [thread overview]
Message-ID: <649b9c26-cf38-2dc3-7148-05f8b8887299@yandex.ru> (raw)
Hello All!
I have a small study task to make DPDK.RPM with the latest DPDK from
the git.
I use DPDK.SPEC from the latest .SRC.RPM kit as a template.
In my DPDK.SPEC:
-------------------------------------------------------------
%build
# In case dpdk-devel is installed
unset RTE_SDK RTE_INCLUDE RTE_TARGET
%meson
%meson_build
-------------------------------------------------------------
Build the packet :
-------------------------------------------------------------
[root@sysman rpmbuild]# rpmbuild -ba SPECS/dpdk.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PRXHJF
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd /root/rpmbuild/BUILD
+ rm -rf dpdk-21.08
+ /usr/bin/xz -dc /root/rpmbuild/SOURCES/dpdk-21.08.tar.xz
+ /usr/bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd dpdk-21.08
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fVhx2d
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd dpdk-21.08
+ unset RTE_SDK RTE_INCLUDE RTE_TARGET
++ echo -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-m64 -mtune=generic
++ sed -e s:-Wall::g -e 's:-march=[[:alnum:]]* ::g'
+ export 'EXTRA_CFLAGS=-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -m64 -mtune=generic -Wformat -fPIC -fcommon'
+ EXTRA_CFLAGS='-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches
-m64 -mtune=generic -Wformat -fPIC -fcommon'
+ %meson
/var/tmp/rpm-tmp.fVhx2d: line 46: fg: no job control
error: Bad exit status from /var/tmp/rpm-tmp.fVhx2d (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.fVhx2d (%build)
-------------------------------------------------------------
meson and ninja is installed on the system, I can build DPDK from
command line with:
$ meson build
$ cd build
$ ninja
...
So, can someone help me to resolve this ?
Thanks in advance.
next reply other threads:[~2021-10-12 6:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-12 6:45 Ruslan R. Laishev [this message]
2021-10-12 8:31 ` Thomas Monjalon
2021-10-12 9:10 ` Ruslan R. Laishev
2021-10-12 15:22 ` Ruslan R. Laishev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=649b9c26-cf38-2dc3-7148-05f8b8887299@yandex.ru \
--to=zator@yandex.ru \
--cc=users@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).