Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

cardinal

Members
  • Posts

    490
  • Joined

  • Last visited

  • Days Won

    59

Posts posted by cardinal

  1.  

    @fredmyra this is a quick method to get it built and installed without configuring and using a local overlay.

    Using 'ego query v rosegarden'  finds the kit-release, category/package

    j@funtoo ~ $ ego query v rosegarden
     media-sound/rosegarden| slot|                  repo
    -----------------------+-----+----------------------
                    17.12.1|    0| media-kit/1.4-release
    

    Path to packages is /var/git/meta-repo/kits/<name-kit>/<category-name>/<package-name>

    cd /var/git/meta-repo/kits/media-kit/media-sound/rosegarden

    Renaming the ebuild with the 21.12 version is all that is required in this case.

    mv rosegarden-17.12.1.ebuild rosegarden-21.12.ebuild

    Rebuild the Manifest while connected to the internet.

    ebuild rosegarden-21.12.ebuild manifest

    Build/install

    emerge -av =media-sound/rosegarden-21.12

     The next time 'ego sync' is run these edits will revert but you'll have it installed so it shouldn't matter.

  2. Stop smart-live-rebuild from erroneously trying to rebuild gcc with this command :

    smart-live-rebuild -f '!sys-devel/gcc'

    Add filter to /etc/portage/smart-live-rebuild.conf  :

    [smart-live-rebuild]
    filter_packages = !sys-devel/gcc

     

  3. Smart-live-rebuild rebuilds packages that are members of @live-rebuild package set whose source code has changed since last build .

    Funtoo has sys-devel/gcc-9.2.0 in 1.4-release and sys-devel/gcc-11.2.0 in next release as members of @live-rebuild.

    I have not configured any live ebuilds , this list should be empty but it includes sys-devel/gcc-11.2.0 :

    rj@funtoo-next ~ $ sudo emerge -a @live-rebuild
    These are the packages that would be merged, in order:
    Calculating dependencies... done!
    [ebuild   R    ] sys-devel/gcc-11.2.0 
    Would you like to merge these packages? [Yes/No] 

    Only package ebuilds with 9999 live version option that have been enabled by the user should be members of @live-rebuild 

    Smart-live-rebuild spews the error because the gcc ebuild has no 9999 option for the user to add that would provide the required environment. 

    Bug report: [1.4 and next] sys-devel/gcc is a member of @live-rebuild

  4. The default configuration is when the headphones are unplugged it disables the headphone volume.

    In your case it appears the headphone volume controls the internal laptop speaker volume.

    A potential workaround is to reconfigure the headphone volume so it isn't disabled when the headphones are unplugged.

    nano /usr/share/pulseaudio/alsa-mixer/paths/analog-output-speaker.conf
    

    Change

    [Element Headphone]
    switch = off
    volume = off

    to

    [Element Headphone]
    switch = off
    volume = merge

     

  5. @pfreis

    The attached ascii-10.disable.docs.patch disables ocl-icd configure.ac check for asciidoc.

    If the ocl-icd configure doesn't detect asciidoc then documentation generation is disabled.

    Disabling the documentation generation enables ocl-icd to complete the emerge.

    mkdir -p /etc/portage/patches/dev-libs/ocl-icd
    cp ascii-10.disable.docs.patch /etc/portage/patches/dev-libs/ocl-icd

     

    ascii-10.disable.docs.patch

  6. Vote for Bug Report:  i686 openssh requires >=sys-kernel/linux-headers-5.1

    The problem below could be an issue with my computer, try updating the headers first by copy/renaming to linux-headers-5.7-r1.ebuild.

    Unmask with keyword="*" install linux-headers-5.7 and rebuild openssh-8.4_p1-r3

    Yesterday I had the same problem again in spite of linux-headers-5.7 still being installed when the upgrade of openssl forced an openssh rebuild.

    To get a working version again I had to update openssh by adding the openssh folder from gentoo portage to my local overlay, remove  acct-group/sshd acct-user/sshd from openssh-8.8_p1.ebuild, add user-info.eclass from gentoo to funtoo.

     

     

     

  7. Please report if the attached patch solves the compile failure (gcc-11.2.0 next-release)

    mkdir -p /etc/portage/patches/x11-drivers/xf86-video-ati
    cp xf86-video-ati-19.1.0-Fix-link-failure-with-gcc-10.patch /etc/portage/patches/x11-drivers/xf86-video-ati

     

     

     

    xf86-video-ati-19.1.0-Fix-link-failure-with-gcc-10.patch

  8. In your "C compiler is not working" thread you had switched to "next" release on an existing system.

     @drobbins  currently has "nokit" excluded from "next" release 

    rj@funtoo ~ $ ego query v iucode_tool
     sys-apps/iucode_tool| slot|              repo
    ---------------------+-----+------------------
                    2.1.1|    0| nokit/1.4-release
                    2.1.2|     | nokit/1.4-release
                      2.2|     | nokit/1.4-release

    If I was in this situation I would configure portage to add "nokit"  as a local overlay.

     

     

     

     

     

     

  9. Couldn't resolve host 'github.com'

    Resolved ip address for github.com with this command:

    funtoo /home/rj # getent hosts github.com
    140.82.114.3    github.com

    While inside the chroot add the ip address for github.com to the /etc/hosts file.

    echo "140.82.114.3  github.com" >> /etc/hosts

    With an active internet connection there should be a reply from ping github.com or ping 140.82.114.3 from inside the chroot.

    If the ping reply's you should be able to ego sync.

  10. Quote

    x86_64-pc-linux-gnu-gcc: fatal error: cannot execute ‘as’: execvp: No such file or directory compilation terminated.

    From @drobbins 'next' release announcement:

    PLEASE NOTE: When you do this, unless you have a very very minimal system, I can almost guarantee that doing an emptytree rebuild WILL result in some packages not building. So be prepared for this and don't do this on production systems of course! Feel free to open bugs for any build failures, particularly for any DE or server packages that need gcc10 fixes.

    ALSO PLEASE NOTE: We reserve the right to break or make disruptive changes in next-release AT ANY TIME! While I am going to try to do things as cleanly as possible, and ensure that the stage3 continues to build, you should be prepared for potential dep issues and other problems that may be annoying to deal with. This is part of the whole process of updating Funtoo that you are embarking upon!

    'next' release currently includes gcc-11.2.0 and an updated unified binutils (binutils and binutils-libs have been combined, and binutils-config has been removed.) It also has a small handful of updated packages.

    # ln -sf /usr/x86_64-pc-linux-gnu/binutils-bin/2.36.1/as /usr/bin

    There are 18 binutils, everyone may require a symlink to /usr/bin:

    /usr/x86_64-pc-linux-gnu/binutils-bin/2.36.1/addr2line
    /usr/x86_64-pc-linux-gnu/binutils-bin/2.36.1/ar
    /usr/x86_64-pc-linux-gnu/binutils-bin/2.36.1/as
    /usr/x86_64-pc-linux-gnu/binutils-bin/2.36.1/c++filt
    /usr/x86_64-pc-linux-gnu/binutils-bin/2.36.1/dwp
    /usr/x86_64-pc-linux-gnu/binutils-bin/2.36.1/elfedit
    /usr/x86_64-pc-linux-gnu/binutils-bin/2.36.1/gprof
    /usr/x86_64-pc-linux-gnu/binutils-bin/2.36.1/ld
    /usr/x86_64-pc-linux-gnu/binutils-bin/2.36.1/ld.bfd
    /usr/x86_64-pc-linux-gnu/binutils-bin/2.36.1/ld.gold
    /usr/x86_64-pc-linux-gnu/binutils-bin/2.36.1/nm
    /usr/x86_64-pc-linux-gnu/binutils-bin/2.36.1/objcopy
    /usr/x86_64-pc-linux-gnu/binutils-bin/2.36.1/objdump
    /usr/x86_64-pc-linux-gnu/binutils-bin/2.36.1/ranlib
    /usr/x86_64-pc-linux-gnu/binutils-bin/2.36.1/readelf
    /usr/x86_64-pc-linux-gnu/binutils-bin/2.36.1/size
    /usr/x86_64-pc-linux-gnu/binutils-bin/2.36.1/strings
    /usr/x86_64-pc-linux-gnu/binutils-bin/2.36.1/strip

    If the binutils are missing download the "next" stage 3 tarball and extract them.

     

     

  11. The issue you may be having is addressed here:

    https://forums.funtoo.org/topic/4560-problem-ego-sync/

    Owner and group on /var/git has to be portage which has uid (250) and gid(250)

    rj@funtoo ~ $ ls -la /var | grep git
    drwxr-xr-x  3 portage portage 4096 Sep 16 20:36 git
    rj@funtoo ~ $ ls -lan /var | grep git
    drwxr-xr-x  3  250 250 4096 Sep 16 20:36 git

    Correct the permissions if necessary:

    # install -d /var/git -o 250 -g 250

    https://www.funtoo.org/Install/Download_Portage_Tree

     

  12. When you boot into lightdm-greeter gui, type in your password, click the login button does lightdm start the mate-session desktop?

    Adding autologin-user=rj  to /etc/lightdm/lightdm.conf  under [Seat:*] auto-logins my regular user rj 

    lightdm has good logs at /var/log/lightdm/lightdm.log .

     

    Single user mode with root partition mounted rw, no networking:

    Genkernel initrd including debian-sources{-lts} add init_opts=1 to kernel command line.

    Kernel with no initramfs add the number 1 to the kernel command line.

     

     

×
×
  • Create New...