Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

e sync command fails on macOS #611

Open
andrewsml opened this issue Jul 3, 2024 · 5 comments
Open

e sync command fails on macOS #611

andrewsml opened this issue Jul 3, 2024 · 5 comments

Comments

@andrewsml
Copy link

e sync no longer works, using with fresh config.

sudo e init electron-release -i release --root=./src
sudo e sync

Error: Key 'deps' error:
Key 'src/third_party/llvm-build/Release+Asserts' error:
Or(None, <class 'str'>, <function _NodeDictSchema.<locals>.validate at 0x101f823e0>, <function _NodeDictSchema.<locals>.validate at 0x1027531a0>, <function _NodeDictSchema.<locals>.validate at 0x1027532e0>) did not validate {'dep_type': 'gcs', 'bucket': 'chromium-browser-clang', 'condition': 'not llvm_force_head_revision', 'objects': [{'object_name': 'Linux_x64/clang-llvmorg-19-init-14561-gecea8371-1.tar.xz', 'sha256sum': '9b1bac96be0b06fd6e04cdf96dc07e7184e8612940ddf8bb507e184c16afd87f', 'size_bytes': 51499624, 'generation': 1718612840583170, 'condition': 'host_os == "linux" and non_git_source'}, {'object_name': 'Linux_x64/clang-tidy-llvmorg-19-init-14561-gecea8371-1.tar.xz', 'sha256sum': '160a842bd85eaac34da6f7216992d180cb6820d94b9314c5be18a58aafec5a53', 'size_bytes': 13075072, 'generation': 1718612840771289, 'condition': 'host_os == "linux" and checkout_clang_tidy and non_git_source'}, {'object_name': 'Linux_x64/clangd-llvmorg-19-init-14561-gecea8371-1.tar.xz', 'sha256sum': 'd25fd75575750824a42e9d134dce286237b62951feff52f7c2196364f635bf46', 'size_bytes': 13540728, 'generation': 1718612840822054, 'condition': 'host_os == "linux" and checkout_clangd and non_git_source'}, {'object_name': 'Linux_x64/llvm-code-coverage-llvmorg-19-init-14561-gecea8371-1.tar.xz', 'sha256sum': 'c792df3a77143c00a8725a55fe792914f4afaf5b447613b1627c2264a34108c7', 'size_bytes': 2355580, 'generation': 1718612841725212, 'condition': 'host_os == "linux" and checkout_clang_coverage_tools and non_git_source'}, {'object_name': 'Linux_x64/llvmobjdump-llvmorg-19-init-14561-gecea8371-1.tar.xz', 'sha256sum': '30616478e4b94d626b66ef1fa6bc2579fd82d88a013c877c70393e8199898b98', 'size_bytes': 5385320, 'generation': 1718612841266500, 'condition': '(checkout_linux or checkout_mac or checkout_android and host_os != "mac") and non_git_source'}, {'object_name': 'Mac/clang-llvmorg-19-init-14561-gecea8371-1.tar.xz', 'sha256sum': 'd2d237921be6243664608170aff3fb135cfc803281ba033123d6255ca1604424', 'size_bytes': 46442580, 'generation': 1718612843273440, 'condition': 'host_os == "mac" and host_cpu == "x64"'}, {'object_name': 'Mac/clang-mac-runtime-library-llvmorg-19-init-14561-gecea8371-1.tar.xz', 'sha256sum': '6013fda94e4de6f7606c0396632965a306cb7ea124e7dfd9db9892208e5d6793', 'size_bytes': 864076, 'generation': 1718612856108114, 'condition': 'checkout_mac and not host_os == "mac"'}, {'object_name': 'Mac/clang-tidy-llvmorg-19-init-14561-gecea8371-1.tar.xz', 'sha256sum': 'e89a6d420c1b39903549629cefa95be7f637c36c07707f0d4632745b6566d077', 'size_bytes': 12645168, 'generation': 1718612843481513, 'condition': 'host_os == "mac" and host_cpu == "x64" and checkout_clang_tidy'}, {'object_name': 'Mac/clangd-llvmorg-19-init-14561-gecea8371-1.tar.xz', 'sha256sum': '11178628ffcc91b227aa66f0d4d4fa92d1268cd3d8a12f5c9d597dac55eaea58', 'size_bytes': 12966980, 'generation': 1718612843640107, 'condition': 'host_os == "mac" and host_cpu == "x64" and checkout_clangd'}, {'object_name': 'Mac/llvm-code-coverage-llvmorg-19-init-14561-gecea8371-1.tar.xz', 'sha256sum': '0e9f10bafe049c976bb2f588991ba4154c5805696e946c377c3ea02ce62b288a', 'size_bytes': 2236292, 'generation': 1718612844002512, 'condition': 'host_os == "mac" and host_cpu == "x64" and checkout_clang_coverage_tools'}, {'object_name': 'Mac_arm64/clang-llvmorg-19-init-14561-gecea8371-1.tar.xz', 'sha256sum': '1fd706820978993faabf81fd49d906cce5d20a679345a704cf2edcf8d4961221', 'size_bytes': 42067252, 'generation': 1718612860537568, 'condition': 'host_os == "mac" and host_cpu == "arm64"'}, {'object_name': 'Mac_arm64/clang-tidy-llvmorg-19-init-14561-gecea8371-1.tar.xz', 'sha256sum': '6f7f2341bcfc52f679e58b2ed8f8dfae28cb04cfc81daa2f3deed59e3b9c4920', 'size_bytes': 11609388, 'generation': 1718612860720279, 'condition': 'host_os == "mac" and host_cpu == "arm64" and checkout_clang_tidy'}, {'object_name': 'Mac_arm64/clangd-llvmorg-19-init-14561-gecea8371-1.tar.xz', 'sha256sum': '66e73f4cfe9d6e262eaa03b4c3b6d3979a760758a467aae0b9d235ff5f229b5e', 'size_bytes': 12094612, 'generation': 1718612860853282, 'condition': 'host_os == "mac" and host_cpu == "arm64" and checkout_clangd'}, {'object_name': 'Mac_arm64/llvm-code-coverage-llvmorg-19-init-14561-gecea8371-1.tar.xz', 'sha256sum': 'c3d8ae400aa175af4f041d2c1be09bfd370071cec0a1dd0ea36fc84bbcc09722', 'size_bytes': 2004436, 'generation': 1718612861149498, 'condition': 'host_os == "mac" and host_cpu == "arm64" and checkout_clang_coverage_tools'}, {'object_name': 'Win/clang-llvmorg-19-init-14561-gecea8371-1.tar.xz', 'sha256sum': 'edd36b71fdb914f003f84f9e87a23e695fe2431cc2720b0648cd7d24605b6718', 'size_bytes': 41781452, 'generation': 1718612878886786, 'condition': 'host_os == "win"'}, {'object_name': 'Win/clang-tidy-llvmorg-19-init-14561-gecea8371-1.tar.xz', 'sha256sum': '15f1a098d2026c63ed46448a4cfab2daea0030a66995e5d380715825120e6a5f', 'size_bytes': 12874576, 'generation': 1718612879087097, 'condition': 'host_os == "win" and checkout_clang_tidy'}, {'object_name': 'Win/clang-win-runtime-library-llvmorg-19-init-14561-gecea8371-1.tar.xz', 'sha256sum': '952e09dabc9b2f09a5056e21086f05cad67992837967a96e20a5b64ca2d37568', 'size_bytes': 2841316, 'generation': 1718612894981280, 'condition': 'checkout_win and not host_os == "win"'}, {'object_name': 'Win/clangd-llvmorg-19-init-14561-gecea8371-1.tar.xz', 'sha256sum': '921d249311125f257fe204e19741d57b6fcf88ce136eaa010560fce2f6f2204e', 'size_bytes': 13325100, 'generation': 1718612879252225, 'condition': 'host_os == "win" and checkout_clangd'}, {'object_name': 'Win/llvm-code-coverage-llvmorg-19-init-14561-gecea8371-1.tar.xz', 'sha256sum': '0034ec2988853d7767f421504feb1a0598565ba87dae03f95f3d752a885dec82', 'size_bytes': 2359388, 'generation': 1718612879559769, 'condition': 'host_os == "win" and checkout_clang_coverage_tools'}, {'object_name': 'Win/llvmobjdump-llvmorg-19-init-14561-gecea8371-1.tar.xz', 'sha256sum': '0277d5708f40c8d6bb52ef6891cd09c65402680e8a6519fb008ce7e6bbab080d', 'size_bytes': 5363148, 'generation': 1718612879440086, 'condition': 'checkout_linux or checkout_mac or checkout_android and host_os == "win"'}]}
Key 'objects' error:
Or(<function _NodeDictSchema.<locals>.validate at 0x102753240>) did not validate {'object_name': 'Linux_x64/clang-llvmorg-19-init-14561-gecea8371-1.tar.xz', 'sha256sum': '9b1bac96be0b06fd6e04cdf96dc07e7184e8612940ddf8bb507e184c16afd87f', 'size_bytes': 51499624, 'generation': 1718612840583170, 'condition': 'host_os == "linux" and non_git_source'}
Wrong keys 'condition' in {'object_name': 'Linux_x64/clang-llvmorg-19-init-14561-gecea8371-1.tar.xz', 'sha256sum': '9b1bac96be0b06fd6e04cdf96dc07e7184e8612940ddf8bb507e184c16afd87f', 'size_bytes': 51499624, 'generation': 1718612840583170, 'condition': 'host_os == "linux" and non_git_source'}
ERROR gclient sync failed

Operating System

macOS Sonoma 14.4.1

Expected Behavior

e sync succeeds

@andrewsml
Copy link
Author

@codebytere, could you take a look at this or give me advice on how to fix this ?

@codebytere
Copy link
Member

codebytere commented Jul 8, 2024

@andrewsml what is ./src in this case? is there anything in there already? There might be an issue creating multiple build types and sharing a root - is that what you're trying to do?

@andrewsml
Copy link
Author

@codebytere , no, I run the commands on an empty directory.
checked that with a new config and an other root name, but error is the same

sudo e init electron-3110 -i release --root=./electron
sudo e sync
Error: Key 'deps' error:
Key 'src/third_party/llvm-build/Release+Asserts' error:
Or(None, <class 'str'>, <function _NodeDictSchema.<locals>.validate at 0x103bfa3e0>, <function _NodeDictSchema.<locals>.validate at 0x1043cb1a0>, <function _NodeDictSchema.<locals>.validate at 0x1043cb2e0>) did not validate {'dep_type': 'gcs', 'bucket': 'chromium-browser-clang', 'condition': 'not llvm_force_head_revision', 'objects': [{'object_name': 'Linux_x64/clang-llvmorg-19-init-14561-gecea8371-2.tar.xz', 'sha256sum': '13be7df36df4020629a0bf925832bfad3059b804ad0032850e579afe37f276d6', 'size_bytes': 51483412, 'generation': 1719817362005610, 'condition': 'host_os == "linux" and non_git_source'}, {'object_name': 'Linux_x64/clang-tidy-llvmorg-19-init-14561-gecea8371-2.tar.xz', 'sha256sum': 'f404be66c38974cc7150e5c3ba30cb1514d76acf3311d7bfcf5741f7d651c3c3', 'size_bytes': 13077444, 'generation': 1719817362184132, 'condition': 'host_os == "linux" and checkout_clang_tidy and non_git_source'}, {'object_name': 'Linux_x64/clangd-llvmorg-19-init-14561-gecea8371-2.tar.xz', 'sha256sum': 'aa75804052a41fefdbb2f9b3a70fe84a53f4bb0df990758c491e62de80d92d2c', 'size_bytes': 13519200, 'generation': 1719817362157806, 'condition': 'host_os == "linux" and checkout_clangd and non_git_source'}, {'object_name': 'Linux_x64/llvm-code-coverage-llvmorg-19-init-14561-gecea8371-2.tar.xz', 'sha256sum': '666bb62d68ce81338d384c7a8e5f535a9ca70d842924826b883fdc618b5130a0', 'size_bytes': 2355896, 'generation': 1719817362594626, 'condition': 'host_os == "linux" and checkout_clang_coverage_tools and non_git_source'}, {'object_name': 'Linux_x64/llvmobjdump-llvmorg-19-init-14561-gecea8371-2.tar.xz', 'sha256sum': 'ce9477af386a3e03c15dd159a63643c0a8d6333e6fd36bd249c98d8c735abb8d', 'size_bytes': 5394140, 'generation': 1719817362294634, 'condition': '(checkout_linux or checkout_mac or checkout_android and host_os != "mac") and non_git_source'}, {'object_name': 'Mac/clang-llvmorg-19-init-14561-gecea8371-2.tar.xz', 'sha256sum': 'cc23c4e01df46ff8a00b775b45536ae3c2f3f0afdeed73bad413832d17217a98', 'size_bytes': 46448100, 'generation': 1719817364142654, 'condition': 'host_os == "mac" and host_cpu == "x64"'}, {'object_name': 'Mac/clang-mac-runtime-library-llvmorg-19-init-14561-gecea8371-2.tar.xz', 'sha256sum': '07045492a30ad0d309c94cce62631eefcc19b88b97347a54f5c15e8639821a65', 'size_bytes': 864052, 'generation': 1719817382241035, 'condition': 'checkout_mac and not host_os == "mac"'}, {'object_name': 'Mac/clang-tidy-llvmorg-19-init-14561-gecea8371-2.tar.xz', 'sha256sum': '72f739bbcd088e44c23bf15e388359031ce80c9afd20f7748dc409ad3b450676', 'size_bytes': 12648400, 'generation': 1719817364486925, 'condition': 'host_os == "mac" and host_cpu == "x64" and checkout_clang_tidy'}, {'object_name': 'Mac/clangd-llvmorg-19-init-14561-gecea8371-2.tar.xz', 'sha256sum': 'be08edb3d79b3ef433ddc9d42a0fb95908fc404cc6b1b8d1dcdf0b4ff81e0bd9', 'size_bytes': 12966688, 'generation': 1719817364662266, 'condition': 'host_os == "mac" and host_cpu == "x64" and checkout_clangd'}, {'object_name': 'Mac/llvm-code-coverage-llvmorg-19-init-14561-gecea8371-2.tar.xz', 'sha256sum': 'b6dde2a61386f649ea696c0e3f08502880f617ee39b25b6c3220ac2ce0564842', 'size_bytes': 2234112, 'generation': 1719817365120814, 'condition': 'host_os == "mac" and host_cpu == "x64" and checkout_clang_coverage_tools'}, {'object_name': 'Mac_arm64/clang-llvmorg-19-init-14561-gecea8371-2.tar.xz', 'sha256sum': '5e86268e0dfd01884822218cf0d69f6598da5b8641a017c77cbefe4179afc218', 'size_bytes': 42059460, 'generation': 1719817383948342, 'condition': 'host_os == "mac" and host_cpu == "arm64"'}, {'object_name': 'Mac_arm64/clang-tidy-llvmorg-19-init-14561-gecea8371-2.tar.xz', 'sha256sum': 'eb53319e8c9b9e6f85937afd046179532b4231c2b7e5bdd6b651e148f40a6b6e', 'size_bytes': 11617628, 'generation': 1719817384372949, 'condition': 'host_os == "mac" and host_cpu == "arm64" and checkout_clang_tidy'}, {'object_name': 'Mac_arm64/clangd-llvmorg-19-init-14561-gecea8371-2.tar.xz', 'sha256sum': 'f34b979f8eb44d9aaf52230ec0fb6aec49f8e74f59f6a07a4e586fcc99f926f7', 'size_bytes': 12086772, 'generation': 1719817384789139, 'condition': 'host_os == "mac" and host_cpu == "arm64" and checkout_clangd'}, {'object_name': 'Mac_arm64/llvm-code-coverage-llvmorg-19-init-14561-gecea8371-2.tar.xz', 'sha256sum': '6f62c20431ed5e19cbe428db4ea45aac6cfd6406f7378666a1f91299b874f69e', 'size_bytes': 2004468, 'generation': 1719817385162420, 'condition': 'host_os == "mac" and host_cpu == "arm64" and checkout_clang_coverage_tools'}, {'object_name': 'Win/clang-llvmorg-19-init-14561-gecea8371-2.tar.xz', 'sha256sum': 'b60416313b584cd1a0295f66e92e573945b193e297012a94a72927498ad0bf4e', 'size_bytes': 41774988, 'generation': 1719817403451677, 'condition': 'host_os == "win"'}, {'object_name': 'Win/clang-tidy-llvmorg-19-init-14561-gecea8371-2.tar.xz', 'sha256sum': '6c19ec31bacee8c81ff15b1a8831f9facad083f3cb4482a6e8089464076dd15a', 'size_bytes': 12864800, 'generation': 1719817403802575, 'condition': 'host_os == "win" and checkout_clang_tidy'}, {'object_name': 'Win/clang-win-runtime-library-llvmorg-19-init-14561-gecea8371-2.tar.xz', 'sha256sum': 'd7b152bd343af86ca1acd6c3d3425bfe739484aa985f1eea5142fcc42758a43b', 'size_bytes': 2841184, 'generation': 1719817421132835, 'condition': 'checkout_win and not host_os == "win"'}, {'object_name': 'Win/clangd-llvmorg-19-init-14561-gecea8371-2.tar.xz', 'sha256sum': 'e1c89d2743c527dd35d4688dae56f2776ee3ca144385de5907ef7ca8699f3b55', 'size_bytes': 13321684, 'generation': 1719817404086435, 'condition': 'host_os == "win" and checkout_clangd'}, {'object_name': 'Win/llvm-code-coverage-llvmorg-19-init-14561-gecea8371-2.tar.xz', 'sha256sum': 'a951d99dab0addcf581efb1c0cc8c095de46cdf0c323ec2e2478fc1036cf5afe', 'size_bytes': 2358528, 'generation': 1719817404413399, 'condition': 'host_os == "win" and checkout_clang_coverage_tools'}, {'object_name': 'Win/llvmobjdump-llvmorg-19-init-14561-gecea8371-2.tar.xz', 'sha256sum': '3efd0d6a398517ce6c5738a5d1edc76f7886d942f94399861f43a79bb999663c', 'size_bytes': 5367660, 'generation': 1719817404081977, 'condition': 'checkout_linux or checkout_mac or checkout_android and host_os == "win"'}]}
Key 'objects' error:
Or(<function _NodeDictSchema.<locals>.validate at 0x1043cb240>) did not validate {'object_name': 'Linux_x64/clang-llvmorg-19-init-14561-gecea8371-2.tar.xz', 'sha256sum': '13be7df36df4020629a0bf925832bfad3059b804ad0032850e579afe37f276d6', 'size_bytes': 51483412, 'generation': 1719817362005610, 'condition': 'host_os == "linux" and non_git_source'}
Wrong keys 'condition' in {'object_name': 'Linux_x64/clang-llvmorg-19-init-14561-gecea8371-2.tar.xz', 'sha256sum': '13be7df36df4020629a0bf925832bfad3059b804ad0032850e579afe37f276d6', 'size_bytes': 51483412, 'generation': 1719817362005610, 'condition': 'host_os == "linux" and non_git_source'}
ERROR gclient sync failed

@codebytere
Copy link
Member

@andrewsml i'll look when I can - also, why are you running as root? you shouldn't need to.

@hlevring
Copy link

I would be really amazing to get this issue resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@codebytere @hlevring @andrewsml and others