Jump to content
funtoo forums

tmp-meteque

Members
  • Content Count

    17
  • Joined

  • Last visited

  • Days Won

    3

tmp-meteque last won the day on April 19 2016

tmp-meteque had the most liked content!

1 Follower

About tmp-meteque

  • Rank
    Member
  1. For what I read, /dev/shm and tmpfs are the same, they both use the memory ram and the swap partition. My laptop have 4GiB of ram so I can't use more than 2 GiB. I plan to upgrade but I don't really need it for the moment because I'm using i3 (a tiling windows manager) and just a few programs with GUI interface. A friend of mine uses ccache instead of compiling in ram and for what he says, it makes a hugh difference.
  2. 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"
  3. I also compile in ram but in /var/tmp and 4 GiB. :D It works good but sometimes I have problems like this one and I don't know why I couldn't figure out by my own. Cardinal didn't complain about how you maintain your system. He said that because you didn't explain what is inside /usr/portage/distfiles.
  4. 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.
  5. 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!
  6. I think you should try to compile your own kernel instead, hick518, It will finish in a few minutes instead of a couple of hours. With lspci -v | grep Kernel you will see the name of the most important drivers, it's really easy.
  7. 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.
  8. Hi, I checked the bugtrack and I can't find nothing so I assume it's only my system. Full log: https://ptpb.pw/Iie1 /var/tmp/portage/sys-devel/gcc-4.9.3-r3/temp/ccMwer11.s: Assembler messages: /var/tmp/portage/sys-devel/gcc-4.9.3-r3/temp/ccMwer11.s: Fatal error: can't write i386.o: No space left on device /usr/x86_64-pc-linux-gnu/bin/as: BFD (Funtoo 2.25) 2.25.0 assertion fail elf.c:2660 /usr/x86_64-pc-linux-gnu/bin/as: BFD (Funtoo 2.25) 2.25.0 assertion fail elf.c:2660 /usr/x86_64-pc-linux-gnu/bin/as: BFD (Funtoo 2.25) 2.25.0 assertion fail elf.c:2660 /usr/x86_64-pc-linux-gnu/bin/as: BFD (Funtoo 2.25) 2.25.0 assertion fail elf.c:2660 /usr/x86_64-pc-linux-gnu/bin/as: BFD (Funtoo 2.25) 2.25.0 assertion fail elf.c:2660 /usr/x86_64-pc-linux-gnu/bin/as: BFD (Funtoo 2.25) 2.25.0 assertion fail elf.c:2660 /var/tmp/portage/sys-devel/gcc-4.9.3-r3/temp/ccMwer11.s: Fatal error: can't close i386.o: No space left on device Makefile:2030: recipe for target 'i386.o' failed make[3]: *** [i386.o] Error 1 make[3]: *** Waiting for unfinished jobs.... rm gcc.pod gfortran.pod make[3]: Leaving directory '/var/tmp/portage/sys-devel/gcc-4.9.3-r3/work/objdir/gcc' Makefile:4266: recipe for target 'all-stage2-gcc' failed make[2]: *** [all-stage2-gcc] Error 2 make[2]: Leaving directory '/var/tmp/portage/sys-devel/gcc-4.9.3-r3/work/objdir' Makefile:20719: recipe for target 'stage2-bubble' failed make[1]: *** [stage2-bubble] Error 2 make[1]: Leaving directory '/var/tmp/portage/sys-devel/gcc-4.9.3-r3/work/objdir' Makefile:20957: recipe for target 'bootstrap-lean' failed make: *** [bootstrap-lean] Error 2 * ERROR: sys-devel/gcc-4.9.3-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-devel/gcc-4.9.3-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-devel/gcc-4.9.3-r3::gentoo'`. * The complete build log is located at '/var/log/portage/build/sys-devel/gcc-4.9.3-r3:20160414-180027.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-devel/gcc-4.9.3-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.9.3-r3/temp/environment'. * Working directory: '/var/tmp/portage/sys-devel/gcc-4.9.3-r3/work/objdir' * S: '/var/tmp/portage/sys-devel/gcc-4.9.3-r3/work/gcc-4.9.3' emerge --info '=sys-devel/gcc-4.9.3-r3::gentoo' Portage 2.2.26 (python 3.4.3-final-0, funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-4.9.3, glibc-2.21, 4.1.20-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.1.20-gentoo-x86_64-Intel-R-_Core-TM-_i5-3320M_CPU_@_2.60GHz-with-gentoo-2.2.0 KiB Mem: 3889000 total, 928784 free KiB Swap: 4194292 total, 4016080 free sh bash 4.3_p42 ld GNU ld (Funtoo 2.25) 2.25.0 app-shells/bash: 4.3_p42::gentoo dev-lang/perl: 5.22.1::gentoo dev-lang/python: 2.7.11-r2::gentoo, 3.4.3-r7::gentoo dev-util/cmake: 3.5.1::gentoo sys-apps/baselayout: 2.2.0-r6::gentoo sys-apps/openrc: 0.18.3-r2::gentoo sys-apps/sandbox: 2.10-r2::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r2::gentoo sys-devel/automake: 1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo sys-devel/binutils: 2.25-r2::gentoo sys-devel/gcc: 4.9.3-r1::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r2::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers) sys-libs/glibc: 2.21::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: git://github.com/funtoo/ports-2012.git priority: -1000 mi-overlay location: /usr/local/portage masters: gentoo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core-avx-i -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=core-avx-i -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=y" FEATURES="assume-digests binpkg-logs clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=ivybridge -O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" INSTALL_MASK="/etc/systemd/ /usr/lib/systemd/ /lib/systemd/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac aacplus aalib acl adplug alac alsa amd64 amr amrenc apng audiofile berkdb bluray bzip2 cdda cddb cdio cdr celt cracklib crypt cups cxx dbus dirac djvu dri drm dts dv dvd dvdr dvdread encode exif faac faad ffmpeg flac fluidsynth fpx gdbm gif gme gpm gsm gstreamer hdri ico iconv icu ieee1394 imagemagick infinality ios ipod ipv6 jbig jpeg jpeg2k kate lame lcms libass libguess libmpeg2 libtiger live mac mad matroska midi mikmod mjpeg mms mmx mng modplug modules mp3 mpeg mtp mudflap multilib musepack ncurses nls nptl nsplugin nuv ogg openexr opengl openmp opus pam pcre pdf png pnm postproc pppd python quicktime readline resolvconf rtmp rtsp schroedinger shorten sid sndfile sox speex sse sse2 ssl svg taglib tcpd tga theora tiff toolame truetype twolame udev unicode uxa v4l vaapi vorbis vpx wav wavpack webp wildmidi win32codecs wmf x264 x265 xattr xml xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel ice1724 intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php5-5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby20 ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS emerge -pqv '=sys-devel/gcc-4.9.3-r3::gentoo' [ebuild U ] sys-devel/gcc-4.9.3-r3 [4.9.3-r1] USE="cxx fortran (multilib) nls openmp -ada (-altivec) -doc -go -graphite (-hardened) (-libssp) -multislot -objc -objc++ (-sanitize) -vanilla" Thanks!
  9. 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
  10. Could you paste your /etc/boot.conf and what do you have in your /boot folder, please?
  11. I don't use plymouth but you made a great job, it looks really cool Otakku!
  12. http://www.funtoo.org/News:Python_Updates emerge -1v $(find /usr/lib*/python3* -name '*cpython-3[3-5].so') Maybe you should try this first.
  13. Ok, I'm dumb. Thank you j-g- and sorry for wasting your time.
  14. I have an UEFI system and everything works fine. I can write into the partition but I have to mount it manually every time. # /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 noauto,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=3G,uid=portage,gid=portage,mode=775,noatime 0 0 #/dev/cdrom /mnt/cdrom auto noauto,ro 0 0 /dev/sda1: UUID="2B00-F65A" TYPE="vfat" PARTUUID="b0c835f5-2c98-084d-ad6d-80ff784cf3b1" /dev/sda2: UUID="d9fb9efe-390e-4ff7-870b-83a532af4c8e" TYPE="ext4" PARTUUID="fe9efbd9-0e39-f74f-870b-83a532af4c8e" /dev/sda3: UUID="8505b49a-0ab4-4393-82f7-fb67d262906c" TYPE="swap" PARTUUID="33cbeea1-0c09-4243-949d-15488c58e41a" /dev/sda4: UUID="09382c16-b07f-4e5e-b8d5-3cf53ed1edcb" TYPE="ext4" PARTUUID="162c3809-7fb0-5e4e-b8d5-3cf53ed1edcb" boot { generate grub default "Funtoo Linux Vanilla" timeout 1 } "Funtoo Linux Vanilla" { kernel vmlinuz[-v] initrd initramfs.cpio.gz params root=/dev/sda2 rootfstype=ext4 resume=/dev/sda3 } "Funtoo Linux Debian" { kernel kernel[-v] initrd initramfs[-v] params += real_root=auto rootfstype=auto resume=/dev/sda3 } I tried changing the UUID first, then reformatting the partition, swap the UUID by /dev/sda1 in fstab... I'm out of ideas.
×
×
  • Create New...