Open SamLukeYes opened 2 years ago
I have exactly the same problem with all packages I'm installing through paru in a chroot.
It seems like makechrootpkg
and mkarchroot
don't work with doas at the moment.
I'm not sure if paru is responsible at all but maybe something can be changed to support this.
packages
: https://github.com/LeoMeinel/mdadm-encrypted-btrfs/blob/main/packages_post-install.txt
doas.conf
: https://github.com/LeoMeinel/mdadm-encrypted-btrfs/blob/main/etc/doas.conf
Error:
/usr/bin/makechrootpkg: line 559: sudo: command not found
==> ERROR: Could not download sources.
error: failed to download sources for <...>: failed to run makechrootpkg -c -r <...>
Note: Since the error clearly indicates that makechrootpkg is the problem. I might report this to them directly. makechrootpkg and mkarchroot also ask for a password. That is kind of unnecessary in my opinion too.
Values modified in certain configs:
/etc/makepkg.conf
:
PACMAN_AUTH=(doas)
/etc/paru.conf
:
Chroot
LocalRepo
RemoveMake
CleanAfter
[bin]
FileManager = nvim
Sudo = doas
FileManagerFlags = '-c,"NvimTreeFocus"'
/etc/pacman.conf
:
ParallelDownloads = 10
CacheDir = <...> (default but uncommented)
[options]
Include = /etc/pacman.d/repo/aur.conf
Include = /etc/pacman.d/repo/home_ungoogled_chromium_Arch.conf
See https://github.com/LeoMeinel/mdadm-encrypted-btrfs/tree/main/etc/pacman.d/repo for the repo configs
Affected Version
paru v1.9.3.r8.gfae9829 - libalpm v13.0.1
Description
libopenmpt-svn
fails to build in paru chroot, while it builds without issue usingextra-x86_64-build
.Output