[opensuse-buildservice] How to link to projects on remote OBS instances?
Dear list, I've a software that I need to build privately, so I've (successfully) set up and linked it to https://api.opensuse.org/public. The software I'd like to package uses libraries from projects on build.opensuse.org, namely the "Application:Geo" and "KDE:Qt53" projects, so I figure I need a way to link my own project to the other two mentioned in order to get the dependencies right. This is my first endevour with OBS, so I'm unsure how to do this. Google found me a Wiki page on project linking [0], and so I added the following two lines to my project metaconfig: <link project="Application:Geo"/> <link project="KDE:Qt53"/> Still, libraries such as "libgeos-devel", "libgdal-devel" or "libQt5Core- devel" that are part of the two remote projects. Surely I'm missing something here. Could somebody point out what exactly? Any help would be really appreciated! Thanks alot in advance. --- Eric [0] https://en.opensuse.org/openSUSE:Build_Service_Concept_project_linking
the project path's need to look like this to be able to build against them.
<repository name="openSUSE_13.1">
<path project="openSUSE.org:server:database:postgresql"
repository="openSUSE_13.1"/>
<path project="openSUSE.org:openSUSE:13.1" repository="standard"/>
<arch>i586</arch>
<arch>x86_64</arch>
</repository>
--
Later,
Darin
On Tue, Oct 14, 2014 at 10:32 AM, Eric MSP Veith
Dear list,
I've a software that I need to build privately, so I've (successfully) set up and linked it to https://api.opensuse.org/public. The software I'd like to package uses libraries from projects on build.opensuse.org, namely the "Application:Geo" and "KDE:Qt53" projects, so I figure I need a way to link my own project to the other two mentioned in order to get the dependencies right.
This is my first endevour with OBS, so I'm unsure how to do this. Google found me a Wiki page on project linking [0], and so I added the following two lines to my project metaconfig:
<link project="Application:Geo"/> <link project="KDE:Qt53"/>
Still, libraries such as "libgeos-devel", "libgdal-devel" or "libQt5Core- devel" that are part of the two remote projects.
Surely I'm missing something here. Could somebody point out what exactly? Any help would be really appreciated!
Thanks alot in advance.
--- Eric
[0] https://en.opensuse.org/openSUSE:Build_Service_Concept_project_linking -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Darin, Jan, thanks for your prompt replies. I've tried to add the stanzas you suggested, but I'm stull stuck. I've added to the project's root: <repository name="openSUSE_13.1"> <path project="openSUSE.org:Application:Geo" repository="openSUSE_13.1"/> <path project="openSUSE.org:devel:libraries:c_c++" repository="openSUSE_13.1"/> <path project="openSUSE.org:KDE:Qt53" repository="openSUSE_13.1"/> <path project="openSUSE.org:openSUSE:13.1" repository="standard"/> <arch>i586</arch> <arch>x86_64</arch> <arch>armv6l</arch> </repository> ... and tried to rebuilt for openSUSE 13.1 I still get "unresolvable" error messages, and those for all repositories. It is as if I hadn't added them add all. Is there a syntax error? "osc proj 'home:eveith:Winzent' -e" didn't show any. Is there a semantic error...? The complete config is as follows: ---%<--- <project name="home:eveith:Winzent"> <title/> <description/> <person userid="eveith" role="bugowner"/> <person userid="eveith" role="maintainer"/> <build> <enable/> </build> <publish> <disable/> </publish> <debuginfo> <disable/> </debuginfo> <repository name="openSUSE_13.1"> <path project="openSUSE.org:Application:Geo" repository="openSUSE_13.1"/> <path project="openSUSE.org:devel:libraries:c_c++" repository="openSUSE_13.1"/> <path project="openSUSE.org:KDE:Qt53" repository="openSUSE_13.1"/> <path project="openSUSE.org:openSUSE:13.1" repository="standard"/> <arch>i586</arch> <arch>x86_64</arch> <arch>armv6l</arch> </repository> </project> --->%--- Is there any project config error? I also don't know where to read up on this. Perhaps I'm just missing the manuals. Thanks again for any hints. Kind Regards Eric On Tuesday 14 October 2014, 10:56:39, Darin Perusich wrote:
the project path's need to look like this to be able to build against them.
<repository name="openSUSE_13.1"> <path project="openSUSE.org:server:database:postgresql" repository="openSUSE_13.1"/> <path project="openSUSE.org:openSUSE:13.1" repository="standard"/> <arch>i586</arch> <arch>x86_64</arch> </repository> -- Later, Darin
On Tue, Oct 14, 2014 at 10:32 AM, Eric MSP Veith
wrote: Dear list,
I've a software that I need to build privately, so I've (successfully) set up and linked it to https://api.opensuse.org/public. The software I'd like to package uses libraries from projects on build.opensuse.org, namely the "Application:Geo" and "KDE:Qt53" projects, so I figure I need a way to link my own project to the other two mentioned in order to get the dependencies right.
This is my first endevour with OBS, so I'm unsure how to do this. Google found me a Wiki page on project linking [0], and so I added the following two lines> to my project metaconfig: <link project="Application:Geo"/> <link project="KDE:Qt53"/>
Still, libraries such as "libgeos-devel", "libgdal-devel" or "libQt5Core- devel" that are part of the two remote projects.
Surely I'm missing something here. Could somebody point out what exactly? Any help would be really appreciated!
Thanks alot in advance.
--- Eric
[0] https://en.opensuse.org/openSUSE:Build_Service_Concept_project_linking
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Eric MSP Veith
I've added to the project's root:
<repository name="openSUSE_13.1"> <path project="openSUSE.org:Application:Geo" repository="openSUSE_13.1"/> <path project="openSUSE.org:devel:libraries:c_c++" repository="openSUSE_13.1"/> <path project="openSUSE.org:KDE:Qt53" repository="openSUSE_13.1"/> <path project="openSUSE.org:openSUSE:13.1" repository="standard"/> <arch>i586</arch> <arch>x86_64</arch> <arch>armv6l</arch> </repository>
None of these repositories (except the one from Application:Geo) contain armv6l packages for openSUSE 13.1. For openSUSE:13.1 you can use the ports repository, but the others don't offer a choice. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Andreas,
On Wednesday 15 October 2014 23:17:01, Andreas Schwab
None of these repositories (except the one from Application:Geo) contain armv6l packages for openSUSE 13.1. For openSUSE:13.1 you can use the ports repository, but the others don't offer a choice.
thanks for the hint! I finally got my OBS instance to build the packages. Here's what was still missing, aside from the missing armv6l architecture. First, I mostly ran "osc" without -A, so I was editing my home project on build.opensuse.org instead of the private one. Then, my project XML contained a typo in the project definitions. Afterwards, the package builder complained about having multiple choices (having choice for...), but that was easily remedied by "Pref:" stanzas in the prjconf. Thanks alot for the help, Darin, Andreas, Jan! :-) --- Eric
On Tuesday 2014-10-14 16:32, Eric MSP Veith wrote:
I've a software that I need to build privately, so I've (successfully) set up and linked it to https://api.opensuse.org/public. The software I'd like to package uses libraries from projects on build.opensuse.org, namely the "Application:Geo" and "KDE:Qt53" projects, so I figure I need a way to link my own project to the other two mentioned in order to get the dependencies right.
<link project="Application:Geo"/> <link project="KDE:Qt53"/>
This is highly unusual. More common is
participants (4)
-
Andreas Schwab
-
Darin Perusich
-
Eric MSP Veith
-
Jan Engelhardt