From nobody Fri Jul 05 02:33:52 2024 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WFcyq33hxz5Q4MY for ; Fri, 05 Jul 2024 02:33:55 +0000 (UTC) (envelope-from chris@tellme3times.com) Received: from mail.lrckinfo.com (173.magnatech.com [216.46.17.173]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4WFcyp6QFlz45Ly; Fri, 5 Jul 2024 02:33:54 +0000 (UTC) (envelope-from chris@tellme3times.com) Authentication-Results: mx1.freebsd.org; none Received: from gatekeeper.tellme3times.com (gatekeeper.corp [69.70.25.74]) by mail.lrckinfo.com (Postfix) with ESMTP id 40745129524; Thu, 04 Jul 2024 22:33:53 -0400 (EDT) Received: from smtpclient.apple (unknown [192.168.7.61]) by gatekeeper.tellme3times.com (Postfix) with ESMTP id 25D0827C86C; Thu, 04 Jul 2024 22:33:53 -0400 (EDT) Content-Type: multipart/signed; boundary="Apple-Mail=_57615114-68E9-442E-92BD-0507D896F521"; protocol="application/pgp-signature"; micalg=pgp-sha512 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.8\)) Subject: Re: FreeBSD Port: py311-libzfs-1.1.2023020700 From: Chris Kiakas In-Reply-To: <20240705075321.7fb2077a@nowhere.oikumene.ukehi.net> Date: Thu, 4 Jul 2024 22:33:52 -0400 Cc: "freqlabs@freebsd.org" , "ports@freebsd.org" Message-Id: <30828FAC-9399-4981-B347-F172B05F8517@tellme3times.com> References: <83B9C53D-906C-49C1-A59D-BF5F0C6E68F2@tellme3times.com> <20240705075321.7fb2077a@nowhere.oikumene.ukehi.net> To: Hiroo Ono X-Mailer: Apple Mail (2.3696.120.41.1.8) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:11478, ipnet:216.46.0.0/19, country:CA] X-Rspamd-Queue-Id: 4WFcyp6QFlz45Ly --Apple-Mail=_57615114-68E9-442E-92BD-0507D896F521 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Thanks it=E2=80=99s beyond me. I=E2=80=99ll wait till it hits the port = tree. > On Jul 4, 2024, at 6:53 PM, Hiroo Ono wrote: >=20 > Hello, >=20 > I already posted a patch to fix this in: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279450 >=20 > On Thu, 4 Jul 2024 17:54:05 -0400 > Chris Kiakas wrote: >=20 >> Hi, >>=20 >> Just and FYI py-libzfs fails to build in FreeBSD 14.1-RELEASE. >>=20 >>=20 >> 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 >>=20 >> Stop. >> make: stopped in /usr/ports/devel/py-libzfs >=20 --Apple-Mail=_57615114-68E9-442E-92BD-0507D896F521 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+WvjUMve3CBUQ0McJ9XNZ9LEFAmaHW5AACgkQ0McJ9XNZ 9LEtCRAAl/6yf8BfuE+IlOxQPJlHT2RNqWLqSXpBA7cB/p5pBWHfgE/HbxQ5JYL9 86BPhhuGvh4OT9oCUQGkiYUkndKhXchdrRsBsDuuk1a058IhQdiQXAR+sJnLIp0t SmKhl9DuhImyjcx91CocJNpiL8avutjK2tOreA6aGeIvZDJ44Qn4wypwkmxzIAth /1FWZvkRZVBM0/Tfy+/cFeFGbrxHmmQ1BXLAK9OCbzZs4XWELpstjTiZx9yskl87 fDdlzoPJyBJJDK5dcKzOVu1vrmX6dbBtyQdC0XCi3JHL3mDHSw0KcB2+X2HnzsCu yvaF7K6h/3at6EINzmXwqcB6EMYLtOUOwIPpQePF+dcKGs6Dv9x+BfcxxcdtKoo4 REGZ3CsyiMJu+wlHjXHjLa8q8jkf9iDJ/iiRDrzLor7stiAASomUU/biUD/U4smW gZOwwJ1+okLOVa+ef9BtzY4TBmNvVEbb51TPIXw3OO8HfR2jwYVi1KzmipBtEHD4 IGf0Dne3ZrMLL8pEfe367UA8LSPneiEcXo/v1ZGnG0bROJYo6MIfUiOk1of57XPL wpyRC7GF6rQx+0oEOI1i2ENXFeEpsWaLchHP2GsY3fn9HpIuJTzHRAeYVUPhCWiZ MKXlpY+s4XWNkcQjVJeE1+kuN8KRxDjnHMs6K8EqNexjJ8+LS4c= =NzDi -----END PGP SIGNATURE----- --Apple-Mail=_57615114-68E9-442E-92BD-0507D896F521--