You are not logged in.
I'm trying to compile latest -ck kernel but after it gets built I get an error saying: there is not enough space to build package.
I remember that last time I was compiling the kernel, I've set-up so that /tmp is loaded in memory or something like that..
And now when I try to compile the kernel, even though I choose menuconfig I still don't get in ti, to turn it off or even check what it was.
My /tmp just have 1,3GB free space left, so that could be it, but I doubt it...
Last edited by Primoz (2010-06-03 11:46:33)
Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.
Offline
Copy paste the actual error message and surrounding test (eg, the output from makepkg) would be helpful.
EDIT: Spelling
Last edited by fukawi2 (2010-06-01 23:54:59)
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
Copy paste the actual error message and surrounding test (eg, the output from makepkg) would be helpful.
EDIT: Spelling
Yeah I tought so... Sorry for not including it in my OP, but I've just done it then and forgot to copy-paste and didn't want to do it again.
/bin/sh: line 0: echo: write error: No space left on device
make[1]: *** [crypto/lrw.ko] Error 1
make: *** [modules] Error 2
==> ERROR: Build Failed.
Aborting...
ERROR: makepkg exited with an error (512)
WARNING: expected package does not exist: /tmp/bauerbill/build/aur/kernel26-ck/kernel26-ck-2.6.34-1-x86_64.pkg.tar.xz
--> scanning /tmp/bauerbill/build/aur/kernel26-ck for matching packages...
ERROR: no package found: /tmp/bauerbill/build/aur/kernel26-ck/kernel26-ck-2.6.34-1-x86_64.pkg.tar.xz
:: Abort? [Y/n]
aborting...
That's what happens, but I think it is problem with root, as when this happens there's only 9,7MB free space left.
I guess I have either remove unneeded packages or make root bigger...
Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.
Offline
Quite possibly... What is the output of `df -h`?
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
/dev/sda3 9,7G 9,1G 39M 100% /
none 1005M 208K 1004M 1% /dev
shm 1005M 0 1005M 0% /dev/shm
/dev/sda4 283G 249G 20G 93% /home
/dev/sda1 38M 12M 25M 33% /boot
Also I did a bit of "research" and most of space on root partition is used by /usr and /var both of them are at 3,9GB (which means thet together they are almost 8GB; out of 10GB that I gave to root partition).
I think I gave too little to my root, or is my root filled up with things that are "trash" and just needs to be cleaned?
Last edited by Primoz (2010-06-02 12:19:09)
Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.
Offline
There are a few other threads currently running that talk about freeing disk space...
http://bbs.archlinux.org/viewtopic.php?id=98066
http://bbs.archlinux.org/viewtopic.php?id=9104 (safer alternative to "pacman -Sc")
Offline
You also don't have a separate /tmp partition (which is where you're building) so yes, the lack of space on root will be causing your problems.
Free up some space (perhaps `pacman -Sc` as a start) then you should be fine.
Are you familiar with our Forum Rules, and How To Ask Questions The Smart Way?
BlueHackers // fscanary // resticctl
Offline
When I compile a kernel like that I find it easier to use slurpy to download the PKGBUILD (and anything else needed) to my home directory and build from there. I only have 1GB /tmp partition.
Offline
I did pacman -Sc and now I have 3GB of free space, I think that should be enough.
If not there are aditional options that were presented in this thread that I can use.
And if that still won't be enough I'll resize my root to 15GB which should be more than enough.
Arch x86_64 ATI AMD APU KDE frameworks 5
---------------------------------
Whatever I do, I always end up with something horribly mis-configured.
Offline