osc build does not create a reusable package cache

I have been using OBS and osc for some time at a basic user level. I build projects locally using osc before committing to OBS. All works fine for Leap and Debian_9.0.

I have just started building for Debian_10 and whilst the projects build successfully with osc, each time I build I get the message:-
100.0% cache miss. 0/180 dependencies cached.
and all packages are downloaded again.
On inspection in the Debian_10 package cache directory the filenames are odd, they all have b’ prepended and inserted. For example:-
b’adduser’_b’3.118’_b’all’.deb
As opposed to the same package in the Debian_9.0 directory of:-
adduser_3.115_all.deb

Any help would be appreciated.

Regards,
Mark

Hi
Have you configured a package cache directory in ~/,oscrc or ~/.config/osc/oscrc


# Downloaded packages are cached here. Must be writable by you.
packagecachedir = 

Yes in ~/.config/osc/oscrc and it holds packagecachedir = /var/cache/osbuild-packagecache

and Debian 10 does appear where expected alongside Deb 9, Fed 29, Fed30 and Leap 15.1.
It is just the filenames that are odd b’adduser’_b’3.118’_b’all’.deb for example.

Mark

Hi
Suggest you create one outside /var accessible via your user.

That directory is owned by my user, it has worked for months, osc build writes the Deb 10 packages into the directory, they are there. The filenames are garbled.

Mark

Hi
Strange indeed… what version of osc is in use? I have no issues with openSUSE and my package cache…


 du -sh /data/repositories/osbuild-packagecache/
31G    /data/repositories/osbuild-packagecache/

Might be best to head over to the Build Service Mailing List opensuse-buildservice (or IRC Freenode #opensuse-buildservice);

https://en.opensuse.org/openSUSE:Communication_channels
https://en.opensuse.org/openSUSE:Mailing_lists_subscription
https://lists.opensuse.org/