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

osc build openSUSE_Tumbleweed

i got this

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 :slight_smile:
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.


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)…