gentoo-sources-5.2.1 fails to build, seems to be related with changes in upstream kernel. Reproducible: Always Steps to Reproduce: emerge gento-sources:5.2.11 Actual Results: A piece of the build log: CC [M] fs/cifs/cifssmb.o In file included from ./include/linux/mmzone.h:10, from ./include/linux/gfp.h:6, from ./include/linux/umh.h:4, from ./include/linux/kmod.h:9, from ./include/linux/module.h:13, from mm/zsmalloc.c:33: mm/zsmalloc.c: In function ‘zs_create_pool’: mm/zsmalloc.c:2435:27: error: ‘struct zs_pool’ has no member named ‘migration_wait’ init_waitqueue_head(&pool->migration_wait); ^~ ./include/linux/wait.h:67:26: note: in definition of macro ‘init_waitqueue_head’ __init_waitqueue_head((wq_head), #wq_head, &__key); \ ^~~~~~~ CC [M] security/keys/encrypted-keys/encrypted.o make[1]: *** [scripts/Makefile.build:285: mm/zsmalloc.o] Error 1 make: *** [Makefile:1073: mm] Error 2 Expected Results: Successfull build The same kernel configuration was OK for all previous gento-sources-5.2.* versions.
Build fails with CONFIG_ZSMALLOC only. If disabled in kernel config, build is OK.
The fix is queued up in the upstream kernel repo. I would expect it to be in 5.1.12, but if not I will carry it for 5.1.12-gentoo-sources, myself.
Released in kernel 5.2.12