I’m not sure why it’s trying to extract the obscpio file during the build when it’s already been extracted by the _service file.
It’s failing when calling pacman due to some sudo issue, but i’m not really sure why it’s calling pacman at this point.
206s] SIOCSIFADDR: File exists
231s] Unpacking chromium-vaapi-obs-1596052938.2a04043.obscpio …
231s] 57 blocks
231s] rm: cannot remove ‘chromium-vaapi-obs-1596052938.2a04043.obscpio’: No such file or directory
231s] Running build time source services…
231s] Preparing sources…
233s]
233s] We trust you have received the usual lecture from the local System
233s] Administrator. It usually boils down to these three things:
233s]
233s] #1) Respect the privacy of others.
233s] #2) Think before you type.
233s] #3) With great power comes great responsibility.
233s]
233s] sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
233s] ==> ERROR: ‘pacman’ failed to install missing dependencies.
233s] ==> ERROR: Could not resolve all dependencies.
233s] failed to prepare sources
233s] ### VM INTERACTION START ###
236s] 155.069254] sysrq: SysRq : Power Off
236s] 155.076933] reboot: Power down
237s] ### VM INTERACTION END ###
237s]
237s] cloud130 failed “build PKGBUILD” at Wed Jul 29 20:23:22 UTC 2020.
237s]
I don’t know about your specific situation and don’t usually build on OBS,
But my observations…
The first entry “file exists” likely refers to whatever entries preceded it.
Don’t know if that’s relevant to your problem or not.
I only use sudo (sometimes) when running something like a bash script, it never has any place in any compile I’ve done using any tool. Compiling should always be done with max permissions, which would mean root or administrator account on Linux. I suppose on a public system like OBS, you might sudo or so to an account (Adminstratior?) that has the equivalent of root within your chroot (or similar). But then the question begs… why aren’t you already logged in with that account? Maybe someone with specific experience on OBS might say something that’s specific to OBS, but I don’t see that with any other build service or system.
It looks like your call is invoking “pacman” not “packman” which is the Arch Linux package manager. Is that what your build needs to do?
Is the package available from an openSUSE/SUSE repo even for aarch files (although i suspect that if your build requires the Arch packages, it can still work). Of course you have to have pacman installed already if you’re going to invoke it.