[opensuse-buildservice] disable build of packages
Hi everyone, we have recently added a way to disable single packages to be built. The only way to disable packages at this time, is to use the 'osc' commandline client. Just use osc editmeta <project> <package> and add the <disable>-Tag to the package metadata. You can either use: <disable arch="<build-arch>"/> or <disable repository="<name-of-build-repository"/> or both, like: <disable repository="SLES9" arch="x86_64"/> As there is a bug/feature in the API that strips out unkown tag (like disable) when you'r redownloading the package metadata you'll find the disable-tags to have vanished. So, you need to readd those everytime you edit the package metadata until the API is fixed (which will hopefully be the case pretty soon.) Are there any questions, suggestions for improvements, comments or criticism? ;) Oh, and last, not least, many thanks to mls for implementing this functionality. Regards Christoph --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice-help@opensuse.org
On Thursday 08 June 2006 15:58, Christoph Thiel said:
As there is a bug/feature in the API that strips out unkown tag (like disable) when you'r redownloading the package metadata you'll find the disable-tags to have vanished. So, you need to readd those everytime you edit the package metadata until the API is fixed (which will hopefully be the case pretty soon.)
So by the same token osc meta won't show the disable tags?
Are there any questions, suggestions for improvements, comments or criticism? ;)
Suggestion: include template disable tags, commented out, so that the first editmeta includes the syntax needed to add one. Will --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice-help@opensuse.org
On Thu, 8 Jun 2006, Will Stephenson wrote:
On Thursday 08 June 2006 15:58, Christoph Thiel said:
As there is a bug/feature in the API that strips out unkown tag (like disable) when you'r redownloading the package metadata you'll find the disable-tags to have vanished. So, you need to readd those everytime you edit the package metadata until the API is fixed (which will hopefully be the case pretty soon.)
So by the same token osc meta won't show the disable tags?
Exactly.
Are there any questions, suggestions for improvements, comments or criticism? ;)
Suggestion: include template disable tags, commented out, so that the first editmeta includes the syntax needed to add one.
I guess that's something for Peter 'osc maintainer' Poeml ;) Regards Christoph --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice-help@opensuse.org
On Thu, Jun 08, 2006 at 04:15:38 +0200, Christoph Thiel wrote:
On Thu, 8 Jun 2006, Will Stephenson wrote:
On Thursday 08 June 2006 15:58, Christoph Thiel said:
As there is a bug/feature in the API that strips out unkown tag (like disable) when you'r redownloading the package metadata you'll find the disable-tags to have vanished. So, you need to readd those everytime you edit the package metadata until the API is fixed (which will hopefully be the case pretty soon.)
So by the same token osc meta won't show the disable tags?
Exactly.
This is apparently still the case.
Are there any questions, suggestions for improvements, comments or criticism? ;)
Suggestion: include template disable tags, commented out, so that the first editmeta includes the syntax needed to add one.
I guess that's something for Peter 'osc maintainer' Poeml ;)
Good idea -- I added it as a comment to the template. Peter -- SUSE LINUX Products GmbH Thought is limitation. Research & Development Free your mind.
Am Thursday 08 June 2006 15:58 schrieb Christoph Thiel:
Hi everyone,
we have recently added a way to disable single packages to be built. The only way to disable packages at this time, is to use the 'osc' commandline client. Just use
osc editmeta <project> <package>
and add the <disable>-Tag to the package metadata. You can either use:
<disable arch="<build-arch>"/>
or
<disable repository="<name-of-build-repository"/>
or both, like:
<disable repository="SLES9" arch="x86_64"/>
please post first a suggestion when changing/adding any xml files. Please create a patch first for the following files: ./buildservice/docs/api/backend/package.xsd ./buildservice/docs/api/backend/package.xml ./buildservice/docs/api/backend/api.txt and get the approval from Michael and Cornelius when you want to change anything which is API related.
As there is a bug/feature in the API that strips out unkown tag (like disable) when you'r redownloading the package metadata you'll find the disable-tags to have vanished. So, you need to readd those everytime you edit the package metadata until the API is fixed (which will hopefully be the case pretty soon.)
This would have been implemented, if you would have posted the above described request ;) Thanks anyway for your suggestion. bye adrian -- Adrian Schroeter SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice-help@opensuse.org
On Thu, 8 Jun 2006, Adrian Schröter wrote: [...]
please post first a suggestion when changing/adding any xml files.
Actually, this is a proposal, which is working already -- but we are open to changing it, in case it's needed ;)
Please create a patch first for the following files:
./buildservice/docs/api/backend/package.xsd ./buildservice/docs/api/backend/package.xml ./buildservice/docs/api/backend/api.txt
WIP. Regards Christoph --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice-help@opensuse.org
On Thu, 8 Jun 2006, Christoph Thiel wrote:
Please create a patch first for the following files:
./buildservice/docs/api/backend/package.xsd ./buildservice/docs/api/backend/package.xml ./buildservice/docs/api/backend/api.txt
WIP.
Find attached disable.diff to updated the package.xsd and package.xml ;) api.txt doesn't have anything todo with this change. Regards Christoph --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice-help@opensuse.org
On Thursday, 8. June 2006 17:04, Christoph Thiel wrote:
On Thu, 8 Jun 2006, Christoph Thiel wrote:
Please create a patch first for the following files:
./buildservice/docs/api/backend/package.xsd ./buildservice/docs/api/backend/package.xml ./buildservice/docs/api/backend/api.txt
WIP.
Find attached disable.diff to updated the package.xsd and package.xml ;) api.txt doesn't have anything todo with this change.
Patch was put into svn.
Regards Christoph
-- Andreas Bauer - Novell - SUSE Internal Tools --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice-help@opensuse.org
The BS refuses to build libextractor for x86_64 (factory) as part of my home project: http://build.opensuse.org/package/show?package=libextractor&project=home%3Akeichwa The error message is: expansion error : have choice for libdns_sd.so()(64bit) needed by gnome-vfs2: avahi-compat-mDNSResponder mDNSResponder-lib How can I fix this issue? FYI, I can build the package with "mbuild -D x86_64" using the the same files. -- Karl Eichwalder R&D / Documentation SUSE Linux Products GmbH Key fingerprint = B2A3 AF2F CFC8 40B1 67EA 475A 5903 A21B 06EB 882E --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice-help@opensuse.org
On Mon, Jul 17, 2006 at 08:03:29AM +0200, Karl Eichwalder wrote:
The BS refuses to build libextractor for x86_64 (factory) as part of my home project: http://build.opensuse.org/package/show?package=libextractor&project=home%3Akeichwa
The error message is: expansion error : have choice for libdns_sd.so()(64bit) needed by gnome-vfs2: avahi-compat-mDNSResponder mDNSResponder-lib
How can I fix this issue? FYI, I can build the package with "mbuild -D x86_64" using the the same files.
You can add one of them explicitly. Ciao, Marcus --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice-help@opensuse.org
On 7/17/06, Marcus Meissner <meissner@suse.de> wrote:
On Mon, Jul 17, 2006 at 08:03:29AM +0200, Karl Eichwalder wrote:
The BS refuses to build libextractor for x86_64 (factory) as part of my home project:
http://build.opensuse.org/package/show?package=libextractor&project=home%3Akeichwa
The error message is: expansion error : have choice for libdns_sd.so()(64bit) needed by gnome-vfs2: avahi-compat-mDNSResponder mDNSResponder-lib
How can I fix this issue? FYI, I can build the package with "mbuild -D x86_64" using the the same files.
You can add one of them explicitly.
Add this in your spec %if %suse_version > 1000 Requires: mDNSResponder-lib %endif
You can add one of them explicitly.
Add this in your spec %if %suse_version > 1000 Requires: mDNSResponder-lib %endif
Ho and btw this should go into gnome-vfs spec, put this into mine (jarpack) and that issue went away on my repo (couple other package might depend on it explecitly too), i know this is kinda bad and keep avahi from being used at all but gnome-vfs WONT build with it at all and create a explicit dep on mDNSResponder.
Am Monday 17 July 2006 08:15 schrieb Jonathan Arson:
You can add one of them explicitly.
Add this in your spec %if %suse_version > 1000 Requires: mDNSResponder-lib %endif
Ho and btw this should go into gnome-vfs spec, put this into mine (jarpack) and that issue went away on my repo (couple other package might depend on it explecitly too), i know this is kinda bad and keep avahi from being used at all but gnome-vfs WONT build with it at all and create a explicit dep on mDNSResponder.
the problem is that only one solution can run at the same time. Atm we use mDNSResponder, because avahi has a number of issues (broken compat lib, missing IPv6 support). So you need to adapt the sources to use the Apple solution atm. We might switch later, but this is not clear yet. -- Adrian Schroeter SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice-help@opensuse.org
Am Monday 17 July 2006 08:03 schrieb Karl Eichwalder:
The BS refuses to build libextractor for x86_64 (factory) as part of my home project: http://build.opensuse.org/package/show?package=libextractor&project=home%3A keichwa
The error message is: expansion error : have choice for libdns_sd.so()(64bit) needed by gnome-vfs2: avahi-compat-mDNSResponder mDNSResponder-lib
How can I fix this issue? FYI, I can build the package with "mbuild -D x86_64" using the the same files.
we can add a prefer ... Michael, is that a good idea ? -- Adrian Schroeter SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice-help@opensuse.org
On Mon, Jul 17, 2006 at 09:28:31AM +0200, Adrian Schröter wrote:
Am Monday 17 July 2006 08:03 schrieb Karl Eichwalder:
The BS refuses to build libextractor for x86_64 (factory) as part of my home project: http://build.opensuse.org/package/show?package=libextractor&project=home%3A keichwa
The error message is: expansion error : have choice for libdns_sd.so()(64bit) needed by gnome-vfs2: avahi-compat-mDNSResponder mDNSResponder-lib
How can I fix this issue? FYI, I can build the package with "mbuild -D x86_64" using the the same files.
we can add a prefer ...
Michael, is that a good idea ?
Yes, cause we already have it in the mbuild configuration. I updated the build service data, it should now work. Cheers, Michael. -- Michael Schroeder mls@suse.de main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice-help@opensuse.org
Michael Schroeder <mls@suse.de> writes:
Yes, cause we already have it in the mbuild configuration. I updated the build service data, it should now work.
Thanks for the update--libextractor builds now. Just adding the Requires as Jonathan suggested did not made the BS trying to rebuild the package. Maybe, I did not wait long enough. -- Karl Eichwalder R&D / Documentation SUSE Linux Products GmbH Key fingerprint = B2A3 AF2F CFC8 40B1 67EA 475A 5903 A21B 06EB 882E --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice-help@opensuse.org
Prolly need to change the release number in the spec so it trigger a rebuilt or something of the like. Or you could also force the build. well having this fixed by prefer seem like a better solution for sure ;)
participants (9)
-
Adrian Schröter
-
Andreas Bauer
-
Christoph Thiel
-
Dr. Peter Poeml
-
Jonathan Arson
-
Karl Eichwalder
-
Marcus Meissner
-
Michael Schroeder
-
Will Stephenson