nipype/pydra-tutorial

container build error on binder

djarecka opened this issue · 1 comments

We should fix the container, raw log is here

/var/lib/dkms/anbox-binder/1/build/binder.c: In function ‘binder_transaction’:
/var/lib/dkms/anbox-binder/1/build/binder.c:3132:55: error: passing argument 2 of ‘security_task_getsecid_obj’ from incompatible pointer type [-Werror=incompatible-pointer-types]
3132 | security_task_getsecid_obj(proc->tsk, &secid);
| ^~~~~~
| |
| u32 * {aka unsigned int *}
In file included from /var/lib/dkms/anbox-binder/1/build/binder.c:63:
./include/linux/security.h:546:72: note: expected ‘struct lsmblob *’ but argument is of type ‘u32 *’ {aka ‘unsigned int *’}
546 | void security_task_getsecid_obj(struct task_struct *p, struct lsmblob *blob);
| ~~~~~~~~~~~~~~~~^~~~
/var/lib/dkms/anbox-binder/1/build/binder.c:3136:55: error: passing argument 2 of ‘security_secid_to_secctx’ from incompatible pointer type [-Werror=incompatible-pointer-types]
3136 | ret = security_secid_to_secctx(secid, &secctx, &secctx_sz);
| ^~~~~~~
| |
| char **
In file included from /var/lib/dkms/anbox-binder/1/build/binder.c:63:
./include/linux/security.h:592:71: note: expected ‘struct lsmcontext *’ but argument is of type ‘char **’
592 | int security_secid_to_secctx(struct lsmblob *blob, struct lsmcontext *cp,
| ~~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/anbox-binder/1/build/binder.c:3185:41: error: passing argument 1 of ‘security_release_secctx’ from incompatible pointer type [-Werror=incompatible-pointer-types]
3185 | security_release_secctx(secctx, secctx_sz);
| ^~~~~~
| |
| char *
In file included from /var/lib/dkms/anbox-binder/1/build/binder.c:63:
./include/linux/security.h:596:49: note: expected ‘struct lsmcontext *’ but argument is of type ‘char *’
596 | void security_release_secctx(struct lsmcontext *cp);
| ~~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/anbox-binder/1/build/binder.c:3185:17: error: too many arguments to function ‘security_release_secctx’
3185 | security_release_secctx(secctx, secctx_sz);
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/anbox-binder/1/build/binder.c:63:
./include/linux/security.h:596:6: note: declared here
596 | void security_release_secctx(struct lsmcontext *cp);
| ^~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/anbox-binder/1/build/binder.c:3520:41: error: passing argument 1 of ‘security_release_secctx’ from incompatible pointer type [-Werror=incompatible-pointer-types]
3520 | security_release_secctx(secctx, secctx_sz);
| ^~~~~~
| |
| char *
In file included from /var/lib/dkms/anbox-binder/1/build/binder.c:63:
./include/linux/security.h:596:49: note: expected ‘struct lsmcontext *’ but argument is of type ‘char *’
596 | void security_release_secctx(struct lsmcontext *cp);
| ~~~~~~~~~~~~~~~~~~~^~
/var/lib/dkms/anbox-binder/1/build/binder.c:3520:17: error: too many arguments to function ‘security_release_secctx’
3520 | security_release_secctx(secctx, secctx_sz);
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/anbox-binder/1/build/binder.c:63:
./include/linux/security.h:596:6: note: declared here
596 | void security_release_secctx(struct lsmcontext *cp);
| ^~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:297: /var/lib/dkms/anbox-binder/1/build/binder.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:1911: /var/lib/dkms/anbox-binder/1/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.15.0-105-generic'
make: *** [Makefile:8: all] Error 2