As I am trying to do it inside a docker, not looked into running as ‘root’. Wrt multistrap sysroot building, got into gpg key error. I am not sure, you will be able to help here. Just need a confirmation that my command it right. Ignore that change in repository URL. I just changed to try
root@fa0b0022e017:/DeepSpeech/native_client# multistrap -a aarch64 -d /DeepSpeech/multistrap-raspbian64-stretch/usr/lib/aarch64-linux-gnu/ --no-auth -f multistrap_armbian64_stretch.conf
multistrap 2.2.9 using multistrap_armbian64_stretch.conf
multistrap 2.2.9 using multistrap_armbian64_stretch.conf
Using foreign architecture: aarch64
multistrap building aarch64 multistrap on ‘amd64’
Getting package lists: APT_CONFIG=/tmp/multistrap.5gUxn1 apt-get -o Apt::Architecture=aarch64 -o Dir::Etc::TrustedParts=/DeepSpeech/multistrap-raspbian64-stretch/usr/lib/aarch64-linux-gnu/etc/apt/trusted.gpg.d -o Dir::Etc::Trusted=/DeepSpeech/multistrap-raspbian64-stretch/usr/lib/aarch64-linux-gnu/etc/apt/trusted.gpg -o Apt::Get::AllowUnauthenticated=true -o Apt::Get::Download-Only=true -o Apt::Install-Recommends=false -o Dir=/DeepSpeech/multistrap-raspbian64-stretch/usr/lib/aarch64-linux-gnu/ -o Dir::Etc=/DeepSpeech/multistrap-raspbian64-stretch/usr/lib/aarch64-linux-gnu/etc/apt/ -o Dir::Etc::Parts=/DeepSpeech/multistrap-raspbian64-stretch/usr/lib/aarch64-linux-gnu/etc/apt/apt.conf.d/ -o Dir::Etc::PreferencesParts=/DeepSpeech/multistrap-raspbian64-stretch/usr/lib/aarch64-linux-gnu/etc/apt/preferences.d/ -o APT::Default-Release=’*’ -o Dir::State=/DeepSpeech/multistrap-raspbian64-stretch/usr/lib/aarch64-linux-gnu/var/lib/apt/ -o Dir::State::Status=/DeepSpeech/multistrap-raspbian64-stretch/usr/lib/aarch64-linux-gnu/var/lib/dpkg/status -o Dir::Cache=/DeepSpeech/multistrap-raspbian64-stretch/usr/lib/aarch64-linux-gnu/var/cache/apt/ update
Ign:1 http://ftp.uk.debian.org/debian stretch InRelease
Get:2 http://ftp.uk.debian.org/debian stretch Release [118 kB]
Get:3 http://ftp.uk.debian.org/debian stretch Release.gpg [2434 B]
Ign:3 http://ftp.uk.debian.org/debian stretch Release.gpg
Reading package lists… Done
W: GPG error: http://ftp.uk.debian.org/debian stretch Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010 NO_PUBKEY EF0F382A1A7B6500
E: The repository ‘http://ftp.uk.debian.org/debian stretch Release’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
apt update failed. Exit value: 100
root@fa0b0022e017:/DeepSpeech/native_client#