Results 1 to 4 of 4

Thread: Help building archlinux chromium-vaapi package on OBS

  1. #1

    Default Help building archlinux chromium-vaapi package on OBS

    Hi,

    I'm trying to build chromium-vaapi on OBS (https://build.opensuse.org/package/s...chromium-vaapi), with the code stored in github. Having a couple issues:

    1. 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.

    2. 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]

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    12,905
    Blog Entries
    2

    Default Re: Help building archlinux chromium-vaapi package on OBS

    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.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  3. #3

    Default Re: Help building archlinux chromium-vaapi package on OBS

    Thanks, i figured out the problem, there was some extra dependencies that i didn't need and i guess makepkg was trying to install them for me.

    But now my problem is not enough storage on the build servers for extracting the chrome souce code.

    Does anyone know how much space you are allocated on the free open build servers?

  4. #4
    Join Date
    Sep 2012
    Posts
    5,990

    Default Re: Help building archlinux chromium-vaapi package on OBS

    Quote Originally Posted by jmandawg View Post
    But now my problem is not enough storage on the build servers for extracting the chrome souce code.
    You can add constraints to your project to request more space: https://openbuildservice.org/help/ma...1.5.10.13.12.5

    and as example: https://build.opensuse.org/package/v...aints?expand=1

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •