Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp1578248lql; Wed, 13 Mar 2024 02:01:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVj+WyyLSn5RWuo1zh3xTtDBKN32NbTHtGZqn9WIDD348/F5PznhlXSfnlrrk4kfXLLcw9n7dLcPT9pSNy0WMcepSXmVKMZaDfaRHnZmA== X-Google-Smtp-Source: AGHT+IExBpduP+sO21Xart4+szGVJFTUP0KwH1Fdz/WqKff3R91gCA5iogj5NUMuVnunFgAeaqHW X-Received: by 2002:a05:6358:c010:b0:17c:2337:53fe with SMTP id kv16-20020a056358c01000b0017c233753femr6638001rwc.25.1710320478602; Wed, 13 Mar 2024 02:01:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710320478; cv=pass; d=google.com; s=arc-20160816; b=CKKcGzxo5Cws0/bfJdrghmYJWrDWYpWEX4cMusbzpmkaonxbUTzhPyPcNCD2Gh/mEM Q2cj1GL2E3ZImrgYf1wLH/ny5bcAPJlhiTAS0y7fPQnd+ON6QDPdBq6j2XuqGTURc4BV +lplyS2irIy1xv7xAvvowak5nDHTnojNf8uxjNSjieooycHg25OBQ0bgvpHQkfslQfQs rGye8AZ/ygpv63u6myymT0lFxoObriS35rkXygBvk9989Tt4nA5erWNfcvAahiB5qD0F rTvgB039wFIpA5Go/jKTH9uZN9Hmp9dbylYIGU4auAegCPz8sW8OV90NkOrdQtx4ofzW dCWg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=NZMaNP/HqPoghYaMTQN4UTg96pVvslr+plauC9tcjto=; fh=fclGTNUQ+47WF6Dp1loWyZLeQxUt+4wog3XGewcH960=; b=CVlyiM176cD5tbyk41+nBcR7J2yZyvCrbQzN/ETQiociwyrM/gbh6q/2iZEkEriybE QTD59YN4M96JpsWrziff/3glJ18UjCSn91IqCIYvu3dUpZw4mW9g1xlRwT4lAmxESZiG t1LDBmHFhQSEDga/Orj/dyOnJAqIWvOTh5Shcv+dt7l+K0XabhjaCQwXd1jSJqwxpbSb Jv3sby9SZ30DKVrQUCpmxLAwOfXufO1I97Nl+iF4bbYDpyL/OESTQrxtet13aZLCf2HZ P9cQwAXx0wayewAi/Jd4pNl4Pq/ih4A9spTuiztKlrGzfPwHpU5h39tQDTGbb/RFO3Ui X3yA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-101238-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101238-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id d29-20020a631d1d000000b005dc7e779b7dsi8581873pgd.73.2024.03.13.02.01.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Mar 2024 02:01:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-101238-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-101238-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-101238-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 395EF2834B6 for ; Wed, 13 Mar 2024 09:01:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 784BC1B7E8; Wed, 13 Mar 2024 09:01:12 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DE2231B277 for ; Wed, 13 Mar 2024 09:01:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710320472; cv=none; b=atNS9CvvGa3bTBUA/LNOpXrNXBn1HYwjxdU/+9du+zvXhrsN9Iny7TMfWo54Amcxa7xUekXiBKcy/SEH+cWeSsquQq/iqVEnqhURxSZO9SbqmKUR2JvG24AGTAyxKZDZzqNncpq/Ww8nzL6wpvvcjZ7R9We84a/FdP89jJonde4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710320472; c=relaxed/simple; bh=tPp9wpHnMR+ocs6xYZEuu9COA0lUEBrBrD4AMOa+lKw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=tJ2KQpG/7by8NYZs4YeuvGd9CWP6/aMpIRIUFxQXLSF5KEYiZ/GFdlkvexwR8t5+VPmgx7+wENCgSPIdolXlzYPazDTSVctv5FJ2URGxRK+IMn/xUuzHrbkApDvcnuCtvDmQjjovm+AHHq2B2+PvWPTSo/NBtQvD4epd7VjAbbY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rkKTq-000386-Ik; Wed, 13 Mar 2024 10:00:58 +0100 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rkKTo-0064zd-Do; Wed, 13 Mar 2024 10:00:56 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rkKTo-005Hi3-14; Wed, 13 Mar 2024 10:00:56 +0100 Date: Wed, 13 Mar 2024 10:00:56 +0100 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Stephen Rothwell , Masahiro Yamada Cc: Andrew Morton , Nicolas Schier , Linux Kernel Mailing List , Linux Next Mailing List , linux-kbuild@vger.kernel.org Subject: Re: linux-next: build warning after merge of the mm tree Message-ID: References: <20240313150728.12e20208@canb.auug.org.au> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2zmul7e526qlrp5s" Content-Disposition: inline In-Reply-To: <20240313150728.12e20208@canb.auug.org.au> X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org --2zmul7e526qlrp5s Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 13, 2024 at 03:07:28PM +1100, Stephen Rothwell wrote: > Hi all, >=20 > After merging the mm tree, today's linux-next build (powerpc allyesconfig) > produced this warning: >=20 > Use of uninitialized value $ENV{"abs_srctree"} in concatenation (.) or st= ring at /home/sfr/next/next/lib/build_OID_registry line 38. >=20 > Introduced by commit >=20 > 325f7b0aaea6 ("lib/build_OID_registry: Don't mention the full path of t= he script in output") >=20 > from the mm-nonmm-unstable branch of the mm tree. Actually the warning doesn't happen on 325f7b0aaea6. The commit is only problematic in combination with commit e2bad142bb3d ("kbuild: unexport abs_srctree and abs_objtree") =2E This commit suggests to use $(abspath ) or $(realpath ) instead, but I fail to apply this suggestion here. Obviously diff --git a/Makefile b/Makefile index 5e09b53b4850..f73a73a125e0 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,7 @@ __all: # prepare rule. =20 this-makefile :=3D $(lastword $(MAKEFILE_LIST)) -abs_srctree :=3D $(realpath $(dir $(this-makefile))) +export abs_srctree :=3D $(realpath $(dir $(this-makefile))) abs_objtree :=3D $(CURDIR) =20 ifneq ($(sub_make_done),1) would help. Any ideas how to properly handle that? Would the export be ok? Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --2zmul7e526qlrp5s Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmXxa0cACgkQj4D7WH0S /k4L0wgAtFXvi2SKrUZSJkChbQc1i9RRgfE3LyGWBx4rp7IFLOOG1uy8DLMZU9RV neRZjELj/yIOMwudxBzN//rSvt1Fyg1uwo1F7UEZp2F6AxDoBdH98lCTPTdebALP 8E/rbz4sNjtoadzN+4DascK4hlZSbKCDXkk8YPgR/K/uugB+izgJ1P22tcLu5HIP rR75ToEKmb6tBHa9lILH5o5uoOtZN/8PjcWZjevhFpQIFQmJLnitnJRQjoyrZDEE I5f4QBUgL9uwi/FCJVv5TF5CONmqkumagjJ9OaszUxuYEcxW+ANWQAwvzTDH+MTW 6vy9QAnixJkgJV8qKZ6bOYGaST3N+A== =HkV0 -----END PGP SIGNATURE----- --2zmul7e526qlrp5s--