Can't compile it

27 réponses [Dernière contribution]
vita_cell
Hors ligne
A rejoint: 07/19/2015

[ 67%] Built target lang_vi
[ 68%] Built target translang_zh_TW
[ 68%] Checking translations for locale zh_TW
[ 68%] Built target lang_zh_TW
[ 68%] Built target lang
[ 69%] Built target wl_minizip
[ 69%] Building CXX object src/CMakeFiles/widelands_all.dir/network/nethost.cc.o
/home/vita/Escritorio/widelands-build18-src/src/network/nethost.cc:3004:1: fatal error: error writing to /tmp/cc7GpB6t.s: No queda espacio en el dispositivo
}
^
compilation terminated.
make[2]: *** [src/CMakeFiles/widelands_all.dir/network/nethost.cc.o] Error 1
make[1]: *** [src/CMakeFiles/widelands_all.dir/all] Error 2
make: *** [all] Error 2
-------------------------------------------------------------------------------

"No queda espacio en el dispositivo" = no enought space in the drive

I have 2tb drive with 1,9tb free space lol.
What to do??

vita_cell
Hors ligne
A rejoint: 07/19/2015

vita@vita-desktop:~$ df
S.ficheros blocks de 1K Usados Disponibles Uso% Montado en
/dev/sda1 19091584 18327492 0 100% /
none 4 0 4 0% /sys/fs/cgroup
udev 2009372 4 2009368 1% /dev
tmpfs 404508 1356 403152 1% /run
none 5120 0 5120 0% /run/lock
none 2022532 124 2022408 1% /run/shm
none 102400 24 102376 1% /run/user
overflow 1024 32 992 4% /tmp
/dev/sda6 1908234896 88521944 1819712952 5% /home

Screenshot - 281015 - 18:35:30.png
ADFENO
Hors ligne
A rejoint: 12/31/2012

Wow!

Normally, this "out of space" message is related to the outage of index
nodes in EXT file systems (either read the Wikipedia article about it[1]
or, if you want to do some intense reading, type "info ext4"), but what
we see here is a different situation...

Usage of "/dev/sda1" (mounted as "/", the root file system): 100%
Usage of "/dev/sda6" (mounted as "/home"): 5%
Usage of "overflow" (everything here'll be lost) (mounted as "/tmp"): 4%

We must check one of these:

* I'm not a package maintainer, but perhaps you'll have to find a way to
tell CMake where it must work from, and where to place the temporary
files (in a place inside "/home/${USER}").

* Enlarge the root partition ("/").

* If, and only if the problem is related to RAM and swap (which I don't
think it is seeing "/" filled up like that), consider buying another RAM
stick, or enlarging the swap partition.

REFERENCES

[1] https://en.wikipedia.org/wiki/Inode

mYself
Hors ligne
A rejoint: 01/18/2012

The error message is telling you that there's not enough free space on the file system partition where tmp is (i.e. /dev/sda1). Try to free up some space with sudo apt-get clean, rebooting the computer, and/or removing some bigger packages using Synaptic.

vita_cell
Hors ligne
A rejoint: 07/19/2015

Neved had that problem, everything compile fine, but not this.

Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

Compiling large programs requires a lot of temporary disk space. I do not quite get what the line "overflow 1024 32 992 4% /tmp" means in the output of 'df' (1 MB for /tmp makes no sense). I guess your /tmp is in your root filesystem. The default install does that. Your root filesystem is 20GB large and basically is full.

20GB is a lot. You should analyze what occupies that much space. There is a utility for that in the "System settings" (or you can execute 'baobab' from a command line prompt).

Do you frequently delete the .deb packages, e.g., with 'sudo apt-get clean' (to delete them all) or with 'sudo apt-get autoclean' (to only delete those relating to outdated versions)? Do you remove the older kernels that you do not use anymore, e.g., from the "Synaptic package manager"? You only need the latest kernel and one or two older kernels you are sure you can boot (for safety).

If you really need more than 20 GB for the root partition, then you need to enlarge it from a live system (such as Trisquel's), e.g., using GParted. You need to take space from the partition with the user data (currently occupying only 5% of the available space). If those user data are in an XFS filsystem (the default), then it will be annoying: XFS cannot be shrunk. You would therefore need to copy the user data somewhere else, delete the XFS partition, enlarge the root partition, recreate the partition for /home in free space and copy the user data back to this new partition.

vita_cell
Hors ligne
A rejoint: 07/19/2015

But, this is not the largest program that I compiled.

Yes, this is Trisquel's default, and I didn't touch that.

So, 20gb of root are full right? it is where I have installed all packages from Synaptic? it is /dev/sda1/ and not where I stome my user's files: /home/USER/ ??? right?

I have installed much packages, because I compiling programs.

I never did $ sudo apt-get clean/autoclean

I dont know what it does.

But everyday I updating, upgrading, installing, autoremoving packages.

Yes, I revome always old not used packages/kernels.

Yes, know, but I remove all old packages. I know, if kernel fails, I wouldn't boot. But I can install another kernel from booting Trisquel LiveCD/USB. I don't fear it.

So, I have no free space in my 20gb partition, can I make it bigger with LiveCD/USB nad Gparted?

Screenshot - 281015 - 20:02:1rrrrrrr7.png
Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

But, this is not the largest program that I compiled.

I guess your root filesystem was not that full when you compiled those larger programs.

So, 20gb of root are full right?

Right.

it is where I have installed all packages from Synaptic? it is /dev/sda1/ and not where I stome my user's files: /home/USER/ ??? right?

Not only those programs: everything but what is the home folders of the users.

I dont know what it does.

'sudo apt-get clean' removes the .deb package APT downloaded. You usually do not need them once the packages were installed. However it may happen that the package manager has to reinstall a package. Without the .deb, it would download it again. 'sudo apt-get autoclean' keeps the latest versions of the packages for that reason.

So, I have no free space in my 20gb partition, can I make it bigger with LiveCD/USB nad Gparted?

You can. But, as I explained earlier, it is not that easy because your user data are on an XFS filesystem. That is why I suggested you to first graphically discover where did the 20GB of space go (and hopefully remove useless files/packages): the "Disk usage analyzer" in the "System settings" does just that. Just double click on the root partition to analyze it. You may discover interesting things.

To start with, /var/cache/apt/archives may contain GB of .deb packages since you never cleaned them.

vita_cell
Hors ligne
A rejoint: 07/19/2015

take a look:

Screenshot - 291015 - 00:00:12.png Screenshot - 281015 - 23:57:46.png Screenshot - 281015 - 23:57:19.png Screenshot - 281015 - 23:56:06.png Screenshot - 281015 - 23:54:08.png
Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

6.4GB in /var is really a lot. And it is not APT's cache that takes the space (did you run 'sudo apt-get autoclean'?). You should use the "Disk usage analyzer" to discover what takes that much space in /var (maybe a log growing out of hand).

lembas
Hors ligne
A rejoint: 05/13/2010

*autoclean removes "unused" packages (could cause problems...)
*clean removes APT cache

vita_cell
Hors ligne
A rejoint: 07/19/2015

/var/log/

the log folder takes 5,7gb

-------------------------------------------------------
vita@vita-desktop:~$ uname -a
Linux vita-desktop 4.2.5-gnu #1 SMP Tue Oct 27 21:02:03 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
-------------------------------------------------------

LoL

Screenshot - 291015 - 19:04:22.png Screenshot - 291015 - 19:03:50.png
SuperTramp83

I am a translator!

Hors ligne
A rejoint: 10/31/2014

vitacell: that'a whole lotta lot lot! I have 380 mb in var..

vita_cell
Hors ligne
A rejoint: 07/19/2015

This is a some bug? to high for a .txt log.

Something wrong here.

moxalt
Hors ligne
A rejoint: 06/19/2015
Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

Take a look at those log files. There probably is an information that is repeated ad nauseum. You can use 'gnome-system-log' to read the logs.

vita_cell
Hors ligne
A rejoint: 07/19/2015

Take a look to some latest lines of my "syslog"

too much

"GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get UID of name ':1.286': no such name"

messages

But nothing wrong with "kern.log" (latest lines)???

Pièce jointeTaille
syslog.txt 8 Ko
kern.txt 51.96 Ko
Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

I believe you have a problem with Wifi: see the lines before the ones you are mentioning. I would first try to update the kernel: https://trisquel.info/en/wiki/update-linux-libre-kernel

In the short term, feel free to remove the older logs (such as /var/log/syslog.[234567].gz) to save space. But that is no long term solution: such a log file is created every day!

vita_cell
Hors ligne
A rejoint: 07/19/2015

Yes, removing, will be fix it temporary.
Yes. I connect with wifi Atheros.

vita@vita-desktop:~$ uname -a
Linux vita-desktop 4.2.5-gnu #1 SMP Tue Oct 27 21:02:03 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Already fully updated Kernel.

Right now something going wrong, my GNU sistem logs me off sometimes, most times when I browsing web.

When I try see some youtube video, something logs me off. When I try download something, I get this message(image), or it logs me off.

(image)Translation:
"Not enough space to save in /tmp/*.part"

"Remove some unused files and try it again, or save it to another destination".

Screenshot - 301015 - 18:54:44.png
SuperTramp83

I am a translator!

Hors ligne
A rejoint: 10/31/2014

vita_cell: if I were you I'd backup my data and do a clean reinstall of the OS.
That would take me 20 minutes (upgrading the packages included). Another 2 hours (give or take) to install the applications I need, compile the few I need and are not in the repo, and customize my DE. Total = 2 hours and 30 minutes.
Better than trying to fix a clearly unreliable installation.
And last but not least: the awesome feeling of the fresh GNU powaaa :)

vita_cell
Hors ligne
A rejoint: 07/19/2015

I like learn to fix everything, yes, reinstall everything will be easier.

Another reason, I have already installed much *-dev packages for compiling. Yes, I can create a script for install packages. But if I can fix it, I want to try.

Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

Do you have only one Wifi device or two (like me: one shipped with the laptop but that cannot be used in freedom and one compatible dongle)? If so, removing the useless one could help (or not!).

Something else that could help (or not!) would be to update NetworkManager (e.g., trying to install the package in a more recent version of Ubuntu)... or to choose another solution to manage your Wifi connection such as Wicd.

vita_cell
Hors ligne
A rejoint: 07/19/2015

Hi, I am on one of my desktop computers, and it has only Atheros usb (dongle) wifi. Nothing more connected. Only usb devices, mouse, keyboard, Dual-DVI monitor. No speakers o mics. No usb 3.0.

Wicd doesn't work for me, I use xfce4 and I using xfce4-indictor to manage wifi. Always worked with all my computers.

lembas
Hors ligne
A rejoint: 05/13/2010

All those messages seem to be related to dbus.

vita_cell
Hors ligne
A rejoint: 07/19/2015

removed gtx460, now on gt520 (this one works better, better drivers), "at the moment" no problem, no crash, can download things from internet, no logs off...

Yes, can be dbus, or x11.

Can be bad high Hertz support of gtx460.

Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

More precisely they relate to NetworkManager "requesting auth" through DBus.

vita_cell
Hors ligne
A rejoint: 07/19/2015

[ 80%] Building CXX object src/CMakeFiles/widelands_all.dir/wui/watchwindow.cc.o
Linking CXX static library libwidelands_all.a
[100%] Built target widelands_all
Scanning dependencies of target widelands
[100%] Building CXX object src/CMakeFiles/widelands.dir/main.cc.o
/home/vita/Escritorio/widelands-build18-src/src/main.cc: In function ‘int main(int, char**)’:
/home/vita/Escritorio/widelands-build18-src/src/main.cc:88:21: warning: ignoring return value of ‘int dup(int)’, declared with attribute warn_unused_result [-Wunused-result]
dup(STDIN_FILENO);
^
/home/vita/Escritorio/widelands-build18-src/src/main.cc:89:21: warning: ignoring return value of ‘int dup(int)’, declared with attribute warn_unused_result [-Wunused-result]
dup(STDIN_FILENO);
^
[100%] Building CXX object src/CMakeFiles/widelands.dir/build_info.cc.o
Linking CXX executable widelands
[100%] Built target widelands

#####################################################
# Congratulations Widelands was successfully build. #
# You should now be able to run Widelands via #
# typing ./widelands + ENTER in your terminal #
#####################################################

Worked fine, thanks!!

ADFENO
Hors ligne
A rejoint: 12/31/2012

Oh. Widelands, I've been playing it using the version that is available
through Trisquel's repository. A great game indeed. :D

Anyway, please check if "/tmp" is in a separated partition by simply
using the "mount" (with no other arguments) and looking for "/tmp", or
simply use GNU Df ("df" command, without arguments).

Also, please check how much index nodes are still available (in
percentage) by using "df --inodes".