HomeFreeBSD

devel/py-libzfs: mark BROKEN on FreeBSD < 13.1

Description

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

Details

Provenance
AMDmi3Authored on Aug 12 2022, 4:49 PM
Parents
R11:cfd1e07e9147: editors/bee-host: remove the dependency on Python
Branches
Unknown
Tags
Unknown