Summary: | sys-kernel/genkernel-3.4.24_p1 fails to compile busybox 1.19.3 (=default) | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Oleg Gawriloff <barzog> |
Component: | genkernel | Assignee: | Gentoo Genkernel Maintainers <genkernel> |
Status: | RESOLVED OBSOLETE | ||
Severity: | major | CC: | bkohler, gentoo-bugzilla, mikemol, tobias.pal |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 425360 | ||
Bug Blocks: | 415483 | ||
Attachments: | Patch to place in /usr/share/genkernel/paches/busybox/1.19.3 |
Description
Oleg Gawriloff
2012-05-23 12:29:32 UTC
On one of my systems this problem occurs even with 3.4.20. Can't guess what wrong. Here's my genkernel.conf: OLDCONFIG="yes" MENUCONFIG="no" CLEAN="yes" MRPROPER="yes" MOUNTBOOT="yes" SYMLINK="yes" SAVE_CONFIG="yes" USECOLOR="yes" CLEAR_CACHE_DIR="yes" POSTCLEAR="1" MDADM="yes" DISKLABEL="yes" BOOTLOADER="grub" GK_SHARE="${GK_SHARE:-/usr/share/genkernel}" CACHE_DIR="/var/cache/genkernel" DISTDIR="${CACHE_DIR}/src" LOGFILE="/var/log/genkernel.log" LOGLEVEL=1 DEFAULT_KERNEL_SOURCE="/usr/src/linux" BUSYBOX_VER="1.18.1" BUSYBOX_SRCTAR="${DISTDIR}/busybox-${BUSYBOX_VER}.tar.bz2" BUSYBOX_DIR="busybox-${BUSYBOX_VER}" BUSYBOX_BINCACHE="%%CACHE%%/busybox-${BUSYBOX_VER}-%%ARCH%%.tar.bz2" DEVICE_MAPPER_VER="1.02.22" DEVICE_MAPPER_DIR="device-mapper.${DEVICE_MAPPER_VER}" DEVICE_MAPPER_SRCTAR="${DISTDIR}/device-mapper.${DEVICE_MAPPER_VER}.tgz" DEVICE_MAPPER_BINCACHE="%%CACHE%%/device-mapper-${DEVICE_MAPPER_VER}-%%ARCH%%.tar.bz2" LVM_VER="2.02.74" LVM_DIR="LVM2.${LVM_VER}" LVM_SRCTAR="${DISTDIR}/LVM2.${LVM_VER}.tgz" LVM_BINCACHE="%%CACHE%%/LVM2.${LVM_VER}-%%ARCH%%.tar.bz2" MDADM_VER="3.1.4" MDADM_DIR="mdadm-${MDADM_VER}" MDADM_SRCTAR="${DISTDIR}/mdadm-${MDADM_VER}.tar.bz2" MDADM_BINCACHE="%%CACHE%%/mdadm-${MDADM_VER}-%%ARCH%%.tar.bz2" DMRAID_VER="1.0.0.rc14" DMRAID_DIR="dmraid/${DMRAID_VER}" DMRAID_SRCTAR="${DISTDIR}/dmraid-${DMRAID_VER}.tar.bz2" DMRAID_BINCACHE="%%CACHE%%/dmraid-${DMRAID_VER}-%%ARCH%%.tar.bz2" ISCSI_VER="2.0-872" ISCSI_DIR="open-iscsi-${ISCSI_VER}" ISCSI_SRCTAR="${DISTDIR}/open-iscsi-${ISCSI_VER}.tar.gz" ISCSI_BINCACHE="%%CACHE%%/iscsi-${ISCSI_VER}-%%ARCH%%.bz2" E2FSPROGS_VER="1.41.14" E2FSPROGS_DIR="e2fsprogs-${E2FSPROGS_VER}" E2FSPROGS_SRCTAR="${DISTDIR}/e2fsprogs-${E2FSPROGS_VER}.tar.gz" BLKID_BINCACHE="%%CACHE%%/blkid-${E2FSPROGS_VER}-%%ARCH%%.bz2" FUSE_VER="2.7.4" FUSE_DIR="fuse-${FUSE_VER}" FUSE_SRCTAR="${DISTDIR}/fuse-${FUSE_VER}.tar.gz" FUSE_BINCACHE="%%CACHE%%/fuse-${FUSE_VER}-%%ARCH%%.tar.bz2" UNIONFS_FUSE_VER="0.22" UNIONFS_FUSE_DIR="unionfs-fuse-${UNIONFS_FUSE_VER}" UNIONFS_FUSE_SRCTAR="${DISTDIR}/unionfs-fuse-${UNIONFS_FUSE_VER}.tar.bz2" UNIONFS_FUSE_BINCACHE="%%CACHE%%/unionfs-fuse-${UNIONFS_FUSE_VER}-%%ARCH%%.bz2" GPG_VER="1.4.11" GPG_DIR="gnupg-${GPG_VER}" GPG_SRCTAR="${DISTDIR}/gnupg-${GPG_VER}.tar.bz2" GPG_BINCACHE="%%CACHE%%/gnupg-${GPG_VER}-%%ARCH%%.bz2" It seems that mine problem not with genkernel but with included busybox and it was fixed here: http://www.mail-archive.com/busybox@busybox.net/msg16601.html Created attachment 312941 [details, diff] Patch to place in /usr/share/genkernel/paches/busybox/1.19.3 With following patches (maked from http://www.mail-archive.com/busybox@busybox.net/msg16601.html and bb_e2fs_defs.h file from busybox 1.20.0) placed to /usr/share/genkernel/paches/busybox/1.19.3 genkernel initramfs compiles well I expect the same problem for genkernel 3.4.33.1. Oleg, could you try and report for genkernel 3.4.33.1, too? (In reply to comment #3) > Created attachment 312941 [details, diff] > Patch to place in /usr/share/genkernel/paches/busybox/1.19.3 > > With following patches (maked from > http://www.mail-archive.com/busybox@busybox.net/msg16601.html and > bb_e2fs_defs.h file from busybox 1.20.0) placed to > /usr/share/genkernel/paches/busybox/1.19.3 genkernel initramfs compiles well For me, this patch fixes the identical bug with genkernel-3.4.33.1. I applied the patch exactly as directed in comment #3, and then it WFM. Specifics: x86, genkernel-3.4.33.1, kernels: gentoo-sources-3.2.12, tuxonice-sources-3.0.17-r1 and tuxonice-sources-3.0.29. HTH. Clemmitt I've also encountered similar problem with busybox itself on one of my i386 system s (not bundled with genkernel). same crash here, works fine with the patch. As this is actually relevant on completely stable system raising the importance. Also note that you can just bump the busybox version to 1.20.1 in /etc/genkernel.conf and be done with it. (In reply to comment #8) > Also note that you can just bump the busybox version to 1.20.1 in > /etc/genkernel.conf and be done with it. I'll make a release 3.4.24_p2 using busybox 1.20.1 then. *** Bug 424579 has been marked as a duplicate of this bug. *** I believe this is long-obsolete, if that's not the case, please reopen with new details. Thanks |