Fuí agregando y creando algunos directorios que reclamaba
en cada intento de generar el initramfs. Pero al parecer es
necesario instalarlo con el emerge.
ututo-xs linux-3.16.1 # genkernel initramfs
* Sabayon/Gentoo Linux Genkernel; Version 3.4.10.907
* Running with options: initramfs
* Linux Kernel 3.16.1-gnu for x86...
* busybox: >> Configuring...
* busybox: >> Compiling...
* ERROR: Failed to compile the "all" target...
* -- Grepping log... --
* busybox: >> Configuring...
COMMAND: make -j2 CC="gcc" LD="ld" AS="as"
HOSTCC conf.o
HOSTCC zconf.tab.o
/var/tmp/genkernel/10621.839.11578.23182/busybox-1.1.3+gentoo/scripts/config/conf.c:
In function 'conf_choice':
/var/tmp/genkernel/10621.839.11578.23182/busybox-1.1.3+gentoo/scripts/config/conf.c:350:9:
warning: ignoring return value of 'fgets', declared with
attribute warn_unused_result
/var/tmp/genkernel/10621.839.11578.23182/busybox-1.1.3+gentoo/scripts/config/conf.c:
In function 'conf_askvalue':
/var/tmp/genkernel/10621.839.11578.23182/busybox-1.1.3+gentoo/scripts/config/conf.c:94:8:
warning: ignoring return value of 'fgets', declared with
attribute warn_unused_result
lex.zconf.c:2969:16: warning: 'input' defined but not
used
zconf.tab.c: In function 'expr_print_file_helper':
expr.c:1083:8: warning: ignoring return value of
'fwrite', declared with attribute warn_unused_result
zconf.tab.c: In function 'conf_write':
confdata.c:420:13: warning: ignoring return value of
'fwrite', declared with attribute warn_unused_result
confdata.c:422:14: warning: ignoring return value of
'fwrite', declared with attribute warn_unused_result
--
CC archival/tar.o
In file included from /usr/include/fcntl.h:267:0,
from
/var/tmp/genkernel/10621.839.11578.23182/busybox-1.1.3+gentoo/archival/gzip.c:37:
In function 'open',
inlined from 'gzip_main' at
/var/tmp/genkernel/10621.839.11578.23182/busybox-1.1.3+gentoo/archival/gzip.c:1259:17:
/usr/include/bits/fcntl2.h:51:24: error: call to
'__open_missing_mode' declared with attribute error: open
with O_CREAT in second argument needs 3 arguments
make[1]: ***
[/var/tmp/genkernel/10621.839.11578.23182/busybox-1.1.3+gentoo/archival/gzip.o]
Error 1
make[1]: *** Waiting for unfinished jobs....
/var/tmp/genkernel/10621.839.11578.23182/busybox-1.1.3+gentoo/archival/tar.c:
In function 'writeTarFile':
/var/tmp/genkernel/10621.839.11578.23182/busybox-1.1.3+gentoo/archival/tar.c:512:8:
warning: ignoring return value of 'write', declared with
attribute warn_unused_result
/var/tmp/genkernel/10621.839.11578.23182/busybox-1.1.3+gentoo/archival/tar.c:
In function 'writeFileToTarball':
/var/tmp/genkernel/10621.839.11578.23182/busybox-1.1.3+gentoo/archival/tar.c:414:9:
warning: ignoring return value of 'write', declared with
attribute warn_unused_result
/var/tmp/genkernel/10621.839.11578.23182/busybox-1.1.3+gentoo/archival/tar.c:
In function 'writeTarHeader':
/var/tmp/genkernel/10621.839.11578.23182/busybox-1.1.3+gentoo/archival/tar.c:286:8:
warning: ignoring return value of 'write', declared with
attribute warn_unused_result
In file included from /usr/include/string.h:642:0,
from
/var/tmp/genkernel/10621.839.11578.23182/busybox-1.1.3+gentoo/archival/tar.c:34:
In function 'strncpy',
inlined from 'writeTarHeader' at
/var/tmp/genkernel/10621.839.11578.23182/busybox-1.1.3+gentoo/archival/tar.c:219:9:
/usr/include/bits/string3.h:121:3: warning: call to
__builtin___strncpy_chk will always overflow destination
buffer
make[1]: *** wait: No child processes. Stop.
make: *** [all] Error 2
* Sabayon/Gentoo Linux Genkernel; Version 3.4.10.907
* Running with options: initramfs
* ERROR: Failed to compile the "all" target...
* -- End log... --
* Please consult /var/log/genkernel.log for more
information and any
* errors that were reported above.
* as much information as you can in your bug report;
attaching
* /var/log/genkernel.log so that your issue can be dealt
with effectively.
*
* Please do *not* report compilation failures as
genkernel bugs!