Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153932 - sys-fs/cryptsetup-luks-1.0.4 fails in combination with only genkernel compiled kernels
Summary: sys-fs/cryptsetup-luks-1.0.4 fails in combination with only genkernel compile...
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-03 06:39 UTC by otg
Modified: 2006-11-04 10:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description otg 2006-11-03 06:39:31 UTC
Hi,
above program doesn't know how to cope with genkernel gernerated kernels and fails as follows:

gentoo ~ # emerge -Du world
>>> Emerging (1 of 121) sys-fs/cryptsetup-luks-1.0.4 to /
 * cryptsetup-luks-1.0.4.tar.bz2 MD5 ;-) ...                                                                                         <snip>
 * checking cryptsetup-luks-1.0.4.tar.bz2 ;-) ...                                                                                    [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Could not find a usable .config in the kernel source directory.
 * Please ensure that /usr/src/linux points to a configured set of Linux sources.
 * If you are using KBUILD_OUTPUT, please set the environment var so that
 * it points to the necessary object directory so that it might find .config.

!!! ERROR: sys-fs/cryptsetup-luks-1.0.4 failed.
Call stack:
  ebuild.sh, line 1584:   Called dyn_setup
  ebuild.sh, line 665:   Called pkg_setup
  cryptsetup-luks-1.0.4.ebuild, line 40:   Called linux-info_pkg_setup
  linux-info.eclass, line 554:   Called die

!!! Unable to calculate Linux Kernel version
!!! If you need support, post the topmost build error, and the call stack if relevant.

gentoo ~ # uname -a
Linux gentoo 2.6.18-gentoo #1 SMP Thu Sep 21 11:32:55 CEST 2006 i686 AMD Athlon(TM) XP 2100+ AuthenticAMD GNU/Linux
gentoo ~ # ls -al /usr/src/
total 60
drwxr-xr-x 15 root root 4096 Oct 16 15:20 .
drwxr-xr-x 15 root root 4096 Aug  7 18:56 ..
-rw-r--r--  1 root root    0 Feb 14  2006 .keep
lrwxrwxrwx  1 root root   22 Oct 16 15:20 linux -> linux-2.6.18-gentoo-r1
drwxr-xr-x 19 root root 4096 Mar 21  2006 linux-2.6.15-gentoo-r7
<snip>
drwxr-xr-x 20 root root 4096 Sep 21 12:11 linux-2.6.18-gentoo
drwxr-xr-x 19 root root 4096 Oct 16 15:20 linux-2.6.18-gentoo-r1

gentoo ~ # emerge --info
Portage 2.1.2_rc1-r3 (default-linux/x86/no-nptl, gcc-3.4.6, glibc-2.3.6-r5, 2.6.18-gentoo i686)
=================================================================
System uname: 2.6.18-gentoo i686 AMD Athlon(TM) XP 2100+
Gentoo Base System version 1.12.6
Last Sync: Fri, 03 Nov 2006 08:00:01 +0000
ccache version 2.4 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="de en ru"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X admin alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli cracklib crypt ctype cups dba dlloader dri eds elibc_glibc emboss encode esd ethereal exif expat fam fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal iconv idn imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux lcms libg++ libwww linguas_de linguas_en linguas_ru mad memlimit mikmod mmx mng motif mozilla mp3 mpeg mysql ncurses nls nsplugin ntpl ntplonly ogg opengl oss pam pcre pdf pdflib perl png posix postgres pppd python qt qt3 qt4 quicktime readline reflection samba sdl session simplexml slang soap sockets spell spl ssl symlink tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa vorbis x86 xml xml2 xorg xsl xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-03 07:24:04 UTC
Reopen with genkernel version. Also attach the .config if you have any.
Comment 2 otg 2006-11-04 10:48:05 UTC
Most probably a "self-made" mistake - I just ran genkernel and am about to update my system!

Sorry ... :-(