From nobody Sat Oct 4 16:15:01 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 8950D288529; Fri, 15 Aug 2025 11:37:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755257846; cv=none; b=jQ2LVRYRPPRclX4Otlnsv+9Y9lN6npZ8LMEFqtXeN+18ntHJM3seJ6d6yT2h2sAaQFfLHjdb8nzYAsWCsiOcWzTZRcMz2wYla4ndDItEHJ98TjocTEr3in70GaWImyDCrGrCWdJy0JTu/AtFotqRR42pLtsAnes7Gh5z11P0KCA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755257846; c=relaxed/simple; bh=DbSg1eVMzWOl8sp3iwWjKfFikdD3ZrhJkW3NI3ZW7Hk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=kl871T8WOrRiu8mJQfMDCnZkSawl0lch2NoBWGNXe/EjtaS8w2HJGuEl7Laz109fykv3hPnFjFMwC3n88we0uh1jR3Lu0i5ez+n47CdXjRCpotaoeLXf5iul1xeRSLXqBg6oFSO9MX7+usRheHxStCRPQrt0L94SUApQ3re0zoI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lir05pcN; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lir05pcN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0D6A3C4CEFF; Fri, 15 Aug 2025 11:37:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1755257846; bh=DbSg1eVMzWOl8sp3iwWjKfFikdD3ZrhJkW3NI3ZW7Hk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lir05pcNITHZGagABV6/OicIXK6PyLn8cU+Ikx2xcaYgyXGWujmjzHpXwbgjy7CYY nShNUZ34Oxhxwjp1RmfJyl+chUSMirQsb6R+FO9kxD6BVLjK0U53jeFuSJ47Us0Nhw s/jX33AzUcSuEWXfaKsCvO0AAJkFmFd0ZjER6kfEcY7zQAq1ODZbI14aE0QV0zrI5t B4Mqdpu5gyo7wAe4P90PBnW8nQvlI35e+CZhlKL9Ei46ug+RszcCFv3Qrxd2nB1a/r 3D/xRm6CNYUVXIpNwy0c48gmgkgb7yXhrFPHG1vEQc0lizoz6Ae03HeOzYMVsBZcgB aNY1V4EvLqHtQ== Received: from mchehab by mail.kernel.org with local (Exim 4.98.2) (envelope-from ) id 1umskO-000000042TT-0lfq; Fri, 15 Aug 2025 13:37:24 +0200 From: Mauro Carvalho Chehab To: Jonathan Corbet , Linux Doc Mailing List Cc: Mauro Carvalho Chehab , "Mauro Carvalho Chehab" , linux-kernel@vger.kernel.org Subject: [PATCH 09/11] scripts: sphinx-pre-install: fix dependencies for OpenMandriva Date: Fri, 15 Aug 2025 13:36:25 +0200 Message-ID: <73a2384db32429ac6640474d63af9a7440c7a211.1755256868.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.50.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: Mauro Carvalho Chehab Content-Type: text/plain; charset="utf-8" The dependeny list for OpenMandriva is wrong. Update it. Yet, on my tests with OpenMandriva LX 4.3, the texlive packages are broken: xelatex can't build anything there, as it lacks xelatex.sfm. Yet, this could be a problem at the way I created the container. Just in case, add a note about that. Signed-off-by: Mauro Carvalho Chehab --- scripts/sphinx-pre-install | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/scripts/sphinx-pre-install b/scripts/sphinx-pre-install index 86f129c76ecd..224db3af17db 100755 --- a/scripts/sphinx-pre-install +++ b/scripts/sphinx-pre-install @@ -984,13 +984,19 @@ class SphinxDependencyChecker(MissingCheckers): if re.search(r"OpenMandriva", self.system_release): packager_cmd =3D "dnf install" noto_sans =3D "noto-sans-cjk-fonts" - tex_pkgs =3D ["texlive-collection-fontsextra"] + tex_pkgs =3D [ + "texlive-collection-basic", + "texlive-collection-langcjk", + "texlive-collection-fontsextra", + "texlive-collection-fontsrecommended" + ] =20 # Tested on OpenMandriva Lx 4.3 progs["convert"] =3D "imagemagick" progs["yaml"] =3D "python-pyyaml" progs["python-virtualenv"] =3D "python-virtualenv" progs["python-sphinx"] =3D "python-sphinx" + progs["xelatex"] =3D "texlive" =20 self.check_program("python-virtualenv", DepManager.PYTHON_MAND= ATORY) =20 @@ -1004,7 +1010,9 @@ class SphinxDependencyChecker(MissingCheckers): =20 if not self.distro_msg: self.distro_msg =3D \ - "Note: for venv, ensurepip could be broken, preventing= its install method." + "Notes:\n"\ + "1. for venv, ensurepip could be broken, preventing it= s install method.\n" \ + "2. at least on OpenMandriva LX 4.3, texlive packages = seem broken" =20 else: packager_cmd =3D "urpmi" --=20 2.50.1