[pve-devel] Building from Source - Dependency Sequencing Issue?
Wolfgang Bumiller
w.bumiller at proxmox.com
Mon May 29 13:23:54 CEST 2017
On Mon, May 29, 2017 at 12:10:58PM +0200, Dietmar Maurer wrote:
>
> > I'm building from source according to the document located at
> > https://git.proxmox.com/?p=pve-common.git;a=blob;f=README.dev;h=4e0794890b6b865fb1a1b4a07cf4cd7e19ad9cf7;hb=HEAD
> > and I've hit a stumbling block building qemu-server. qemu-server tries
> > to include PVE::Firewall which seems to be owned by pve-firewall. I am
> > building on the stable-4 branch at the commit for 4.0-110. According to
> > the build sequence for the stable-4 branches, pve-firewall should not be
> > built until much later, so I believe this may be either an error in the
> > documentation (unlikely) or that perhaps I have pulled the wrong commit
> > for qemu-server.
>
> Yes, there are still dependency loops. I guess it is best to install all
> packages from the pve repository first.
This is only a soft loop.
pve-firewall can be compiled and used without qemu-server and without
pve-container as it includes these packages only if they exist, it's not
a hard dependency. It's a hard dependency the other way round:
qemu-server makes use of methods from PVE::Firewall to deal with the
firewall configuration/api.
More information about the pve-devel
mailing list