Source: py-libzfs Version: 0.0+git20240117.143b624-1 Severity: serious Tags: ftbfs Justification: fails to build from source (but built successfully in the past)
py-libzfs FTBFS with GCC 14 as default compiler: ... <command-line>: warning: statement with no effect [-Wunused-value] libzfs.c:5892:9: note: in expansion of macro 'CYTHON_FALLTHROUGH' 5892 | CYTHON_FALLTHROUGH; | ^~~~~~~~~~~~~~~~~~ libzfs.c: In function '__pyx_f_6libzfs_6NVList___get_value': libzfs.c:6421:47: error: passing argument 2 of 'nvpair_value_string' from incompatible pointer type [-Wincompatible-pointer-types] 6421 | (void)(nvpair_value_string(__pyx_v_pair, (&__pyx_v_cstr))); | ~^~~~~~~~~~~~~~ | | | char ** In file included from /usr/include/libzfs/libnvpair.h:29, from /usr/include/libzfs/libzfs.h:39, from libzfs.c:750: /usr/include/libzfs/sys/nvpair.h:291:57: note: expected 'const char **' but argument is of type 'char **' 291 | _SYS_NVPAIR_H int nvpair_value_string(const nvpair_t *, const char **); | ^~~~~~~~~~~~~ libzfs.c:7394:53: error: passing argument 2 of 'nvpair_value_string_array' from incompatible pointer type [-Wincompatible-pointer-types] 7394 | (void)(nvpair_value_string_array(__pyx_v_pair, ((char ***)(&__pyx_v_carray)), (&__pyx_v_carraylen))); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char *** /usr/include/libzfs/sys/nvpair.h:304:57: note: expected 'const char ***' but argument is of type 'char ***' 304 | _SYS_NVPAIR_H int nvpair_value_string_array(nvpair_t *, const char ***, | ^~~~~~~~~~~~~~ libzfs.c: In function '__pyx_pw_6libzfs_6NVList_12get': <command-line>: warning: statement with no effect [-Wunused-value] libzfs.c:7981:9: note: in expansion of macro 'CYTHON_FALLTHROUGH' 7981 | CYTHON_FALLTHROUGH; | ^~~~~~~~~~~~~~~~~~ ... Andreas
py-libzfs_0.0+git20240117.143b624-1.log.gz
Description: application/gzip