Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

Sandro

Members
  • Posts

    466
  • Joined

  • Last visited

  • Days Won

    20

Posts posted by Sandro

  1. Hi to All.

    I have installed a 2nd Funtoo in another partition of my PC but with Gnome, xfce4 ^ fluxbox.

    I am not able to use "It" keyboard layout with Gnome.

    I have troubles with locale and i don-t know how to configure correctly.

     

    My situation

    ci74771ht ~ # eselect locale list
    /etc/env.d/02locale: riga 4: attenzione: setlocale: LC_NUMERIC: impossibile cambiare la localizzazione (it_IT.UTF-8LC_TIME=it_IT.UTF-8LC_MONETARY=it_IT.UTF-8LC_PAPER=it_IT.UTF-8LC_MEASUREMENT=it_IT.UTF-8)
    /etc/env.d/02locale: riga 4: attenzione: setlocale: LC_NUMERIC: impossibile cambiare la localizzazione (it_IT.UTF-8LC_TIME=it_IT.UTF-8LC_MONETARY=it_IT.UTF-8LC_PAPER=it_IT.UTF-8LC_MEASUREMENT=it_IT.UTF-8)
    Available targets for the LANG variable:
      [1]   C
      [2]   POSIX
      [3]   it_IT.utf8 *
      [ ]   (free form)
    ci74771ht ~ # cat /etc/X11/xorg.conf
    Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
    EndSection
    
    Section "Files"
        ModulePath   "/usr/lib64/xorg/modules"
        FontPath     "/usr/share/fonts/misc/"
        FontPath     "/usr/share/fonts/TTF/"
        FontPath     "/usr/share/fonts/OTF/"
        FontPath     "/usr/share/fonts/Type1/"
        FontPath     "/usr/share/fonts/100dpi/"
        FontPath     "/usr/share/fonts/75dpi/"
    EndSection
    
    Section "Module"
        Load  "glx"
    EndSection
    
    Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
    EndSection
    
    Section    "InputClass"
        Identifier  "Keyboard0"
        Option    "XkbLayout"    "it"
    EndSection
    
    Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option        "Protocol" "auto"
        Option        "Device" "/dev/input/mice"
        Option        "ZAxisMapping" "4 5 6 7"
    EndSection
    
    Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
    EndSection
    
    Section "Device"
        Identifier  "Card0"
        Driver      "nvidia"
        BusID       "PCI:1:0:0"
    EndSection
    
    Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
            Viewport   0 0
            Depth     1
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     4
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     8
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     15
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     16
        EndSubSection
        SubSection "Display"
            Viewport   0 0
            Depth     24
        EndSubSection
    EndSection
     
    
    
    ci74771ht ~ # epro show
    
    === Enabled Profiles: ===
    
            arch: x86-64bit
           build: stable
         subarch: native_64
          flavor: desktop
         mix-ins: xfce
         mix-ins: gnome
         mix-ins: mediadevice-video-pro
         mix-ins: mediadevice-audio-pro
         mix-ins: media-pro
         mix-ins: mediaformat-audio-extra
         mix-ins: no-systemd
         mix-ins: mediaformat-video-extra
         mix-ins: mediaformat-gfx-extra
         mix-ins: gnome-3.16-fixups
    
    
    === All inherited flavors from desktop flavor: ===
    
                         workstation (from desktop flavor)
                                core (from workstation flavor)
                             minimal (from core flavor)
    
    === All inherited mix-ins from desktop flavor: ===
    
                                   X (from workstation flavor)
                               audio (from workstation flavor)
                                 dvd (from workstation flavor)
                               media (from workstation flavor)
          mediadevice-audio-consumer (from media mix-in)
                    mediadevice-base (from mediadevice-audio-consumer mix-in)
          mediadevice-video-consumer (from media mix-in)
                    mediadevice-base (from mediadevice-video-consumer mix-in)
            mediaformat-audio-common (from media mix-in)
              mediaformat-gfx-common (from media mix-in)
            mediaformat-video-common (from media mix-in)
                      console-extras (from workstation flavor)
                               print (from desktop flavor)
    
    === All inherited mix-ins from mediadevice-video-pro mix-in: ===
    
          mediadevice-video-consumer (from mediadevice-video-pro mix-in)
                    mediadevice-base (from mediadevice-video-consumer mix-in)
    
    === All inherited mix-ins from mediadevice-audio-pro mix-in: ===
    
          mediadevice-audio-consumer (from mediadevice-audio-pro mix-in)
                    mediadevice-base (from mediadevice-audio-consumer mix-in)
    
    === All inherited mix-ins from media-pro mix-in: ===
    
                               media (from media-pro mix-in)
          mediadevice-audio-consumer (from media mix-in)
                    mediadevice-base (from mediadevice-audio-consumer mix-in)
          mediadevice-video-consumer (from media mix-in)
                    mediadevice-base (from mediadevice-video-consumer mix-in)
            mediaformat-audio-common (from media mix-in)
              mediaformat-gfx-common (from media mix-in)
            mediaformat-video-common (from media mix-in)
               mediadevice-audio-pro (from media-pro mix-in)
          mediadevice-audio-consumer (from mediadevice-audio-pro mix-in)
                    mediadevice-base (from mediadevice-audio-consumer mix-in)
               mediadevice-video-pro (from media-pro mix-in)
          mediadevice-video-consumer (from mediadevice-video-pro mix-in)
                    mediadevice-base (from mediadevice-video-consumer mix-in)
    
    === All inherited mix-ins from mediaformat-audio-extra mix-in: ===
    
            mediaformat-audio-common (from mediaformat-audio-extra mix-in)
    
    === All inherited mix-ins from mediaformat-video-extra mix-in: ===
    
            mediaformat-video-common (from mediaformat-video-extra mix-in)
    
    === All inherited mix-ins from mediaformat-gfx-extra mix-in: ===
    
              mediaformat-gfx-common (from mediaformat-gfx-extra mix-in)
    
    

    Now i-m writing on a it keyboard but using en_US layout

     

    On my "Funtoo with xfce4 + KDE4" all runs perfectly with the same configuration.

     

    What can I do to solve ?

     

    Thanx to All.

  2. If you wanna try with latest gcc version in portage tree:

    # echo "=sys-devel/gcc-5.3.0-r1">>/etc/portage/package.unmask
    # emerge =sys-devel/gcc-5.3.0-r1
    # gcc-config -l (will list available versions)
    # gcc-config -f N (where N will be the number relative to the newer gcc (2 i think))
    
    

    Take a look here https://www.phoronix.com/scan.php?page=news_item&px=GCC-5.3-New-Opt-Tests

     

    Here https://gcc.gnu.org/gcc-5/changes.html

     

     


    IA-32/x86-64
    • New ISA extensions support AVX-512{BW,DQ,VL,IFMA,VBMI} of Intel's CPU codenamed Skylake Server was added to GCC. That includes inline assembly support, new intrinsics, and basic autovectorization. These new AVX-512 extensions are available via the following GCC switches: AVX-512 Vector Length EVEX feature: -mavx512vl, AVX-512 Byte and Word instructions: -mavx512bw, AVX-512 Dword and Qword instructions: -mavx512dq, AVX-512 FMA-52 instructions: -mavx512ifma and for AVX-512 Vector Bit Manipulation Instructions: -mavx512vbmi.
    • New ISA extensions support Intel MPX was added to GCC. This new extension is available via the -mmpx compiler switch. Intel MPX is a set of processor features which, with compiler, run-time library and OS support, brings increased robustness to software by run-time checking pointer references against their bounds. In GCC Intel MPX is supported by Pointer Bounds Checker and libmpx run-time libraries.
    • The new -mrecord-mcount option for -pg generates a Linux kernel style table of pointers to mcount or __fentry__ calls at the beginning of functions. The new -mnop-mcount option in addition also generates nops in place of the __fentry__ or mcount call, so that a call per function can be later patched in. This can be used for low overhead tracing or hot code patching.
    • The new -malign-data option controls how GCC aligns variables. -malign-data=compat uses increased alignment compatible with GCC 4.8 and earlier, -malign-data=abi uses alignment as specified by the psABI, and -malign-data=cacheline uses increased alignment to match the cache line size. -malign-data=compat is the default.
    • The new -mskip-rax-setup option skips setting up the RAX register when SSE is disabled and there are no variable arguments passed in vector registers. This can be used to optimize the Linux kernel.

    ------------------------------------

    Hello :)

  3. Hi Dear Oleg .... i've trouble with mouse wheel :| I wanna change it (but it is a good mouse: http://www.techspot.com/images/products/mice/org/1706423119_701250880_o.jpg

     

    However,

    sandro@ci74771ht ~ $ eix -I sys-devel/gcc
    [I] sys-devel/gcc
         Available versions:  
         (4.8)  4.8.5^s
         (4.8.5) 4.8.5-r1^s
         (4.9)  4.9.2^s 4.9.2-r1^s 4.9.2-r2^s 4.9.3^s 4.9.3-r1^s 4.9.3-r2^s
         (4.9.3) 4.9.3-r3^s
         (5.3)  [M]5.3.0^s
         (5.3.0) [M]5.3.0-r1^s
           {ada altivec cxx doc +fortran go graphite hardened libssp multilib multislot nls objc objc++ openmp sanitize vanilla}
         Installed versions:  4.9.3-r3(4.9.3)^s(16:08:08 04/05/2016)(ada cxx fortran go graphite multilib nls objc objc++ openmp -altivec -doc -hardened -libssp -multislot -sanitize -vanilla)
         Description:         The GNU Compiler Collection

    The 4.9.3 doesn't recognize "-march=skylake" .... i think then that there are 2 solutions: use the native_64 or update (unmasking) the GCC-5.X

     

    Hello :)

  4. $ tail -30 /proc/cpuinfo
    
    

    *too use flags

     

    Then I think that at this time there aren't ebuilds that uses SIMD newer than avx2

     

    But with "-march=native", gcc will compile binary code using also > avx2 instructions if supported by your Skylake.

     

    ___________________________________________________________________

     

    These are the mine (i7 "Haswell 4771 @3,5 GHz not overclocked)

    options passed:  -v test.c -march=haswell -mmmx -mno-3dnow -msse -msse2
     -msse3 -mssse3 -mno-sse4a -mcx16 -msahf -mmovbe -maes -mno-sha -mpclmul
     -mpopcnt -mabm -mno-lwp -mfma -mno-fma4 -mno-xop -mbmi -mbmi2 -mno-tbm
     -mavx -mavx2 -msse4.2 -msse4.1 -mlzcnt -mrtm -mhle -mrdrnd -mf16c
     -mfsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mxsave -mxsaveopt
     -mno-avx512f -mno-avx512er -mno-avx512cd -mno-avx512pf -mno-prefetchwt1
     --param l1-cache-size=32 --param l1-cache-line-size=64
     --param l2-cache-size=8192 -mtune=haswell -O2
    options enabled:  -faggressive-loop-optimizations -falign-labels
     -fasynchronous-unwind-tables -fauto-inc-dec -fbranch-count-reg
     -fcaller-saves -fcombine-stack-adjustments -fcommon -fcompare-elim
     -fcprop-registers -fcrossjumping -fcse-follow-jumps -fdefer-pop
     -fdelete-null-pointer-checks -fdevirtualize -fdevirtualize-speculatively
     -fdwarf2-cfi-asm -fearly-inlining -feliminate-unused-debug-types
     -fexpensive-optimizations -fforward-propagate -ffunction-cse -fgcse
     -fgcse-lm -fgnu-runtime -fgnu-unique -fguess-branch-probability
     -fhoist-adjacent-loads -fident -fif-conversion -fif-conversion2
     -findirect-inlining -finline -finline-atomics
     -finline-functions-called-once -finline-small-functions -fipa-cp
     -fipa-profile -fipa-pure-const -fipa-reference -fipa-sra
     -fira-hoist-pressure -fira-share-save-slots -fira-share-spill-slots
     -fisolate-erroneous-paths-dereference -fivopts -fkeep-static-consts
     -fleading-underscore -flifetime-dse -fmath-errno -fmerge-constants
     -fmerge-debug-strings -fmove-loop-invariants -fomit-frame-pointer
     -foptimize-sibling-calls -foptimize-strlen -fpartial-inlining -fpeephole
     -fpeephole2 -fprefetch-loop-arrays -free -freg-struct-return
     -freorder-blocks -freorder-blocks-and-partition -freorder-functions
     -frerun-cse-after-loop -fsched-critical-path-heuristic
     -fsched-dep-count-heuristic -fsched-group-heuristic -fsched-interblock
     -fsched-last-insn-heuristic -fsched-rank-heuristic -fsched-spec
     -fsched-spec-insn-heuristic -fsched-stalled-insns-dep -fschedule-insns2
     -fshow-column -fshrink-wrap -fsigned-zeros -fsplit-ivs-in-unroller
     -fsplit-wide-types -fstrict-aliasing -fstrict-overflow
     -fstrict-volatile-bitfields -fsync-libcalls -fthread-jumps
     -ftoplevel-reorder -ftrapping-math -ftree-bit-ccp -ftree-builtin-call-dce
     -ftree-ccp -ftree-ch -ftree-coalesce-vars -ftree-copy-prop
     -ftree-copyrename -ftree-cselim -ftree-dce -ftree-dominator-opts
     -ftree-dse -ftree-forwprop -ftree-fre -ftree-loop-if-convert
     -ftree-loop-im -ftree-loop-ivcanon -ftree-loop-optimize
     -ftree-parallelize-loops= -ftree-phiprop -ftree-pre -ftree-pta
     -ftree-reassoc -ftree-scev-cprop -ftree-sink -ftree-slsr -ftree-sra
     -ftree-switch-conversion -ftree-tail-merge -ftree-ter -ftree-vrp
     -funit-at-a-time -funwind-tables -fvar-tracking -fvar-tracking-assignments
     -fzero-initialized-in-bss -m128bit-long-double -m64 -m80387 -mabm -maes
     -malign-stringops -mavx -mavx2 -mbmi -mbmi2 -mcx16 -mf16c -mfancy-math-387
     -mfma -mfp-ret-in-387 -mfsgsbase -mfxsr -mglibc -mhle -mieee-fp
     -mlong-double-80 -mlzcnt -mmmx -mmovbe -mpclmul -mpopcnt -mpush-args
     -mrdrnd -mred-zone -mrtm -msahf -msse -msse2 -msse3 -msse4 -msse4.1
     -msse4.2 -mssse3 -mtls-direct-seg-refs -mvzeroupper -mxsave -mxsaveopt
    
  5. I'm with the "stable", and i've made an experiment installing gnucash.

     

    When I try to update @world i'm in the same your situation.

     

    But .... is necessary to update guile ? Which ebuilds requires strictly the 2.0.11  ? :wacko:

     

    However, i've emerged gnucash; then emerge @preserved-rebuild (4 ebuilds recompiled with guile 1.8.x).

    Making a revdep-rebuild only libreoffice-bin was reinstalled.



  6. k8-64x2 ~ # echo "=app-portage/gentoolkit-0.3.1-r1 ~amd64">>/etc/portage/package.accept_keywords 

    -----cut------

    k8-64x2 ~ # euse -i xine
    global use flags (searching: xine)
    ************************************************************
    [+ C    ] xine - Add support for the XINE movie libraries
     
    local use flags (searching: xine)
    ************************************************************
    [+ C    ] xine
        media-plugins/vdr-xineliboutput: Compile the xine input plugin for 
        displaying vdr video and OSD
            [+ B] 1.1.0 [gentoo]
            [+ B] 2.0.0_p20130821 [gentoo]
            [+ B] 2.0.0_p20150220 [gentoo]
            [+ B] 9999 [gentoo]


     

     

    Ok Cardinal .... You're ever a real "Guru" ^^

    Thx :)

  7. @Cardinal: 

     

    I've:

    k8-64x2 ~ # grep stag /etc/motd 
     >>> Release:                       stage3-generic_64-funtoo-stable-2015-11-07
    k8-64x2 ~ # 
    k8-64x2 ~ # eix -I gentoolkit
    [I] app-portage/gentoolkit
         Available versions:  0.3.0.8-r2 ~0.3.0.9 ~0.3.0.9-r1 0.3.0.9-r2 ~0.3.1-r1 **9999 {PYTHON_TARGETS="pypy python2_7 python3_3 python3_4 python3_5"}
         Installed versions:  0.3.0.9-r2(00:26:01 12/02/2016)(PYTHON_TARGETS="python2_7 python3_4 -pypy -python3_3")
         Homepage:            https://www.gentoo.org/proj/en/portage/tools/index.xml
         Description:         Collection of administration scripts for Gentoo
     
    k8-64x2 ~ # euse -i xine
    WARNING: 'portageq envvar PORTDIR' is deprecated. Use any of 'get_repos, get_repo_path, repos_config' instead.
    WARNING: 'portageq envvar PORTDIR' is deprecated. Use any of 'get_repos, get_repo_path, repos_config' instead.
    WARNING: 'portageq envvar PORTDIR' is deprecated. Use any of 'get_repos, get_repo_path, repos_config' instead.
    global use flags (searching: xine)
    ************************************************************
    [+ C    ] xine - Add support for the XINE movie libraries
     
    local use flags (searching: xine)
    ************************************************************
    [+ C    ] xine
        media-plugins/vdr-xineliboutput: Compile the xine input plugin for 
        displaying vdr video and OSD
            [+ B] 1.1.0 [gentoo]
            [+ B] 2.0.0_p20130821 [gentoo]
            [+ B] 2.0.0_p20150220 [gentoo]
            [+ B] 9999 [gentoo]
     
    k8-64x2 ~ # 
    
    

    Now i try to update gentoolkit.

  8. Hi;

    Using the euse command, for example

    # euse -i xine
    

    I've those warnings:

    WARNING: 'portageq envvar PORTDIR' is deprecated. Use any of 'get_repos, get_repo_path, repos_config' instead.
    WARNING: 'portageq envvar PORTDIR' is deprecated. Use any of 'get_repos, get_repo_path, repos_config' instead.
    WARNING: 'portageq envvar PORTDIR' is deprecated. Use any of 'get_repos, get_repo_path, repos_config' instead.
    
    

    How could I do ?

     

    Thanx :)

  9. Or is possible to use

    "-march=native"

     

    take a look with 2 terminals the differencies between

    echo 'int main(){return 0;}' > test.c && gcc -v -Q -march=native -O2 test.c -o test && rm test.c test
    

    and

    echo 'int main(){return 0;}' > test.c && gcc -v -Q -march=skylake -O2 test.c -o test && rm test.c test
    

    Now there are also the ultimates processors (Broadwell-E with turbo boost technology 3.0 and other new features)  :wacko:

    Then same "family" may have differencies with new "steppings". 

     

    So I use "native".

     

    And if You want to use gentoo-sources with experimental local use flag enabled You can compile also the kernel optimized for various architectures and also with "native".

  10. Hi to All.

     

    It is not working correctly suspension ram on an Acer laptop "Aspire" 5230.

    When i close the cover, it seems that go in suspension.

    But opening the cover, the laptop does not "wake up" and i must force the shutdown using "power button" for 5 seconds.

     

    Some info of this system:

     



    k8-64x2 ~ # uname -a
    Linux k8-64x2 4.4.6-gentoo #1 SMP PREEMPT Sun May 29 19:50:33 CEST 2016 x86_64 AMD Athlon(tm) X2 Dual-Core QL-60 AuthenticAMD GNU/Linux

     
    k8-64x2 ~ # lspci|grep -i vga
    01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS780M [Mobility Radeon HD 3200]
     

    global use flags (searching: upower)
    ************************************************************
    [+ C    ] upower - Enable power management support
     

    [I] sys-power/upower
         Available versions:  0.99.1(0/3) 0.99.2(0/3) 0.99.3(0/3) 0.99.3-r1(0/3) -*0.99.4.20150528(0/3) -*0.99.4.20150708(0/3) -*0.99.4.20150716(0/3) {+deprecated doc +introspection ios KERNEL="FreeBSD linux"}
         Installed versions:  0.99.3-r1(21:33:10 02/06/2016)(deprecated introspection ios KERNEL="linux -FreeBSD")

     
     

    k8-64x2 ~ # eix pm-utils
    [I] sys-power/pm-utils
         Available versions:  1.4.1-r6 ~1.4.1-r7 {alsa debug ntp VIDEO_CARDS="intel radeon"}
         Installed versions:  1.4.1-r6(21:34:03 02/06/2016)(alsa -debug -ntp VIDEO_CARDS="radeon -intel")

     

    I don't know if are  necessary other informations.

     

    Thank You for any suggestion :)

  11. Hi to All ... i've trouble with the USE "gconf" then i'm n ot able to install compiz in my Funtoo "stable".

     

    In Fedora 24 alpha it works.

     

    How can i do ?

    ci74771ht ~ # emerge compiz compiz-fusion emerald hicolor-icon-theme --autounmask-write
    Calculating dependencies... done!
     
    emerge: there are no ebuilds built with USE flags to satisfy ">=x11-wm/compiz-0.8.8[gconf?]".
    !!! One of the following packages is required to complete your request:
    - x11-wm/compiz-0.9.12.2::gentoo (Missing IUSE: gconf)
    - x11-wm/compiz-0.9.12.1::gentoo (Missing IUSE: gconf)
    - x11-wm/compiz-0.9.12::gentoo (Missing IUSE: gconf)
    (dependency required by "x11-plugins/compiz-plugins-extra-0.8.8::gentoo" [ebuild])
    (dependency required by "x11-wm/compiz-fusion-0.8.8::gentoo" [ebuild])
    (dependency required by "compiz-fusion" [argument])
    
    

    My "epro" is

    ci74771ht ~ # epro list
     
    === flavor: ===
     
        core*, desktop, hardened, minimal, server, workstation
     
    === build: ===
     
        current, experimental, (stable*)
     
    === arch: ===
     
        arm-32bit, pure64, x86-32bit, (x86-64bit*)
     
    === subarch: ===
     
        amd64-bulldozer, amd64-jaguar, amd64-k10, amd64-k8, amd64-k8+sse3
        amd64-piledriver, amd64-steamroller, atom_64, btver1_64, core-avx-i
        core2_64, corei7, generic_64, intel64-broadwell, intel64-haswell
        intel64-ivybridge, intel64-nehalem, intel64-sandybridge, intel64-silvermont
        intel64-westmere, native_64*, nocona, opteron_64, xen-pentium4+sse3_64
     
    === mix-ins: ===
     
        X*, audio*, cinnamon, console-extras*, dvd*, gnome*, gnome-3.16-fixups*
        hardened, kde*, kde-plasma-5, lxde, lxqt, mate*, media*, media-pro*
        mediadevice-audio-consumer, mediadevice-audio-pro, mediadevice-base
        mediadevice-video-consumer, mediadevice-video-pro, mediaformat-audio-common
        mediaformat-audio-extra*, mediaformat-gfx-common, mediaformat-gfx-extra*
        mediaformat-video-common, mediaformat-video-extra*, no-emul-linux-x86
        no-systemd*, openvz-host, print*, python3-only, vmware-guest
        xfce*
    
    

    Thanks :)

  12. Thanx for Your answer :)

     

    However is possible to change the size of /dev/shm using the size= in mount options.

    By default /dev/shm is "half of the total RAM"

    shm             7,9G  308K    7,9G   1% /dev/shm

    If i do

    # mount -o remount,size=15G /dev/shm
     
    shm              15G  8,8M     15G   1% /dev/shm
    

    E.G. if you don't start the graphic system i think that You could use up to 3 GiB for your temporary file system.

     

    Or may be to have a "conflict" in this case with the /run giving then possible errors or have "swapping" ?

    (Now I try to compile debian-sources with "binary" thath requires 14 GiB to make a little test)

     

    About ccache the "gain" about speedness to compile is expecially for devel that may test softwares then recompile more then once the same ebuild to test it (It was so written in the Gentoo Guide); but i can make a little test; have you got some personal xperience about the use of ccache (e. g. using qlop -gH or time emerge ebuild) ?

     

    Thanx (i hope not to bore you with those questions).

     

    PS: 15 GiB for debian-sources (with binary) are not sufficient; so i've made a

    # mount -o remount,size=16G /dev/shm
    

    And now i'm compiling it.

    I'm curious if the system will swap (i'm on KDE 4.x with all effects enabled).

     

    OK: little "report"

    time to compiling debian-sources: real    17m57.877s

    swap up to 3 GiB (but is fast cause is in a partion of my ssd)

     

    Software opened during compilation: firefox, thunderbird, htop.

    now the situation is:

     

    ci74771ht ~ # free -m
                  total        used        free      shared  buff/cache   available
    Mem:          15993        1166       13347          14        1478       14712
    Swap:          8191         222        7969

     

    I hope that this experiment could be considered a little nice :)

  13. Thank You very mutch; i've bookmarked this page :)

    But ... I wonder which of the two methods can be considered better ?

    mumble mumble ... I think a discussion "fruitful and interesting" :)

     

    2 GB for /var/tmp may be usable for not all the ebuilds ....

     

    However, with 4 GiB of RAM the /dev/shm (that is half of total memory by default) create the same situation (then 2GiB of /dev/shm mounte as tmpfs).

     

    mumble .... What do You think About ?

     

    I hope that my method must have not troubles about "security" .... :|

     

    Thanx Friend :)

  14. cardinal: You are a "real master" and Your knoledge is very great :)

    I'd like to be Your friend :)

     

    I thought also about a

    $ su -c "# emerge =x11-base/xorg-server-1.18.3
    

    I don't like "sudo" and i don't use it.

     

    Thank You to have explained about "zsh" :)

     

    However, dear Cardianl you're a "real great Teacher" :)

     

    Thanks for Your works _'_

     

    Greetings

     

    Sandro :)

  15. 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 :)

  16. 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
  17. Hi; i'm readnig your build.log.

     

    there is a trouble about space on device (it seems).

     

     


    /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

     

    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 /*
  18. I'm using kde4 (then with qt4 and "-qt5");

     

    To emerge vlc try with

     

    # euse -D qt5 media-video/vlc
    # euse -E qt4 media-video/vlc
    # emerge -DNu vlc
    

     

    However, in my system (but i use Funtoo Stable), about vlc:

     

     

    [ebuild   R    ] media-video/vlc-2.2.1-r1:0/5-8::gentoo  USE="X a52 aalib alsa avcodec avformat bidi bluray cdda cddb dbus dts dvb dvbpsi dvd encode ffmpeg flac fontconfig gcrypt gnutls ieee1394 jack jpeg kde libass libcaca libnotify libsamplerate lirc lua matroska modplug mp3 mpeg mtp musepack ncurses ogg opengl png pulseaudio qt4 sdl speex svg swscale theora truetype udev v4l vaapi vnc vorbis x264 xcb xml xv (-altivec) -atmo (-audioqueue) -chromaprint -dc1394 -debug -directfb (-directx) (-dxva2) -faad -fdk -fluidsynth -gme -gnome -growl -httpd -kate (-libav) -libtar -libtiger -linsys -live (-macosx-dialog-provider) (-macosx-eyetv) (-macosx-qtkit) (-macosx-quartztext) (-media-library) (-neon) -omxil -opencv -optimisememory -opus -postproc -projectm -qt5 (-rdp) -rtsp -run-as-root -samba -schroedinger -sdl-image -sftp -shout -sid -skins -taglib {-test} -tremor -twolame -upnp -vcdx -vdpau -vlm -vpx -wma-fixed -x265 -zeroconf -zvbi" CPU_FLAGS_X86="mmx sse" 20450 KiB
    
    Total: 1 package (1 reinstall), Size of downloads: 20450 KiB

     

    (It will require others dependencies) :|

×
×
  • Create New...