ERROR: app-emulation/pearpc-0.4 failed. 001538 * Call stack: 001539 * ebuild.sh, line 46: Called pkg_setup 001540 * pearpc-0.4.ebuild, line 37: Called linux_chkconfig_present 'pkg_setup' 001541 * linux-info.eclass, line 151: Called require_configured_kernel 001542 * linux-info.eclass, line 145: Called die 001543 * The specific snippet of code: 001544 * die "Kernel not configured; no .config found in ${KV_OUT_DIR}" 001545 * The die message: 001546 * Kernel not configured; no .config found in 001547 * Reproducible: Always Steps to Reproduce: 1.emerge pearpc 2. 3. Actual Results: ERROR: app-emulation/pearpc-0.4 failed. 001538 * Call stack: 001539 * ebuild.sh, line 46: Called pkg_setup 001540 * pearpc-0.4.ebuild, line 37: Called linux_chkconfig_present 'pkg_setup' 001541 * linux-info.eclass, line 151: Called require_configured_kernel 001542 * linux-info.eclass, line 145: Called die 001543 * The specific snippet of code: 001544 * die "Kernel not configured; no .config found in ${KV_OUT_DIR}" 001545 * The die message: 001546 * Kernel not configured; no .config found in 001547 * Expected Results: pearpc emerged the kernel is indeed configured (its the one I've installed and currently typing this on.
emerge --info is missing; also are you using KBUILD_OUTPUT or something?
Portage 2.1.4.1 (default-linux/x86/2007.0/desktop, gcc-3.4.6, glibc-2.7-r0, 2.6.23-gentoo-r5 i686) ================================================================= System uname: 2.6.23-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz Timestamp of tree: Sun, 10 Feb 2008 20:16:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.3 dev-lang/python: 2.5.1-r5 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 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.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r2 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=i686 -O2 -pipe -mno-tls-direct-seg-refs -Wno-error" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=i686 -O2 -pipe -mno-tls-direct-seg-refs -Wno-error" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="af ar be bg ca cs da de el en_US en_GB es es_AR es_ES eu fi fr fy fy_NL ga ga_IE gu gu_IN he hu it ja ka ko ku lt mk mn nb nb_NO nl nn nn_NO pa pa_IN pl pt pt_BR pt_PT ro ru sk sl sv sv_SE tr uk zh zh_CN zh_TW" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://software.architxt.local/gentoo-portage" USE="3dfx 3dnow X aac accessibility acl acpi adplug alsa ao audiofile automount avahi berkdb big-tables bitmap-fonts bonjour branding bzip2 cairo caps cdr cdrom chardet cjk clamav cli cluster console cpudetection cpufreq cpulimit cracklib crypt cups dbus device-mapper dga dri dvd dvdr dvdread eds emboss encode evo expat extraengine fam fbcon fbsplash ffmpeg fftw firebird firefox flac fortran freetds fuse gadu gcj gdbm ggi gif gnome gnutls gpm groupwise gstreamer gtk guile hal hddtemp hfs howl howl-compat icecast image imagemagick ipv6 isdnlog jack java java5 javascript jbig jce jpeg jpeg2k kerberos kqemu krb4 ladspa lcms ldap libburn libdsk libnotify libsamplerate lirc lm_sensors lua mad mdb mdnsresponder-compat meanwhile midi mikmod mixer mjpeg mmap mmx modplug mp3 mpeg msn mudflap musepack mysql mysqli nat ncurses netjack nls nptl nptlonly ntfs oav objc objc++ ocaml oci8 odbc ogg openal openexr opengl openmp overlays pam pam_chroot pam_nuauth pam_timestamp pcre pdf perl physfs pike plugins png portaudio postgres pppd pulseaudio python qq qt3support quicktime quotas reflection rrdcgi rrdtool rtsp ruby samba sasl sdl sdl-image sdl-sound sdlaudio sensord session sge sid silc skey slp sndfile speex spell spl sql sqlite sqlite3 srp sse sse2 ssl startup-notification svg svga swat syslog tcl tcpd tga themes theora threads tiff timidity tk truetype truetype-fonts tta type1-fonts unicode voodoo3 vorbis vorbis-psy wavpack win32codecs winbind wma x86 xbase xfs xinerama xml xorg xscreensaver xv zlib" ALSA_CARDS="ad1816a ad1848 ad1889 adlib ali5451 als100 als300 als4000 asihpi atiixp atiixp-modem au8810 au8820 au8830 azt2320 azt3328 bt87x ca0106 cmi8330 cmipci cs4231 cs4231 cs4232 cs4236 cs4281 cs46xx cs5535audio darla20 darla24 dt019x dummy echo3g emu10k1 emu10k1x ens1370 ens1371 es1688 es18xx es1938 es1968 es968 fm801 gina20 gina24 gusclassic gusextreme gusmax hda-intel hdsp hdspm ice1712 ice1724 indigo indigodj indigoio intel8x0 intel8x0m interwave interwave-stb korg1212 layla20 layla24 loopback maestro3 mia miro mixart mona mpu401 msnd-pinnacle mtpav mts64 nm256 opl3sa2 opti92x-ad1848 opti92x-cs4231 opti93x pcxhr pdplus portman2x4 riptide rme32 rme96 rme9652 sb16 sb8 sbawe seq-dummy serial u16550 sgalaxy soc sonicvibes sscape trident usb-audio usb-usx2y via82xx via82xx-modem virmidi vx222 wavefront ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share softvol shm" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="af ar be bg ca cs da de el en_US en_GB es es_AR es_ES eu fi fr fy fy_NL ga ga_IE gu gu_IN he hu it ja ka ko ku lt mk mn nb nb_NO nl nn nn_NO pa pa_IN pl pt pt_BR pt_PT ro ru sk sl sv sv_SE tr uk zh zh_CN zh_TW" LIRC_DEVICES="all" USERLAND="GNU" VIDEO_CARDS="i810 i915 mach64 radeon mga nv r128 savage s3virge sis tdfx trident via" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
> also are you using KBUILD_OUTPUT Answer please? :)
um, no: what does KBUILD_OUTPUT mean anyhow? Is it a kernel build var? what? Please advise and I'll see what I can do and stop bugging you.
Attach the complete emerge log here, and post `readlink /usr/src/linux` output as well.
Created attachment 143400 [details] die.env file after build failure
readlink /usr/src/linux yields: linux-2.6.23-gentoo-r6
Created attachment 143402 [details] build.log
Created attachment 143403 [details] eclass.debug
(In reply to comment #0) > the kernel is indeed configured (its the one I've installed and currently > typing this on. (In reply to comment #7) > readlink /usr/src/linux yields: > linux-2.6.23-gentoo-r6 So, once again... Is the 2.6.23-gentoo-r6 kernel *really* configured? You are running 2.6.23-gentoo-r5. Also, attach the *complete* emerge log as requested, the build.log sucks. emerge =app-emulation/pearpc-0.4 &> log
Created attachment 143565 [details] yes - it is indeed configured sorry for the mixed info, I was upgrading the kernel in midstep with this issue. The thing I find odd is that I use all kinds of emulators that regularly find and build with this exact same file. In fact, I have to rebuild them (drawing off of this config and the last kernel's) in order to ensure proper function. This ebuild, however, seems incapable of finding a file that clearly exists and is utterly configured.
Attached config file. yes the kernel is configured.
as far as the log goes... is there a super secret file I don't know of? All the info you have is all the info I am aware of. what I get on the screen comes from what is called a build log. Is there another file that I'm unaware of? I do want to be cooperative and I would really like to discover the cause of this, its just that I'm not familiar enough I guess with the plumbing of the ebuild system.
(In reply to comment #13) Follow up, sorry for the delay. Here is the dump of the "emerge =app-emulation/pearpc-0.4 &> log" as requested: Calculating dependencies ... done! >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) app-emulation/pearpc-0.4 to / * pearpc-0.4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * createdisk.py RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking pearpc-0.4.tar.bz2 ;-) ... [ ok ] * checking createdisk.py ;-) ... [ ok ] * 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: app-emulation/pearpc-0.4 failed. * Call stack: * ebuild.sh, line 49: Called pkg_setup * pearpc-0.4.ebuild, line 37: Called linux_chkconfig_present 'pkg_setup' * linux-info.eclass, line 151: Called require_configured_kernel * linux-info.eclass, line 145: Called die * The specific snippet of code: * die "Kernel not configured; no .config found in ${KV_OUT_DIR}" * The die message: * Kernel not configured; no .config found in * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-emulation/pearpc-0.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/pearpc-0.4/temp/die.env'. * * Messages for package app-emulation/pearpc-0.4: * 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: app-emulation/pearpc-0.4 failed. * Call stack: * ebuild.sh, line 49: Called pkg_setup * pearpc-0.4.ebuild, line 37: Called linux_chkconfig_present 'pkg_setup' * linux-info.eclass, line 151: Called require_configured_kernel * linux-info.eclass, line 145: Called die * The specific snippet of code: * die "Kernel not configured; no .config found in ${KV_OUT_DIR}" * The die message: * Kernel not configured; no .config found in * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-emulation/pearpc-0.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/pearpc-0.4/temp/die.env'. * BTW: I built pearpc-0.4 from source without any problems at all. If you have a url to a 'how to set KBUILD_OUTPUT', etc I'd really like to see if that helps. Uncle Google yields a lot of little clues -- but a real how-to I think is needed. So far as I know: eselect is pointing to the right dir, has a symlink to it, vmware, vbox, sheepshaver, all need to go through a similar kernel config check and all build fine. TUN is set to Y, etc. I saw one link that said sometimes KBUILD_OUTPUT mechanisms look for headers in src tree when they exist in more standard locations. Hope that helps. G.
(In reply to comment #10) Got a fix for you: I altered the query in the ebulid from: "TUN" to "CONFIG_TUN" and it worked quite well. you may want to update your ebuild script. Thanks.
Oh, already fixed in another bug. Thanks for reporting! *** This bug has been marked as a duplicate of bug 219004 ***