You are not logged in.
kernel builds only if you have aufs-20120109.tar.bz2 in your $src ($SRC) dir, e.g. if you have previously built aufs.
error:
[c]root@sltvaio:/home/slitaz# cook linux
Cook: linux 3.2.14
====================================================================================================================================================================================================================
QA: checking package receipt...
Checking build dependencies...
Installing dep (web/cache): uclibc-cross-compiler-x86_64
Extracting: linux-3.2.tar.xz
Executing: compile_rules
CFLAGS : -march=i486 -Os -pipe -fomit-frame-pointer
Checking for Aufs packages...
Setup aufs chroot...
Getting source for: aufs
====================================================================================================================================================================================================================
Getting source from Git...
URL: git://aufs.git.sourceforge.net/gitroot/aufs/aufs3-standalone.git
Cloning into 'aufs3-standalone'...
Git branch: origin/aufs3.2
fatal: Not a git repository (or any of the parent directories): .git
Creating tarball: .tar.bz2
tar: empty archive
Leaving aufs chroot...[/c]
following rows are:
[c]mkdir -p $WOK/aufs/source/
tar xjf $SRC/aufs-${_AUFSVER}.tar.bz2 -C $WOK/aufs/source/[/c]
so if aufs-20120109.tar.bz2 is already there it works, but it fails in a brand new wok (like mine :-) )
could this arise circular dependencies problem?
i'm too tired to try to debug it, and probably not smart enough, but i would like to know how you handle it.
Offline
the problem seems to be related to the cook getsrc function - case git
there are two problems:
1) getsrc does not chek BUILD_DEPENDS and does not install git, which is missing in a clean chroot, so it should install-remove git or git should be included in chroot env
2) it uses un undefined $pkgsrc variable, calling set_paths in the start of the getsrc function solve the problem.
i don't know if i can push these changes and i can't try now, i will try tonight.
if someone know that i can't and want to push i don't get angry :-)
Offline
1) Whatever tool is needed to cook --getsrc from SCM (git,svn,cvs) or https(wget) must be a BUILD_DEPENDS in it's receipt
git is a BUILD_DEPENDS of linux
root@slitaz:/home/slitaz/wok# grep git ../log/linux.log
Installing dep (web/cache): git
--2013-01-21 10:27:11-- http://mirror.slitaz.org/packages/cooking/git-1.7.12.3.tazpkg
Saving to: 'git-1.7.12.3.tazpkg'
2013-01-21 10:27:13 (819 KB/s) - 'git-1.7.12.3.tazpkg' saved [1511048/1511048]
URL: git://aufs.git.sourceforge.net/gitroot/aufs/aufs3-standalone.git
fatal: Not a git repository (or any of the parent directories): .git
Removing: curl expat git libcurl uclibc-cross-compiler-x86_64 xz
User may have to run [c]tazpkg recharge[/c] on a fresh chroot ?
Problem in a nutshell:
[c]cook aufs --getsrc[/c] which linux receipt uses,fails.
Cloning into 'aufs3-standalone'...<= fails on cook linux
[c]cook aufs[/c]
Cloning into 'aufs-20120109'... <= succeeds on cook aufs
Reference to pkgsrc:
http://hg.slitaz.org/cookutils/file/ec09ac8df52b/cook
Line 127 => pkgsrc="${SOURCE:-$PACKAGE}-${KBASEVER:-$VERSION}"
Please put a .hgrc file in the /home/~ so pushed commits have your real name and a gmail address you monitor.
http://www.slitaz.org/en/devel/forge.php => Mercurial repositories
I need to know where to find you when you screw up 
Offline
the reference is ok, but it's inside a function, so the get_source function does not know about $pkgsrc when
cd $pkgsrc && git checkout $BRANCH && cd ..
i pushed only the set_paths call , are you already searching me? :-)
you can find me here: monghitri at aruba.it
hope you don't need it for the reason you mention :-)
Offline
http://cook.slitaz.org/cooker.cgi?pkg=linux
you can find the error here too, look for tar:empty archive
patches got applied because there is already a aufs-20120109.tar.bz2 in $SRC, it probably comes from aufs cooking
being git a dep of linux the little push i've done should make linux build ok (is originial error a typo?) on cook server, now someone should modify get-source function to install and remove git (and dependencies not already installed), or put git in chroot env.
this is a decision that i cannot take, but i think that not to call set_paths was a bug so i fixed it, hope i have not offended anyone
Offline
[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]