/r/Gentoo

Photograph via snooOG

The place to find relevant information on Gentoo Linux

The place to find relevant information on the wonder that is Gentoo, and (among other things):

  • Portage

  • ebuilds
  • errors
  • package management
  • Forks/Side Projects

  • Major Project Developments

  • Important GLSA's for high profile/common applications

  • Articles and References of General interest to the Gentoo community

  • Interesting uses of Gentoo

  • For support or general updates check out the official support resources.


    If your post is blocked, chances are that it was the spam filter and not moderator action. So please contact us rather than just letting your post rot in the spam folder.


    Projects related to Gentoo Linux:

    Know of a good Gentoo-related project you think should be listed? Message the moderators and let us know. Project must have some specific relation to Gentoo Linux to be included.

    /r/Gentoo

    25,579 Subscribers

    1

    Cant install steam

    when i try to install steam i get this error and i dont know how to solve it

    doas emerge -avq games-util/steam-launcher

    [ebuild N ] sys-process/lsof-4.99.3 USE="-rpc (-selinux)"

    [ebuild N ] virtual/opengl-7.0-r2 ABI_X86="32 (64) (-x32)"

    [ebuild N ] sys-libs/libudev-compat-186-r1 ABI_X86="32 (64) (-x32)"

    [ebuild N ] games-util/game-device-udev-rules-20230603 USE="acl elogind -systemd"

    [ebuild N ] games-util/steam-launcher-1.0.0.79 USE="desktop-portal dialogs joystick pulseaudio steamruntime udev wayland -steamvr -trayicon" VIDEO_CARDS="-nvidia"

    [blocks B ] sys-apps/dbus[abi_x86_32,-X] ("sys-apps/dbus[abi_x86_32,-X]" is soft blocking games-util/steam-launcher-1.0.0.79)

    * Error: The above package list contains packages which cannot be

    * installed at the same time on the same system.

    (sys-apps/dbus-1.15.8:0/0::gentoo, installed) pulled in by

    sys-apps/dbus required by "@"selected

    (games-util/steam-launcher-1.0.0.79:0/0::steam-overlay, ebuild scheduled for merge) pulled in by

    games-util/steam-launcher

    0 Comments
    2024/04/15
    16:19 UTC

    3

    Why does Portage take so long when installing a package?

    I'm not talking about compiling; after a package is compiled or a binary is emerged, it will say "Installing" then "Completed" if successful.

    My query is about what "Installing" means exactly. I assume it just copies the complied code into your system, but if that's the case, why does it take unusually long? This step usually takes 3-4 seconds per package, in comparison to other package managers that can do it in less than one.

    I'm bringing this up because I was installing Gentoo on a spare laptop for fun, and I wanted to only use binpkgs as much as possible. While using binaries obviously sped up the process a lot, I was still disappointed that it took over half an our to install plasma-meta. In comparison, Arch usually takes about a minute to install Plasma in full.

    Granted, Portage still had to compile a few packages (like 5), but with over 300 packages in plasma-meta, each "Installing" taking 2-3 seconds longer than it should, definitely adds up.

    If Gentoo is serious about being used as a binary distribution, then something should be done about this oddly long "Installing" time.

    Also, I tried glancing at Portage's source code, but I'm not a python programmer so I could hardly understand anything.

    14 Comments
    2024/04/15
    06:15 UTC

    1

    Partitioning: an unusual oddity was noticed in the handbook

    here they tell me to do x u <enter uuid of partition they want> https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Disks#Partitioning_the_disk_with_GPT_for_UEFI , but although in fact this is very different, - and partition type uuid != partition uuid; DPS advises to do only and only partition type uuid according to the specification, which fdisk successfully copes with by default https://uapi-group.org/specifications/specs/discoverable_partitions_specification/#what-partitioning-tools-will-create-a-dps-compliant-partition-table , and it turns out these are unnecessary and incorrect steps

    3 Comments
    2024/04/14
    21:34 UTC

    3

    Gentoo gets stuck compiling gnome, been like this for a couple hours, screens not frozen as i can still type on the bottom line. Any ideas whats wrong?

    23 Comments
    2024/04/14
    17:35 UTC

    9

    Difference between vfat and fat

    mkfs.vfat partition

    or

    mkfs.fat -F 32 partition

    what is the difference?

    18 Comments
    2024/04/14
    17:18 UTC

    0

    Gnome Bluetooth not working

    In gnome control center, it says "No Bluetooth found - plugin a dongle to use bluetooth".

    This is definitely a gnome issue, because it works fine in bluetoothctl or blueman-manager.

    Does anyone have any advice?

    2 Comments
    2024/04/14
    05:26 UTC

    18

    Why is there no support for Gentoo?

    So, I go to different websites and resources, they always have commands guides etc. for Arch, Debian, Ubuntu and Even Void linux, but not gentoo, despite gentoo being independent and not being based on other distro.

    It is not even like its small and new, it has a good amount of hype, or is it just that it is hard to develop apps for gentoo? I mean you are compiling from source anyway, I am new there maybe a reason as to why like overlays etc.

    30 Comments
    2024/04/14
    05:07 UTC

    0

    Secure Boot, Dual Boot Win 10 + Gentoo

    How the heck do I get this working?

    I tried several times all the steps to either use Grub, systemd-boot and efibootmgr and none work.

    I'm borderline installing Ubuntu just so it handles bootloader for me, wiping the files and placing Gentoo's in place.

    First time installing Secure Boot and EFI, please be kind

    11 Comments
    2024/04/14
    04:52 UTC

    3

    Does the distribution kernel work with an EFI stub?

    Tryna figure out how to get gentoo to dual boot with Windows. I'm new to UEFI, last time I installed gentoo I just used LILO.

    33 Comments
    2024/04/13
    15:58 UTC

    0

    How can I properly set up dual boot with 2 drives?

    Hi! I just finished installing Windows on a secondary SSD on my system, after removing the one with Gentoo just to be safe. After reconnecting it, it seems like windows deleted the boot entry for grub (I will fix it later with chroot), how can I set this up to have both entries on grub? And is this the best way to set this up? The system ended up with 2 EFI partitions

    6 Comments
    2024/04/13
    15:53 UTC

    1

    Disk space

    Hi. I've been using Gentoo with GNOME for a while now, and I've noticed that the free space it shows is different from the one given by the "df -h" command. I don't have problems using the terminal, but I have GNOME installed, and I would like it to show the free space correctly. Is it possible to do it?

    3 Comments
    2024/04/13
    14:23 UTC

    1

    sci-libs/vtk is a part of @world on my system for some reason. Is it safe to deselect it from @world?

    I don't remember installing it seperately, so it would be added to @world, but I guess it happened at some point. Two packages on my system depend on it, so it wouldn't get removed, and it just wouldn't be updated seperately every time I update @world. I think it's safe to remove it, but wanted to ask just in case.

    10 Comments
    2024/04/13
    08:09 UTC

    0

    When booting UEFI Firmware is only option - dracut issue??

    the output of

    dracut --kver=6.6.21-gentoo is

    dracut[F]: and --no-kernel was not specified

    the output of

    blkid is

    /dev/nvme0n1p1: UUID="5A13-F4E0" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="8844ddec-4dd5-ff4a-8260-dbe851fbb71e"
    /dev/nvme0n1p2: UUID="d880d6e5-d337-47c2-b96e-feef6940a4e2" TYPE="swap" PARTUUID="112a9083-d961-434f-8763-3e537afd522e"
    /dev/loop0: BLOCK_SIZE="131072" TYPE="squashfs"
    /dev/mapper/ventoy: BLOCK_SIZE="2048" UUID="2024-04-01-00-33-27-00" LABEL="ISOIMAGE" TYPE="iso9660" PTUUID="bdf1e7bb-42c5-4a1a-b206-e1b9e8622e1a" PTTYPE="gpt"
    /dev/sda2: SEC_TYPE="msdos" LABEL_FATBOOT="VTOYEFI" LABEL="VTOYEFI" UUID="B2C8-40D2" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="414bfa23-02"
    /dev/sda1: LABEL="Ventoy" UUID="CDF8-1A56" BLOCK_SIZE="512" TYPE="exfat" PARTUUID="414bfa23-01"
    

    the output of

    cat /etc/fstab is ```/dev/nvme0n1p1 /efi vfat umask=0077 0 2 /dev/nvme0n1p2 none swap sw 0 0 /dev/nvme0n1p3 / xfs defaults,noatime 0 1

    /dev/cdrom /mnt/cdrom auto noauto,user 0 0```

    Any help would be appreciated :)

    3 Comments
    2024/04/13
    06:18 UTC

    1

    Can I use a non-desktop profile for installation (graphics - sway wm)?

    14 Comments
    2024/04/12
    21:44 UTC

    3

    Would updates to packages take less time if you keep the old packages files (and hence, the *.o files that got compiled)??

    Hey there!

    I want to test drive Gentoo, and I do want to compile literally everything from source, including things like my internet browser which I know take a long time to compile.

    I'm worried about one thing though and that's holding me back: Would updating packages takes just as long as you first installed them?

    I don't care if it takes hours or days for the initial setup, and I think that's fair and makes sense. But do I have to also compile every update to things like the kernel, or the internet browser from scratch? Can Gentoo use the old *.o compiled files that don't need compiling again, and only compile the files that have changed for the new versions of packages...?

    I know that binary packages are available, but I want to compile everything myself if it doesn't create too many problems, mostly for the fun of it.

    13 Comments
    2024/04/12
    16:21 UTC

    14

    Got it on my second try!

    Got it on my second try, I am going to use sway, right now I would like to use fuzzle instead of dmenu, I know I have to use an overlay, I would appreciate any resources on it, the amount configuration gentoo has is insane, hence I spend a lot of time figuring out why certain packages aren't merging.

    I am going to use wine and winetricks I will be playing games on this PC so I would appreciate suggestions on those configurations too.

    Lastly, Greetings to all Gentoo Users!!

    https://preview.redd.it/zki4ezm0p1uc1.png?width=900&format=png&auto=webp&s=42bb314528349246fbb4c138359080a1861711d7

    28 Comments
    2024/04/12
    12:53 UTC

    2

    Gentoo Chimera Linux?

    Had anybody tried to build a gentoo install similar to chimera linux with FreeBSD userland tools? Is there any existing projects attempting to do that?

    I know there's the musl/llvm stage3 but afaik it still uses the GNU userland.

    Also this is just out of interest, I don't have a proper usecase at the moment.

    6 Comments
    2024/04/12
    10:52 UTC

    18

    What happened to the wiki, forums and Bugzilla sites? Everything ok?

    7 Comments
    2024/04/12
    00:27 UTC

    1

    Fresh install: "filesystem is read-only"

    Fresh install booted up, to find that the whole drive is read-only. What can I

    7 Comments
    2024/04/10
    23:13 UTC

    14

    Why does Portage try to emerge both gentoo-kernel and gentoo-kernel-bin?

    4 Comments
    2024/04/10
    19:23 UTC

    2

    Problem with GRUB.

    EDIT:

    see https://bugs.gentoo.org/925370

    and the patch:

    From 6e0b2277eba062bf7950536cd27f9789c545d20f Mon Sep 17 00:00:00 2001
    From: Mike Gilbert <floppym@gentoo.org>
    Date: Thu, 11 Apr 2024 15:33:45 -0400
    Subject: [PATCH] grub.d: avoid calling fwsetup unconditionally
    
    This causes grub to enter the firmware setup on boot when using a
    grub core that does not support the 'fwsetup --is-supported' option.
    
    Upstream has rejected attempts to resolve this, so we will carry this as
    a distro patch for a bit.
    
    Bug: https://bugs.gentoo.org/925370
    ---
     util/grub.d/30_uefi-firmware.in | 9 +++------
     1 file changed, 3 insertions(+), 6 deletions(-)
    
    diff --git a/util/grub.d/30_uefi-firmware.in b/util/grub.d/30_uefi-firmware.in
    index 1c2365ddb..b6041b55e 100644
    --- a/util/grub.d/30_uefi-firmware.in
    +++ b/util/grub.d/30_uefi-firmware.in
    @@ -32,11 +32,8 @@ gettext_printf "Adding boot menu entry for UEFI Firmware Settings ...\n" >&2
    
     cat << EOF
     if [ "\$grub_platform" = "efi" ]; then
    -fwsetup --is-supported
    -if [ "\$?" = 0 ]; then
    -menuentry '$LABEL' \$menuentry_id_option 'uefi-firmware' {
    -fwsetup
    -}
    -fi
    +menuentry '$LABEL' \$menuentry_id_option 'uefi-firmware' {
    +fwsetup
    +}
     fi
     EOF
    --
    2.44.0

    Hi, i recently ran:

    grub-mkconfig -o /boot/grub/grub.cfg

    .. with a new kernel and rebooted. What happened then is GRUB showed up for 0.5s, pc rebooted into UEFI. I got a backup conf and diff:

    - Entry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
    -       fwsetup
    -}
    
    +if [ "$grub_platform" = "efi" ]; then
    +       fwsetup --is-supported
    +       if [ "$?" = 0 ]; then
    +               menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' {
    +                       fwsetup
    +               }
    +       fi
    +fi
     ### END /etc/grub.d/30_uefi-firmware ###

    Showed that. If i revert this its working again. Is this some kind of bug or what exactly is causing this issue ?

    12 Comments
    2024/04/10
    15:03 UTC

    2

    HW Recommendation Needed: KVM and/or Dock

    I've got the AV Access USB-C & HDMI KVM Switch and Dock combo. Unfortunately, it doesn't work reliably and the USB-C only operates at 4k60 when I boot the laptop into MS Windows 11. Under Linux, 1080p is the highest. That is, when the display even works in the first place.

    The HDMI/USB-A KVM connection are OK, but sometimes I have to toggle the displays to get the keyboard and mouse working. The HDMI on the laptop is restricted to 4k30. I spend more time in spreadsheets, so it isn't bad. But I can tell when I watch a video on it.

    It's hardly troublefree and not like other experiences I've had with KVMs.

    There 3 computers (2 laptops and 1 desktop) to switch between and will connect to a single 4k60 moniter, keyboard, and mouse. I have a network switch.

    I'm not opposed to getting separate docks and a KVM as long as it just works.

    Any recommendations?

    3 Comments
    2024/04/10
    13:15 UTC

    1

    Gentoo Clang Profile or LLVM Profile?

    Hi, i would try to use clang as my default compiler and prune gcc.

    So which Profile should i use? The 23/LLVM or the 17/clang one? Btw: is the stage3 archive of LLVM the right one? Or must i go with the default/desktop and change the compiler after install?

    3 Comments
    2024/04/10
    13:12 UTC

    5

    Slow unpack due to `go mod verify` ?

    I've recently noticed Go packages taking much longer to build than they used to. And spending most of that time in the Unpacking phase, running go mod verify. For example docker-compose took about 2.5 minutes to unpack, compared to about 1 minute for the whole build previously:

    # emlop p
    Pid 289190: emerge -uUDvN world        13:46 
    app-containers/docker-compose-2.20.3      51 - 2:27 (Unpacking docker-compose-2.20.3-deps.tar.xz: go mod verify)
    [...]
    # pgrep emerge|xargs pstree -ap
    emerge,289190 /usr/lib/python-exec/python3.11/emerge -uUDvN world
      └─python3.11,348251 /usr/lib/portage/python3.11/pid-ns-init 348252
          └─python3.11,348252 /usr/lib/portage/python3.11/pid-ns-init 250 250 250 18 0,1,2 /usr/bin/sandbox [app-containers/docker-compose-2.20.3] sandbox /usr/lib/portage/python3.11/ebuild.sh unpack
              └─sandbox,348255 /usr/lib/portage/python3.11/ebuild.sh unpack
                  └─bash,348256 /usr/lib/portage/python3.11/ebuild.sh unpack
                      └─bash,348272 /usr/lib/portage/python3.11/ebuild.sh unpack
                          └─bash,348305 /usr/lib/portage/python3.11/ebuild.sh unpack
                              └─go,348306 mod verify
                                  ├─{go},348307
                                  ├─{go},348308
                                  ├─{go},348309
                                  ├─{go},348310
                                  ├─{go},348311
                                  ├─{go},348312
                                  ├─{go},348313
                                  ├─{go},348314
                                  ├─{go},348315
                                  └─{go},348324
    # emlop l docker-com
    2021-11-15 12:25:22    14 app-emulation/docker-compose-1.29.2-r1
    2022-06-16 17:22:43    22 app-containers/docker-compose-1.29.2-r1
    2022-06-20 12:31:18    12 app-containers/docker-compose-1.29.2-r1
    2022-06-20 12:35:15    37 app-containers/docker-compose-2.6.0
    2022-10-06 15:52:22    51 app-containers/docker-compose-2.6.0
    2022-11-15 11:47:52  1:05 app-containers/docker-compose-2.12.2
    2023-04-13 10:44:21    51 app-containers/docker-compose-2.17.2
    2023-08-15 10:49:05  1:02 app-containers/docker-compose-2.20.3
    2024-03-25 17:18:48  1:39 app-containers/docker-compose-2.20.3
    2024-04-10 13:14:01  3:47 app-containers/docker-compose-2.20.3

    Do you see the same thing ? Any way to speed things up again ?

    3 Comments
    2024/04/10
    12:35 UTC

    22

    Gentoo becomes an SPI associated project

    Gentoo becomes an SPI associated project

    I am wondering, can this become a bad thing? Can Gentoo lose it's autonomy? The link only talks about advantages, is there any possible drawback from this? I'm just curious and want to know what you guys think about it.

    5 Comments
    2024/04/10
    10:51 UTC

    3

    Best place to seek support?

    New user here. Was wondering where in the community you find to be the best place to ask for help with building packages, since xfce just decided not to build on my system and I can't find similar failures for it online. I am guessing the official forums is the go-to, but do surprise me.

    10 Comments
    2024/04/10
    08:32 UTC

    0

    Handbook seems too long and complicated for me, I don't know. How?

    22 Comments
    2024/04/09
    22:28 UTC

    1

    SDDM and plasma 6

    So, I am running gentoo with plasma 6 and i noticed that plasma theme is not applying. I see that old blue stock theme. Anyone know fix for it?

    8 Comments
    2024/04/09
    22:23 UTC

    2

    iwd doesn't scan network automatically

    Hi, I have a problem with iwd scanning network. It should scan network automatically by default, but It doesn't and I scan the network manually every time.

    iwd config:

    
    aar@gentoo ~ $ cat /etc/iwd/main.conf
    [General]
    EnableNetworkConfiguration=true
    
    [Network]
    RoutePriorityOffset=300
    NameResolvingService=resolvconf
    
    [Scan]
    InitialPeriodicScanInterval=5
    
    [Settings]
    AutoConnect=true
    

    I use built-in daemon instead of dhcpcd.

    iwd use flags:

    
    aar@gentoo ~ $ equery u iwd
    [ Legend : U - final flag setting for installation]
    [        : I - package is installed with flag     ]
    [ Colors : set, unset                             ]
     * Found these USE flags for net-wireless/iwd-2.14:
     U I
     + + client              : Enable iwctl client tool
     - - cpu_flags_x86_aes   : Enable support for Intel's AES instruction set (AES-NI)
     - - cpu_flags_x86_ssse3 : Use the SSSE3 instruction set (NOT sse3/pni)
     + + monitor             : Enable iwmon monitor tool
     - - ofono               : Enable support for oFono SIM authentication
     + + standalone          : Enable standalone mode with built-in DHCP client and DNS handling"
     - - systemd             : Use systemd-resolve rather than resolvconf for DNS handling in standalone mode
     + + wired               : Enable ethernet authentication daemon
    

    iwd is default rc-service:

    
    aar@gentoo ~ $ sudo rc-status default 
    Runlevel: default
    sysklogd    [  started  ]
    sshd        [  started  ]
    alsasound   [  started  ]
    bluetooth   [  started  ]
    chronyd     [  started  ]
    cronie      [  started  ]
    iwd         [  started  ]
    netmount    [  started  ]
    local       [  started  ]

    I have no idea how to solve this problem. It is annoying to scan the network manually every time. Could you please help me with any idea of solving this problem.

    3 Comments
    2024/04/09
    14:39 UTC

    Back To Top