From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id D06F523A for ; Mon, 6 Nov 2017 21:45:19 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 6AF512093D; Mon, 6 Nov 2017 15:45:19 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 06 Nov 2017 15:45:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=QxRXQDz5q3MrIi+RleDPkgr8Pk IXBzdm09K7IdATKgU=; b=M/SGyW0EqLmESwwb5ZxTiPTQ16Kor9zXsQu+9u8Eef gxm4+4HlUdi3z5Mm2ATSmuulHAkR/HJJJPkbO/+bvKbkyMYuEC5Pgq8KLFrg1bwf VL0CvmLOXcWxd2OmwbNy8li+JXQfR+95+A4xQbzlHAau06/CgaX8UwQy699DHrfX s= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=QxRXQD z5q3MrIi+RleDPkgr8PkIXBzdm09K7IdATKgU=; b=BhbfVx2/UseDePCDCr0z1S F89rg/wg5hequPC2w9XHcou2CfwuY0P2Y4UQUZqE3cP5e/g7Ei1O1BFPvB8dRGRK aTITay6LyZZ4oltKMQEmOzRIHAdRyzSqrgIHD/kgKPII7puqYE/7s8xUCnBC08k+ phVdvEBkD6Cw9Vp8K1ssUt2u5RvuVi+H3Qw+9scyBLz8rAGictbWrY245h7iDAUk 2xQm/RtcIjR3R5A+eUjNZaj47+li3Aer2Wa4zEW1NBzpvVK7CvskGxRwCJRCofj8 cE6+NuZfWek3ntNi0dE5MGKvadvvLgrmFP3lJ3a0KEsriWUV5hdgpmRoKjZ88tFA == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 2BCEB7F8F6; Mon, 6 Nov 2017 15:45:19 -0500 (EST) From: Thomas Monjalon To: Ferruh Yigit Cc: dev@dpdk.org Date: Mon, 06 Nov 2017 21:45:18 +0100 Message-ID: <4092310.7GeyUAk7Gr@xps> In-Reply-To: <20171102002510.26917-1-ferruh.yigit@intel.com> References: <20171102002510.26917-1-ferruh.yigit@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] buildtools: fix icc build 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: , X-List-Received-Date: Mon, 06 Nov 2017 20:45:20 -0000 02/11/2017 01:25, Ferruh Yigit: > There are random build errors in test reports [1]. Build error > is not directly related to DPDK but observed during DPDK build. >=20 > When I get similar unexpected build errors in my system, found > out that /dev/null is invalid. >=20 > It seems ICC overwrites the /dev/null with "icc -o /dev/null" instead > of sending output to /dev/null. This is not always reproducible, so > hard to say what exactly is triggering the error. >=20 > I suspect test-report build errors can be because of the same reason, > and it is good to add a protection for this case. >=20 > Instead of sending output to /dev/null save it to the tmp folder and > remove it back when done. >=20 > [1] > http://dpdk.org/ml/archives/test-report/2017-November/034053.html > Failure #3 >=20 > /usr/src/linux-headers-4.4.0-97-generic/include/linux/sysfs.h:517:37: > error: pointer targets in passing argument 2 of =E2=80=98kernfs_find_and_= get=E2=80=99 > differ in signedness [-Werror=3Dpointer-sign] > return kernfs_find_and_get(parent, name); >=20 > Signed-off-by: Ferruh Yigit Applied, thanks Note: this script does not always remove its temporary files. We need to add a shell trap to catch early exit and do the cleanup.