Date: Sat, 17 Aug 2019 22:11:46 +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: <7EB4F36F-5384-4A35-916D-87739692DC6B@punkt.de> In-Reply-To: <57F902BF-E2B5-487C-B49C-2B0F3CA95CBE@FreeBSD.org> References: <A19323B1-BC1D-444E-9122-D6EC98D748F6@punkt.de> <57F902BF-E2B5-487C-B49C-2B0F3CA95CBE@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi! > Am 17.08.2019 um 21:03 schrieb Dimitry Andric <dim@FreeBSD.org>: >=20 > On 17 Aug 2019, at 20:55, Patrick M. Hausen <hausen@punkt.de> wrote: >>=20 >> root@gimli:/usr/ports/sysutils/openzfs # uname -a >> FreeBSD gimli 12.0-STABLE FreeBSD 12.0-STABLE r351102 GENERIC i386 >>=20 >> root@gimli:/usr/ports/sysutils/openzfs # grep PORTVERSION Makefile >> PORTVERSION=3D 2019072200 >>=20 >> root@gimli:/usr/ports/sysutils/openzfs # make >> [...] >> timestamp.c:54:26: error: format specifies type 'long' but the = argument has type 'time_t' (aka 'int') [-Werror,-Wformat] >> (void) printf("%ld\n", t); >> ~~~ ^ >> %d >> 1 error generated. >>=20 >> Any hints greatly appreciated. >=20 > Disable -Werror, or cast 't' to uintmax_t and use %jd as the format. 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 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?7EB4F36F-5384-4A35-916D-87739692DC6B>