Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

container build error on binder #49

Open
djarecka opened this issue Oct 16, 2023 · 1 comment
Open

container build error on binder #49

djarecka opened this issue Oct 16, 2023 · 1 comment
Assignees

Comments

@djarecka
Copy link
Contributor

We should fix the container, raw log is here

@Bukharim49
Copy link

/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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants