[gentoo-user] genkernel 3.3.8 fails to build initramfs
When running genkernel all on the latest source 3.3.8 I get the following error. CC util-linux/mkfs_ext2.o CC util-linux/volume_id/ocfs2.o util-linux/mkfs_ext2.c:51:27: fatal error: linux/ext2_fs.h: No such file or directory compilation terminated. When I do a find the ext2_fs.h is found. The entire log is below and the error is near the bottom. How can I fix this to get the kernel and initramfs build correctly? Thanks * Gentoo Linux Genkernel; Version 3.4.24_p1[0m * Running with options: initramfs * Linux Kernel 3.3.8-gentoo[0m for x86_64[0m... * blkid: Using cache * busybox: Applying patches... * - 1.18.1-openvt.diff * - busybox-1.19.3-mdstart.patch * - busybox-1.7.4-signal-hack.patch * busybox: Configuring... COMMAND: make -j2 CC=gcc LD=ld AS=as HOSTCC scripts/basic/fixdep GEN include/applets.h HOSTCC scripts/basic/split-include scripts/basic/split-include.c: In function ‘main’: scripts/basic/split-include.c:134:11: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result HOSTCC scripts/basic/docproc GEN include/usage.h GEN e2fsprogs/Kbuild GEN e2fsprogs/Config.in GEN e2fsprogs/old_e2fsprogs/Kbuild GEN e2fsprogs/old_e2fsprogs/Config.in GEN e2fsprogs/old_e2fsprogs/e2p/Kbuild GEN e2fsprogs/old_e2fsprogs/uuid/Kbuild GEN e2fsprogs/old_e2fsprogs/blkid/Kbuild GEN e2fsprogs/old_e2fsprogs/ext2fs/Kbuild GEN networking/Kbuild GEN networking/Config.in GEN networking/libiproute/Kbuild GEN networking/udhcp/Kbuild GEN networking/udhcp/Config.in GEN libbb/Kbuild GEN libbb/Config.in GEN findutils/Kbuild GEN findutils/Config.in GEN loginutils/Kbuild GEN loginutils/Config.in GEN debianutils/Kbuild GEN debianutils/Config.in GEN runit/Kbuild GEN runit/Config.in GEN scripts/Kbuild GEN init/Kbuild GEN init/Config.in GEN selinux/Kbuild GEN selinux/Config.in GEN shell/Kbuild GEN shell/Config.in GEN printutils/Kbuild GEN printutils/Config.in GEN mailutils/Kbuild GEN mailutils/Config.in GEN sysklogd/Kbuild GEN sysklogd/Config.in GEN editors/Kbuild GEN editors/Config.in GEN miscutils/Kbuild GEN miscutils/Config.in GEN modutils/Kbuild GEN modutils/Config.in GEN libpwdgrp/Kbuild GEN console-tools/Kbuild GEN console-tools/Config.in GEN coreutils/Kbuild GEN coreutils/Config.in GEN coreutils/libcoreutils/Kbuild GEN archival/Kbuild GEN archival/Config.in GEN archival/libarchive/Kbuild GEN applets/Kbuild GEN util-linux/Kbuild GEN util-linux/Config.in GEN util-linux/volume_id/Kbuild GEN procps/Kbuild GEN procps/Config.in HOSTCC scripts/kconfig/conf.o scripts/kconfig/conf.c: In function ‘conf_choice’: scripts/kconfig/conf.c:354:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result scripts/kconfig/conf.c: In function ‘conf_askvalue’: scripts/kconfig/conf.c:106:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result HOSTCC scripts/kconfig/kxgettext.o HOSTCC scripts/kconfig/mconf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/lex.zconf.c SHIPPED scripts/kconfig/zconf.hash.c scripts/kconfig/mconf.c: In function ‘show_textbox’: scripts/kconfig/mconf.c:839:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result scripts/kconfig/mconf.c: In function ‘exec_conf’: scripts/kconfig/mconf.c:473:6: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result HOSTCC scripts/kconfig/zconf.tab.o scripts/kconfig/zconf.tab.c: In function ‘expr_print_file_helper’: scripts/kconfig/expr.c:1083:8: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result scripts/kconfig/zconf.tab.c: In function ‘conf_write’: scripts/kconfig/confdata.c:492:13: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result scripts/kconfig/confdata.c:494:14: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result HOSTLD scripts/kconfig/conf scripts/kconfig/conf -o Config.in # # using defaults found in .config # * * Busybox Configuration * * * Busybox Settings * * * General Configuration * Enable options for full-blown desktop systems (DESKTOP) [N/y/?] n Provide compatible behavior for rare corner cases (bigger code) (EXTRA_COMPAT) [N/y/?] n Enable obsolete features removed before SUSv3 (INCLUDE_SUSv2) [N/y/?] n Avoid using GCC-specific code constructs (USE_PORTABLE_CODE) [N/y/?] n Enable Linux-specific applets and features (PLATFORM_LINUX) [Y/?] y Buffer allocation policy 1. Allocate with Malloc (FEATURE_BUFFERS_USE_MALLOC) 2. Allocate on the Stack (FEATURE_BUFFERS_GO_ON_STACK) 3. Allocate in
[gentoo-user] genkernel 3.3.8 fails to build initramfs
When running genkernel all on the latest source 3.3.8 I get the following error. CC util-linux/mkfs_ext2.o CC util-linux/volume_id/ocfs2.o util-linux/mkfs_ext2.c:51:27: fatal error: linux/ext2_fs.h: No such file or directory compilation terminated. When I do a find the ext2_fs.h is found. The entire log is below and the error is near the bottom. How can I fix this to get the kernel and initramfs build correctly? Thanks * Gentoo Linux Genkernel; Version 3.4.24_p1[0m * Running with options: initramfs * Linux Kernel 3.3.8-gentoo[0m for x86_64[0m... * blkid: Using cache * busybox: Applying patches... * - 1.18.1-openvt.diff * - busybox-1.19.3-mdstart.patch * - busybox-1.7.4-signal-hack.patch * busybox: Configuring... COMMAND: make -j2 CC=gcc LD=ld AS=as HOSTCC scripts/basic/fixdep GEN include/applets.h HOSTCC scripts/basic/split-include scripts/basic/split-include.c: In function ‘main’: scripts/basic/split-include.c:134:11: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result HOSTCC scripts/basic/docproc GEN include/usage.h GEN e2fsprogs/Kbuild GEN e2fsprogs/Config.in GEN e2fsprogs/old_e2fsprogs/Kbuild GEN e2fsprogs/old_e2fsprogs/Config.in GEN e2fsprogs/old_e2fsprogs/e2p/Kbuild GEN e2fsprogs/old_e2fsprogs/uuid/Kbuild GEN e2fsprogs/old_e2fsprogs/blkid/Kbuild GEN e2fsprogs/old_e2fsprogs/ext2fs/Kbuild GEN networking/Kbuild GEN networking/Config.in GEN networking/libiproute/Kbuild GEN networking/udhcp/Kbuild GEN networking/udhcp/Config.in GEN libbb/Kbuild GEN libbb/Config.in GEN findutils/Kbuild GEN findutils/Config.in GEN loginutils/Kbuild GEN loginutils/Config.in GEN debianutils/Kbuild GEN debianutils/Config.in GEN runit/Kbuild GEN runit/Config.in GEN scripts/Kbuild GEN init/Kbuild GEN init/Config.in GEN selinux/Kbuild GEN selinux/Config.in GEN shell/Kbuild GEN shell/Config.in GEN printutils/Kbuild GEN printutils/Config.in GEN mailutils/Kbuild GEN mailutils/Config.in GEN sysklogd/Kbuild GEN sysklogd/Config.in GEN editors/Kbuild GEN editors/Config.in GEN miscutils/Kbuild GEN miscutils/Config.in GEN modutils/Kbuild GEN modutils/Config.in GEN libpwdgrp/Kbuild GEN console-tools/Kbuild GEN console-tools/Config.in GEN coreutils/Kbuild GEN coreutils/Config.in GEN coreutils/libcoreutils/Kbuild GEN archival/Kbuild GEN archival/Config.in GEN archival/libarchive/Kbuild GEN applets/Kbuild GEN util-linux/Kbuild GEN util-linux/Config.in GEN util-linux/volume_id/Kbuild GEN procps/Kbuild GEN procps/Config.in HOSTCC scripts/kconfig/conf.o scripts/kconfig/conf.c: In function ‘conf_choice’: scripts/kconfig/conf.c:354:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result scripts/kconfig/conf.c: In function ‘conf_askvalue’: scripts/kconfig/conf.c:106:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result HOSTCC scripts/kconfig/kxgettext.o HOSTCC scripts/kconfig/mconf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/lex.zconf.c SHIPPED scripts/kconfig/zconf.hash.c scripts/kconfig/mconf.c: In function ‘show_textbox’: scripts/kconfig/mconf.c:839:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result scripts/kconfig/mconf.c: In function ‘exec_conf’: scripts/kconfig/mconf.c:473:6: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result HOSTCC scripts/kconfig/zconf.tab.o scripts/kconfig/zconf.tab.c: In function ‘expr_print_file_helper’: scripts/kconfig/expr.c:1083:8: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result scripts/kconfig/zconf.tab.c: In function ‘conf_write’: scripts/kconfig/confdata.c:492:13: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result scripts/kconfig/confdata.c:494:14: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result HOSTLD scripts/kconfig/conf scripts/kconfig/conf -o Config.in # # using defaults found in .config # * * Busybox Configuration * * * Busybox Settings * * * General Configuration * Enable options for full-blown desktop systems (DESKTOP) [N/y/?] n Provide compatible behavior for rare corner cases (bigger code) (EXTRA_COMPAT) [N/y/?] n Enable obsolete features removed before SUSv3 (INCLUDE_SUSv2) [N/y/?] n Avoid using GCC-specific code constructs (USE_PORTABLE_CODE) [N/y/?] n Enable Linux-specific applets and features (PLATFORM_LINUX) [Y/?] y Buffer allocation policy 1. Allocate with Malloc (FEATURE_BUFFERS_USE_MALLOC) 2. Allocate on the Stack (FEATURE_BUFFERS_GO_ON_STACK) 3. Allocate in
[gentoo-user] genkernel 3.3.8 fails to build initramfs
When running genkernel all on the latest source 3.3.8 I get the following error. CC util-linux/mkfs_ext2.o CC util-linux/volume_id/ocfs2.o util-linux/mkfs_ext2.c:51:27: fatal error: linux/ext2_fs.h: No such file or directory compilation terminated. When I do a find the ext2_fs.h is found. The entire log is below and the error is near the bottom. How can I fix this to get the kernel and initramfs build correctly? Thanks * Gentoo Linux Genkernel; Version 3.4.24_p1[0m * Running with options: initramfs * Linux Kernel 3.3.8-gentoo[0m for x86_64[0m... * blkid: Using cache * busybox: Applying patches... * - 1.18.1-openvt.diff * - busybox-1.19.3-mdstart.patch * - busybox-1.7.4-signal-hack.patch * busybox: Configuring... COMMAND: make -j2 CC=gcc LD=ld AS=as HOSTCC scripts/basic/fixdep GEN include/applets.h HOSTCC scripts/basic/split-include scripts/basic/split-include.c: In function ‘main’: scripts/basic/split-include.c:134:11: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result HOSTCC scripts/basic/docproc GEN include/usage.h GEN e2fsprogs/Kbuild GEN e2fsprogs/Config.in GEN e2fsprogs/old_e2fsprogs/Kbuild GEN e2fsprogs/old_e2fsprogs/Config.in GEN e2fsprogs/old_e2fsprogs/e2p/Kbuild GEN e2fsprogs/old_e2fsprogs/uuid/Kbuild GEN e2fsprogs/old_e2fsprogs/blkid/Kbuild GEN e2fsprogs/old_e2fsprogs/ext2fs/Kbuild GEN networking/Kbuild GEN networking/Config.in GEN networking/libiproute/Kbuild GEN networking/udhcp/Kbuild GEN networking/udhcp/Config.in GEN libbb/Kbuild GEN libbb/Config.in GEN findutils/Kbuild GEN findutils/Config.in GEN loginutils/Kbuild GEN loginutils/Config.in GEN debianutils/Kbuild GEN debianutils/Config.in GEN runit/Kbuild GEN runit/Config.in GEN scripts/Kbuild GEN init/Kbuild GEN init/Config.in GEN selinux/Kbuild GEN selinux/Config.in GEN shell/Kbuild GEN shell/Config.in GEN printutils/Kbuild GEN printutils/Config.in GEN mailutils/Kbuild GEN mailutils/Config.in GEN sysklogd/Kbuild GEN sysklogd/Config.in GEN editors/Kbuild GEN editors/Config.in GEN miscutils/Kbuild GEN miscutils/Config.in GEN modutils/Kbuild GEN modutils/Config.in GEN libpwdgrp/Kbuild GEN console-tools/Kbuild GEN console-tools/Config.in GEN coreutils/Kbuild GEN coreutils/Config.in GEN coreutils/libcoreutils/Kbuild GEN archival/Kbuild GEN archival/Config.in GEN archival/libarchive/Kbuild GEN applets/Kbuild GEN util-linux/Kbuild GEN util-linux/Config.in GEN util-linux/volume_id/Kbuild GEN procps/Kbuild GEN procps/Config.in HOSTCC scripts/kconfig/conf.o scripts/kconfig/conf.c: In function ‘conf_choice’: scripts/kconfig/conf.c:354:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result scripts/kconfig/conf.c: In function ‘conf_askvalue’: scripts/kconfig/conf.c:106:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result HOSTCC scripts/kconfig/kxgettext.o HOSTCC scripts/kconfig/mconf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/lex.zconf.c SHIPPED scripts/kconfig/zconf.hash.c scripts/kconfig/mconf.c: In function ‘show_textbox’: scripts/kconfig/mconf.c:839:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result scripts/kconfig/mconf.c: In function ‘exec_conf’: scripts/kconfig/mconf.c:473:6: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result HOSTCC scripts/kconfig/zconf.tab.o scripts/kconfig/zconf.tab.c: In function ‘expr_print_file_helper’: scripts/kconfig/expr.c:1083:8: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result scripts/kconfig/zconf.tab.c: In function ‘conf_write’: scripts/kconfig/confdata.c:492:13: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result scripts/kconfig/confdata.c:494:14: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result HOSTLD scripts/kconfig/conf scripts/kconfig/conf -o Config.in # # using defaults found in .config # * * Busybox Configuration * * * Busybox Settings * * * General Configuration * Enable options for full-blown desktop systems (DESKTOP) [N/y/?] n Provide compatible behavior for rare corner cases (bigger code) (EXTRA_COMPAT) [N/y/?] n Enable obsolete features removed before SUSv3 (INCLUDE_SUSv2) [N/y/?] n Avoid using GCC-specific code constructs (USE_PORTABLE_CODE) [N/y/?] n Enable Linux-specific applets and features (PLATFORM_LINUX) [Y/?] y Buffer allocation policy 1. Allocate with Malloc (FEATURE_BUFFERS_USE_MALLOC) 2. Allocate on the Stack (FEATURE_BUFFERS_GO_ON_STACK) 3. Allocate in the
Re: [gentoo-user] genkernel 3.3.8 fails to build initramfs
On Mon, Jul 2, 2012 at 10:22 PM, David Kuhl dhkuhl1...@gmail.com wrote: When running genkernel all on the latest source 3.3.8 I get the following error. You're not the only one. It looks (to me) like a bug in busybox when one attempts to compile it against =sys-kernel/gentoo-sources-3.3.8. I filed a bug report on it a couple hours ago: https://bugs.gentoo.org/show_bug.cgi?id=424579 -- :wq