Seems to be broken:
==> Starting prepare()...
sed: can't read depot-tools-auth: No such file or directory
==> ERROR: A failure occurred in prepare().
Aborting...
Error making: depot-tools-git
Git Clone URL: | https://aur.archlinux.org/depot-tools-git.git (read-only, click to copy) |
---|---|
Package Base: | depot-tools-git |
Description: | Tools for working with Chromium development |
Upstream URL: | https://chromium.googlesource.com/chromium/tools/depot_tools |
Keywords: | chromium depot_tools google |
Licenses: | custom |
Submitter: | aperez |
Maintainer: | alerque |
Last Packager: | alerque |
Votes: | 87 |
Popularity: | 0.000000 |
First Submitted: | 2014-07-07 14:25 (UTC) |
Last Updated: | 2024-10-30 20:56 (UTC) |
Seems to be broken:
==> Starting prepare()...
sed: can't read depot-tools-auth: No such file or directory
==> ERROR: A failure occurred in prepare().
Aborting...
Error making: depot-tools-git
Looks like depot-tools-auth
was removed a while back (https://chromium.googlesource.com/chromium/tools/depot_tools.git/+/b4a587df5e348bddb26ea1bb6a5013f1e854b3a8), so the package is broken now.
Heads up, gclient sync
mostly with --jobs 1 will corrupt .git repositories unless you have applied this patch: https://bugs.chromium.org/p/chromium/issues/detail?id=1000825#c2
for example: in chromium's src/ the remote (git remote -v) will get replaced from: origin https://chromium.googlesource.com/chromium/src.git (fetch) to: origin https://chromium.googlesource.com/chromium/third_party/ffmpeg.git (fetch)
also seen that src/.git/index got truncated to 100k from 45meg
Dropped as I'm not using depot_tools anymore.
You're fast! Thanks so much @yan12125.
@clpwn: Thanks for the report. Those issues should have been fixed.
When building https://github.com/aisouard/libwebrtc using this repo, I had two issues:
1) Needed to chgrp -R wheel /opt/depot_tools && chmod -R g+w /opt/depot_tools
in order to run without root.
2) I think the patches are slightly incomplete, due to running into this error when building:
File "/opt/depot_tools/gsutil.py", line 20, in <module>
import urllib2
ModuleNotFoundError: No module named 'urllib2'
Your package depot-tools-git [1] has been flagged out-of-date by necklace [2]:
:: depot-tools-git package(s) failed to install.
:: ensure package version does not mismatch between .SRCINFO and PKGBUILD
:: ensure package name has a VCS suffix if this is a devel package
[1] <https://aur.archlinux.org/pkgbase/depot-tools-git/>
[2] <https://aur.archlinux.org/account/necklace/>
Thanks it should have been fixed!
Pinned Comments
alerque commented on 2021-09-23 08:19 (UTC)
Installers beware! This package is a fiasco and the upstream Git repository basically has bunch of binary blobs in it that do strange things. I'm working on cleaning up the packaging some but the upstream behavior is egregious. Wash your /opt/depot_tools directory out with soap and bleach when done.
relrel commented on 2020-10-30 11:30 (UTC)
depot_tools
is installed in/opt/depot_tools/
. This directory is not in$PATH
by default, so make sure toexport PATH=/opt/depot_tools:$PATH
before using it. Also, this directory has root permissions, so either use it as root, or if you want to use it as your currect user:Then re-login as your current user or log your terminal in to the newly created group: