From nobody Sat May 4 23:57:54 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1591304003; cv=none; d=zohomail.com; s=zohoarc; b=B/Uz9/ZOQnTl1vw6WwMLyTdB129PXminSLkB/r7durnaAZEqJ0rKMxNtLOtSjcwICxl3AlkaUz7rXCSXrAu9nMZXqWEb96HryZs9peyfQvcXJ3zBCik32NkrRUzJ4BxzN2bg2/31Mu/YfdCOGJTw+Rl+SGqYdZqIZmJoKpqvC/A= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1591304003; h=Content-Type:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=Eunzm139K4+VuJ0A/594EW8bN9ja/JNrMVsRTc9Unlc=; b=k//Fnx18mG3W6zA0czDoKj32jyrSSQUYe/BTZ8nQ+zxsRp6qin80d2lDbAg+w51qDZucywkz0DZnNIMzIPS6LmRwWw0T1ZjpyJfsLow86c56iqzBFZhaphMNfpescE3O/S9FXK6polJ2N71T8royUVBOGZPoEzQf0HB8iqIcOnU= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1591304003855587.0322960740656; Thu, 4 Jun 2020 13:53:23 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jgwr3-00045P-FD; Thu, 04 Jun 2020 20:52:49 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jgwr1-00045K-Vu for xen-devel@lists.xenproject.org; Thu, 04 Jun 2020 20:52:48 +0000 Received: from esa4.hc3370-68.iphmx.com (unknown [216.71.155.144]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 57f02e4c-a6a5-11ea-9dbe-bc764e2007e4; Thu, 04 Jun 2020 20:52:46 +0000 (UTC) X-Inumbo-ID: 57f02e4c-a6a5-11ea-9dbe-bc764e2007e4 Authentication-Results: esa4.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: 1kMOpVy3ctgqYlT+UbIEH6sLSUAD2XqAn/s1CTLwT/vgKdmqdxbmPM5Mv0eCQUb1t0ravf5nWy 8jazkTu23leOedKQeuvXwO5N51v18RK6NwyjNj/Q6lrBBhi9ED6p4V+C+65fXf6K/qtD1YiOya bXtwgla+Wa6REtsgHMCGBNnFWzUd1/ao/fPYyklsPRcAXz9Ss3PHf9QptuxKoKkAo7ksXxISN+ R0+6A7zs//anF7sSH++PZcddxvb4NtqnlYyn+3N666r6IPrkToezzAM1LNbQ+SFxjk5aL2Jmua 8yY= X-SBRS: 2.7 X-MesageID: 20027619 X-Ironport-Server: esa4.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.73,472,1583211600"; d="scan'208";a="20027619" From: Andrew Cooper To: Xen-devel Subject: [PATCH for-4.14 RFC] docs/support-matrix: Gross bodge to unbreak docs rendering Date: Thu, 4 Jun 2020 21:52:26 +0100 Message-ID: <20200604205226.14518-1-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Stefano Stabellini , Julien Grall , Wei Liu , Konrad Rzeszutek Wilk , George Dunlap , Andrew Cooper , Paul Durrant , Jan Beulich , Anthony PERARD , Ian Jackson Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The cronjob which renders https://xenbits.xen.org/docs/ has been broken for= a while. commitish_version() pulls an old version of xen/Makefile out of history, and uses the xenversion rule. Currently, this fails with: tmp.support-matrix.xen.make:130: scripts/Kbuild.include: No such file or = directory which is because the Makefile legitimately references Kbuild.include with a relative rather than absolute path. Rearrange $CWD of the make rune to be in xen/ Signed-off-by: Andrew Cooper --- CC: George Dunlap CC: Ian Jackson CC: Jan Beulich CC: Konrad Rzeszutek Wilk CC: Stefano Stabellini CC: Wei Liu CC: Julien Grall CC: Anthony PERARD CC: Paul Durrant This is obviously not a proper fix. It will break in an unfixable way if we ever delete a file from the xen/ build system. I don't think pulling a makefile out of history and expecting it to work in the current working tree is a reasonable expectation. --- docs/support-matrix-generate | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/support-matrix-generate b/docs/support-matrix-generate index a3d93321f1..2a1c3fad57 100755 --- a/docs/support-matrix-generate +++ b/docs/support-matrix-generate @@ -102,8 +102,8 @@ commitish_version () { esac =20 git cat-file blob "$commitish:$versionfile" >"$tmp_versionfile" - version=3D$(make --no-print-directory -C docs \ - -f "${tmp_versionfile#docs/}" xenversion) + version=3D$(make --no-print-directory -C xen \ + -f "../${tmp_versionfile}" xenversion) case "$version" in *.*.*) version=3D"${version%.*}" ;; esac --=20 2.11.0