From nobody Fri Aug 12 17:17:42 2022 X-Original-To: dev-commits-ports-main@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 4M49NR0jgTz4XwQL; Fri, 12 Aug 2022 17:17:43 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M49NR0BJ2z3KSq; Fri, 12 Aug 2022 17:17:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660324663; 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=iUGTOOJVGopfVudYp+TP5DISPCOKJHiY5d6NMBLF8Cc=; b=aa/EU98mR34ZrzpYVQFOvwLQZ+smopYmokBrxUqnWc6sC8BOmUBS/wfVyZfJ1qXarERZ8Q jf1+LNRDQIEr1FG2QHlTs6ZBmli5xgHr70ep99HuAJrQOwj5hPmrHTRG3mnQraBkt5H1Ss CRBfjQnMxf+fkBh+hCnpDX0uEeIGT7E29aPbt3n5k15DS/LrTzMhmeO54sleR7KU3PGdTh laFjmiqxpOeXDAAS+ZV68AmvI9mOnMedDFo/LSDwJOItpjpq1xvl9vYfNMLfn55348Yieg SEoMyU3QZAzFJ2qRd7enqqvVV0aiVCFMV8tmvFt3pReuprrBA16w6Dcv0Du8kw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4M49NQ5yXFzfj3; Fri, 12 Aug 2022 17:17:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27CHHg1P078907; Fri, 12 Aug 2022 17:17:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27CHHgPH078906; Fri, 12 Aug 2022 17:17:42 GMT (envelope-from git) Date: Fri, 12 Aug 2022 17:17:42 GMT Message-Id: <202208121717.27CHHgPH078906@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitry Marakasov Subject: git: 738c6f945d5c - main - devel/py-libzfs: mark BROKEN on FreeBSD < 13.1 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: amdmi3 X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 738c6f945d5c1951092d40f593bfac9a31eff32d Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660324663; 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=iUGTOOJVGopfVudYp+TP5DISPCOKJHiY5d6NMBLF8Cc=; b=j+ry/rUpQGErugbvGp7rtsYWteZ+b1EtK1nrKMXu4zughDcF5HyN9Ezr5It/TFMgrJ1lzx Xu8Mu102JVEMyH5SMdTCFdUuczQNCmDYzeeZxxmyiDjkvvzHVuGH36bmugaleUIY8tKlzU v0No9H/J/JaR/B8XaPq7RnZCIZTYPlvUmr/X1+Kyn5WKhLhOKXT2pZVKWtUeyQTKuIHM77 gWKFiXQG54RojOm+nv7kU3ci3JJyzZJaF9UOvrQOhkAtMqlcgGyvjrbA+OpoX7N8lsOJ1n VkN92eClp1piEfFhkaaqurOtBGWE1e0CqqpGznQ5FzfrCYhA+UuPU7M3jQ9whA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660324663; a=rsa-sha256; cv=none; b=d02Vn+38hfHotwUVbM1Vkd2zLgiRbC6N1hvyEsWKGUdGsbySoQiFIH+fPxZdeziwXKkbl4 i/12uLnWMy+q3ChvH3DSS5S0Fmx5PTqYIjf8iFBV1oQ0L04RjLJVGgFIGT7LR4aWuj94g/ lYt7VjfCW39HzK/Y1u7ZkplRJt2Lw3ZurW6W0DV5h2FBHKB6Kdk1+8YlKm9bwgPcyY0VJi fTGzqR//V1Xi87/rXo16iq2ztJ+bA0gKlnGS+BMy/xpwmMF8TdqJLroCDpHdn3Fp0sPq0A qLx95+XMucVvmoSp35taXQ385WN46K63bKTsz887zXwzLVh/HwWt7CPoQy9u3g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=738c6f945d5c1951092d40f593bfac9a31eff32d commit 738c6f945d5c1951092d40f593bfac9a31eff32d Author: Dmitry Marakasov AuthorDate: 2022-08-12 16:49:00 +0000 Commit: Dmitry Marakasov CommitDate: 2022-08-12 17:16:31 +0000 devel/py-libzfs: mark BROKEN on FreeBSD < 13.1 12.x: libzfs.c:98209:47: error: use of undeclared identifier 'ZPOOL_STATUS_ERRATA'; did you mean 'ZPOOL_STATUS_OK'? __pyx_t_1 = __Pyx_PyInt_From_zpool_status_t(ZPOOL_STATUS_ERRATA); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 193, __pyx_L1_error) ^~~~~~~~~~~~~~~~~~~ ZPOOL_STATUS_OK libzfs.c:98329:47: error: use of undeclared identifier 'ZPOOL_STATUS_REBUILDING'; did you mean 'ZPOOL_STATUS_RESILVERING'? __pyx_t_1 = __Pyx_PyInt_From_zpool_status_t(ZPOOL_STATUS_REBUILDING); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 203, __pyx_L1_error) ^~~~~~~~~~~~~~~~~~~~~~~ ZPOOL_STATUS_RESILVERING 13.0: libzfs.c:108226:47: error: use of undeclared identifier 'ZPOOL_STATUS_COMPATIBILITY_ERR' __pyx_t_1 = __Pyx_PyInt_From_zpool_status_t(ZPOOL_STATUS_COMPATIBILITY_ERR); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 206, __pyx_L1_error) ^ libzfs.c:108238:47: error: use of undeclared identifier 'ZPOOL_STATUS_INCOMPATIBLE_FEAT' __pyx_t_1 = __Pyx_PyInt_From_zpool_status_t(ZPOOL_STATUS_INCOMPATIBLE_FEAT); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 207, __pyx_L1_error) ^ While here, add LICENSE_FILE Approved by: portmgr blanket Reported by: pkg-fallout, reprise --- devel/py-libzfs/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/devel/py-libzfs/Makefile b/devel/py-libzfs/Makefile index 29954d37a846..b4487f2e0c57 100644 --- a/devel/py-libzfs/Makefile +++ b/devel/py-libzfs/Makefile @@ -7,6 +7,7 @@ MAINTAINER= freqlabs@FreeBSD.org COMMENT= Python libzfs bindings LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE USE_GITHUB= yes GH_ACCOUNT= truenas @@ -23,7 +24,11 @@ MAKE_ENV= freebsd_src=${SRC_BASE} .include .if !exists(${SRC_BASE}/sys/Makefile) -IGNORE= requires kernel source files in ${SRC_BASE} +IGNORE= requires kernel source files in ${SRC_BASE} +.endif + +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1301000 +BROKEN= does not build on FreeBSD <13.1 .endif .include