Results 1 to 2 of 2

Thread: osc build against Tumbleweed

  1. #1

    Default osc build against Tumbleweed

    Hello.

    My system is running from Tumbleweed repos and I am trying to build a package for this repo. When i run command


    Code:
    osc build openSUSE_Tumbleweed


    i got this

    Code:
    Building libtorrent.spec for openSUSE_Tumbleweed/x86_64
    Getting buildinfo from server and store to /home/maksym/projects/home:elysium31/home:elysium31:branches:filesharing/libtorrent/.osc/_buildinfo-openSUSE_Tum
    bleweed-x86_64.xml
    Getting buildconfig from server and store to /home/maksym/projects/home:elysium31/home:elysium31:branches:filesharing/libtorrent/.osc/_buildconfig-openSUSE
    _Tumbleweed-x86_64
    Updating cache of required packages
    
    The build root needs packages from project 'openSUSE:Factory'.
    Note that malicious packages can compromise the build result or even your system.
    Would you like to ...
    0 - quit (default)
    1 - always trust packages from 'openSUSE:Factory'
    2 - trust packages just this time
    


    It is going to install some packages from Factory.
    Is there any way to build on installed packages (Tumbleweed)? Should i generate a buildinfo against Tumblweed somehow?

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    24,942
    Blog Entries
    15

    Default Re: osc build against Tumbleweed

    Quote Originally Posted by elysium31 View Post
    Hello.

    My system is running from Tumbleweed repos and I am trying to build a package for this repo. When i run command


    Code:
    osc build openSUSE_Tumbleweed


    i got this

    Code:
    Building libtorrent.spec for openSUSE_Tumbleweed/x86_64
    Getting buildinfo from server and store to /home/maksym/projects/home:elysium31/home:elysium31:branches:filesharing/libtorrent/.osc/_buildinfo-openSUSE_Tum
    bleweed-x86_64.xml
    Getting buildconfig from server and store to /home/maksym/projects/home:elysium31/home:elysium31:branches:filesharing/libtorrent/.osc/_buildconfig-openSUSE
    _Tumbleweed-x86_64
    Updating cache of required packages
    
    The build root needs packages from project 'openSUSE:Factory'.
    Note that malicious packages can compromise the build result or even your system.
    Would you like to ...
    0 - quit (default)
    1 - always trust packages from 'openSUSE:Factory'
    2 - trust packages just this time
    


    It is going to install some packages from Factory.
    Is there any way to build on installed packages (Tumbleweed)? Should i generate a buildinfo against Tumblweed somehow?
    Hi and welcome to the Forum
    Yes, but only installs in the buildroot (however you have that configured), however you configured your package cache in oscrc is where it downloads and adds as a local repo for the build process only.

    Code:
    ll openSUSE\:Factory/snapshot/x86_64/ |wc -l
    2513
    
    du -sh openSUSE\:Factory/snapshot/x86_64/
    2.1G    openSUSE:Factory/snapshot/x86_64/
    
    du -sh osbuild-packagecache
    4.3G    osbuild-packagecache
    So I have over 2500 rpms in the cache (including old and new)...
    Last edited by malcolmlewis; 05-Oct-2018 at 07:32.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

Posting Permissions

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