FTBFS: too many arguments to function ‘zpool_search_import’
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grubzfs-testsuite (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Building this package on mantic, I get:
debian/rules override_
make[1]: Entering directory '/<<PKGBUILDDIR>>'
go test -c -o grubzfs-tests
# github.
In file included from /usr/include/
zfs.c: In function ‘read_user_
zfs.c:208:38: warning: passing argument 3 of ‘nvlist_
208 | ZPROP_VALUE, &strval) == 0);
| ^~~~~~~
| |
| char **
/usr/include/
71 | (void) ((!(cond)) && \
| ^~~~
In file included from /usr/include/
/usr/include/
236 | const char **);
| ^~~~~~~~~~~~~
zfs.c:210:39: warning: passing argument 3 of ‘nvlist_
210 | ZPROP_SOURCE, &sourceval) == 0);
| ^~~~~~~~~~
| |
| char **
/usr/include/
71 | (void) ((!(cond)) && \
| ^~~~
/usr/include/
236 | const char **);
| ^~~~~~~~~~~~~
# github.
zpool.c: In function ‘get_vdev_type’:
zpool.c:374:61: warning: passing argument 3 of ‘nvlist_
374 | int r = nvlist_
| ^~~~~~
| |
| char **
In file included from /usr/include/
/usr/include/
236 | const char **);
| ^~~~~~~~~~~~~
zpool.c: In function ‘get_vdev_path’:
zpool.c:448:72: warning: passing argument 3 of ‘nvlist_
448 | if ( 0 != nvlist_
| ^~~~~
| |
| char **
/usr/include/
236 | const char **);
| ^~~~~~~~~~~~~
zpool.c: In function ‘get_zpool_name’:
zpool.c:477:67: warning: passing argument 3 of ‘nvlist_
477 | if (0 != nvlist_
| ^~~~~
| |
| char **
/usr/include/
236 | const char **);
| ^~~~~~~~~~~~~
zpool.c: In function ‘get_zpool_
zpool.c:485:65: warning: passing argument 3 of ‘nvlist_
485 | if (0 != nvlist_
| ^~~~~~~~
| |
| char **
/usr/include/
236 | const char **);
| ^~~~~~~~~~~~~
zpool.c: In function ‘go_zpool_
zpool.c:513:37: warning: passing argument 1 of ‘zpool_
513 | pools = zpool_search_
| ^~~~
| |
| libzfs_handle_ptr {aka struct libzfs_handle *}
In file included from zpool.c:7:
/usr/include/
93 | _LIBZUTIL_H nvlist_t *zpool_
| ^~~~~~~~~~~~~~~~
zpool.c:513:17: error: too many arguments to function ‘zpool_
513 | pools = zpool_search_
| ^~~~~~~~~~~~~~~~~~~
/usr/include/
93 | _LIBZUTIL_H nvlist_t *zpool_
| ^~~~~~~~~~~~~~~~~~~
make[1]: *** [debian/rules:17: override_
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2