Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 2014 01:40:16 -0700
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        Roman Bogorodskiy <novel@freebsd.org>
Cc:        "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org>, Roman Bogorodskiy <bogorodskiy@gmail.com>, "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Re: libvirt and bhyve problems
Message-ID:  <CAG=rPVe7v5G-o3qfy1TZqGmv_Agt5wfq3LuYYHv2gq1eiOXeyw@mail.gmail.com>
In-Reply-To: <20140615152008.GA19985@kloomba>
References:  <CAG=rPVdWJZX9ZPinM5AqPgGocVnPQLfFbQuyRx-rhhSR1jPa=A@mail.gmail.com> <20140611182101.GD2855@kloomba> <CAG=rPVffHEFNUwtp4uFk_Sye1iMYixRaJ6D9v-LHjyUKJgkQ0g@mail.gmail.com> <20140611192514.GE2855@kloomba> <CAG=rPVcN-O=cowV7VbD8OW2dtw6BN0H54y5p9_rAPMAHwAxBhQ@mail.gmail.com> <20140612080057.GA93486@kloomba> <CAG=rPVc2jDSXuq_YM3cW_CJ9b5rpECG30Q7Vv9-XjWdsJ9uL2Q@mail.gmail.com> <CAG=rPVdqCkS2s9_QtSY4m6ThaR_zqBJcC=3jLDR3-DqwP9ZnfQ@mail.gmail.com> <20140612190042.GA2858@kloomba> <CAG=rPVeNAp_QX1fOwfN-OLd6aG9WYM6r7Aipr_BADnsYpPGW6Q@mail.gmail.com> <20140615152008.GA19985@kloomba>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 15, 2014 at 8:20 AM, Roman Bogorodskiy <novel@freebsd.org> wrote:
>
> I have updated the port:
>
> http://people.freebsd.org/~novel/misc/libvirt_port2.tgz
>
> Changes are:
>
>  * added RUN_DEPENDS on dnsmasq (required for networking)
>  * added installation on network definition files

Hi,

dnsmasq needs to be in BUILD_DEPENDS
*and* RUN_DEPENDS for this port.

I did a test on my system where I deleted the dnsmasq port,
and then built the libvirt port.  During the configure stage of this port,
the #define DNSMASQ variable is expanded and written to a config.h.

If the dnsmasq port is not around during the build stage of  the libvirt port,
then this variable is not expanded properly, and when the libvirt port
is fully built, running libvirtd will not start dnsmasq, because the path
to dnsmasq was not written properly to config.h.

--
Craig



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG=rPVe7v5G-o3qfy1TZqGmv_Agt5wfq3LuYYHv2gq1eiOXeyw>