[opensuse-buildservice] linking to a project
(Despite the mingw32 references in my question, I think it is a general OBS question. Not anything specific to mingw32.) I am trying to build a package that BuildRequires components in windows:mingw:win32. For example, mingw32-filesystem. I get a complaint that nothing provides this. I think I may need to link either to the mingw32-filesystem subproject, or the parent windows:mingw:win32 project. I looked at http://en.opensuse.org/openSUSE:Build_Service_Concept_project_linking but still do not have a solution. This documentation seemed to imply that I could add something like the following to my project meta data: <link project="windows:mingw:win32"/> When I add this (via the web GUI) I get this error: package validation error: Element package has extra content: link Perhaps that is not where one adds this line? I am okay with trying this via the obs CLI. I just have not sorted out the syntax... Is linking the way to access the contents of another project? I do not want to build or modify these packages. Just access them when building my package. -- Yours sincerely, Roger Oberholtzer Ramböll RST / Systems Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Donnerstag, 9. Januar 2014, 12:27:40 wrote Roger Oberholtzer:
(Despite the mingw32 references in my question, I think it is a general OBS question. Not anything specific to mingw32.)
I am trying to build a package that BuildRequires components in windows:mingw:win32. For example, mingw32-filesystem. I get a complaint that nothing provides this. I think I may need to link either to the mingw32-filesystem subproject, or the parent windows:mingw:win32 project.
I looked at http://en.opensuse.org/openSUSE:Build_Service_Concept_project_linking but still do not have a solution. This documentation seemed to imply that I could add something like the following to my project meta data:
<link project="windows:mingw:win32"/>
When I add this (via the web GUI) I get this error:
package validation error: Element package has extra content: link
Perhaps that is not where one adds this line? I am okay with trying this via the obs CLI. I just have not sorted out the syntax...
you can only add project links in project meta data, not package meta data.
Is linking the way to access the contents of another project? I do not want to build or modify these packages. Just access them when building my package.
However, in this case you do not want to link the sources of another project, you want to build against binaries from another repo. So, edit your repositories via osc meta prj -e $PROJECT and modify the path line to build against the other project/repo which provides the rpm.
-- Adrian Schroeter email: adrian@suse.de SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Thursday, January 09, 2014 01:09:22 PM Adrian Schröter wrote:
osc meta prj -e
I set up a sub-project where I could change the directory for each repo. Then I added the packages there. Now I get something. Thanks. I remember doing this a while back. The way I did it then was in the repo definition for the package. The problem was that when the oS release was no longer supported, these definitions went away. And I did not have a record of what I had done. I think this way might be better. At least I do not expect Factory to go away. So hopefully I wont loose how I have done this... -- Yours sincerely, Roger Oberholtzer Ramböll RST / Systems Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Adrian Schröter
-
Roger Oberholtzer