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
gclient.py: error: Inconsistent arguments. Use either --spec or one or 2 args #26
Comments
When I perform the following step manually, and by adding quotes, it does work. gclient config --spec "solutions=[{"managed":False,"name":"src/flutter","url":"git@github.com:flutter/engine.git","custom_vars":{"download_android_deps":False,"download_windows_deps":False,}}]" |
Hi @skinkie. What host are you building with? The pattern I used with Ubuntu 18.0.4 LTS:
|
I am trynig to build on gentoo, as you see in the rest of the issues that fails big time :) But I obviously can test it on a ubuntu system. Specifically regarding the fontconfig part: is it expected to install the ARM package? Is building the flutter-engine directly on a pi "easier"? |
The stuff you're hitting look straight forward. What version of Python? If three, you might want to add 2.7 so it shows up earlier in your path. Otherwise the other way around. I'm not sure the Clang package is setup for building Native = ARM, so it may be a host-only exercise. Be sure your PKG_CONFIG_PATH enviromental variable is pointing to the sysroot pkgconfig folder which has the fontconfig pc file. The other option is to remove the enable fontconfig flag to make forward progress. It is needed to render text though. |
python2 and python3 are installed, using eselect I have selected 2.7. This still didn't work for me. |
I would try to a host build of the Flutter engine without CMake to sort out your environment. Once you have that working, then try with CMake. |
I have checked out the latest depot_tools.
In order to prevent the Python3 warning:
The text was updated successfully, but these errors were encountered: