From nobody Fri Jul 05 08:54:09 2024 X-Original-To: ports-bugs@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 4WFnPY5VK2z5NjCc for ; Fri, 05 Jul 2024 08:54:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WFnPY4KRQz4m07 for ; Fri, 5 Jul 2024 08:54:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720169649; a=rsa-sha256; cv=none; b=pYGjG1VyUFhEzbqg4hL+Xgqj7Fh0tS1w5pcygE7+H5nD4CzZgzcpVcfdD0hBVh3f1ewQfZ AEizmsC3rbxmKFhXdaWiZpKaH9gf0sYzdGLzcP+Zs0HRt3FTkFlKaiObBXksfSDRZBLT/o 698rb3hDxkii0fJpmEB94k+fhkLt1JNGj+zXlV5s5ySssQuGDGnW3ysz1A69dARwXxAmRR keFPU0q97zVUldCPXx2Q8w+Uw48yLV/62FNr6Co/EhRHZdS0s/3r7jPJoxVFZPWOmgm/5B 0x6oyguLGjlpAKMbX4cS9T3iEYKa2HL+xxoX3x/jLWWzM2uEflNkhRbTHrqc+w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720169649; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=kUHPsvZJNxyhzZSCIarOt5Ok27bY5xVJvp3F1kSwkZ4=; b=PJuYYayrtGP/CzpZVd9Odd/2h5PhmoqqYrF9gEdj7w3txTCST6hw82nKa+xclsrIZezb2B l3PjGbU2iJ8wbuSStHhgzbtvxio3eLOjTTgKNeSuhabZvP6KuqjS3o7Pl8KPeUjAsVbahM QvmLOK1zDmbHG4caKVdx1AsiquLOUB4a7WEdFxZ8NkiZcb7AJbJQXtmpWK6plMgEelmOV0 XTrvqZlIiXk8AdVwwQoEkcRQxY3AvGodOGqEmNv/tFIBuyW7cPB6Tf2+bbQ3mmwylSk5JD W+29RVdOaoO5ZYJqFumunVdConRrf52N0ECCGxDkZMGkhSJAFHpmaEMuA1bAVg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WFnPY3xDFzqtW for ; Fri, 5 Jul 2024 08:54:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4658s9K2025740 for ; Fri, 5 Jul 2024 08:54:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4658s9oY025739 for ports-bugs@FreeBSD.org; Fri, 5 Jul 2024 08:54:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 280136] devel/py-libzfs doesn't build on 14.1 with python311 (2024Q3) Date: Fri, 05 Jul 2024 08:54:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rainer@ultra-secure.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freqlabs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280136 Bug ID: 280136 Summary: devel/py-libzfs doesn't build on 14.1 with python311 (2024Q3) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freqlabs@FreeBSD.org Reporter: rainer@ultra-secure.de Assignee: freqlabs@FreeBSD.org Flags: maintainer-feedback?(freqlabs@FreeBSD.org) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D env: NO_DEPENDS=3Dyes USER=3Droot UID=3D0 GID=3D0 =3D=3D=3D> Building for py311-libzfs-1.1.2023020700 running build running build_ext cythoning libzfs.pyx to libzfs.c building 'libzfs' extension creating build creating build/temp.freebsd-14.1-RELEASE-p2-amd64-cpython-311 cc -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fPIC -I/usr/local/include/python3.11 -c libzfs.c -o build/temp.freebsd-14.1-RELEASE-p2-amd64-cp ython-311/libzfs.o -DCYTHON_FALLTHROUGH -DIN_BASE -DHAVE_RPC_TYPES -I/usr/src/sys/contrib/openzfs/include -I/usr/src/sys/contrib/openzfs/include/os/freebsd -I/usr/src/sys/contrib/openzfs/lib/libspl/include -I/usr/src/sys/contrib/openzfs/lib/libspl/includ e/os/freebsd -I/usr/src/sys -I/usr/src/cddl/compat/opensolaris/include -inc= lude /usr/src/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h -DHAVE_ISSETUGID -Werror=3Dimplicit-function-declaration libzfs.c:950:11: warning: 'likely' macro redefined [-Wmacro-redefined] 950 | #define likely(x) __builtin_expect(!!(x), 1) | ^ /usr/src/sys/contrib/openzfs/include/sys/zfs_context.h:131:9: note: previous definition is here 131 | #define likely(x) __builtin_expect((x), 1) | ^ libzfs.c:951:11: warning: 'unlikely' macro redefined [-Wmacro-redefined] 951 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ /usr/src/sys/contrib/openzfs/include/sys/zfs_context.h:132:9: note: previous definition is here 132 | #define unlikely(x) __builtin_expect((x), 0) | ^ libzfs.c:6354:46: warning: passing 'char **' to parameter of type 'const ch= ar **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 6354 | (void)(nvpair_value_string(__pyx_v_pair, (&__pyx_v_cstr))); | ^~~~~~~~~~~~~~~ /usr/src/sys/contrib/openzfs/include/sys/nvpair.h:291:70: note: passing argument to parameter here 291 | _SYS_NVPAIR_H int nvpair_value_string(const nvpair_t *, const char = **); | = ^ libzfs.c:7327:52: warning: passing 'char ***' to parameter of type 'const c= har ***' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 7327 | (void)(nvpair_value_string_array(__pyx_v_pair, ((char ***)(&__pyx_v_carray)), (&__pyx_v_carraylen))); |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/contrib/openzfs/include/sys/nvpair.h:304:71: note: passing argument to parameter here 304 | _SYS_NVPAIR_H int nvpair_value_string_array(nvpair_t *, const char = ***, | = ^ libzfs.c:9192:72: warning: passing 'char **' to parameter of type 'const ch= ar *const *' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 9192 | (void)(nvlist_add_string_array(__pyx_v_self->handle, __pyx_t_= 34, ((char **)__pyx_v_carray), __pyx_t_29)); |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/src/sys/contrib/openzfs/include/sys/nvpair.h:204:25: note: passing argument to parameter here 204 | const char * const *, uint_t); | ^ 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)); |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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 c= har **' 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) |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^~~~~~~~~~~~~~~~~ /usr/src/sys/contrib/openzfs/include/libzfs.h:449:74: note: passing argumen= t to parameter here 449 | _LIBZFS_H zpool_status_t zpool_get_status(zpool_handle_t *, const c= har **, |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^ libzfs.c:63310:81: error: too few arguments to function call, expected 3, h= ave 2 63310 | __pyx_v_ret =3D zpool_add(__pyx_v_self->handle, __pyx_v_vd->nvlist->handle); | ~~~~~~~~~=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 ^ /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); | ^=20=20=20=20=20=20=20=20 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libzfs.c:83149:85: warning: passing 'const char *' to parameter of type 'ch= ar *' 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_nam= e, __pyx_v_defer_deletion); |=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^~~~~~~~~~~~~~ /usr/src/sys/contrib/openzfs/include/libzfs.h:729:55: note: passing argumen= t 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 =3D>> Cleaning up wrkdir =3D=3D=3D> Cleaning for py311-libzfs-1.1.2023020700 build of devel/py-libzfs@py311 | py311-libzfs-1.1.2023020700 ended at Fri J= ul=20 5 10:47:21 CEST 2024 build time: 00:00:29 !!! build failure encountered !!! --=20 You are receiving this mail because: You are the assignee for the bug.=