Cannot make rootfs with buildrootfs
The first issue when I run sudo buildrootfs
is that it does not wait for the answer at :: Proceed with installation? [Y/n]
and continues in processing. But this is not the main problem.
The main problem is that it does not make the rootfs archive. There is many
error: command failed to execute correctly
call to execv failed (No such file or directory)
errors and finally no output is made. If I check the /var/lib/manjaro-arm-tools/pkg
at the final stage ==> Compressing rootfs...
it contains the rootfs in the aarch64 directory. But when the script finishes, the /var/lib/manjaro-arm-tools/pkg
is empty.
Installed tools version:
[manjaro@vm-manjaro-cm ~]$ pacman -Ss manjaro-arm-tools
extra/manjaro-arm-tools 2.10.2-1 [installed]
Any idea what might be wrong and how to resolve it?
[manjaro@vm-manjaro-cm ~]$ sudo buildrootfs
[sudo] password for manjaro:
==> Creating rootfs...
==> Creating install root at /var/lib/manjaro-arm-tools/pkg/aarch64
==> Installing packages to /var/lib/manjaro-arm-tools/pkg/aarch64
:: Synchronizing package databases...
core downloading...
extra downloading...
community downloading...
resolving dependencies...
looking for conflicting packages...
Packages (83) acl-2.3.1-1 archlinux-keyring-20210902-1 archlinuxarm-keyring-20140119-1 attr-2.5.1-1 audit-3.0.5-1 bash-5.1.008-1 brotli-1.0.9-4 bzip2-1.0.8-4 ca-certificates-20210603-1 ca-certificates-mozilla-3.71-1 ca-certificates-utils-20210603-1 coreutils-9.0-2 curl-7.79.1-1 db-5.3.28-5 e2fsprogs-1.46.4-1 expat-2.4.1-1 filesystem-2021.02-2 findutils-4.8.0-1 gawk-5.1.0-1 gcc-libs-10.2.0-1 gdbm-1.21-1 glib2-2.70.0-1.1 glibc-2.32-2 gmp-6.2.1-1 gnupg-2.2.29-1 gnutls-3.7.2-2 gpgme-1.16.0-1 iana-etc-20210903-1 keyutils-1.6.3-1 krb5-1.19.2-1 libarchive-3.5.2-1 libassuan-2.5.5-1 libcap-2.59-1 libcap-ng-0.8.2-3 libffi-3.3-4 libgcrypt-1.9.4-1 libgpg-error-1.42-1 libidn2-2.3.2-1 libksba-1.6.0-1 libldap-2.4.59-2 libnghttp2-1.45.1-1 libnsl-2.0.0-1 libp11-kit-0.24.0-1 libpsl-0.21.1-1 libsasl-2.1.27-3 libsecret-0.20.4-1 libssh2-1.10.0-1 libtasn1-4.17.0-1 libtirpc-1.3.2-1 libunistring-0.9.10-3 libxcrypt-4.4.26-1 linux-api-headers-5.12.3-1 lz4-1:1.9.3-2 manjaro-arm-keyring-20210807-1 manjaro-keyring-20210910-2 mpfr-4.1.0.p13-1 ncurses-6.2-2 nettle-3.7.3-1 npth-1.6-3 openssl-1.1.1.l-1 p11-kit-0.24.0-1 pacman-mirrors-4.21.5-1 pam-1.5.2-1 pambase-20210605-2 pcre-8.45-1 perl-5.34.0-2 pinentry-1.1.1-1 python-3.9.7-1 python-certifi-2021.10.8-1 python-chardet-4.0.0-2 python-idna-3.2-1 python-npyscreen-4.10.5-6 python-requests-2.26.0-1 python-urllib3-1.26.7-1 readline-8.1.001-1 sqlite-3.36.0-1 systemd-libs-249.4-2 tzdata-2021c-1 util-linux-libs-2.37.2-1 xz-5.2.5-2 zlib-1:1.2.11-4 zstd-1.5.0-1 pacman-6.0.1-6
Total Download Size: 101,38 MiB
Total Installed Size: 465,19 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
gcc-libs-10.2.0-1-aarch64 downloading...
perl-5.34.0-2-aarch64 downloading...
python-3.9.7-1-aarch64 downloading...
glibc-2.32-2-aarch64 downloading...
glib2-2.70.0-1.1-aarch64 downloading...
openssl-1.1.1.l-1-aarch64 downloading...
gnutls-3.7.2-2-aarch64 downloading...
coreutils-9.0-2-aarch64 downloading...
gnupg-2.2.29-1-aarch64 downloading...
bash-5.1.008-1-aarch64 downloading...
sqlite-3.36.0-1-aarch64 downloading...
krb5-1.19.2-1-aarch64 downloading...
pacman-6.0.1-6-aarch64 downloading...
e2fsprogs-1.46.4-1-aarch64 downloading...
ncurses-6.2-2-aarch64 downloading...
linux-api-headers-5.12.3-1-any downloading...
curl-7.79.1-1-aarch64 downloading...
gawk-5.1.0-1-aarch64 downloading...
db-5.3.28-5-aarch64 downloading...
archlinux-keyring-20210902-1-any downloading...
pcre-8.45-1-aarch64 downloading...
zstd-1.5.0-1-aarch64 downloading...
pam-1.5.2-1-aarch64 downloading...
systemd-libs-249.4-2-aarch64 downloading...
libunistring-0.9.10-3-aarch64 downloading...
libgcrypt-1.9.4-1-aarch64 downloading...
libarchive-3.5.2-1-aarch64 downloading...
findutils-4.8.0-1-aarch64 downloading...
nettle-3.7.3-1-aarch64 downloading...
gpgme-1.16.0-1-aarch64 downloading...
util-linux-libs-2.37.2-1-aarch64 downloading...
iana-etc-20210903-1-any downloading...
gmp-6.2.1-1-aarch64 downloading...
tzdata-2021c-1-aarch64 downloading...
libp11-kit-0.24.0-1-aarch64 downloading...
audit-3.0.5-1-aarch64 downloading...
ca-certificates-mozilla-3.71-1-aarch64 downloading...
brotli-1.0.9-4-aarch64 downloading...
readline-8.1.001-1-aarch64 downloading...
mpfr-4.1.0.p13-1-aarch64 downloading...
xz-5.2.5-2-aarch64 downloading...
libldap-2.4.59-2-aarch64 downloading...
libsecret-0.20.4-1-aarch64 downloading...
gdbm-1.21-1-aarch64 downloading...
libgpg-error-1.42-1-aarch64 downloading...
python-npyscreen-4.10.5-6-any downloading...
libssh2-1.10.0-1-aarch64 downloading...
python-urllib3-1.26.7-1-any downloading...
pacman-mirrors-4.21.5-1-any downloading...
python-chardet-4.0.0-2-any downloading...
libtirpc-1.3.2-1-aarch64 downloading...
p11-kit-0.24.0-1-aarch64 downloading...
python-certifi-2021.10.8-1-any downloading...
libsasl-2.1.27-3-aarch64 downloading...
manjaro-keyring-20210910-2-any downloading...
acl-2.3.1-1-aarch64 downloading...
libtasn1-4.17.0-1-aarch64 downloading...
libksba-1.6.0-1-aarch64 downloading...
libidn2-2.3.2-1-aarch64 downloading...
lz4-1:1.9.3-2-aarch64 downloading...
libassuan-2.5.5-1-aarch64 downloading...
expat-2.4.1-1-aarch64 downloading...
keyutils-1.6.3-1-aarch64 downloading...
pinentry-1.1.1-1-aarch64 downloading...
libnghttp2-1.45.1-1-aarch64 downloading...
python-requests-2.26.0-1-any downloading...
libxcrypt-4.4.26-1-aarch64 downloading...
zlib-1:1.2.11-4-aarch64 downloading...
libcap-2.59-1-aarch64 downloading...
libpsl-0.21.1-1-aarch64 downloading...
python-idna-3.2-1-any downloading...
attr-2.5.1-1-aarch64 downloading...
bzip2-1.0.8-4-aarch64 downloading...
libcap-ng-0.8.2-3-aarch64 downloading...
libffi-3.3-4-aarch64 downloading...
npth-1.6-3-aarch64 downloading...
libnsl-2.0.0-1-aarch64 downloading...
manjaro-arm-keyring-20210807-1-any downloading...
archlinuxarm-keyring-20140119-1-any downloading...
filesystem-2021.02-2-aarch64 downloading...
ca-certificates-utils-20210603-1-any downloading...
pambase-20210605-2-any downloading...
ca-certificates-20210603-1-any downloading...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
installing linux-api-headers...
installing tzdata...
installing iana-etc...
installing filesystem...
installing glibc...
Optional dependencies for glibc
gd: for memusagestat
installing gcc-libs...
installing ncurses...
Optional dependencies for ncurses
bash: for ncursesw6-config [pending]
installing readline...
installing bash...
Optional dependencies for bash
bash-completion: for tab completion
installing attr...
installing acl...
installing bzip2...
installing expat...
installing lz4...
installing openssl...
Optional dependencies for openssl
ca-certificates [pending]
perl [pending]
installing xz...
installing zlib...
installing zstd...
installing libarchive...
installing gmp...
installing util-linux-libs...
installing e2fsprogs...
installing libsasl...
installing libldap...
installing keyutils...
installing krb5...
installing libtirpc...
installing pambase...
installing libcap-ng...
installing audit...
installing libxcrypt...
installing pam...
installing libcap...
installing coreutils...
installing findutils...
installing libtasn1...
installing libffi...
installing libp11-kit...
installing libgpg-error...
installing libgcrypt...
installing systemd-libs...
installing p11-kit...
error: command failed to execute correctly
call to execv failed (No such file or directory)
installing ca-certificates-utils...
installing ca-certificates-mozilla...
installing ca-certificates...
installing brotli...
installing libunistring...
installing libidn2...
installing libnghttp2...
installing libpsl...
installing libssh2...
installing curl...
installing gdbm...
installing db...
installing perl...
installing npth...
installing libksba...
installing libassuan...
installing pcre...
installing glib2...
Optional dependencies for glib2
python: gdbus-codegen, glib-genmarshal, glib-mkenums, gtester-report [pending]
libelf: gresource inspection tool
installing libsecret...
Optional dependencies for libsecret
org.freedesktop.secrets: secret storage backend
installing pinentry...
Optional dependencies for pinentry
gtk2: gtk2 backend
qt5-base: qt backend
gcr: gnome3 backend
installing nettle...
installing gnutls...
Optional dependencies for gnutls
guile: for use with Guile bindings
installing sqlite...
installing gnupg...
call to execv failed (No such file or directory)
error: command failed to execute correctly
Optional dependencies for gnupg
libldap: gpg2keys_ldap [installed]
libusb-compat: scdaemon
pcsclite: scdaemon
installing gpgme...
installing archlinux-keyring...
error: command failed to execute correctly
call to execv failed (No such file or directory)
installing archlinuxarm-keyring...
call to execv failed (No such file or directory)
error: command failed to execute correctly
installing manjaro-keyring...
call to execv failed (No such file or directory)
error: command failed to execute correctly
installing manjaro-arm-keyring...
call to execv failed (No such file or directory)
error: command failed to execute correctly
installing libnsl...
installing python...
Optional dependencies for python
python-setuptools
python-pip
sqlite [installed]
mpdecimal: for decimal
xz: for lzma [installed]
tk: for tkinter
installing python-npyscreen...
installing python-urllib3...
Optional dependencies for python-urllib3
python-pysocks: SOCKS support
python-brotli: Brotli support
python-pyopenssl: security support
python-idna: security support [pending]
installing python-chardet...
installing python-idna...
installing python-requests...
Optional dependencies for python-requests
python-pysocks: SOCKS proxy support
installing python-certifi...
installing pacman-mirrors...
Optional dependencies for pacman-mirrors
gtk3: for interactive mode (GUI)
python-gobject: for interactive mode (GUI)
installing mpfr...
installing gawk...
installing pacman...
error: command failed to execute correctly
call to execv failed (No such file or directory)
Optional dependencies for pacman
haveged: for pacman-init.service
perl-locale-gettext: translation support in makepkg-template
findutils: for pacdiff --find [installed]
mlocate: for pacdiff --locate
sudo: privilege elevation for several scripts
vim: default merge program for pacdiff
call to execv failed (No such file or directory)
error: command failed to execute correctly
:: Running post-transaction hooks...
(1/3) Rebuilding certificate stores...
call to execv failed (No such file or directory)
error: command failed to execute correctly
(2/3) Warn about old perl modules
call to execv failed (No such file or directory)
error: command failed to execute correctly
(3/3) Configuring pacman-mirrors ...
call to execv failed (No such file or directory)
error: command failed to execute correctly
==> Compressing rootfs...
[manjaro@vm-manjaro-cm ~]$