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 AEE8AA0C47 for ; Tue, 12 Oct 2021 11:10:56 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A2142410E8; Tue, 12 Oct 2021 11:10:56 +0200 (CEST) Received: from forward501p.mail.yandex.net (forward501p.mail.yandex.net [77.88.28.111]) by mails.dpdk.org (Postfix) with ESMTP id 5AADA4067C for ; Tue, 12 Oct 2021 11:10:56 +0200 (CEST) Received: from myt5-70642c4590a1.qloud-c.yandex.net (myt5-70642c4590a1.qloud-c.yandex.net [IPv6:2a02:6b8:c12:2898:0:640:7064:2c45]) by forward501p.mail.yandex.net (Yandex) with ESMTP id C82DE6212F95 for ; Tue, 12 Oct 2021 12:10:55 +0300 (MSK) Received: from myt6-5751e79998e4.qloud-c.yandex.net (2a02:6b8:c12:5224:0:640:5751:e799 [2a02:6b8:c12:5224:0:640:5751:e799]) by myt5-70642c4590a1.qloud-c.yandex.net (mxback/Yandex) with ESMTP id RIiZxgSUhA-AtDOToTq; Tue, 12 Oct 2021 12:10:55 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1634029855; bh=MrMdcTn9yDf5ZbFMiE2DXK9F0rRyUZXPyB5Opg37ffw=; h=In-Reply-To:From:Date:References:To:Subject:Message-ID; b=XJxiO/jviThDnc5jqtwsMDhdurUbdI8mMYkc0IxKhkyqkpYm+OMUzaejjOXyijm1F FpqfQxqdo98BrsGPLER3M6tEyYC4atj1Lc2XBaEZNPRCX791xIgUhur31cfDPf0/2q Eu5iFoz+t6KrzZ5ycYwtwmGArsd0Xe0C7LtO8AqA= Authentication-Results: myt5-70642c4590a1.qloud-c.yandex.net; dkim=pass header.i=@yandex.ru Received: by myt6-5751e79998e4.qloud-c.yandex.net (smtp/Yandex) with ESMTPS id 6sm40HczKO-AtxWNQWw; Tue, 12 Oct 2021 12:10:55 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) X-Yandex-Fwd: 2 Subject: Re: Troubles with building of DPDK.RPM and meson To: users@dpdk.org References: <649b9c26-cf38-2dc3-7148-05f8b8887299@yandex.ru> <2941130.Bb6R3ciPLE@thomas> From: "Ruslan R. Laishev" Organization: StarLet Team Message-ID: Date: Tue, 12 Oct 2021 12:10:54 +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 In-Reply-To: <2941130.Bb6R3ciPLE@thomas> 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 On 12-10-2021 11:31, Thomas Monjalon wrote: Thanks for the answer. > 12/10/2021 08:45, Ruslan R. Laishev: >> Hello All! >> >> I have a small study task to make DPDK.RPM with the latest DPDK from >> the git. > > You should look at what is done in Fedora for the latest DPDK. rpmfind.net return only binary kits for DPDK. I'm need to make installation kit with building from sources. > >> I use DPDK.SPEC from the latest .SRC.RPM kit as a template. > > Not sure what is your reference. Latest .RPM with the source I found is: dpdk-18.11.8-1.el7_8.src.rpm Ok. Got DPDK.SPEC from 20.11 from Fedora site , so: First run: [root@sysman rpmbuild]# rpmbuild -ba SPECS/dpdk.spec error: Failed build dependencies: meson is needed by dpdk-2:20.11-2.el7.x86_64 [root@sysman rpmbuild]# [root@sysman rpmbuild]# meson -v 0.59.2 [root@sysman rpmbuild]# If I comment the "BuildRequires: meson" : [root@sysman rpmbuild]# rpmbuild -ba SPECS/dpdk.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rMiLfX + umask 022 + cd /root/rpmbuild/BUILD + cd /root/rpmbuild/BUILD + rm -rf dpdk-20.11 + /usr/bin/xz -dc /root/rpmbuild/SOURCES/dpdk-20.11.tar.xz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd dpdk-20.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DIS5o0 + umask 022 + cd /root/rpmbuild/BUILD + cd dpdk-20.11 ++ 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 -fcommon + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fcommon' + %meson --includedir=include/dpdk -Ddrivers_install_subdir=dpdk-pmds -Denable_docs=true -Dmachine=default --default-library=shared /var/tmp/rpm-tmp.DIS5o0: line 32: fg: no job control error: Bad exit status from /var/tmp/rpm-tmp.DIS5o0 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.DIS5o0 (%build) [root@sysman rpmbuild]# Any ideas ?