From d9289be305bf0d497368b591c3e541766b420fbb Mon Sep 17 00:00:00 2001 From: Vadim Misbakh-Soloviov Date: Wed, 4 Sep 2024 01:06:50 +0700 Subject: [PATCH] dev-util/depot_tools: prevent from install (for now), as brakes things Signed-off-by: Vadim Misbakh-Soloviov --- dev-util/depot_tools/depot_tools-9999.ebuild | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dev-util/depot_tools/depot_tools-9999.ebuild b/dev-util/depot_tools/depot_tools-9999.ebuild index 096ad21d..b970eaa9 100644 --- a/dev-util/depot_tools/depot_tools-9999.ebuild +++ b/dev-util/depot_tools/depot_tools-9999.ebuild @@ -23,6 +23,14 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" DOCS_DIR="${WORKDIR}/${P}-docs" DOCS=( "${DOCS_DIR}"/README{,.gclient,.git-cl}.md "${DOCS_DIR}"/man/html ) +pkg_pretend() { + eerror "This package is currently kinda \"disabled\" (this code prevents it's installation)" + eerror "The reason is that for now it has a problem with gn.py (and it's wrapper) calling itself recursively" + eerror "(which causes billions of process and OOM'ing the system), for example during build of dev-qt/qtwebengine" + die "If you need it in your work, please, help me to properly fix it" +} + + src_prepare() { rm -f *.bat *.ps1 *.exe ninja* LICENSE .git{i,a}* update_depot_tools* rm -r win_toolchain bootstrap @@ -62,6 +70,7 @@ src_install() { # exeinto "${inspath}/support" # doexe support/chromite_wrapper + # doexe repo if use zsh-completion; then insinto /usr/share/zsh/site-functions