Re: Dealing with circular BuildRequires?

2011-10-07 Thread Petr Pisar
On 2011-10-06, Jesse Keating jkeat...@j2solutions.net wrote: On Oct 5, 2011, at 11:27 PM, Petr Pisar wrote: I've written an ultimate heavy-parallel rebuilding tool. (Actually it's so much parallel that Fedora infrustructure, git repositories namely, spontaneously fails.) It's packaged in

Re: Dealing with circular BuildRequires?

2011-10-07 Thread Jesse Keating
On Oct 7, 2011, at 2:42 AM, Petr Pisar wrote: On 2011-10-06, Jesse Keating jkeat...@j2solutions.net wrote: On Oct 5, 2011, at 11:27 PM, Petr Pisar wrote: I've written an ultimate heavy-parallel rebuilding tool. (Actually it's so much parallel that Fedora infrustructure, git repositories

Re: Dealing with circular BuildRequires?

2011-10-07 Thread Till Maas
On Fri, Oct 07, 2011 at 07:53:25AM -0700, Jesse Keating wrote: Might have gone quicker if you pull via git:// and then only push via ssh:// reducing your ssh handshakes by half. How do you ensure the integrity of the git repo if it is pulled via git://? As far as I can see doing this

Re: Dealing with circular BuildRequires?

2011-10-07 Thread Todd Zullinger
Jesse Keating wrote: On Oct 7, 2011, at 8:21 AM, Till Maas wrote: On Fri, Oct 07, 2011 at 07:53:25AM -0700, Jesse Keating wrote: Might have gone quicker if you pull via git:// and then only push via ssh:// reducing your ssh handshakes by half. How do you ensure the integrity of the git repo

Re: Dealing with circular BuildRequires?

2011-10-06 Thread Petr Pisar
On 2011-10-05, Tom Lane t...@redhat.com wrote: What exactly did you do for dependency-ordered builds? What I could really use right now is a tool that would sort the package list into dependency order for me, and point to where there are circularities. I'd like to think that wheel has been

Re: Dealing with circular BuildRequires?

2011-10-06 Thread Richard W.M. Jones
On Wed, Oct 05, 2011 at 12:02:33PM -0400, Tom Lane wrote: Petr Pisar ppi...@redhat.com writes: On 2011-10-05, Tom Lane t...@redhat.com wrote: For example, cairo BuildRequires: librsvg2-devel, and librsvg2 BuildRequires: cairo-devel, so there is no order in which I can rebuild them. How

Re: Dealing with circular BuildRequires?

2011-10-06 Thread Jesse Keating
On Oct 5, 2011, at 11:27 PM, Petr Pisar wrote: I've written an ultimate heavy-parallel rebuilding tool. (Actually it's so much parallel that Fedora infrustructure, git repositories namely, spontaneously fails.) It's packaged in `perl-Fedora-Rebuild' package, there is sample executable

Re: Dealing with circular BuildRequires?

2011-10-06 Thread seth vidal
On Thu, 2011-10-06 at 18:36 +0100, Richard W.M. Jones wrote: On Wed, Oct 05, 2011 at 12:02:33PM -0400, Tom Lane wrote: Petr Pisar ppi...@redhat.com writes: On 2011-10-05, Tom Lane t...@redhat.com wrote: For example, cairo BuildRequires: librsvg2-devel, and librsvg2 BuildRequires:

Dealing with circular BuildRequires?

2011-10-05 Thread Tom Lane
So I started experimenting with updating libpng to a new release series, and soon found out that it was impossible to rebuild its dependencies. For example, cairo BuildRequires: librsvg2-devel, and librsvg2 BuildRequires: cairo-devel, so there is no order in which I can rebuild them. How the heck

Re: Dealing with circular BuildRequires?

2011-10-05 Thread Petr Pisar
On 2011-10-05, Tom Lane t...@redhat.com wrote: So I started experimenting with updating libpng to a new release series, and soon found out that it was impossible to rebuild its dependencies. For example, cairo BuildRequires: librsvg2-devel, and librsvg2 BuildRequires: cairo-devel, so there is

Re: Dealing with circular BuildRequires?

2011-10-05 Thread Tom Lane
Petr Pisar ppi...@redhat.com writes: On 2011-10-05, Tom Lane t...@redhat.com wrote: For example, cairo BuildRequires: librsvg2-devel, and librsvg2 BuildRequires: cairo-devel, so there is no order in which I can rebuild them. How the heck did we get into such a situation, and what should I do

Re: Dealing with circular BuildRequires?

2011-10-05 Thread Nathanael D. Noblet
On 10/05/2011 10:02 AM, Tom Lane wrote: What exactly did you do for dependency-ordered builds? What I could really use right now is a tool that would sort the package list into dependency order for me, and point to where there are circularities. I'd like to think that wheel has been invented

Re: Dealing with circular BuildRequires?

2011-10-05 Thread Adam Huffman
On Wed, Oct 5, 2011 at 5:02 PM, Tom Lane t...@redhat.com wrote: Petr Pisar ppi...@redhat.com writes: On 2011-10-05, Tom Lane t...@redhat.com wrote: For example, cairo BuildRequires: librsvg2-devel, and librsvg2 BuildRequires: cairo-devel, so there is no order in which I can rebuild them.  How

Re: Dealing with circular BuildRequires?

2011-10-05 Thread seth vidal
On Wed, 2011-10-05 at 10:17 -0600, Nathanael D. Noblet wrote: On 10/05/2011 10:02 AM, Tom Lane wrote: What exactly did you do for dependency-ordered builds? What I could really use right now is a tool that would sort the package list into dependency order for me, and point to where there