How to deal with circular BuildRequires ?

Adam Jackson ajackson at redhat.com
Wed May 23 21:44:08 UTC 2007


On Wed, 2007-05-23 at 22:25 +0100, Jonathan Underwood wrote:
> Hi,
> 
> Tom Tromey and I are working on packaging bbdb for Emacs (see BZ
> 226800). However, there is a circular BuildRequires. In order that the
> Emacs mailreader VM (packaged as emacs-vm) and bbdb integrate
> properly, we need to have a BuildRequires: emacs-vm-el in the
> emacs-bbdb package, and we need to have a BuildRequires: emacs-bbdb-el
> in the emacs-vm package. In other words, both packages require the
> elisp source of the other to be present at build time.
> 
> Is there an established way of solving this chicken and egg situation?

Would staging work?  Build both, then build bbdb with the e-v-e BR, then
rebuild e-v-e with the bbdb BR.

Eventual problem for new arch bootstrap, but that's not an actively
solved problem anyway.

- ajax




More information about the Fedora-maintainers mailing list