search for: mesonbuild

Displaying 8 results from an estimated 8 matches for "mesonbuild".

2020 Aug 30
5
Meson build
...: ‘-Wformat-security’ ignored without ‘-Wformat’ [-Wformat-security] which of course breaks -Werror builds. I can easily work around it by setting `-D git_werror=disabled' or even better still: CFLAGS+=" -Wall" arch-meson... Maybe this github issue is related?: https://github.com/mesonbuild/meson/issues/7399 2. Arch currently builds libvirt with support for ZFS. Seeing as ZFS is not in the distro proper, a simple Autoconf tweak is used: ZFS=/usr/bin/zfs ZPOOL=/usr/bin/zpool \ ./configure ... This is surprisingly hard to emulate with meson, in fact it appears impossible, unless I re...
2020 Sep 01
2
Re: Meson build
...Wformat* flags >manually we should add -Wformat as well. I'll post a patch to fix this. > What would that fix? It would neither be a plain build, nor a full -Werror build (since we're missing -Wall). >> Maybe this github issue is related?: >> >> https://github.com/mesonbuild/meson/issues/7399 >> >> 2. Arch currently builds libvirt with support for ZFS. Seeing as ZFS is not in the distro proper, a simple Autoconf tweak is used: >> >> ZFS=/usr/bin/zfs ZPOOL=/usr/bin/zpool \ >> ./configure ... >> >> This is surprisingly hard to em...
2020 Sep 01
2
Re: Meson build
...nor a full -Werror build (since we're >> missing -Wall). > >It would fix building libvirt from git in case user uses >buildtype=plain. > For a build from git, we expect people to build with all the warnings and -Werror. Per your comment in the below issue: https://github.com/mesonbuild/meson/issues/7399#issuecomment-684856012 meson does not add the warnings there on purpose. The combination of disabling the most important warnings and enabling just the extras doesn't make much sense. Especially if we still pretend it's a -Werror build. Jano >> > > Maybe thi...
2020 Sep 01
0
Re: Meson build
...Wformat? [-Wformat-security] > >which of course breaks -Werror builds. > >I can easily work around it by setting `-D git_werror=disabled' or even better still: > >CFLAGS+=" -Wall" arch-meson... > >Maybe this github issue is related?: > >https://github.com/mesonbuild/meson/issues/7399 > According to the quick guide: https://mesonbuild.com/Quick-guide.html The command line switch --buildtype=plain tells Meson not to add its own flags to the command line. This gives the packager total control on used flags. So it does not format the warning level...
2020 Sep 01
0
Re: Meson build
...list of flags that we pass to compiler. We were incorrectly relying on meson to add -Wformat automatically and since we add the other -Wformat* flags manually we should add -Wformat as well. I'll post a patch to fix this. > Maybe this github issue is related?: > > https://github.com/mesonbuild/meson/issues/7399 > > 2. Arch currently builds libvirt with support for ZFS. Seeing as ZFS is not in the distro proper, a simple Autoconf tweak is used: > > ZFS=/usr/bin/zfs ZPOOL=/usr/bin/zpool \ > ./configure ... > > This is surprisingly hard to emulate with meson, in fact...
2020 Sep 01
0
Re: Meson build
...ld that fix? > > It would neither be a plain build, nor a full -Werror build (since we're > missing -Wall). It would fix building libvirt from git in case user uses buildtype=plain. > > > Maybe this github issue is related?: > > > > > > https://github.com/mesonbuild/meson/issues/7399 > > > > > > 2. Arch currently builds libvirt with support for ZFS. Seeing as ZFS is not in the distro proper, a simple Autoconf tweak is used: > > > > > > ZFS=/usr/bin/zfs ZPOOL=/usr/bin/zpool \ > > > ./configure ... > > > &...
2020 Sep 01
0
Re: Meson build
...user uses > > > > buildtype=plain. > > > > > > > > > > For a build from git, we expect people to build with all the warnings > > > and -Werror. > > > > > > Per your comment in the below issue: > > > https://github.com/mesonbuild/meson/issues/7399#issuecomment-684856012 > > > meson does not add the warnings there on purpose. > > > > > > The combination of disabling the most important warnings and enabling > > > just the extras doesn't make much sense. Especially if we still pretend &...
2020 Oct 08
2
Re: Building libvirt library without libvirtd or virsh
On Thu, Oct 08, 2020 at 09:38:22AM +0200, Martin Kletzander wrote: > On Wed, Oct 07, 2020 at 04:50:26PM -0700, Román González wrote: > > Hello there, > > > > I'm trying to play with musl and libvirt to see if I'm able to build a > > libvirt client binary without dynamic lib dependencies. I have two > > questions: > > > > 1) to your knowledge,