Makepkg fails to resolve dependencies because of user failing to be in the sudoers file
thebiblelover7 opened this issue · comments
Adriel Sand commented
Running makepkg with flags
==> Making package: psst-git-bin r264.1d5cf32-2 (Thu 20 Jan 2022 01:41:02 PM UTC)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:
#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.
builder is not in the sudoers file. This incident will be reported.
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
-> rust
-> gtk3
-> cairo
-> clang
==> ERROR: Could not resolve all dependencies.
I have no idea why this is failing... Do you have any clues? Thanks ahead of time!
Husen commented
Sorry, actually I don't understand that either. But, have you tested your PKGBUILD
file locally?
Maybe with makepkg -si
command?
Husen commented
I've created PR #9 which should fix this problem.
Can you try using the bugfix/sudoers-user
branch instead of v1
?
Your workflow will look like this:
- name: Validate package
uses: hapakaien/archlinux-package-action@bugfix/sudoers-user
PS: I have moved this repo.
Adriel Sand commented
@hapakaien your bugfix/sudoers-user
branch seems to fix it!
Thanks a lot!
II think this should close #9 to be merged to main