From owner-freebsd-fs@freebsd.org Sat Aug 17 20:44:23 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 8F3F8B162D for ; Sat, 17 Aug 2019 20:44:23 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x743.google.com (mail-qk1-x743.google.com [IPv6:2607:f8b0:4864:20::743]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 469scP4bZXz3Ggs for ; Sat, 17 Aug 2019 20:44:21 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x743.google.com with SMTP id d23so7718216qko.3 for ; Sat, 17 Aug 2019 13:44:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LyUKBJGZEWYiuO3ebAEFvVRGFyBO5HWs1hNnogylrFk=; b=oZ1eE46G7NYsbztL5RESgpbIBlezHWeDZ6SkN1eN1Svw4/W9tq1SoDQEwFugxwjyyM UpSqwFpExtQ9qrIbJVAKlMgmW08QqlnlBQ3T3VJv71xIx5QNDpNYHY6tH26GIvhCMFPl xgdmN0nBgdtzuNShn53V79lcAJjtG0zpIYlsExwjWWhAZP3lN6VSif3PQttB8WpeLC5M JIQcBAsWRGvHR+/1/Lq6hOzweHpVPGp+BXp4ugWArzI8KFAMj/cpwhkw2uLZxgtkFlih TbUng9ojM67Miw8ZM6A0pyT1PlFi1SZAY3axFn0Vi0DqjdB2w6IG1rgDz+DaXU7uwORd J8KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LyUKBJGZEWYiuO3ebAEFvVRGFyBO5HWs1hNnogylrFk=; b=Rpo8n51rskMh3heyPMCZEQ8FmzG89Ay4EibXgZEQoIZSfFC1Mw1qpbHPIQ34lLm5Mb BJ+LLOKVSBONrkUfM5fuMvbM13MoKKJnPa7lzaHLx6FZ5qA8a2aQtIN6TDPvwWEOKv82 7h7h+4Z8LdzIkLrixkPnoDMw8RCh9oDeYUVp3TA6s92xxM50U5h9MeeUkWNlWpvOh23U Gy/vc5bszU76tnX++MCX8uXx4kgZ6mdyAWVt58CtqrezqM1hY6e3HzzK7GhR9hs0AfaZ BncROGTkLQSsX80NgllEFPnFPrg6etwwghj/0QTDRyPSb+onKcdFCL9dJG7PsRfBZtVJ 0vaw== X-Gm-Message-State: APjAAAVwewCGjTxpjBr2SgWmqi+ikgG7HnJ25A+6rlVV7gjVxwuA9/WT 5Z2WGyQxHZsiwHrutFxCYeteETElUYdOfVLPvpoVgA== X-Google-Smtp-Source: APXvYqzGxE3rc9nAV9qXt6X8DioBCD6VLBnck3yAutVUHfpBkwVh1ldmhAYTDYwvtHjQP5I6+RZZXYem3jJ/nWxCXVs= X-Received: by 2002:a37:2c07:: with SMTP id s7mr2592726qkh.495.1566074660334; Sat, 17 Aug 2019 13:44:20 -0700 (PDT) MIME-Version: 1.0 References: <57F902BF-E2B5-487C-B49C-2B0F3CA95CBE@FreeBSD.org> <7EB4F36F-5384-4A35-916D-87739692DC6B@punkt.de> In-Reply-To: From: Warner Losh Date: Sat, 17 Aug 2019 14:44:08 -0600 Message-ID: Subject: Re: OpenZFS port compile error To: "Patrick M. Hausen" Cc: Dimitry Andric , FreeBSD FS X-Rspamd-Queue-Id: 469scP4bZXz3Ggs X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=oZ1eE46G; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::743) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-3.46 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-fs@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; NEURAL_HAM_SHORT(-0.98)[-0.981,0]; RCVD_IN_DNSWL_NONE(0.00)[3.4.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; MIME_TRACE(0.00)[0:+,1:+,2:~]; IP_SCORE(-0.48)[ip: (2.98), ipnet: 2607:f8b0::/32(-2.95), asn: 15169(-2.38), country: US(-0.05)]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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:44:23 -0000 On Sat, Aug 17, 2019, 2:24 PM Patrick M. Hausen wrote: > >> 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 t= o 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 th= e > compiler options for this particular port. No =E2=80=9E-Werror=E2=80=9C f= or =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 Zo= F > - 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? > I386 or amd64? I386 doesn't get enough love these days. Warner 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 > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" >