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 6BAF8A0C47; Wed, 27 Oct 2021 17:09:51 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5972A40DDA; Wed, 27 Oct 2021 17:09:51 +0200 (CEST) Received: from mail-oi1-f176.google.com (mail-oi1-f176.google.com [209.85.167.176]) by mails.dpdk.org (Postfix) with ESMTP id 37AA94003F for ; Wed, 27 Oct 2021 02:43:28 +0200 (CEST) Received: by mail-oi1-f176.google.com with SMTP id t4so1135262oie.5 for ; Tue, 26 Oct 2021 17:43:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=wMGjzSmTAS8QIsWbIicZMWA2dTUfWxFS1CDGZV7qKcg=; b=Ufp0HJl8nbBH81o3j4mpt5bV8b0MWHVmlFEBhLe03RcvWmypeXI960V/Xs9+kHCipo oAGAFONQj02UIFZ8dYorOtRgOLGzUbq20Xpg/rXhQ1T6LJQCDnPZFmtAO1l2Sy/vWpA+ B3q/ElU0SRjgUMnVLtGoIoE9lHxFNrZr/zVhcvwg2wwgfDkPtU+A1N8jzswniL0JmERR h32rS1urmsUgoIUx1YZ1kKFkz/hbtNy9QcV/ZMkLOaArxIuaXvLvFXnG97H+FHTMMOp7 jXYjYnoZqs6wCddo0TCXZt7SNPM/Cc1joaQ+GfKj+kE4wQZMiqhqgbfEKsVWdY2hBWmf m0sA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=wMGjzSmTAS8QIsWbIicZMWA2dTUfWxFS1CDGZV7qKcg=; b=p7ANW7ZJeysh2YRQD41rYRavf0oTbsyy6FhVNi9+xAElwksRy2Bf/kZgfz+e/V4hGN HAqvTrb/0WXY3g7GlYr88TCTeyfvF3mG+OkQemHwaK2dX+OdmAc9L/5B8E4lD9AnLlMu iUcje60lCenDO1qwjBlH1msG1l4+vJv5yexF5gRJcWWcZocgZm8aBPdTgb68Fi3Jbrua nujVzhurqbEOzkf4dZtxn4gpsu2cHjSXVxHsmXZyXJ7lEnz2Vp4/cBj2Ye/kg7lspXQF 7oXMYEkHAR43IjQnSWiKy45vW9R8oNwA3njRcFWKDmpkjFo0crYat7Wqb+Uf5zsebezK ixCg== X-Gm-Message-State: AOAM531VaqV/FhmSpKeqLczeGYTDe8yWp9XTLOB//Adtzgfk4qIBHeHp 0pbP9HRTUIymewIAx/YDcGjAT1ZizcXmwx43lfPAzTq62/M= X-Google-Smtp-Source: ABdhPJz5/jBS5PTn+V6/2HTNfWKCo6K74dFYO8We+jHStC3X/pEc4lBtGjBrTBlItb3ILLM/RxQ+7oJzJSjBaeWa9EM= X-Received: by 2002:aca:d788:: with SMTP id o130mr1528422oig.49.1635295407510; Tue, 26 Oct 2021 17:43:27 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: yn h Date: Tue, 26 Oct 2021 20:43:16 -0400 Message-ID: To: David Marchand , dmitry.kozliuk@gmail.com Cc: dev X-Mailman-Approved-At: Wed, 27 Oct 2021 17:09:49 +0200 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] dpdk fail at build. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Downgrading to 0.59.0 helped to fix that error, but another error occurred during ninja build. [0/1] Installing files. *ERROR:* Build directory has been generated with Meson version 0.59.0, which is incompatible with the current version 0.60.0. FAILED: meson-install /home/ybuser/.local/bin/meson install --no-rebuild ninja: build stopped: subcommand failed. On Mon, Oct 25, 2021 at 5:35 PM David Marchand wrote: > On Mon, Oct 25, 2021 at 11:30 PM yn h wrote: > > > > I downloaded dpdk version 21.08 from > > http://static.dpdk.org/rel/. > > > > Extracted and ran meson build. > > During ninja build, I ran into > > > > FAILED: drivers/rte_common_cpt.pmd.c > > > > /usr/bin/python3 ../buildtools/gen-pmdinfo-cfile.py > > /home/ybuser/dpdk-21.05/build/buildtools ar > > /home/ybuser/dpdk-21.05/build/drivers/libtmp_rte_common_cpt.a > > drivers/rte_common_cpt.pmd.c /usr/bin/python3 ../buildtools/pmdinfogen.py > > elf > > > > ar: `x' cannot be used on thin archives. > > > > Traceback (most recent call last): > > > > File "../buildtools/gen-pmdinfo-cfile.py", line 17, in > > > > run_ar("x") > > > > File "../buildtools/gen-pmdinfo-cfile.py", line 12, in > > > > run_ar = lambda command: subprocess.run( > > > > File "/usr/lib/python3.8/subprocess.py", line 516, in run > > > > raise CalledProcessError(retcode, process.args, > > > > subprocess.CalledProcessError: Command '['ar', 'x', > > '/home/ybuser/dpdk-21.05/build/drivers/libtmp_rte_common_cpt.a']' > returned > > non-zero exit status 1. > > > > [508/2498] Compiling C object > > lib/librte_pipeline.a.p/pipeline_rte_table_action.c.o > > > > ninja: build stopped: subcommand failed. > > > > > > > > The issue was bypassed when I edited the run_ar("x") to run_ar("p"). > > > > Is this a known issue? > > It looks like https://bugs.dpdk.org/show_bug.cgi?id=836 > You can try downgrading meson. > > > > -- > David Marchand > >