From owner-freebsd-current@FreeBSD.ORG Wed Jan 21 10:09:20 2015 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 77E801F5; Wed, 21 Jan 2015 10:09:20 +0000 (UTC) Received: from mail-pd0-x22d.google.com (mail-pd0-x22d.google.com [IPv6:2607:f8b0:400e:c02::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3DB3F833; Wed, 21 Jan 2015 10:09:20 +0000 (UTC) Received: by mail-pd0-f173.google.com with SMTP id fp1so24049514pdb.4; Wed, 21 Jan 2015 02:09:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=BenPNd23R/cymC/Sba6sKdeTHFOLMr0jH+vK+PuEpbE=; b=xGA4bs3UW0c5L6S3pl6uXulgZKkkEqvf4+mHaCkY599ytXpm9V8XbAl2m7n7LvUPv7 /HYeMYFFwcXIHIJZr0JMAnw2yXQlB14ht8XeJ8QhVmRWZq4cyOZuI0e/vCRW8AZ0hUW5 QF4xpxvy6FUqVSSFN0Gz9cDIerMpaw8pnw85NqfnESL5IiKsoLxwp1ckxI/S4DuoSWoH EQg/Hk98y1mmCl4iNroGy1INzOs7cn8ShUZhSVxlCoTIIUMHE5s9u/oMSTPnlzOrEIFc ro72fCb+2a0EN60ZfP9UbfyaamU3xH7YRi3e6+aeNWXIR8ApqN/9wmMtnzlYSbU00hEZ 38wA== X-Received: by 10.68.132.229 with SMTP id ox5mr61394418pbb.94.1421834959812; Wed, 21 Jan 2015 02:09:19 -0800 (PST) Received: from ?IPv6:2601:8:ab80:7d6:18f4:9d77:102c:ab55? ([2601:8:ab80:7d6:18f4:9d77:102c:ab55]) by mx.google.com with ESMTPSA id pm2sm5381487pbb.81.2015.01.21.02.09.12 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 21 Jan 2015 02:09:19 -0800 (PST) Content-Type: multipart/signed; boundary="Apple-Mail=_E9204763-C9A2-44CA-A614-9579DBEF342C"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Head not buildin in zfs.c From: Garrett Cooper In-Reply-To: <54BF79E1.3060401@digiware.nl> Date: Wed, 21 Jan 2015 02:08:54 -0800 Message-Id: References: <54BF72A9.5000608@digiware.nl> <31627BCE-2B7A-44AA-9442-2D9347C1F571@gmail.com> <54BF79E1.3060401@digiware.nl> To: Willem Jan Withagen X-Mailer: Apple Mail (2.1878.6) Cc: Benjamin Perrault , FreeBSD Current , Will Andrews X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jan 2015 10:09:20 -0000 --Apple-Mail=_E9204763-C9A2-44CA-A614-9579DBEF342C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Jan 21, 2015, at 2:05, Willem Jan Withagen wrote: > On 2015-01-21 10:51, Benjamin Perrault wrote: >>=20 >>> On Jan 21, 2015, at 1:34 AM, Willem Jan Withagen >>> wrote: >>>=20 >>>=20 >>> Found this lastnight build. Just fetched the most recent HEAD. >>> Error remains >>>=20 >>> --- zfs/zfs.o --- In file included from >>> /usr/srcs/src11/src/lib/libprocstat/zfs/../zfs.c:39: >>> = /usr/srcs/src11/src/lib/libprocstat/zfs/../../../cddl/contrib/opensolaris/= lib/libzpool/common/sys/zfs_context.h:538:9: >>> error: 'NSEC_TO_TICK' macro redefined [-Werror,-Wmacro-redefined] >>> #define NSEC_TO_TICK(usec) ((usec) / (NANOSEC / hz)) ^ >>> = /usr/srcs/src11/src/lib/libprocstat/zfs/../../../sys/cddl/compat/opensolar= is/sys/time.h:54:9: >>> note: previous definition is here #define NSEC_TO_TICK(nsec) >>> ((nsec) / (NANOSEC / hz)) ^ /etc/{make,src}.conf are empty >>>=20 >=20 >> I=92m seeing the exact same issue. It began for me at r277472 and is >> still persisting as of r277482 ( the most recent HEAD as of writing >> this email ). >=20 > Well, the problem is reported several times during compilation. > This is the first warning that also has -Werror, and hence building = stops. >=20 > I have not been able to find where this -Werror "all of a sudden" pops = up. >=20 > Has to be in any of those commits... It=92s a mismatch in the macro definitions, made in the commit = below. I=92m testing out a fix for it right now. Thanks for the report! ------------------------------------------------------------------------ r277449 | will | 2015-01-20 14:29:27 -0800 (Tue, 20 Jan 2015) | 2 lines NSEC_TO_TICK(usec) -> NSEC_TO_TICK(nsec) --Apple-Mail=_E9204763-C9A2-44CA-A614-9579DBEF342C Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJUv3q2AAoJEMZr5QU6S73e22QH/2GvMa6XZ89HqwbPz8+y0mHu m/CVTijTCzvrXH9ECQuTr6oV7k1VMap1I5PMsbeqnaZyVrM6dDL3PhlMpVDuq1rF lhOQIIjrkWMROR4wa4XYaaJWq8HByILXFL5+iquEmDFvSWkM+5UnF4NCm1FvAq4D Q54Xni/cITbLDs+Mj7wEeNCtPYF6QnoMDrfoxyn9/nyqaAuZTBfWJ6b0IQBnYb1o a4zPURG41LKaNsGwcRbJyPQXRvEotWHKuCo/jOff+BsG5i+u29Il605KsLiPXXkO QFIGll60FSslCK9E1SBxpKqnJa8GyUDxWxPoI+3y8GMy4k2DjK2lh8CFmW4OOPI= =X8nr -----END PGP SIGNATURE----- --Apple-Mail=_E9204763-C9A2-44CA-A614-9579DBEF342C--