Date: Thu, 4 Jul 2024 17:54:05 -0400 From: Chris Kiakas <chris@tellme3times.com> To: "freqlabs@freebsd.org" <freqlabs@FreeBSD.org> Cc: "ports@freebsd.org" <ports@FreeBSD.org> Subject: FreeBSD Port: py311-libzfs-1.1.2023020700 Message-ID: <83B9C53D-906C-49C1-A59D-BF5F0C6E68F2@tellme3times.com>
next in thread | raw e-mail | index | archive | help
--Apple-Mail=_EC7D4395-2706-46D3-A063-A233191CACE0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi, Just and FYI py-libzfs fails to build in FreeBSD 14.1-RELEASE. libzfs.c:10578:72: warning: passing 'nvlist_t **' (aka 'struct nvlist = **') to parameter of type 'const nvlist_t *const *' (aka 'const struct = nvlist *const *') discards qualifiers in nested pointer types = [-Wincompatible-pointer-types-discards-qualifiers] 10578 | (void)(nvlist_add_nvlist_array(__pyx_v_self->handle, = __pyx_t_45, ((nvlist_t **)__pyx_v_carray), __pyx_t_29)); | = ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/contrib/openzfs/include/sys/nvpair.h:206:29: note: passing = argument to parameter here 206 | const nvlist_t * const *, uint_t); | ^ libzfs.c:18403:13: warning: code will never be executed = [-Wunreachable-code] 18403 | __pyx_r =3D 0; | ^ libzfs.c:23388:13: warning: code will never be executed = [-Wunreachable-code] 23388 | __pyx_r =3D 0; | ^ libzfs.c:56086:13: warning: code will never be executed = [-Wunreachable-code] 56086 | __pyx_r =3D 0; | ^ libzfs.c:58694:88: warning: passing 'char **' to parameter of type = 'const char **' discards qualifiers in nested pointer types = [-Wincompatible-pointer-types-discards-qualifiers] 58694 | __pyx_t_4 =3D = __Pyx_PyInt_From_zpool_status_t(zpool_get_status(__pyx_v_self->handle, = (&__pyx_v_msg_id), NULL)); if (unlikely(!__pyx_t_4)) __PYX_ERR(1, 2818, = __pyx_L1_error) | = ^~~~~~~~~~~~~~~~~ /usr/src/sys/contrib/openzfs/include/libzfs.h:449:74: note: passing = argument to parameter here 449 | _LIBZFS_H zpool_status_t zpool_get_status(zpool_handle_t *, = const char **, | = ^ libzfs.c:63310:81: error: too few arguments to function call, expected = 3, have 2 63310 | __pyx_v_ret =3D zpool_add(__pyx_v_self->handle, = __pyx_v_vd->nvlist->handle); | ~~~~~~~~~ = ^ /usr/src/sys/contrib/openzfs/include/libzfs.h:265:15: note: 'zpool_add' = declared here 265 | _LIBZFS_H int zpool_add(zpool_handle_t *, nvlist_t *, boolean_t = check_ashift); | ^ = ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libzfs.c:83149:85: warning: passing 'const char *' to parameter of type = 'char *' discards qualifiers = [-Wincompatible-pointer-types-discards-qualifiers] 83149 | __pyx_v_ret =3D = zfs_destroy_snaps(__pyx_v_self->__pyx_base.__pyx_base.handle, = __pyx_v_c_name, __pyx_v_defer_deletion); | = ^~~~~~~~~~~~~~ /usr/src/sys/contrib/openzfs/include/libzfs.h:729:55: note: passing = argument to parameter here 729 | _LIBZFS_H int zfs_destroy_snaps(zfs_handle_t *, char *, = boolean_t); | ^ 11 warnings and 1 error generated. error: command '/usr/bin/cc' failed with exit code 1 *** Error code 1 Stop. make: stopped in /usr/ports/devel/py-libzfs --Apple-Mail=_EC7D4395-2706-46D3-A063-A233191CACE0 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEi+l+WvjUMve3CBUQ0McJ9XNZ9LEFAmaHGf0ACgkQ0McJ9XNZ 9LGDsBAAiRxRSMh91xfdKTP+T/gVZiQMvTKdIbCu0kFxSAzaPesCMZzCBGbIpg9X y1TdjIQkzzR7thIc9D9IiDO5HhQCFvF5ukTVGrcsbX6IR03Q+8f9vk5U2M1oZhJA mAvXTVfY7tCho4MElRMYejt1H77mg572ShfjUTW+WwiWVq2yg8K+qVULqWUYoDgw kOhqhU6RJCeDhcUgebo59A/7g12eHJIa251VMn/I8OMyoni/0TobtjAzmh7IhGEx 1pZmWschtW8xTM6C8VDha/Wph5LI77o0w+/Im1IDnDezl+wKjY/c6IRfxJNyq4E1 IK5GuUJ08EM9zeRyOuy1cJQWpzv8pm3gd6qqYkmDVJP9kGCkMYB/SWTjX+bC/Xpr +/n2JzkEjLWKeOrN/zCJElDp/HbvuR7q1C7wc+jky4QethTfb6QPeiYICtODZEfi ocmJnTx1vwTDPJr6F9lPqkHsfOI4rg3y+zpCUr9DSY81Sz/9NfwPvFYgvk9L8V/3 dgY1im2gpIaFRyMj2U3u3bZOhtNcuAt2+vdADMjB0aFxURGDIMi+4fu05L+wJsro 4oUqutnL9b7hSA5yvm9Ugs+QZ2KYC3KLs+H0pa+DaYC+W5BKHd0dJftg4/DG9evm a8Xxy5eA3fIad9DQ1NNym+9ePw2dXyVz0CqeMbkALzY2wvZ2eLo= =4OU9 -----END PGP SIGNATURE----- --Apple-Mail=_EC7D4395-2706-46D3-A063-A233191CACE0--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?83B9C53D-906C-49C1-A59D-BF5F0C6E68F2>