From owner-freebsd-fs@freebsd.org Sat Aug 17 20:11:51 2019 Return-Path: Delivered-To: freebsd-fs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 413F2CFED4 for ; Sat, 17 Aug 2019 20:11:51 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from kagate.punkt.de (kagate.punkt.de [217.29.33.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 469rts69yXz3DLR; Sat, 17 Aug 2019 20:11:49 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from hugo10.ka.punkt.de (hugo10.ka.punkt.de [217.29.44.10]) by gate2.intern.punkt.de with ESMTP id x7HKBm5w056760; Sat, 17 Aug 2019 22:11:48 +0200 (CEST) Received: from [217.29.46.66] (unassigned [217.29.46.66] (may be forged)) by hugo10.ka.punkt.de (8.14.2/8.14.2) with ESMTP id x7HKBlgx089004; Sat, 17 Aug 2019 22:11:48 +0200 (CEST) (envelope-from hausen@punkt.de) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: OpenZFS port compile error From: "Patrick M. Hausen" In-Reply-To: <57F902BF-E2B5-487C-B49C-2B0F3CA95CBE@FreeBSD.org> Date: Sat, 17 Aug 2019 22:11:46 +0200 Cc: "freebsd-fs@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <7EB4F36F-5384-4A35-916D-87739692DC6B@punkt.de> References: <57F902BF-E2B5-487C-B49C-2B0F3CA95CBE@FreeBSD.org> To: Dimitry Andric X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 469rts69yXz3DLR X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hausen@punkt.de designates 217.29.33.131 as permitted sender) smtp.mailfrom=hausen@punkt.de X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:217.29.32.0/20:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; MV_CASE(0.50)[]; DMARC_NA(0.00)[punkt.de]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_SHORT(-0.82)[-0.818,0]; RCPT_COUNT_TWO(0.00)[2]; IP_SCORE(-0.39)[ip: (-0.21), ipnet: 217.29.32.0/20(-0.96), asn: 16188(-0.76), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:16188, ipnet:217.29.32.0/20, country:DE]; MID_RHS_MATCH_FROM(0.00)[] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Aug 2019 20:11:51 -0000 Hi! > Am 17.08.2019 um 21:03 schrieb Dimitry Andric : >=20 > On 17 Aug 2019, at 20:55, Patrick M. Hausen 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