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 1DECBA0C47; Mon, 25 Oct 2021 23:35:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 030F841141; Mon, 25 Oct 2021 23:35:57 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id BAB9140E32 for ; Mon, 25 Oct 2021 23:35:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1635197755; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=UR3qOYFy+8Vv17Fd302IaOM+ftJ8EaPiID1U6Q0qlkU=; b=VuJvGDItCWVisKzh1LDH7E0YVtJlLr30thssRGqN4iz09axcFc6Q2crkVXn9DoQ+UO9z06 el4ZD5TLM/8JEC/fQfo/6ZkpB7NLKZPQVXCTeGbejew5340M70Dxf8+mdgqPtEzwR1yHXK D6M0OBGNi4XpZct7vhs3b2LLXEgQ0m8= Received: from mail-lj1-f198.google.com (mail-lj1-f198.google.com [209.85.208.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-337-3ZxnqwqTP76xoHitNboe5g-1; Mon, 25 Oct 2021 17:35:49 -0400 X-MC-Unique: 3ZxnqwqTP76xoHitNboe5g-1 Received: by mail-lj1-f198.google.com with SMTP id t7-20020a2e7807000000b00210dad8b167so3325600ljc.22 for ; Mon, 25 Oct 2021 14:35:49 -0700 (PDT) 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=UR3qOYFy+8Vv17Fd302IaOM+ftJ8EaPiID1U6Q0qlkU=; b=QjzhqCW3f+bUsbzlYzgCQrYBB3hu/vN0DnsyBeC4xK4ilybz4aufTcWYzg2RQy3CQS 7Q8tCt7ImPQtyvaHe5aEEFgwTcu2FfoAZnbOxbE3yYRFDmmL4/+MIawTHve6HietfBTm U/MzrumSyicX0JVfbluiRUgxPiU9z4HX9lKw4jN7M1e5NXauEvN5IDLFHKwKLBHmr2ud zcHufHcDy/WgutN6BWqygVuRaUzgRoCpV6BkLRTxVC16TN2EvcWYHj/Xqq9RJYJsK3iN N/Zc40RZRqAI0f4AE0x7rFxqsVAVqI1KP21zpl51rCMZro5fQrNIqyKbN6+XXgniGojA DvFA== X-Gm-Message-State: AOAM533uv7MuwmdKtPOeaVAYMdH8L15rqLDIPZ9FvNfSU2SWTGGXaevH iOfceSKtIQK/QX4ZT7rx01wy46WL1z6Jmm2zG3Htq9vWuxgQIbNLQOyUCXenITslae0ZBhnJz2i 62syj36pukSN9u1xLk4U= X-Received: by 2002:a05:6512:3f28:: with SMTP id y40mr19401182lfa.499.1635197748242; Mon, 25 Oct 2021 14:35:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7om/7TuBCrGG60ZRsiWDB2y7ioDx2eQ+mJzY1fDOtu4pbE81Xg8xp0K8WxawQqc66r7sYRIi0gVeEoZkLfNk= X-Received: by 2002:a05:6512:3f28:: with SMTP id y40mr19401168lfa.499.1635197748024; Mon, 25 Oct 2021 14:35:48 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: David Marchand Date: Mon, 25 Oct 2021 23:35:36 +0200 Message-ID: To: yn h Cc: dev Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" 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" 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