On Dienstag, 13. August 2019, 15:07:03 CEST Frédéric LOUI wrote:
Hi experts,
I tried to search the mailing list and had a quick look at the documentation but I could not find a clear answer.
I’m currently building packages using target Debian 10 / buster, I managed to build deb dependencies packages successfully from genuine Debian 10/Buster target and I must admit that the process is quite straightforward. (I was used to work with Launchpad … :-) )
But now I have the following question:
1- I’m building a package on Buster (Debian 10)
2- The package I want to build use a package in Debian/experimental So I added in /etc/apt/sources.list the lines: ... deb http://ftp.crihan.fr/debian experimental main deb-src http://ftp.crihan.fr/debian experimental main …
3- In order to avoid repository conflict I added in /etc/apt/preferences the lines: (The src deb is grpc package) Package: libgrpc++-dev Pin: release a=experimental Pin-Priority: 800
Package: libgrpc++1 Pin: release a=experimental Pin-Priority: 800
Package: libgrpc-dev Pin: release a=experimental Pin-Priority: 800
Package: libgrpc7 Pin: release a=experimental Pin-Priority: 800
Package: protobuf-compiler-grpc Pin: release a=experimental Pin-Priority: 800
Package: python-grpcio Pin: release a=experimental Pin-Priority: 800
4- Then I update the distribution repository apt-get update
5- Finally: install the packages from experimental. … apt-get install libgrpc++-dev ... Etc.
Do you know how to « reproducers » this in OBS ?
in OBS a package with a specific name is always taken from the first repository which got used. It means the order of your <path project=../> elements in your repository config does matter here. OBS would not switch repos depending on package version numbers though, this would cause quite some chaos and not reproducible building.
For now I’m using only OBS web GUI, for learning sake I’ll switch to ocs command line interface when I’ll get more familiar to the whole system.
One solution would be to rebuild experimental packages from Debian 10/Buster but building grpc is not a trivial operation...
we don't have a config for "experimental packages" yet .... but I could add one... -- Adrian Schroeter SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org