From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6C6BBA3295 for ; Wed, 23 Oct 2019 12:48:38 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 51D161C0B2; Wed, 23 Oct 2019 12:48:37 +0200 (CEST) Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178]) by dpdk.org (Postfix) with ESMTP id D8BAC1C0B1 for ; Wed, 23 Oct 2019 12:48:35 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id ACF6FA3296; Wed, 23 Oct 2019 12:48:35 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Wed, 23 Oct 2019 10:48:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: vhost/virtio X-Bugzilla-Version: 19.05 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: jan.kryl@mayadata.io X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [dpdk-dev] [Bug 356] Building dpdk with rte_vhost sometimes fails due to missing rte_hash.h X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" https://bugs.dpdk.org/show_bug.cgi?id=3D356 Bug ID: 356 Summary: Building dpdk with rte_vhost sometimes fails due to missing rte_hash.h Product: DPDK Version: 19.05 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: minor Priority: Normal Component: vhost/virtio Assignee: dev@dpdk.org Reporter: jan.kryl@mayadata.io Target Milestone: --- This is because rte_vhost does not name rte_hash as its dependency in lib/Makefile. Depending on -j and how knows what else the build either succ= eeds or fails and is nondeterministic.=20 > =3D=3D Build lib/librte_vhost > SYMLINK-FILE include/rte_vhost.h > SYMLINK-FILE include/rte_vdpa.h > SYMLINK-FILE include/rte_vhost_crypto.h > CC fd_man.o > CC iotlb.o > CC socket.o > CC vhost.o > CC vhost_user.o > CC virtio_net.o > CC vdpa.o > CC vhost_crypto.o > > /tmp/nix-build-libspdk.drv-0/source/dpdk/lib/librte_vhost/vhost_crypto.c:= 5:10: > > fatal error: rte_hash.h: No such file or directory > #include > ^~~~~~~~~~~~ > compilation terminated. The fix is simple. DEPDIRS for librte_vhost in lib/Makefile needs to explic= itly mention librte_hash: > DEPDIRS-librte_vhost :=3D librte_eal librte_mempool librte_mbuf librte_et= hdev \ > librte_net librte_hash --=20 You are receiving this mail because: You are the assignee for the bug.=