You are not logged in.
I have been trying to build freecad and the build fails during the build of opencascade.This post is about sharing the workaround and a discussion on the cause of the problem. First here's the output of the error cut and pasted from the terminal:
src/DrawResources/PROFIL.tcl’: No space left on device
cp: writing ‘/tmp/yaourt-tmp-chris/aur-opencascade/pkg/opt/opencascade/src/DrawResources/DRAW.info’: No space left on device
cp: failed to extend ‘/tmp/yaourt-tmp-chris/aur-opencascade/pkg/opt/opencascade/src/DrawResources/DRAW.info’: No space left on device
cp: writing ‘/tmp/yaourt-tmp-chris/aur-opencascade/pkg/opt/opencascade/src/DrawResources/VisualizationDemo.tcl’: No space left on device
cp: failed to extend ‘/tmp/yaourt-tmp-chris/aur-opencascade/pkg/opt/opencascade/src/DrawResources/VisualizationDemo.tcl’: No space left on device
cp: writing ‘/tmp/yaourt-tmp-chris/aur-opencascade/pkg/opt/opencascade/src/DrawResources/mkdoc’: No space left on device
cp: failed to extend ‘/tmp/yaourt-tmp-chris/aur-opencascade/pkg/opt/opencascade/src/DrawResources/mkdoc’: No space left on device
cp: writing ‘/tmp/yaourt-tmp-chris/aur-opencascade/pkg/opt/opencascade/src/DrawResources/ModelingDemo.tcl’: No space left on device
cp: failed to extend ‘/tmp/yaourt-tmp-chris/aur-opencascade/pkg/opt/opencascade/src/DrawResources/ModelingDemo.tcl’: No space left on device
cp: writing ‘/tmp/yaourt-tmp-chris/aur-opencascade/pkg/opt/opencascade/src/DrawResources/FILES’: No space left on device
cp: failed to extend ‘/tmp/yaourt-tmp-chris/aur-opencascade/pkg/opt/opencascade/src/DrawResources/FILES’: No space left on device
cp: writing ‘/tmp/yaourt-tmp-chris/aur-opencascade/pkg/opt/opencascade/src/DrawResources/Filtre.c’: No space left on device
cp: failed to extend ‘/tmp/yaourt-tmp-chris/aur-opencascade/pkg/opt/opencascade/src/DrawResources/Filtre.c’: No space left on device
cp: writing ‘/tmp/yaourt-tmp-chris/aur-opencascade/pkg/opt/opencascade/src/DrawResources/WOKcomplement.tcl’: No space left on device
cp: failed to extend ‘/tmp/yaourt-tmp-chris/aur-opencascade/pkg/opt/opencascade/src/DrawResources/WOKcomplement.tcl’: No space left on device
cp: writing ‘/tmp/yaourt-tmp-chris/aur-opencascade/pkg/opt/opencascade/src/DrawResources/wing.brep’: No space left on device
cp: failed to extend ‘/tmp/yaourt-tmp-chris/aur-opencascade/pkg/opt/opencascade/src/DrawResources/wing.brep’: No space left on device
cp: writing ‘/tmp/yaourt-tmp-chris/aur-opencascade/pkg/opt/opencascade/src/DrawResources/Grille.tcl’: No space left on device
cp: failed to extend ‘/tmp/yaourt-tmp-chris/aur-opencascade/pkg/opt/opencascade/src/DrawResources/Grille.tcl’: No space left on device
cp: writing ‘/tmp/yaourt-tmp-chris/aur-opencascade/pkg/opt/opencascade/src/DrawResources/tdoc’: No space left on device
cp: failed to extend ‘/tmp/yaourt-tmp-chris/aur-opencascade/pkg/opt/opencascade/src/DrawResources/tdoc’: No space left on device
cp: writing ‘/tmp/yaourt-tmp-chris/aur-opencascade/pkg/opt/opencascade/src/DrawResources/idoc’: No space left on device
cp: failed to extend ‘/tmp/yaourt-tmp-chris/aur-opencascade/pkg/opt/opencascade/src/DrawResources/idoc’: No space left on device
cp: writing ‘/tmp/yaourt-tmp-chris/aur-opencascade/pkg/opt/opencascade/src/DrawResources/demo’: No space left on device
cp: failed to extend ‘/tmp/yaourt-tmp-chris/aur-opencascade/pkg/opt/opencascade/src/DrawResources/demo’: No space left on device
make[2]: *** [install-exec-local] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-chris/aur-opencascade/src/ros'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/tmp/yaourt-tmp-chris/aur-opencascade/src/ros'
make: *** [install-recursive] Error 1
==> ERROR: A failure occurred in package().
Aborting...
==> ERROR: Makepkg was unable to build opencascade.
==> Restart building opencascade ? [y/N]I worked around this by changing the directory that yaourt builds the package to ~/build and that produced the built package without errors. Usually packages install without any problems but I am lost as to why it wouldn't work this time.
This was the largest file that I've tried to install on my system, about 145MB downloaded and the "build" directory size rose to about 1GB during the build last time I checked. Is it just impossible to build large packages in the /tmp directory with its default size? how can I fix this?
Last edited by candronikos (2012-05-14 22:15:14)
Offline
If you use tmpfs for your /tmp, you'll need to set the size (or increase it) in /etc/fstab. If you don't use tmpfs, you'll need to make space on your root partition.
Last edited by Snowman (2012-05-04 23:56:43)
Offline
So before I mark this as solved, are you saying that the only problem is that I didn't make enough space in the root partition during the install?
Offline
What he is (probably) saying is that you did not have enough space in your /tmp partition, which is (normally) of the type tmpfs, meaning that it is entirely in your RAM.
He also said that you should increase its size in /etc/fstab.
If, however, you do not have /tmp as tmpfs (check your fstab), then your root partition was full.
Offline