Hi, For quite a year don't use genkernel any more due to errors while using it, certainly my faults, but as it was easier to do a manual compile, just tried genkernel from time to time. So much as prehistory. Using ~x86 & hardened. The first error was something about "can't unpack dietlibs", fixed by copying dietlibs from /var/portage/distfiles to /usr/share/genkernel/pkg dir - from ML-archive. File sizes was different, same version. Haven't done a diff, sorry. Later (today) tried genkernel again, this time got an udev-error,see logs below. ... if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.6.11-grsec; fi * Copying config for successful build to /etc/kernels/kernel-config-x86-2.6.11-grsec * Gentoo Linux Genkernel; Version 3.1.1b[0m * ERROR: Could not extract udev tarball * -- Grepping log... -- * -- End log... -- * Please consult /var/log/genkernel.log for more information and any * errors that were reported above. * Report any genkernel bugs to bugs.gentoo.org and * assign your bug to genkernel@gentoo.org. Please include * 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! * ... PS: kernel and modules compile OK, manually and with genkernel. Tried same solution ;) with udev, copied udev-054... as udev-039... and run: genkernel --install --udev initrd, to make only initrd. Quite same error again, logs: ... genkernel --install --udev initrd * Gentoo Linux Genkernel; Version 3.1.1b * Compiling Linux Kernel 2.6.11-grsec for x86... tar: Bad Option: -jxpf. Usage: tar cmd [options] file1 ... filen Use tar -help and tar -xhelp to get a list of valid cmds and options. Use tar H=help to get a list of valid archive header formats. Use tar diffopts=help to get a list of valid diff options. * ERROR: Could not extract udev tarball * -- Grepping log... -- * Gentoo Linux Genkernel; Version 3.1.1b * Compiling Linux Kernel 2.6.11-grsec for x86... * Gentoo Linux Genkernel; Version 3.1.1b * ERROR: Could not extract udev tarball * -- End log... -- * Please consult /var/log/genkernel.log for more information and any * errors that were reported above. * Report any genkernel bugs to bugs.gentoo.org and * assign your bug to genkernel@gentoo.org. Please include * 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! * PS: this is from root console, below is from second genkernel.log --- * Gentoo Linux Genkernel; Version 3.1.1b[0m * Compiling Linux Kernel 2.6.11-grsec[0m for x86[0m... * Gentoo Linux Genkernel; Version 3.1.1b[0m * ERROR: Could not extract udev tarball * -- Grepping log... -- * -- End log... -- * Please consult /var/log/genkernel.log for more information and any * errors that were reported above. * Report any genkernel bugs to bugs.gentoo.org and * assign your bug to genkernel@gentoo.org. Please include * 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! * --- ... Seems to be a problem with tar options/fs-permissions, will report anything new. PS: couldn't find where to assign this bug to genkernel, sorry Thanks Rumen Reproducible: Always Steps to Reproduce: 1. 2. 3. Gentoo Base System version 1.6.9 Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.11-grsec i686) ================================================================= System uname: 2.6.11-grsec i686 AMD Athlon(tm) XP 2200+ Python: dev-lang/python-2.4-r2,dev-lang/python-2.3.4-r1 [2.4 (#2, Feb 8 2005, 19:45:38)] ccache version 2.3 [enabled] dev-lang/python: 2.4-r2, 2.3.4-r1 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r4 sys-devel/libtool: 1.5.10-r5 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=i686 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=i686 -O2 -pipe -fomit-frame-pointer" DISTDIR="/var/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks gpg sandbox sfperms" GENTOO_MIRRORS="http://gentoo.itdnet.net/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ http://gentoo.oregonstate.edu http://mirror.datapipe.net/gentoo" LANG="bg_BG.UTF-8" LC_ALL="C" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/var/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/var/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X X509 aalib acl acpi alsa apache2 avi bash-completion berkdb bitmap-fonts caps cdr chroot clamav crypt cups curl directfb dvd dvdr emboss encode esd evo f77 ffmpeg flac font-server foomaticdb fortran freetype gd gdbm gif gphoto2 gpm gstreamer gtk gtk2 guile hardened hardenedphp imagemagick imap imlib ipv6 java javascript jpeg junit ldap libg++ libwww mad maildir matroska mikmod mmx motif mozilla mpeg mpeg4 mysql ncurses nls nptl nvidia oggvorbis opengl oss pam pdflib perl pic pie png postgres ppds prelude python qt quicktime readline samba sdl skey slang snmp speex spell sse ssl svg svga symlink tcltk tcpd tetex theora threads tiff transcode truetype truetype-fonts type1-fonts unicode usb xml xml2 xmms xv xvid zlib linguas_bg linguas_en" Unset: ASFLAGS, CBUILD, CTARGET
this happens when using star it doesn't like the "-" in -jxpf just jxpf works ok though
Hi, Now tried 'genkernel' in a non-hardened system, all is sane again. Most likely (90% IMO) the culpit was 'star' and it's options to unpack. As now i don't have any problems will close this bug. Thanks. Rumen