From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4E21AA0C47 for ; Tue, 12 Oct 2021 08:45:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2677040E0F; Tue, 12 Oct 2021 08:45:56 +0200 (CEST) Received: from forward104j.mail.yandex.net (forward104j.mail.yandex.net [5.45.198.247]) by mails.dpdk.org (Postfix) with ESMTP id 691B740E01 for ; Tue, 12 Oct 2021 08:45:54 +0200 (CEST) Received: from forward103q.mail.yandex.net (forward103q.mail.yandex.net [IPv6:2a02:6b8:c0e:50:0:640:b21c:d009]) by forward104j.mail.yandex.net (Yandex) with ESMTP id 0919D2F99798 for ; Tue, 12 Oct 2021 09:45:54 +0300 (MSK) Received: from vla1-a82bbd6843fb.qloud-c.yandex.net (vla1-a82bbd6843fb.qloud-c.yandex.net [IPv6:2a02:6b8:c0d:1389:0:640:a82b:bd68]) by forward103q.mail.yandex.net (Yandex) with ESMTP id 0342456A0013 for ; Tue, 12 Oct 2021 09:45:54 +0300 (MSK) Received: from vla1-62318bfe5573.qloud-c.yandex.net (2a02:6b8:c0d:3819:0:640:6231:8bfe [2a02:6b8:c0d:3819:0:640:6231:8bfe]) by vla1-a82bbd6843fb.qloud-c.yandex.net (mxback/Yandex) with ESMTP id JwC6WhRLVP-jrEKCHio; Tue, 12 Oct 2021 09:45:53 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1634021153; bh=pW78wTXRRZj3spRytAQ3MBkCKP3KIeWIIL/qbswrASc=; h=Date:Message-ID:Subject:From:To; b=AzU2clPuGDhEmYMkWjwPlrW0F507ZPIHpxk5DYmsZCm/PQHNFy8LL7WnNkHC8lBk6 oXUGsZvzZjkMcMk8ySrmOSSLEvsXUnWVyqjdylHfZrbjeTyl6Ksfv2OcwBkptJLbCV 7ZYo/cxGFuPFCJCrCRbET7DugtMspPRNEqsrSqxw= Authentication-Results: vla1-a82bbd6843fb.qloud-c.yandex.net; dkim=pass header.i=@yandex.ru Received: by vla1-62318bfe5573.qloud-c.yandex.net (smtp/Yandex) with ESMTPS id 80ciMGYZTy-jrMW9Yh7; Tue, 12 Oct 2021 09:45:53 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) To: users@dpdk.org From: "Ruslan R. Laishev" Subject: Troubles with building of DPDK.RPM and meson Organization: StarLet Team Message-ID: <649b9c26-cf38-2dc3-7148-05f8b8887299@yandex.ru> Date: Tue, 12 Oct 2021 09:45:52 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org 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.