Re: Head not buildin in zfs.c

From: Willem Jan Withagen <wjw_at_digiware.nl>
Date: Wed, 21 Jan 2015 11:05:21 +0100
On 2015-01-21 10:51, Benjamin Perrault wrote:
>
>> On Jan 21, 2015, at 1:34 AM, Willem Jan Withagen <wjw_at_digiware.nl>
>> wrote:
>>
>>
>> Found this lastnight build. Just fetched the most recent HEAD.
>> Error remains
>>
>> --- 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/opensolaris/sys/time.h:54:9:
>> note: previous definition is here #define NSEC_TO_TICK(nsec)
>> ((nsec) / (NANOSEC / hz)) ^ /etc/{make,src}.conf are empty
>>

> I’m 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 ).

Well, the problem is reported several times during compilation.
This is the first warning that also has -Werror, and hence building stops.

I have not been able to find where this -Werror "all of a sudden" pops up.

Has to be in any of those commits...

--WjW
Received on Wed Jan 21 2015 - 09:05:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:55 UTC