Hi all,
I can't generate kernel 6.18.12 (latest ?).
I get this in genkernel.log:
make: *** [Makefile:1360: all] Error 2
* ERROR: Command 'nice -n10 make -j6 V=1' failed!
* ERROR: create_initramfs(): append_data(): append_busybox():
populate_binpkg(): populate_binpkg(): gkbuild(): Failed to create binpkg of
libxcrypt-4.4.38!
And a few lines above :
lib/crypt-gost-yescrypt.c: In function '_crypt_crypt_gost_yescrypt_rn':
lib/crypt-gost-yescrypt.c:134:16: error: initialization discards 'const'
qualifier from pointer target type [-Werror=discarded-qualifiers]
134 | char *hptr = strchr ((const char *) intbuf->retval + 3, '$');
| ^~~~~~
For informations :
* Searching for
.*sources|.*linux-header|.*genkernel|.*coreutils|.*automake|.*libtool|.*busybox
...
[I--] [??] dev-build/automake-1.4_p6-r2:1.4
[IP-] [ ] dev-build/automake-1.18.1:1.18
[IP-] [ ] dev-build/automake-wrapper-20250528:0
[IP-] [ ] dev-build/libtool-2.5.4:2
[IP-] [ ] sys-apps/busybox-1.36.1-r4:0
[IP-] [ ] sys-apps/coreutils-9.9-r1:0
[IP-] [ ] sys-kernel/genkernel-4.3.17-r1:0
[IP-] [ ] sys-kernel/gentoo-sources-6.18.12:6.18.12
[IP-] [ ] sys-kernel/linux-headers-6.18:0
gcc-config -l
[1] x86_64-pc-linux-gnu-14 *
[2] x86_64-pc-linux-gnu-15
I found this, but It's apply to older versions :
Gentoo Forums :: Voir le sujet - Genkernel failed to generate
initramfs<https://forums.gentoo.org/viewtopic-t-1168530-start-0.html>
Thanks for your help
Regards,
Erwan RIGOLLOT