You are not logged in.
Pages: 1
Specially when i attempt to compile something quite large from aur.
After a while compiling, i get the error that actually, /tmp is full and cannot go any further in the compiling process....
Since i have this in my /etc/fstab file:
tmpfs /tmp tmpfs nodev,nosuid 0 0
I guess /tmp is as big as my ram amount... (which is 4 gb)
Which might be the solution for this?
Offline
/etc/makepkg.conf:
#-- Specify a directory for package building.
#BUILDDIR=/tmp/makepkg
If you're using yaourt, you can tell it to build somewhere else, use --tmp commandline switch or edit /etc/yaourtrc, uncomment and change
#TMPDIR="/tmp"
to somewhere else.
Offline
/tmp should be as big as half of your RAM amount. You can increase this if you want (see here for details), or you can build the large package on your hard disk instead. I assume you're using an aur helper, so check it's man page to see if it offers a --build-directory= or similar option.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
Before you build the package what files are in /tmp and how big are they?
You're just jealous because the voices only talk to me.
Offline
I use yaourt.... its config file is /etc/yaourtrc, and has one line (commented, btw) like this:
#TMPDIR="/tmp"
I guess this is what should be changed... but which would be the proper thing to change it to? "$HOME/yaourt-build" for example?
Offline
Yup, looks good.
If that doesn't work, use the full path instead of $HOME variable.
Offline
It could be changed to (almost) anything. But before you go tinkering with a "treat-the-symptom" approach you may want to first address moetunes' question.
With 4GB of ram you should not be running out of space. To me it would suggest there is something else wrong.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Ok, look, i run df before attempt a compilation of 0ad (you can find it in aur)
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 1768780 16 1768764 1% /tmp
Some minutes after syncing/downloading sources + extract... currently compiling:
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 1768780 954884 813896 54% /tmp
And it goes on compiling until use goes up to 100%.... so its completely possible....
Offline
Sorry, I stand corrected .... but that is one huge package.
Edit: Somehow I think this is going to be turned into a bad joke.
Last edited by Trilby (2012-01-21 01:17:51)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Pages: 1