Hi, I need to build Linux for Congatec QMX8 SMARC SBC. The procedure is described here:
I get the following error:
gpg: keyring `/home/dev/.repoconfig/gnupg/secring.gpg' created gpg: keyring `/home/dev/.repoconfig/gnupg/pubring.gpg' created gpg: /home/dev/.repoconfig/gnupg/trustdb.gpg: trustdb created gpg: key 920F5C65: public key "Repo Maintainer " imported gpg: key 692B382C: public key "Conley Owens " imported gpg: Total number processed: 2 gpg: imported: 2 (RSA: 1) Get
So it looks, like "repo" performs autoupdate during the "repo init" and is not able to work any more, as it is not compatible with Python 2.7 (used by default in Ubuntu 2016.04.
When I try to enforce running "repo init" with python3, I get another error:
warning: Python 3 support is currently experimental. YMMV. Please use Python 2.6 - 2.7 instead. Traceback (most recent call last): File "/usr/bin/repo", line 860, in main(sys.argv[1:]) File "/usr/bin/repo", line 828, in main _Init(args, gitc_init=(cmd == 'gitc-init')) File "/usr/bin/repo", line 326, in _Init _CheckGitVersion() File "/usr/bin/repo", line 380, in _CheckGitVersion ver_act = ParseGitVersion(ver_str) File "/usr/bin/repo", line 350, in ParseGitVersion if not ver_str.startswith('git version '): TypeError: startswith first arg must be bytes or a tuple of bytes, not str
So the updated repo is not compatible neither with Python 2 nor with Python 3 in Ubuntu 2016.04. Can I somehow block updating the repo, so that it remains at old 1.13 version (compatible with Python 2.7) May I use Yocto without repo at all, just using the git commands?