From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-catalyst+bounces-3004-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 556B7138247
	for <garchives@archives.gentoo.org>; Tue, 31 Dec 2013 23:54:33 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id D801AE0A8F;
	Tue, 31 Dec 2013 23:54:30 +0000 (UTC)
Received: from mail-ve0-f178.google.com (mail-ve0-f178.google.com [209.85.128.178])
	(using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 53307E0A8F
	for <gentoo-catalyst@lists.gentoo.org>; Tue, 31 Dec 2013 23:54:30 +0000 (UTC)
Received: by mail-ve0-f178.google.com with SMTP id c14so6643172vea.23
        for <gentoo-catalyst@lists.gentoo.org>; Tue, 31 Dec 2013 15:54:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:date:message-id:subject:from:to:content-type;
        bh=nvCJ0sL/foNBRzFySw4ozjwTNV5GxXF3ERVSpfA0uqY=;
        b=cw8IKlJJGGS24JShZd41CGWzT6Wh/wUJJ3pYeNzlao+Y1rO/rBTaDdesQF3RtYaLue
         lyBP/B2ZQ1KQNc0L4t+1BDHILShskBzm2V8qeWGYkhHFJEd3OxfcrkBd57oCv3CyDx3l
         QkEk3M8Lfk+bTFyyyW2fkeHN+9vjX+DlebVJ5cUj6ZIBKeuy7Ek5PwBhpCUa3Uj8xwYO
         sV1zYvv2aoK8EUfqInHIlNoL2q/dg9eyYHZf6lhWnd1u8emBWvYXJ0BbDk5kbNMVD3Fl
         VFfurSOPsNueA4/43lXftr3MIofNZU0n1PqXzh89fUpsQG+htXRlcpNKBwQ4PKJ5jF9R
         /elg==
Precedence: bulk
List-Post: <mailto:gentoo-catalyst@lists.gentoo.org>
List-Help: <mailto:gentoo-catalyst+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-catalyst+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-catalyst+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-catalyst.gentoo.org>
X-BeenThere: gentoo-catalyst@lists.gentoo.org
Reply-to: gentoo-catalyst@lists.gentoo.org
MIME-Version: 1.0
X-Received: by 10.52.232.135 with SMTP id to7mr1758148vdc.58.1388534069472;
 Tue, 31 Dec 2013 15:54:29 -0800 (PST)
Received: by 10.58.133.5 with HTTP; Tue, 31 Dec 2013 15:54:29 -0800 (PST)
Date: Tue, 31 Dec 2013 17:54:29 -0600
Message-ID: <CACU8XWmR3n+7-Pfguy4mQdXqSW0hmht_S59ocyEQdBxSFiYUPw@mail.gmail.com>
Subject: [gentoo-catalyst] kernel sources not found ? catalyst 2.0.15
From: lin pro <linforpros@gmail.com>
To: gentoo-catalyst@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
X-Archives-Salt: ffe66f69-8a6f-4029-a906-374d82da425d
X-Archives-Hash: 2f93980ab8210a86d5d0bf09936751bd

Hi,
Catalyst spits out a message that genkernel could not find /usr/src/linux.
The spec is set to rt-sources
boot/kernel/gentoo/sources: rt-sources

Why then those sources have not been downloaded and found?

Here is the final error

-- --- Running action sequence: build_kernel
Copying pre-kmerge.sh to ./tmp
copying pre-kmerge.sh to
/var/tmp/catalyst/tmp/default/stage4-core2-2013.12/./tmp
copying chroot-functions.sh to
/var/tmp/catalyst/tmp/default/stage4-core2-2013.12/./tmp
Ensure the file has the executable bit set
Running pre-kmerge.sh in chroot
/var/tmp/catalyst/tmp/default/stage4-core2-2013.12/
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
>>> Regenerating /etc/ld.so.cache...
emerge --quiet --usepkg --buildpkg --newuse --oneshot genkernel
>>> Emerging binary (1 of 2) app-arch/cpio-2.11
>>> Installing (1 of 2) app-arch/cpio-2.11
>>> Emerging binary (2 of 2) sys-kernel/genkernel-3.4.45.1
>>> Installing (2 of 2) sys-kernel/genkernel-3.4.45.1

 * Messages for package sys-kernel/genkernel-3.4.45.1:

 * Documentation is available in the genkernel manual page
 * as well as the following URL:
 * http://www.gentoo.org/doc/en/genkernel.xml
 * This package is known to not work with reiser4.  If you are running
 * reiser4 and have a problem, do not file a bug.  We know it does not
 * work and we don't plan on fixing it since reiser4 is the one that is
 * broken in this regard.  Try using a sane filesystem like ext3 or
 * even reiser3.
 * The LUKS support has changed from versions prior to 3.4.4.  Now,
 * you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah.
 * Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523).
 * Please set flag 'cryptsetup' for this very package if you would like
 * to have genkernel create an initramfs with LUKS support.
 * Sorry for the inconvenience.
removing /var/tmp/catalyst/tmp/default/stage4-core2-2013.12/./tmp/pre-kmerge.sh
from the chroot
removing /var/tmp/catalyst/tmp/default/stage4-core2-2013.12/./tmp/chroot-functions.sh
from the chroot
Copying kmerge.sh to ./tmp
copying kmerge.sh to /var/tmp/catalyst/tmp/default/stage4-core2-2013.12/./tmp
copying chroot-functions.sh to
/var/tmp/catalyst/tmp/default/stage4-core2-2013.12/./tmp
Ensure the file has the executable bit set
Running kmerge.sh in chroot /var/tmp/catalyst/tmp/default/stage4-core2-2013.12/
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
>>> Regenerating /etc/ld.so.cache...
Genkernel version 3.4.45.1 found ... continuing
emerge --quiet --update --newuse rt-sources
* Gentoo Linux Genkernel; Version 3.4.45.1
* Running with options: --callback=emerge -qN -kb
x11-drivers/xf86-input-evdev x11-drivers/xf86-input-synaptics
x11-drivers/xf86-video-ati app-emulation/qemu
--cachedir=/tmp/kerncache/gentoo-genkernel_cache-2013.12
--no-mountboot --kerneldir=/usr/src/linux
--modulespackage=/tmp/kerncache/gentoo-modules-2013.12.tar.bz2
--minkernpackage=/tmp/kerncache/gentoo-kernel-initrd-2013.12.tar.bz2
all --kerncache=/tmp/kerncache/gentoo-kerncache-2013.12.tar.bz2

* Using genkernel.conf from /etc/genkernel.conf
* Sourcing arch-specific config.sh from
/usr/share/genkernel/arch/x86_64/config.sh ..
* Sourcing arch-specific modules_load from
/usr/share/genkernel/arch/x86_64/modules_load ..

* ERROR: kernel source directory "/usr/src/linux" was not found!
*
* -- Grepping log... --
*
* Running with options: --callback=emerge -qN -kb
x11-drivers/xf86-input-evdev x11-drivers/xf86-input-synaptics
x11-drivers/xf86-video-ati app-emulation/qemu
--cachedir=/tmp/kerncache/gentoo-genkernel_cache-2013.12
--no-mountboot --kerneldir=/usr/src/linux
--modulespackage=/tmp/kerncache/gentoo-modules-2013.12.tar.bz2
--minkernpackage=/tmp/kerncache/gentoo-kernel-initrd-2013.12.tar.bz2
all --kerncache=/tmp/kerncache/gentoo-kerncache-2013.12.tar.bz2
* Using genkernel.conf from /etc/genkernel.conf
* Sourcing arch-specific config.sh from
/usr/share/genkernel/arch/x86_64/config.sh ..
* Sourcing arch-specific modules_load from
/usr/share/genkernel/arch/x86_64/modules_load ..
*
* ERROR: kernel source directory "/usr/src/linux" was not found!
*
* -- 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!
*

!!! catalyst: Runscript kernel build failed


Traceback (most recent call last):
  File "modules/generic_stage_target.py", line 1419, in build_kernel
    self._build_kernel(kname=kname)
  File "modules/generic_stage_target.py", line 1463, in _build_kernel
    "Runscript kernel build failed",env=self.env)
  File "/usr/lib64/catalyst/modules/catalyst_support.py", line 539, in cmd
    raise CatalystError,myexc
CatalystError
None

!!! catalyst: build aborting due to kernel build error.

Traceback (most recent call last):
File "/usr/lib64/catalyst/catalyst", line 218, in build_target
    mytarget.run()
File "modules/generic_stage_target.py", line 1295, in run
    apply(getattr(self,x))
File "modules/generic_stage_target.py", line 1424, in build_kernel
    "build aborting due to kernel build error."
CatalystError
!!! catalyst: Error encountered during run of target stage4
Catalyst aborting....
lockfile does not exist
'/var/tmp/catalyst/tmp/default/stage4-core2-2013.12/.catalyst_lock'

best regards
linforpros