OpenZFS port compile error

Patrick M. Hausen hausen at punkt.de
Sat Aug 17 20:11:51 UTC 2019


Hi!

> Am 17.08.2019 um 21:03 schrieb Dimitry Andric <dim at FreeBSD.org>:
> 
> On 17 Aug 2019, at 20:55, Patrick M. Hausen <hausen at punkt.de> wrote:
>> 
>> root at gimli:/usr/ports/sysutils/openzfs # uname -a
>> FreeBSD gimli 12.0-STABLE FreeBSD 12.0-STABLE r351102 GENERIC  i386
>> 
>> root at gimli:/usr/ports/sysutils/openzfs # grep PORTVERSION Makefile
>> PORTVERSION=    2019072200
>> 
>> root at 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.
>> 
>> Any hints greatly appreciated.
> 
> 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 …

Kind regards,
Patrick
-- 
punkt.de GmbH			Internet - Dienstleistungen - Beratung
Kaiserallee 13a			Tel.: 0721 9109-0 Fax: -100
76133 Karlsruhe			info at punkt.de	http://punkt.de
AG Mannheim 108285		Gf: Juergen Egeling



More information about the freebsd-fs mailing list