You are not logged in.
Pages: 1
Topic closed
Feeling like a beginner, so I am posting here.
I try to build an aur-package using a chroot environment_
[bernd_b@amd64-archlinux libavresample]$ makechrootpkg -c -r $CHROOT
==> Synchronizing chroot copy [/var/lib/archbuild/extra-x86_64/root] -> [bernd_b]...done
==> Making package: libavresample 4.3.1-1 (Sun Feb 14 17:39:27 2021)
==> Retrieving sources...
-> Updating ffmpeg git repo...
Fetching origin
==> Validating source files with sha256sums...
ffmpeg ... Skipped
==> Making package: libavresample 4.3.1-1 (Sun 14 Feb 2021 05:39:33 PM CET)
==> Checking runtime dependencies...
==> Installing missing dependencies...
sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
-> ffmpeg
==> Checking buildtime dependencies...
==> Installing missing dependencies...
sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
-> git
-> nasm
==> ERROR: Could not resolve all dependencies.
==> ERROR: Build failed, check /var/lib/archbuild/extra-x86_64/bernd_b/buildSince all aur-helper and
[bernd_b@amd64-archlinux libavresample]$ sudo pacman --help
usage: pacman <operation> [...]
operations:
pacman {-h --help}
pacman {-V --version}
pacman {-D --database} <options> <package(s)>
pacman {-F --files} [options] [package(s)]
pacman {-Q --query} [options] [package(s)]
pacman {-R --remove} [options] <package(s)>
pacman {-S --sync} [options] [package(s)]
pacman {-T --deptest} [options] [package(s)]
pacman {-U --upgrade} [options] <file(s)>
use 'pacman {-h --help}' with an operation for available optionswork like charm, I don't get the meaning of
"sudo: effective uid is not 0, is /usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?
==> ERROR: 'pacman' failed to install missing dependencies."Last edited by bernd_b (2021-02-14 17:06:16)
Offline
Ok, stupid me.
I had the option "users" in my mount option for the xfs file system, where the chroot environment is placed. This seemed to set the "nosuid" option as well.
Remounting the file system without the user option makes everything working as expected.
Last edited by bernd_b (2021-02-14 17:04:30)
Offline
Faced a similar issue so I figured I might drop the solution here since it's the first google result.
At the end I figured out that the issue was related to namespaces.
You have two solutions, either use su -mm before chrooting into the environment or enable global namespaces in your root manager(presumably magisk)
Offline
Strike #2. Please don't necrobump. It doesn't look like you're even using Arch, so this information isn't even relevant...
https://wiki.archlinux.org/title/Genera … bumping%22
https://bbs.archlinux.org/misc.php?action=rules
Closing.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed