Date: Sat, 17 Aug 2019 22:24:04 +0200 From: "Patrick M. Hausen" <hausen@punkt.de> To: Dimitry Andric <dim@FreeBSD.org> Cc: "freebsd-fs@freebsd.org" <freebsd-fs@FreeBSD.org> Subject: Re: OpenZFS port compile error Message-ID: <C8CC35C3-97A9-4543-9A15-98BC1221F5E3@punkt.de> In-Reply-To: <7EB4F36F-5384-4A35-916D-87739692DC6B@punkt.de> References: <A19323B1-BC1D-444E-9122-D6EC98D748F6@punkt.de> <57F902BF-E2B5-487C-B49C-2B0F3CA95CBE@FreeBSD.org> <7EB4F36F-5384-4A35-916D-87739692DC6B@punkt.de>
next in thread | previous in thread | raw e-mail | index | archive | help
>> Disable -Werror, or cast 't' to uintmax_t and use %jd as the format.
>
> My intention was more like „hey guys, the official port seems to be broken,
> WTF is going on here?“ - but thanks, I’ll try to figure out how to actually do
> what you suggested …
I did the cast and format change, since I could not find how to change the
compiler options for this particular port. No „-Werror“ for „cc“ anywhere
in /usr/ports/Mk/* …
That got a few more files to compile, but then:
../../module/zfs/arc.c:7818:51: error: implicit conversion from 'unsigned long long' to 'unsigned long' changes value from
4294967296 to 0 [-Werror,-Wconstant-conversion]
zfs_dirty_data_max_max = MIN(4ULL * 1024 * 1024 * 1024,
~ ~~~~~~~~~~~~~~~~~~~^~~~~~
/usr/include/sys/param.h:305:30: note: expanded from macro 'MIN'
#define MIN(a,b) (((a)<(b))?(a):(b))
^
1 error generated.
Seriously, there was a public call for users/admins to install and try ZoF
- not in production, of course. So I got an unused toy machine that
I wanted to convert to OpenZFS.
How do you expect an admin to do that if the one official port does not
even compile …?
Kind regards,
Patrick
--
punkt.de GmbH Internet - Dienstleistungen - Beratung
Kaiserallee 13a Tel.: 0721 9109-0 Fax: -100
76133 Karlsruhe info@punkt.de http://punkt.de
AG Mannheim 108285 Gf: Juergen Egeling
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?C8CC35C3-97A9-4543-9A15-98BC1221F5E3>
