tmp-meteque
-
Posts
17 -
Joined
-
Last visited
-
Days Won
3
Reputation Activity
-
tmp-meteque got a reaction from Sandro in I can't upgrade gcc
Hi Sandro.
Yes, I follow the gentoo's wiki.
# /etc/fstab: static file system information. # # The root filesystem should have a pass number of either 0 or 1. # All other filesystems should have a pass number of 0 or greater than 1. # # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts. # # See the manpage fstab(5) for more information. # # <fs> <mountpoint> <type> <opts> <dump/pass> UUID="2B00-F65A" /boot vfat defaults 1 2 UUID="d9fb9efe-390e-4ff7-870b-83a532af4c8e" / ext4 defaults,noatime 0 1 UUID="8505b49a-0ab4-4393-82f7-fb67d262906c" swap swap defaults 0 0 UUID="09382c16-b07f-4e5e-b8d5-3cf53ed1edcb" /home ext4 rw,relatime,discard,data=ordered 0 2 tmpfs /var/tmp/portage tmpfs size=2G,uid=portage,gid=portage,mode=775,noatime 0 0 https://nube.xxx.es/remote.php/webdav /home/ruben/Owncloud davfs user,noauto,uid=ruben,file_mode=600,dir_mode=700 0 1 #/dev/cdrom /mnt/cdrom auto noauto,ro 0 0 ruben@norris /etc/portage/env -? cat notmpfs.conf PORTAGE_TMPDIR=/home/tmp ruben@norris /etc/portage/env -? cat ../package.env app-office/libreoffice notmpfs.conf mail-client/thunderbird notmpfs.conf www-client/chromium notmpfs.conf www-client/firefox notmpfs.conf dev-qt/qtwebkit qtwebkit sys-devel/gcc notmpfs.conf Another trick to improve the compilation time is make portage quiet in make.conf and send the output to another file:
PORT_LOGDIR="/var/log/portage" FEATURES="clean-logs split-log" EMERGE_DEFAULT_OPTS="--quiet-build=y" -
tmp-meteque reacted to Sandro in I can't upgrade gcc
Since i've 16 GiB of ram i use /dev/shm as PORTAGE_TMPDIR to compile the system (however, /dev/shm after a reboot will be cleaned up; /dev/shm is a tmpfs in RAM "volatile memory").
using in /etc/fstab:
shm /dev/shm tmpfs exec,rw,mode=1777 0 0
About eclean, i think that your "policy" is better than the mine .... also for Cardinal my method is not "the right way".
Last thing, I remove older kernels; so take a look in /usr/src/ and in /lib/modules if there are "ancient" kernels that requires space on disk.
(excuse my "bad US Language").
Pleased that you've solved :)
Hello Friends :)
-
tmp-meteque got a reaction from cardinal in I can't upgrade gcc
Hi Sandro, that was my first though after reading the log so with ncdu and eclean, I made a little of space.
df -h:
Filesystem Size Used Avail Use% Mounted on devtmpfs 10M 0 10M 0% /dev /dev/sda2 20G 14G 4.9G 74% / tmpfs 380M 608K 380M 1% /run shm 1.9G 0 1.9G 0% /dev/shm cgroup_root 10M 0 10M 0% /sys/fs/cgroup /dev/sda1 253M 47M 206M 19% /boot /dev/sda4 270G 154G 102G 61% /home tmpfs 2.0G 0 2.0G 0% /var/tmp/portage du -hs /* :
7.3M /bin 47M /boot 0 /dev 15M /etc 154G /home 0 /lib 3.2M /lib32 325M /lib64 16K /lost+found 4.0K /media 20K /mnt 414M /opt du: cannot access ?/proc/17539/task/17539/fd/3?: No such file or directory du: cannot access ?/proc/17539/task/17539/fdinfo/3?: No such file or directory du: cannot access ?/proc/17539/fd/3?: No such file or directory du: cannot access ?/proc/17539/fdinfo/3?: No such file or directory 0 /proc 57M /root 608K /run 14M /sbin 0 /sys 24K /tmp 8.8G /usr 255M /var And on a side note, compiling gcc makes my laptop warmer than with other packages. It achieves 90C when usually even with larger packages it stays at 80C. Anyway, I doubt the two issues are related.
Edit: I forget to clarify that I compile in ram. I followed this guide, but I have the ram usage in my bar and I didn't see it was full. I made a folder in my /home partition and I'm compiling gcc right now.
-
tmp-meteque got a reaction from cardinal in I can't upgrade gcc
root@norris /home -? PORTAGE_TMPDIR=/home/tmp emerge -1u gcc Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) sys-devel/gcc-4.9.3-r3::gentoo >>> Installing (1 of 1) sys-devel/gcc-4.9.3-r3::gentoo >>> Jobs: 1 of 1 complete Load avg: 3.19, 4.70, 5.28 >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * Regenerating GNU info directory index... * Processed 9 info files. Thank you very much guys!
-
tmp-meteque got a reaction from cardinal in I can't upgrade gcc
Sandro, could I ask what's in /dev/shm/portage and why you delete it? I will be doing a make clean in my kernel folder too, I didn't think about that.
Also, I prefer using eclean -d distfiles because sometimes I have to rebuild the packages, change USE flags, etc. I installed funtoo a few months ago so I'm still learning.
-
tmp-meteque reacted to hick518 in upgrading debian-sources requires 14 GB in /var/tmp
Cardinal, thanks for all the info. I still have a lot to learn.
For now, I have decided the easiest thing for me is to stick w/ debian-sources and do this:
mkdir /home/tmp
PORTAGE_TMPDIR=/home/tmp emerge -av debian-sources
It's currently compiling.
-
tmp-meteque reacted to Sandro in I can't upgrade gcc
Hi; i'm readnig your build.log.
there is a trouble about space on device (it seems).
At first
# rm -rf /usr/portage/distfiles # rm -rf /var/tmp/portage # cd /usr/src/linux && make clean && cd ~ What tells to You a
df -h ?
If now there is more space on / (root filesystem) you can retry the
# emerge -1u gcc Otherwise, put
# df -h # du -hs /* -
tmp-meteque reacted to cardinal in I can't upgrade gcc
Tell tmp-meteque to make free space and let him decide how to do it.
If your instruction is followed to delete distfiles folder containing all package source then gcc,kernel source,and other source code has to be downloaded again.
Files and folders can be moved to another drive to make free space.
Another solution would be setting PORTAGE_TMPDIR to an available partition with enough free space to compile gcc.
Advising someone your helping to delete directories and files off their system should always be avoided.
-
tmp-meteque reacted to Sandro in I can't upgrade gcc
Hi hope not to bore ....
But sometimes i think may be a good thing to take a look into directories with "obsolete" files to have a gain about space on disk.
The "*Trash" must be deleted sometimes....
so i've asked about df -h and du -hs
For Example I've my 2 little and very elementary scripts that i use to clean system:
ci74771ht ~ # cat Pulisci rm -rf /usr/portage/distfiles rm -rf /var/tmp/portage rm -rf /dev/shm/portage And
ci74771ht ~ # cat Clean_Kernel cd /usr/src/linux && make clean && cd ~ With my Clean_kernel i can free 8 GiB of temp files (i use genkernel).
For me is a good idea.
Hello to All _||_
PS: and after an
# emerge -DNu world --with-bdeps=y ,
# emerge -c -
tmp-meteque got a reaction from spectromas in pass with gpg-agent?
I totally forget to update this topic.
I have to specify my key to .bash_profile:
GPGKEY=XXXXXXXX And start gpg-agent. I'm using startx so I add it to my .xinitrc:
eval "$(gpg-agent --daemon)" https://wiki.gentoo.org/wiki/GnuPG#Using_a_GPG_agent
https://help.ubuntu.com/community/GnuPrivacyGuardHowto#Tips_and_Tricks
-
tmp-meteque got a reaction from cardinal in I can't update nodejs after python upgrade
Thanks Cardinal.
-
tmp-meteque reacted to j-g- in /boot doesn't mount but uefi works
It doesn't mount automatically because you configured it to not mount automatically:
UUID="2B00-F65A" /boot vfat noauto,defaults 1 2 the option 'noauto', means to not mount automatically that partition, but since you have it /etc/fstab, you can quickly manually mount it by simple running:
$ sudo mount /boot If you want it automatically mounted, just delete 'noauto'.
-
tmp-meteque reacted to cardinal in I can't update nodejs after python upgrade
Confirmed bug report: Gentoo's Bugzilla ? Bug 574446 net-libs/nodejs-5.5.0 fails to build: ACCESS DENIED: mkdir
-
tmp-meteque reacted to spectromas in pass with gpg-agent?
Yeah I did in the end. Not sure exactly what made it work but this is what I currently have:
in my ~/.zprofile:
envfile="$HOME/.gnupg/gpg-agent.env" if [[ -e "$envfile" ]] && kill -0 $(grep GPG_AGENT_INFO "$envfile" | cut -d: -f 2) 2>/dev/null; then eval "$(cat "$envfile")" else eval "$(gpg-agent --daemon --enable-ssh-support --write-env-file "$envfile")" fi export GPG_AGENT_INFO # the env file does not contain the export statement export SSH_AUTH_SOCK # enable gpg-agent for ssh GPG_TTY=$(tty) export GPG_TTY In ~/.gnupg/gpg.conf I have:
use-agent And eselect pinentry set to
pinentry-qt I'm using this with PassFF addon for firefox so whenever it fills login forms when I want it to and doesn't ask me every time for the master password for a set amount of time.
