Skip site navigation (1)Skip section navigation (2)
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.
>=20
> My intention was more like =E2=80=9Ehey guys, the official port seems =
to be broken,
> WTF is going on here?=E2=80=9C - but thanks, I=E2=80=99ll try to =
figure out how to actually do
> what you suggested =E2=80=A6

I did the cast and format change, since I could not find how to change =
the
compiler options for this particular port. No =E2=80=9E-Werror=E2=80=9C =
for =E2=80=9Ecc=E2=80=9C anywhere
in /usr/ports/Mk/* =E2=80=A6

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 =3D 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 =E2=80=A6?

Kind regards,
Patrick
--=20
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>