[opensuse-buildservice] --prefer-pkgs and requires and provides
Hi, are there any plans to take the provides and requires of the preferred packages in account? I get the following error: --- cut --- $> osc build --local-package --prefer-pkgs=/tmp/prefer-rpms-5993 SLED_10 i586 OpenOffice_org-ure.spec Building OpenOffice_org-ure.spec for SLED_10/i586 Getting buildinfo from server buildinfo is broken... it says: expansion error: nothing provides OpenOffice_org-bootstrap = 3.0.99.0 --- cut --- even when the package OpenOffice_org-bootstrap-3.0.99.0 is available in the /tmp/prefer-rpms-5993. I see that this feature was mentioned at http://lists.opensuse.org/opensuse-buildservice/2007-05/msg00011.html but probably newer implemented ;-) Heh, I would be happy even for a workaround. It might help when the server mentions the valid dependencies (bdep tags) in the buildinfo together with the error. I could locally hack osc to ignore the expansion errors of OOo packages. JFYI, here is my workflow: The OpenOffice.org build is currently split into 19 spec files. I have some helper scripts that allow to rebuild everything on a local machine. I have just updated the scripts to use "osc build" instead of "abuild". It does not work because of the above mentioned problem. Note that I update the package version quite often because of API/ABI changes. The local building is important for me because I needed to get full rebuilds in a predictable time. It is especially important for factory where the normal build might be blocked several days. Also the local build trees are very useful for debugging and testing of new changes. Thanks in advance. -- Best Regards, Petr Mladek software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: pmladek@suse.cz Lihovarská 1060/12 tel: +420 284 028 952 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
You just missed a thread on a patch to do just what you're asking. I was called "inject local rpm data for buildinfo calculation" if you want to look up the thread/patch in the archive. On Wed, 2009-03-04 at 18:27 +0100, Petr Mladek wrote:
Hi,
are there any plans to take the provides and requires of the preferred packages in account?
I get the following error:
--- cut --- $> osc build --local-package --prefer-pkgs=/tmp/prefer-rpms-5993 SLED_10 i586 OpenOffice_org-ure.spec Building OpenOffice_org-ure.spec for SLED_10/i586 Getting buildinfo from server buildinfo is broken... it says: expansion error: nothing provides OpenOffice_org-bootstrap = 3.0.99.0 --- cut ---
even when the package OpenOffice_org-bootstrap-3.0.99.0 is available in the /tmp/prefer-rpms-5993.
I see that this feature was mentioned at http://lists.opensuse.org/opensuse-buildservice/2007-05/msg00011.html but probably newer implemented ;-)
Heh, I would be happy even for a workaround. It might help when the server mentions the valid dependencies (bdep tags) in the buildinfo together with the error. I could locally hack osc to ignore the expansion errors of OOo packages.
JFYI, here is my workflow:
The OpenOffice.org build is currently split into 19 spec files. I have some helper scripts that allow to rebuild everything on a local machine. I have just updated the scripts to use "osc build" instead of "abuild". It does not work because of the above mentioned problem. Note that I update the package version quite often because of API/ABI changes.
The local building is important for me because I needed to get full rebuilds in a predictable time. It is especially important for factory where the normal build might be blocked several days. Also the local build trees are very useful for debugging and testing of new changes.
Thanks in advance.
-- Best Regards,
Petr Mladek software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: pmladek@suse.cz Lihovarská 1060/12 tel: +420 284 028 952 190 00 Prague 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Wed, Mar 04, 2009 at 06:27:01PM +0100, Petr Mladek wrote:
are there any plans to take the provides and requires of the preferred packages in account?
As Luke says, plans yes - Marcus has given this a new stab lately. I actually think it is a highly useful feature, maybe we underrated it in the passed two years where we didn't tackle it. I regularly run into it myself, last time yesterday when I was trying to build a current libzypp because I needed to test it --
The local building is important for me because I needed to get full rebuilds in a predictable time. It is especially important for factory where the normal build might be blocked several days.
-- because in Factory, *anything* needs days to turn up. No way to get packages there. I waited for a different project to complete build either, but it didn't complete during the whole day :-( And with a local build I didn't have success either... Peter -- Contact: admin@opensuse.org (a.k.a. ftpadmin@suse.com) #opensuse-mirrors on freenode.net Info: http://en.opensuse.org/Mirror_Infrastructure SUSE LINUX Products GmbH Research & Development
participants (3)
-
Luke Imhoff
-
Peter Poeml
-
Petr Mladek