Skip to content

Commit

Permalink
dev-util/depot_tools: prevent from install (for now), as brakes things
Browse files Browse the repository at this point in the history
Signed-off-by: Vadim Misbakh-Soloviov <[email protected]>
  • Loading branch information
msva committed Sep 3, 2024
1 parent f52eb61 commit d9289be
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions dev-util/depot_tools/depot_tools-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d9289be

Please sign in to comment.