Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jun 2020 14:23:48 +0000 (UTC)
From:      Kostya Berger <bergerkos@yahoo.co.uk>
To:        Freebsd-current <freebsd-current@freebsd.org>
Subject:   openzfs-kmod build error
Message-ID:  <1250230056.4543844.1592922228227@mail.yahoo.com>
References:  <1250230056.4543844.1592922228227.ref@mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
CURRENT r362292=20
sysutils/openzfs-kmod build aborts with error:...............
/usr/ports/sysutils/openzfs-kmod/work/zfs-c0eb5c35e/module/os/freebsd/zfs/z=
fs_vfsops.c:128:19: error:=20
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 incompatible pointer types initializing 'vfs=
_checkexp_t *' (aka 'int (*)(struct
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 mount *, struct sockaddr *, unsigned long *,=
 struct ucred **, int *, int *)') with
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 an expression of type 'int (vfs_t *, struct =
sockaddr *, int *, struct ucred **, int
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 *, int **)' (aka 'int (struct mount *, struc=
t sockaddr *, int *, struct ucred **,
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 int *, int **)') [-Werror,-Wincompatible-poi=
nter-types]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 .vfs_checkexp =3D=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 zfs_checkexp,
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^~~~~~~~~~~~
/usr/ports/sysutils/openzfs-kmod/work/zfs-c0eb5c35e/module/os/freebsd/zfs/z=
fs_vfsops.c:1911:56: error:=20
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 incompatible pointer types passing 'int *' t=
o parameter of type 'uint64_t *'
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (aka 'unsigned long *') [-Werror,-Wincompati=
ble-pointer-types]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 return (vfs_stdcheckexp(zfsvfs->=
z_parent->z_vfs, nam, extflagsp,
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^~~~~~~~=
~
/usr/src/sys/sys/mount.h:980:17: note: passing argument to parameter here
vfs_checkexp_t=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 vfs_st=
dcheckexp;
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^
/usr/ports/sysutils/openzfs-kmod/work/zfs-c0eb5c35e/module/os/freebsd/zfs/z=
fs_vfsops.c:1912:32: error:=20
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 incompatible pointer types passing 'int **' =
to parameter of type 'int *';
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 dereference with * [-Werror,-Wincompatible-p=
ointer-types]
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 credanon=
p, numsecflavors, secflavors));
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^~=
~~~~~~~~
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 *
/usr/src/sys/sys/mount.h:980:17: note: passing argument to parameter here
vfs_checkexp_t=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 vfs_st=
dcheckexp;
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^
3 errors generated.
*** Error code 1

Stop.



With kindest regards,
Kostya Berger
=20



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1250230056.4543844.1592922228227>