Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

cafaia

Members
  • Posts

    83
  • Joined

  • Last visited

  • Days Won

    7

Posts posted by cafaia

  1. Hi, bourbon!

    I'm glad that I have helped!

    Let's go to the points with errors:

    - KDE is still 99% in English = NOT SOLVED. In your System Settings do you have something similar to this:

    Screenshot_20180411_095415.thumb.png.0d3a2cd9bf4799acbd983e7227f9b3ff.png

    I see that your configuration files are correct, I advise you to put this too in your .bash_profile:

    export LANG="it_IT.utf8"

    After that, I noticed two warnings at boot:
    - mdam = I don't remember what is wrong (red asterisk)
    - npd = (red asterisk) does'nt start at boot (I have been installing it because am in multiboot with Windows 10. It solved the time issue on Funtoo but still needing to fix manually on Windows when using it).

    The mdadm service is for raid, but it is not necessary if you have an image with the settings. I have raid and I do not have this service running.

    The ntpd service requires special network configurations, you should not use dhcpcd as a service. The correct service should be net.eth0 and you should have this in /etc/conf.d/ntp-client:

    rc_need="net.eth0"

    The time in your bios is in UTC? The time in my bios is three hours early.

    I advise you to copy the files from the external hd again, permission errors may occur.

    I hope I've helped! Big hug!

  2. Hello, theasker!

    Sorry for the delay!

    As you have more operating systems, I advise you not to use the program sys-boot/boot-update and do this:

    1 - install sys-boot/grub (attention to the variable GRUB_PLATFORMS in /etc/portage/make.conf) and sys-boot/os-prober

    2 - run 'grub-mkconfig -o /boot/grub/grub.cfg'

    3 - run 'grub-install /dev/sda'

    This usually works automatically, without needing to edit anything.

    Hope this helps!

  3. Hello, theasker!

    If you do not use the program sys-boot/boot-update to update the file '/boot/grub/grub.cfg', you must have installed the program sys-boot/os-prober. Look at this:

    * sys-boot/os-prober
         Available versions:  1.71 (~)1.73 (~)1.74
         Homepage:            http://packages.debian.org/source/sid/os-prober
         Description:         Utility to detect other OSs on a set of drives

    Hope this helps!

  4. Hi, tefrem34!

    Sorry, I had not seen that had it too 'LWP-Protocol-https_ca-cert-r1.patch.gz'. You can download from here http://portages.ifcem.if.ua/distfiles/LWP-Protocol-https_ca-cert-r1.patch.gz and move to '/var/cache/portage/distfiles', then you will be able to install LWP-Protocol-https-6.60.0.

    I hope I've helped!

    P.S.: I am attaching the missing file LWP-Protocol-https_ca-cert-r1.patch.gz.

    LWP-Protocol-https_ca-cert-r1.patch.gz

  5. Hi, tefrem34!

    You tried to create another user for bugs.funtoo.org? Maybe this will solve the problem.

    I thought you were having trouble downloading the source code (404 error, not found), so I said to download from another location and move to '/var/cache/portage/distfiles/'. If the error is in the compilation you will have to register a bug (I have installed the version dev-perl/LWP-Protocol-https-6.60.0, and you?).

    I hope I've helped!

  6. Hi, tefrem34!

    Welcome to the world Funtoo, I hope you like!

    I also have problems with dev-libs/appstream-0.11.5, so I blocked it in '/etc/portage/package.mask/appstream-0.11.5' and I'm using dev-libs/appstream-0.10.6-r1.

    I found the source code of dev-perl/LWP-Protocol-https-6.60.0 here: https://ftp.mirrorservice.org/sites/download.salixos.org/x86_64/extra-14.2/source/perl/perl-LWP-Protocol-https/LWP-Protocol-https-6.06.tar.gz , just download and move to '/var/cache/portage/distfiles/'.

    About the error in installing media-gfx/mypaint, I believe it is a bug.

    I think you should create a bug in https://bugs.funtoo.org/ about the error in dev-libs/appstream-0.11.5 and to install the program media-gfx/mypaint, are nice people working there and they will like to help you.

    I hope I've helped!

  7. Hello, biocyberman!

    Strange that you have this result, because I have this:

    funtoo ~ # euse -p "x11-base/xorg-server" -E "xephyr"
    /etc/make.conf: line 24: foobashrc_modules: command not found
    /etc/portage/make.conf: line 24: foobashrc_modules: command not found
    Adding "x11-base/xorg-server[xephyr]" use flag to new file /etc/portage/package.use/xorg-server
    funtoo ~ # cat /etc/portage/package.use/xorg-server 
    x11-base/xorg-server xephyr

    Do you have the folder "/etc/portage/package.use/"? I have "app-portage/gentoolkit-0.4.0" and you?

  8. On 28/10/2017 at 3:18 PM, seaofash said:

    @cafaia Thank you so much good sir!

    Thanks to you, now I have a working debugger for C++/Unreal Engine which I can use with Qt Creator as LLDB debugger front-end to debug my game. Although it did not work out of the box, I was able to build LLVM4 using your instructions with slight modifications (it was required to fetch patches in addition to the ebuild files even patches from 9999 or 5.0.0 were required for LLVM4 to build, otherwise it failed. In addition to that, mesa had a dependency on llvm use flag and the minimum working version with llvm 4 was mesa 17.0.6 in portage so I had to unmask that too).

    For anyone coming across this with similar issues here's what I did:

    
    $ nvim /etc/portage/make.conf
    ########
    PORTDIR_OVERLAY="/var/git/overlay/local"
    ########
    
    $ mkdir -p /var/git/overlay/local/profiles
    $ echo "$HOSTNAME" > /var/git/overlay/local/profiles/repo_name
    
    $ mkdir -p /var/git/overlay/local/metadata
    $ nvim /var/git/overlay/local/metadata/layout.conf
    ########
    masters = core-kit
    ########
    
    $ nvim /etc/portage/package.unmask
    ########
    # LLVM4
    sys-devel/clang:4
    sys-devel/llvm:4
    =dev-util/lldb-4.0.1
    =sys-devel/llvm-common-4.0.1
    =sys-devel/clang-runtime-4.0.1
    ########
    
    $ sudo nvim /etc/portage/package.keywords
    ########
    # required by media-libs/mesa-17.0.6::x-local
    # required by mesa (argument)
    =x11-libs/libdrm-9999 **
    ########
    
    $ mkdir -p /var/git/overlay/local/sys-devel/llvm
    $ cd /var/git/overlay/local/sys-devel/llvm/
    $ wget https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-devel/llvm/llvm-4.0.1.ebuild
    $ mkdir -p /var/git/overlay/local/sys-devel/llvm/files/9999
    $ cd /var/git/overlay/local/sys-devel/llvm/files/9999
    $ wget https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-devel/llvm/files/9999/0007-llvm-config-Clean-up-exported-values-update-for-shar.patch
    $ wget https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-devel/llvm/files/9999/musl-fixes.patch
    $ ebuild /var/git/overlay/local/sys-devel/llvm/llvm-4.0.1.ebuild digest
    
    $ mkdir -p /var/git/overlay/local/sys-devel/llvm-common
    $ cd /var/git/overlay/local/sys-devel/llvm-common
    $ wget https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-devel/llvm-common/llvm-common-4.0.1.ebuild
    $ ebuild /var/git/overlay/local/sys-devel/llvm-common/llvm-common-4.0.1.ebuild digest
    
    $ mkdir -p /var/git/overlay/local/sys-devel/clang
    $ cd /var/git/overlay/local/sys-devel/clang
    $ wget https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-devel/clang/clang-4.0.1.ebuild
    $ mkdir -p /var/git/overlay/local/sys-devel/clang/files/4.0.1
    $ cd /var/git/overlay/local/sys-devel/clang/files/4.0.1
    $ wget https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-devel/clang/files/4.0.1/0001-Frontend-Correct-values-of-ATOMIC_-_LOCK_FREE-to-mat.patch
    $ wget https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-devel/clang/files/4.0.1/0007-cmake-Support-stand-alone-Sphinx-doxygen-doc-build.patch
    $ mkdir /var/git/overlay/local/sys-devel/clang/files/4.0.1/extra
    $ cd /var/git/overlay/local/sys-devel/clang/files/4.0.1/extra
    $ wget https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-devel/clang/files/4.0.1/extra/0001-test-Fix-test-dependencies-when-using-installed-tool.patch
    $ mkdir -p /var/git/overlay/local/sys-devel/clang/files/5.0.0
    $ cd /var/git/overlay/local/sys-devel/clang/files/5.0.0
    $ wget https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-devel/clang/files/5.0.0/0001-Driver-Use-arch-type-to-find-compiler-rt-libraries-o.patch
    $ mkdir /var/git/overlay/local/sys-devel/clang/files/5.0.0/extra
    $ cd /var/git/overlay/local/sys-devel/clang/files/5.0.0/extra
    $ wget https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-devel/clang/files/5.0.0/extra/0002-test-Fix-clang-library-dir-in-LD_LIBRARY_PATH-For-st.patch
    $ ebuild /var/git/overlay/local/sys-devel/clang/clang-4.0.1.ebuild digest
    
    $ mkdir -p /var/git/overlay/local/dev-util/lldb
    $ cd /var/git/overlay/local/dev-util/lldb
    $ wget https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-util/lldb/lldb-4.0.1.ebuild
    $ mkdir -p /var/git/overlay/local/dev-util/lldb/files/4.0.1
    $ cd /var/git/overlay/local/dev-util/lldb/files/4.0.1
    $ wget https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-util/lldb/files/4.0.1/0001-test-Fix-finding-LLDB-tools-when-building-stand-alon.patch
    $ wget https://gitweb.gentoo.org/repo/gentoo.git/plain/dev-util/lldb/files/4.0.1/0002-Fix-bug-28898.patch
    $ ebuild /var/git/overlay/local/dev-util/lldb/lldb-4.0.1.ebuild digest
    
    $ mkdir -p /var/git/overlay/local/media-libs/mesa
    $ cd /var/git/overlay/local/media-libs/mesa
    $ wget https://gitweb.gentoo.org/repo/gentoo.git/plain/media-libs/mesa/mesa-17.0.6.ebuild
    $ mkdir -p /var/git/overlay/local/media-libs/mesa/files
    $ cd /var/git/overlay/local/media-libs/mesa/files
    $ wget https://gitweb.gentoo.org/repo/gentoo.git/plain/media-libs/mesa/files/eselect-mesa.conf.9.2
    $ wget https://gitweb.gentoo.org/repo/gentoo.git/plain/media-libs/mesa/files/mesa-13-clover-Work-around-build-failure-with-AltiVec.patch
    $ ebuild /var/git/overlay/local/media-libs/mesa/mesa-17.0.6.ebuild digest
    
    $ emerge -avt sys-devel/llvm sys-devel/clang dev-util/lldb

    Thanks again!

    Hello, seaofash!

    I'm happy to have helped!

    We are here to help each other!

    Big hug!

  9. Hello, seaofash!

    You can do this to use lldb in sys-devel/llvm-3.9.1-r1:

    # mkdir -p /etc/portage/profile/use.mask
    # echo '-lldb' > /etc/portage/profile/use.mask/test-forum
    # USE="lldb" emerge -1 =sys-devel/llvm-3.9.1-r1 or # echo '=sys-devel/llvm-3.9.1-r1 lldb' > /etc/portage/package.use/test-forum

    But if you want llvm, lldb and clang in version 4, you need all this:

    # mkdir -p /var/git/overlay/local/sys-devel/llvm
    # cd /var/git/overlay/local/sys-devel/llvm/
    # wget https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-devel/llvm/llvm-4.0.1.ebuild
    # ebuild llvm-4.0.1.ebuild digest
    # mkdir -p /var/git/overlay/local/sys-devel/llvm-common
    # cd /var/git/overlay/local/sys-devel/llvm-common/
    # wget https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-devel/llvm-common/llvm-common-4.0.1.ebuild
    # ebuild llvm-common-4.0.1.ebuild digest
    
    And the file /etc/portage/package.unmask/test-forum with this:
    
    sys-devel/clang:4
    sys-devel/llvm:4
    =dev-util/lldb-4.0.1
    =sys-devel/llvm-common-4.0.1
    =sys-devel/clang-runtime-4.0.1

     

  10. Hello, fusion-cat!

     

    My file '/etc/fstab' is this:

    /dev/md1                        /boot                   ext2    defaults,noatime                                        1 2
    /dev/mapper/swsyho-swap         none                    swap    sw                                                      0 0
    /dev/mapper/swsyho-system       /                       ext4    noatime                                                 0 1
    /dev/mapper/swsyho-home         /home                   ext4    defaults,noatime                                        0 2
    tmpfs                           /var/tmp/portage        tmpfs   uid=portage,gid=portage,mode=775,size=16384M,noatime    0 0
    
    /dev/sdc1                       /hd                     ext4    defaults,noatime                                        0 2
    
    

    I have everything aligned.

  11. Hello, fusion-cat!

     

    You must do these steps:

    ~ $ su -
    ~ # cp -p /etc/fstab{,.bak}
    ~ # nano -w /etc/fstab
    

    1? step: you log in as root;

    2? step: you make a backup of the file;

    3? step: you open the file '/etc/fstab' with the editor 'nano'.

     

    Then you should add something like this:

    /dev/sdb1	/home	ext4	defaults,noatime	0 2
    

    To exit the editor you must:

     

    1? to press 'Ctrl+O' + 'Enter';

    2? to press 'Ctrl+X'.

     

    I hope I have helped!

  12. Hello, skunk!

     

    I'm glad I've helped!

    Yes, you can put '@ego sync', I can not because I have this in '/usr/local/sbin/meta-repo-update':

    #!/bin/sh
    
    cd /var/git/meta-repo/
    git pull
    git submodule update
    cd /var/git/meta-repo/kits/xorg-kit/
    git checkout master
    git pull
    cd /var/git/meta-repo/kits/media-kit/
    git checkout master
    git pull
    cd /root/
    chown -R portage:portage /var/git/meta-repo
    

    I use the branch master in the kits xorg-kit and media-kit!

    With best regards!

×
×
  • Create New...