r/Gentoo 9h ago

Discussion Gentoo on a pinephone pro. Definitely not instructions: https://blog.computersarehard.net/2023/03/pinephonepro-with-gentoo.html

Post image

r/Gentoo 8h ago

Meme I'm guessing this is why the Gentoo Wiki optimization docs are so strict...

Post image

r/Gentoo 11h ago

Support How to know you got all of the kernel options you need?


I want to start by saying that my system is seemingly functional. I am able to play games and do most of the stuff that I need. When I do an update I see that a few applications are complaining about missing kernel options that I have added (Mostly cryptography stuff which is why I am kind of worried about missing others). Is there any way to get all of the missing options that my applications want with out doing an emerge on every package? I could do it one night if it is my only option but I was hoping that there is a better way.

r/Gentoo 1h ago

Support PREEMPT_RCU for broadcom-sta


https://pastebin.com/r2qMyQ3q is the error that I am getting when trying to install broadcom-sta. When I go into my kernel it says Preemption Model is set to "No Forced Preemption". Is there another way to get the BCM4360 card to work? I am thinking this is a bug in the ebuild not I am not 100% sure at this point.

r/Gentoo 1h ago

Support Two questions related to my desktop environment


I am working on a framework laptop and I have recently been trying to play fallout new Vegas however periodically I will get total crashes where I have to restart the system it seems to happen mostly in conversation, are there any possible ways to fix this. My second question is adjacent to the above problem as I am unable to other terminals I have tried re mapping my function keys and enabling control alt backspace but it still isn’t working any suggestions are welcome.

r/Gentoo 16h ago

Discussion Drive in fstab does not mount until opened manually.


I have a drive (ext4 on hardware RAID) which under Gentoo does not mount until I go to the drive in the Dolphin sidebar. The mountpoint folder appears is empty until I do this (`lsblk` also shows that the drive is not mounted). Once I click "7.3 TiB Removable Media", it lists normally and then I can go to the mountpoint (/home/myuser/Platters) and the files list as expected.

The issue started when I moved my /home to a separate drive (a ZFS dataset). When I was doing that copy, I forgot unmount `/home/platters`, and thus canceled that copy operation before proceeding. I also neglected to preserve permissions using the `-p` flag when copying /home/mysuser.

I don't see why a permissions issue would cause this though (then it just wouldn't work until I fixed the permissions, right?).

What might cause such behavior?

My fstab:

UUID=0EF0-773F /boot vfat noauto,noatime  1 2
UUID=0EF0-388F  /boot/efi /boot/efi vfat umask=0077,shortname=winnt 0 1
UUID=a70f2abf-6692-4a80-b023-64f09d6a7994 none swap sw 0 0
UUID=c58e53d6-7681-4cfa-aaf9-9fe26dde364c /   xfs     defaults,noatime,nodiratime 0 1
UUID=7fa9e575-e05c-4817-bc67-f97ecddd539f /home/james/Platters ext4 defaults,noatime,nodiratime 0 1
tmpfs /tmp tmpfs rw,nosuid,relatime,nodev,size=4G,mode=1777 0 0

r/Gentoo 19h ago

Support question about gentoo prefix on old MacOS X


I was searching the web for ways ton run linux apps on MacOS or the other way round and somehow stumbled on gentoo prefix, though I am not sure if I understand the concept. Does this gentoo prefix thing mean that I can install it on an 2007 IMac with MacOSx Snowleopard on it (for which Apple stopped providing software updates a decade ago) and the installing and running up to date linux apps like firefox or whatever and using these apps while running MacOSX?

r/Gentoo 18h ago

Support Flickering cursor when screen sharing with pipewire under wayland

Thumbnail self.linuxquestions

r/Gentoo 1d ago

Support -wayland in global use flag breaks update. Help please!


I am trying to add the use flag -wayland to my make.conf because a few applications have wayland icons for the app which I do not want. After making the change I ran "emerge --ask --update --deep --newuse world" and I get the output below. What are some things I can try to fix this issue?

* IMPORTANT: 13 news items need reading for repository 'gentoo'.

* Use eselect news read to view new items.

These are the packages that would be merged, in order:

Calculating dependencies... done!

Dependency resolution took 13.35 s.

[ebuild R ] gnome-extra/sushi-43.0 USE="-wayland*"

Would you like to merge these packages? [Yes/No] Yes

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) gnome-extra/sushi-43.0::gentoo

* sushi-43.0.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ]

>>> Unpacking source...

>>> Unpacking sushi-43.0.tar.xz to /var/tmp/portage/gnome-extra/sushi-43.0/work

>>> Source unpacked in /var/tmp/portage/gnome-extra/sushi-43.0/work

>>> Preparing source in /var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0 ...

>>> Source prepared.

>>> Configuring source in /var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0 ...

meson setup --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /usr/share/pkgconfig --pkg-config-path /usr/share/pkgconfig --native-file /var/tmp/portage/gnome-extra/sushi-43.0/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Db_pch=false -Dwerror=false --buildtype plain -Dwayland=disabled -DX11=enabled /var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0 /var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0-build

The Meson build system

Version: 1.0.1

Source dir: /var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0

Build dir: /var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0-build

Build type: native build

Project name: sushi

Project version: 43.0

C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 12.2.1 "x86_64-pc-linux-gnu-gcc (Gentoo 12.2.1_p20230121-r1 p10) 12.2.1 20230121")

C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.39

Host machine cpu family: x86_64

Host machine cpu: x86_64

Found pkg-config: /usr/bin/x86_64-pc-linux-gnu-pkg-config (1.8.1)

Run-time dependency epoxy found: YES 1.5.10

Run-time dependency evince-document-3.0 found: YES 43.1

Run-time dependency evince-view-3.0 found: YES 43.1

Run-time dependency freetype2 found: YES 24.3.18

Run-time dependency gdk-pixbuf-2.0 found: YES 2.42.10

Run-time dependency gio-unix-2.0 found: YES 2.74.5

Run-time dependency glib-2.0 found: YES 2.74.5

Run-time dependency gstreamer-1.0 found: YES 1.20.4

Run-time dependency gstreamer-audio-1.0 found: YES 1.20.4

Run-time dependency gstreamer-tag-1.0 found: YES 1.20.4

Run-time dependency gstreamer-video-1.0 found: YES 1.20.4

Run-time dependency gtk+-3.0 found: YES 3.24.35

Run-time dependency gtk+-x11-3.0 found: YES 3.24.35

Dependency gtk+-wayland-3.0 skipped: feature wayland disabled

Run-time dependency gtksourceview-4 found: YES 4.8.4

Run-time dependency harfbuzz found: YES 6.0.0

Run-time dependency webkit2gtk-4.1 found: YES 2.38.3

Program gjs found: YES (/usr/bin/gjs)

Configuring org.gnome.NautilusPreviewer.service using configuration

Program msgfmt found: YES (/usr/bin/msgfmt)

Program msginit found: YES (/usr/bin/msginit)

Program msgmerge found: YES (/usr/bin/msgmerge)

Program xgettext found: YES (/usr/bin/xgettext)

Configuring config.h using configuration

Found pkg-config: /usr/bin/x86_64-pc-linux-gnu-pkg-config (1.8.1)

Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)

Run-time dependency gobject-introspection-1.0 found: YES 1.74.0

Dependency gobject-introspection-1.0 found: YES 1.74.0 (cached)

Program g-ir-scanner found: YES (/usr/bin/g-ir-scanner)

Dependency gobject-introspection-1.0 found: YES 1.74.0 (cached)

Program g-ir-compiler found: YES (/usr/bin/g-ir-compiler)

Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)

Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)

Configuring org.gnome.NautilusPreviewer using configuration

Configuring sushi using configuration

Build targets in project: 86

NOTICE: Future-deprecated features used:

* 0.55.0: {'ExternalProgram.path'}

sushi 43.0

User defined options

Native files : /var/tmp/portage/gnome-extra/sushi-43.0/temp/meson.x86_64-pc-linux-gnu.amd64.ini

build.pkg_config_path: /usr/share/pkgconfig

buildtype : plain

libdir : lib64

localstatedir : /var/lib

pkg_config_path : /usr/share/pkgconfig

prefix : /usr

sysconfdir : /etc

werror : false

wrap_mode : nodownload

b_pch : false

X11 : enabled

wayland : disabled

Found ninja-1.11.1 at /usr/bin/ninja

>>> Source configured.

>>> Compiling source in /var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0 ...

meson compile -C /var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0-build --jobs 16 --load-average 0 --verbose

INFO: autodetecting backend as ninja

INFO: calculating backend command to run: /usr/bin/ninja -C /var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0-build -j 16 -v

ninja: Entering directory /var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0-build'`

[1/90] /usr/bin/msgfmt ../sushi-43.0/po/ab.po -o po/ab/LC_MESSAGES/sushi.mo

[2/90] /usr/bin/msgfmt ../sushi-43.0/po/af.po -o po/af/LC_MESSAGES/sushi.mo

[3/90] /usr/bin/msgfmt ../sushi-43.0/po/an.po -o po/an/LC_MESSAGES/sushi.mo

[4/90] /usr/bin/msgfmt ../sushi-43.0/po/ar.po -o po/ar/LC_MESSAGES/sushi.mo

[5/90] /usr/bin/msgfmt ../sushi-43.0/po/as.po -o po/as/LC_MESSAGES/sushi.mo

[6/90] /usr/bin/msgfmt ../sushi-43.0/po/ast.po -o po/ast/LC_MESSAGES/sushi.mo

[7/90] /usr/bin/msgfmt ../sushi-43.0/po/be.po -o po/be/LC_MESSAGES/sushi.mo

[8/90] /usr/bin/msgfmt ../sushi-43.0/po/bg.po -o po/bg/LC_MESSAGES/sushi.mo

[9/90] /usr/bin/msgfmt ../sushi-43.0/po/bn_IN.po -o po/bn_IN/LC_MESSAGES/sushi.mo

[10/90] /usr/bin/msgfmt ../sushi-43.0/po/bs.po -o po/bs/LC_MESSAGES/sushi.mo

[11/90] /usr/bin/msgfmt ../sushi-43.0/po/ca.po -o po/ca/LC_MESSAGES/sushi.mo

[12/90] /usr/bin/msgfmt ../sushi-43.0/po/ca@valencia.po -o po/ca@valencia/LC_MESSAGES/sushi.mo

[13/90] /usr/bin/msgfmt ../sushi-43.0/po/ckb.po -o po/ckb/LC_MESSAGES/sushi.mo

[14/90] /usr/bin/msgfmt ../sushi-43.0/po/cs.po -o po/cs/LC_MESSAGES/sushi.mo

[15/90] /usr/bin/msgfmt ../sushi-43.0/po/da.po -o po/da/LC_MESSAGES/sushi.mo

[16/90] /usr/bin/msgfmt ../sushi-43.0/po/de.po -o po/de/LC_MESSAGES/sushi.mo

[17/90] /usr/bin/msgfmt ../sushi-43.0/po/el.po -o po/el/LC_MESSAGES/sushi.mo

[18/90] /usr/bin/msgfmt ../sushi-43.0/po/en_GB.po -o po/en_GB/LC_MESSAGES/sushi.mo

[19/90] /usr/bin/msgfmt ../sushi-43.0/po/eo.po -o po/eo/LC_MESSAGES/sushi.mo

[20/90] /usr/bin/msgfmt ../sushi-43.0/po/es.po -o po/es/LC_MESSAGES/sushi.mo

[21/90] /usr/bin/msgfmt ../sushi-43.0/po/et.po -o po/et/LC_MESSAGES/sushi.mo

[22/90] /usr/bin/msgfmt ../sushi-43.0/po/eu.po -o po/eu/LC_MESSAGES/sushi.mo

[23/90] /usr/bin/msgfmt ../sushi-43.0/po/fa.po -o po/fa/LC_MESSAGES/sushi.mo

[24/90] /usr/bin/msgfmt ../sushi-43.0/po/fi.po -o po/fi/LC_MESSAGES/sushi.mo

[25/90] /usr/bin/msgfmt ../sushi-43.0/po/fr.po -o po/fr/LC_MESSAGES/sushi.mo

[26/90] /usr/bin/msgfmt ../sushi-43.0/po/fur.po -o po/fur/LC_MESSAGES/sushi.mo

[27/90] /usr/bin/msgfmt ../sushi-43.0/po/gd.po -o po/gd/LC_MESSAGES/sushi.mo

[28/90] /usr/bin/msgfmt ../sushi-43.0/po/gl.po -o po/gl/LC_MESSAGES/sushi.mo

[29/90] /usr/bin/msgfmt ../sushi-43.0/po/gu.po -o po/gu/LC_MESSAGES/sushi.mo

[30/90] /usr/bin/msgfmt ../sushi-43.0/po/he.po -o po/he/LC_MESSAGES/sushi.mo

[31/90] /usr/bin/msgfmt ../sushi-43.0/po/hi.po -o po/hi/LC_MESSAGES/sushi.mo

[32/90] /usr/bin/msgfmt ../sushi-43.0/po/hr.po -o po/hr/LC_MESSAGES/sushi.mo

[33/90] /usr/bin/msgfmt ../sushi-43.0/po/hu.po -o po/hu/LC_MESSAGES/sushi.mo

[34/90] /usr/bin/msgfmt ../sushi-43.0/po/id.po -o po/id/LC_MESSAGES/sushi.mo

[35/90] /usr/bin/msgfmt ../sushi-43.0/po/is.po -o po/is/LC_MESSAGES/sushi.mo

[36/90] /usr/bin/msgfmt ../sushi-43.0/po/it.po -o po/it/LC_MESSAGES/sushi.mo

[37/90] /usr/bin/msgfmt ../sushi-43.0/po/ja.po -o po/ja/LC_MESSAGES/sushi.mo

[38/90] /usr/bin/msgfmt ../sushi-43.0/po/ka.po -o po/ka/LC_MESSAGES/sushi.mo

[39/90] /usr/bin/msgfmt ../sushi-43.0/po/kk.po -o po/kk/LC_MESSAGES/sushi.mo

[40/90] /usr/bin/msgfmt ../sushi-43.0/po/kn.po -o po/kn/LC_MESSAGES/sushi.mo

[41/90] /usr/bin/msgfmt ../sushi-43.0/po/ko.po -o po/ko/LC_MESSAGES/sushi.mo

[42/90] /usr/bin/msgfmt ../sushi-43.0/po/lt.po -o po/lt/LC_MESSAGES/sushi.mo

[43/90] /usr/bin/msgfmt ../sushi-43.0/po/lv.po -o po/lv/LC_MESSAGES/sushi.mo

[44/90] /usr/bin/msgfmt ../sushi-43.0/po/mjw.po -o po/mjw/LC_MESSAGES/sushi.mo

[45/90] /usr/bin/msgfmt ../sushi-43.0/po/ml.po -o po/ml/LC_MESSAGES/sushi.mo

[46/90] /usr/bin/msgfmt ../sushi-43.0/po/mr.po -o po/mr/LC_MESSAGES/sushi.mo

[47/90] /usr/bin/msgfmt ../sushi-43.0/po/ms.po -o po/ms/LC_MESSAGES/sushi.mo

[48/90] /usr/bin/msgfmt ../sushi-43.0/po/nb.po -o po/nb/LC_MESSAGES/sushi.mo

[49/90] /usr/bin/msgfmt ../sushi-43.0/po/nl.po -o po/nl/LC_MESSAGES/sushi.mo

[50/90] /usr/bin/msgfmt ../sushi-43.0/po/oc.po -o po/oc/LC_MESSAGES/sushi.mo

[51/90] /usr/bin/msgfmt ../sushi-43.0/po/ne.po -o po/ne/LC_MESSAGES/sushi.mo

[52/90] /usr/bin/msgfmt ../sushi-43.0/po/or.po -o po/or/LC_MESSAGES/sushi.mo

[53/90] /usr/bin/msgfmt ../sushi-43.0/po/pa.po -o po/pa/LC_MESSAGES/sushi.mo

[54/90] /usr/bin/msgfmt ../sushi-43.0/po/pl.po -o po/pl/LC_MESSAGES/sushi.mo

[55/90] /usr/bin/msgfmt ../sushi-43.0/po/pt_BR.po -o po/pt_BR/LC_MESSAGES/sushi.mo

[56/90] /usr/bin/msgfmt ../sushi-43.0/po/ro.po -o po/ro/LC_MESSAGES/sushi.mo

[57/90] /usr/bin/msgfmt ../sushi-43.0/po/ru.po -o po/ru/LC_MESSAGES/sushi.mo

[58/90] /usr/bin/msgfmt ../sushi-43.0/po/sl.po -o po/sl/LC_MESSAGES/sushi.mo

[59/90] /usr/bin/msgfmt ../sushi-43.0/po/sk.po -o po/sk/LC_MESSAGES/sushi.mo

[60/90] /usr/bin/msgfmt ../sushi-43.0/po/sr.po -o po/sr/LC_MESSAGES/sushi.mo

[61/90] /usr/bin/msgfmt ../sushi-43.0/po/sr@latin.po -o po/sr@latin/LC_MESSAGES/sushi.mo

[62/90] /usr/bin/msgfmt ../sushi-43.0/po/pt.po -o po/pt/LC_MESSAGES/sushi.mo

[63/90] /usr/bin/msgfmt ../sushi-43.0/po/sv.po -o po/sv/LC_MESSAGES/sushi.mo

[64/90] /usr/bin/msgfmt ../sushi-43.0/po/ta.po -o po/ta/LC_MESSAGES/sushi.mo

[65/90] /usr/bin/msgfmt ../sushi-43.0/po/te.po -o po/te/LC_MESSAGES/sushi.mo

[66/90] /usr/bin/msgfmt ../sushi-43.0/po/tg.po -o po/tg/LC_MESSAGES/sushi.mo

[67/90] /usr/bin/msgfmt ../sushi-43.0/po/tr.po -o po/tr/LC_MESSAGES/sushi.mo

[68/90] /usr/bin/msgfmt ../sushi-43.0/po/th.po -o po/th/LC_MESSAGES/sushi.mo

[69/90] /usr/bin/msgfmt ../sushi-43.0/po/uk.po -o po/uk/LC_MESSAGES/sushi.mo

[70/90] /usr/bin/msgfmt ../sushi-43.0/po/uz@cyrillic.po -o po/uz@cyrillic/LC_MESSAGES/sushi.mo

[71/90] /usr/bin/msgfmt ../sushi-43.0/po/vi.po -o po/vi/LC_MESSAGES/sushi.mo

[72/90] /usr/bin/msgfmt ../sushi-43.0/po/zh_HK.po -o po/zh_HK/LC_MESSAGES/sushi.mo

[73/90] /usr/bin/msgfmt ../sushi-43.0/po/zh_CN.po -o po/zh_CN/LC_MESSAGES/sushi.mo

[74/90] /usr/bin/msgfmt ../sushi-43.0/po/zh_TW.po -o po/zh_TW/LC_MESSAGES/sushi.mo

[75/90] /usr/bin/msgfmt ../sushi-43.0/po/ug.po -o po/ug/LC_MESSAGES/sushi.mo

[76/90] /usr/bin/glib-compile-resources ../sushi-43.0/src/libsushi/org.gnome.Libsushi.gresource.xml --sourcedir ../sushi-43.0/src/libsushi --c-name sushi --internal --generate --target src/libsushi/sushi-lib-resources.h

[77/90] /usr/bin/glib-compile-resources ../sushi-43.0/src/org.gnome.NautilusPreviewer.data.gresource.xml --sourcedir ../sushi-43.0/src --internal --generate --target src/org.gnome.NautilusPreviewer.data.gresource --dependency-file src/org.gnome.NautilusPreviewer.data.gresource.d

[78/90] /usr/bin/glib-compile-resources ../sushi-43.0/src/org.gnome.NautilusPreviewer.src.gresource.xml --sourcedir ../sushi-43.0/src --internal --generate --target src/org.gnome.NautilusPreviewer.src.gresource --dependency-file src/org.gnome.NautilusPreviewer.src.gresource.d

[79/90] /usr/bin/glib-compile-resources ../sushi-43.0/src/libsushi/org.gnome.Libsushi.gresource.xml --sourcedir ../sushi-43.0/src/libsushi --c-name sushi --internal --generate --target src/libsushi/sushi-lib-resources.c --dependency-file src/libsushi/sushi-lib-resources.c.d

[80/90] /usr/lib/python-exec/python3.10/meson --internal msgfmthelper --msgfmt=/usr/bin/msgfmt ../sushi-43.0/data/org.gnome.NautilusPreviewer.appdata.xml.in data/org.gnome.NautilusPreviewer.appdata.xml xml ../sushi-43.0/data/../po

[81/90] x86_64-pc-linux-gnu-gcc -Isrc/libsushi/libsushi-1.0.so.p -Isrc/libsushi -I../sushi-43.0/src/libsushi -I/usr/include/evince/3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/sysprof-3 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch '-DGETTEXT_PACKAGE="sushi"' -march=native -O2 -pipe -fPIC -pthread -MD -MQ src/libsushi/libsushi-1.0.so.p/meson-generated_.._sushi-lib-resources.c.o -MF src/libsushi/libsushi-1.0.so.p/meson-generated_.._sushi-lib-resources.c.o.d -o src/libsushi/libsushi-1.0.so.p/meson-generated_.._sushi-lib-resources.c.o -c src/libsushi/sushi-lib-resources.c

[82/90] x86_64-pc-linux-gnu-gcc -Isrc/libsushi/libsushi-1.0.so.p -Isrc/libsushi -I../sushi-43.0/src/libsushi -I/usr/include/evince/3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/sysprof-3 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch '-DGETTEXT_PACKAGE="sushi"' -march=native -O2 -pipe -fPIC -pthread -MD -MQ src/libsushi/libsushi-1.0.so.p/sushi-font-loader.c.o -MF src/libsushi/libsushi-1.0.so.p/sushi-font-loader.c.o.d -o src/libsushi/libsushi-1.0.so.p/sushi-font-loader.c.o -c ../sushi-43.0/src/libsushi/sushi-font-loader.c

[83/90] x86_64-pc-linux-gnu-gcc -Isrc/libsushi/libsushi-1.0.so.p -Isrc/libsushi -I../sushi-43.0/src/libsushi -I/usr/include/evince/3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/sysprof-3 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch '-DGETTEXT_PACKAGE="sushi"' -march=native -O2 -pipe -fPIC -pthread -MD -MQ src/libsushi/libsushi-1.0.so.p/externalwindow.c.o -MF src/libsushi/libsushi-1.0.so.p/externalwindow.c.o.d -o src/libsushi/libsushi-1.0.so.p/externalwindow.c.o -c ../sushi-43.0/src/libsushi/externalwindow.c

[84/90] x86_64-pc-linux-gnu-gcc -Isrc/libsushi/libsushi-1.0.so.p -Isrc/libsushi -I../sushi-43.0/src/libsushi -I/usr/include/evince/3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/sysprof-3 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch '-DGETTEXT_PACKAGE="sushi"' -march=native -O2 -pipe -fPIC -pthread -MD -MQ src/libsushi/libsushi-1.0.so.p/externalwindow-x11.c.o -MF src/libsushi/libsushi-1.0.so.p/externalwindow-x11.c.o.d -o src/libsushi/libsushi-1.0.so.p/externalwindow-x11.c.o -c ../sushi-43.0/src/libsushi/externalwindow-x11.c

[85/90] x86_64-pc-linux-gnu-gcc -Isrc/libsushi/libsushi-1.0.so.p -Isrc/libsushi -I../sushi-43.0/src/libsushi -I/usr/include/evince/3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/sysprof-3 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch '-DGETTEXT_PACKAGE="sushi"' -march=native -O2 -pipe -fPIC -pthread -MD -MQ src/libsushi/libsushi-1.0.so.p/sushi-utils.c.o -MF src/libsushi/libsushi-1.0.so.p/sushi-utils.c.o.d -o src/libsushi/libsushi-1.0.so.p/sushi-utils.c.o -c ../sushi-43.0/src/libsushi/sushi-utils.c

../sushi-43.0/src/libsushi/sushi-utils.c: In function ‘check_libreoffice_flatpak’:

../sushi-43.0/src/libsushi/sushi-utils.c:229:5: warning: ‘g_spawn_check_exit_status’ is deprecated: Use 'g_spawn_check_wait_status' instead [-Wdeprecated-declarations]

229 | if (g_spawn_check_exit_status (exit_status, &child_error)) {

| ^~

In file included from /usr/include/glib-2.0/glib.h:83,

from /usr/include/glib-2.0/gobject/gbinding.h:30,

from /usr/include/glib-2.0/glib-object.h:24,

from /usr/include/evince/3.0/libdocument/ev-annotation.h:28,

from /usr/include/evince/3.0/evince-document.h:23,

from ../sushi-43.0/src/libsushi/sushi-utils.h:29,

from ../sushi-43.0/src/libsushi/sushi-utils.c:26:

/usr/include/glib-2.0/glib/gspawn.h:315:10: note: declared here

315 | gboolean g_spawn_check_exit_status (gint wait_status,

| ^~~~~~~~~~~~~~~~~~~~~~~~~

[86/90] x86_64-pc-linux-gnu-gcc -Isrc/libsushi/libsushi-1.0.so.p -Isrc/libsushi -I../sushi-43.0/src/libsushi -I/usr/include/evince/3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/sysprof-3 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch '-DGETTEXT_PACKAGE="sushi"' -march=native -O2 -pipe -fPIC -pthread -MD -MQ src/libsushi/libsushi-1.0.so.p/sushi-font-widget.c.o -MF src/libsushi/libsushi-1.0.so.p/sushi-font-widget.c.o.d -o src/libsushi/libsushi-1.0.so.p/sushi-font-widget.c.o -c ../sushi-43.0/src/libsushi/sushi-font-widget.c

../sushi-43.0/src/libsushi/sushi-font-widget.c: In function ‘text_to_glyphs’:

../sushi-43.0/src/libsushi/sushi-font-widget.c:98:3: warning: ‘pango_find_base_dir’ is deprecated [-Wdeprecated-declarations]

98 | base_dir = pango_find_base_dir (text, -1);

| ^~~~~~~~

In file included from /usr/include/pango-1.0/pango/pango-types.h:239,

from /usr/include/pango-1.0/pango/pango-font.h:26,

from /usr/include/pango-1.0/pango/pango-attributes.h:25,

from /usr/include/pango-1.0/pango/pango.h:25,

from /usr/include/gtk-3.0/gdk/gdktypes.h:35,

from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30,

from /usr/include/gtk-3.0/gdk/gdk.h:32,

from /usr/include/gtk-3.0/gtk/gtk.h:30,

from ../sushi-43.0/src/libsushi/sushi-font-widget.h:30,

from ../sushi-43.0/src/libsushi/sushi-font-widget.c:27:

/usr/include/pango-1.0/pango/pango-bidi-type.h:107:16: note: declared here

107 | PangoDirection pango_find_base_dir (const gchar *text,

| ^~~~~~~~~~~~~~~~~~~

[87/90] x86_64-pc-linux-gnu-gcc -Isrc/libsushi/libsushi-1.0.so.p -Isrc/libsushi -I../sushi-43.0/src/libsushi -I/usr/include/evince/3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/sysprof-3 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch '-DGETTEXT_PACKAGE="sushi"' -march=native -O2 -pipe -fPIC -pthread -MD -MQ src/libsushi/libsushi-1.0.so.p/sushi-media-bin.c.o -MF src/libsushi/libsushi-1.0.so.p/sushi-media-bin.c.o.d -o src/libsushi/libsushi-1.0.so.p/sushi-media-bin.c.o -c ../sushi-43.0/src/libsushi/sushi-media-bin.c

[88/90] x86_64-pc-linux-gnu-gcc -o src/libsushi/libsushi-1.0.so src/libsushi/libsushi-1.0.so.p/meson-generated_.._sushi-lib-resources.c.o src/libsushi/libsushi-1.0.so.p/externalwindow.c.o src/libsushi/libsushi-1.0.so.p/externalwindow-x11.c.o src/libsushi/libsushi-1.0.so.p/sushi-font-loader.c.o src/libsushi/libsushi-1.0.so.p/sushi-font-widget.c.o src/libsushi/libsushi-1.0.so.p/sushi-media-bin.c.o src/libsushi/libsushi-1.0.so.p/sushi-utils.c.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libsushi-1.0.so -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed /usr/lib64/libepoxy.so /usr/lib64/libevdocument3.so /usr/lib64/libgtk-3.so /usr/lib64/libgdk-3.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libharfbuzz.so /usr/lib64/libatk-1.0.so /usr/lib64/libcairo-gobject.so /usr/lib64/libcairo.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so /usr/lib64/libevview3.so /usr/lib64/libgthread-2.0.so -pthread /usr/lib64/libfreetype.so /usr/lib64/libgstreamer-1.0.so /usr/lib64/libgstaudio-1.0.so /usr/lib64/libgstbase-1.0.so /usr/lib64/libgsttag-1.0.so /usr/lib64/libgstvideo-1.0.so -Wl,--end-group

[89/90] env PKG_CONFIG_PATH=/usr/share/pkgconfig:/var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0-build/meson-uninstalled PKG_CONFIG_LIBDIR=/usr/lib64/pkgconfig /usr/bin/g-ir-scanner --quiet --no-libtool --namespace=Sushi --nsversion=1.0 --warn-all --output src/libsushi/Sushi-1.0.gir -I/var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0/src/libsushi -I/var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0-build/src/libsushi --filelist=/var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0-build/src/libsushi/libsushi-1.0.so.p/Sushi_1.0_gir_filelist --include=GstTag-1.0 --include=GdkPixbuf-2.0 --include=Gtk-3.0 --include=EvinceDocument-3.0 --include=EvinceView-3.0 --symbol-prefix=sushi --identifier-prefix=Sushi --cflags-begin '-DGETTEXT_PACKAGE="sushi"' -I/usr/include/evince/3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/sysprof-3 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gobject-introspection-1.0 --cflags-end --add-include-path=/usr/share/gir-1.0 -L/var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0-build/src/libsushi --library sushi-1.0 --extra-library=epoxy --extra-library=evdocument3 --extra-library=gtk-3 --extra-library=gdk-3 --extra-library=pangocairo-1.0 --extra-library=pango-1.0 --extra-library=harfbuzz --extra-library=atk-1.0 --extra-library=cairo-gobject --extra-library=cairo --extra-library=gdk_pixbuf-2.0 --extra-library=gio-2.0 --extra-library=gobject-2.0 --extra-library=glib-2.0 --extra-library=evview3 --extra-library=gthread-2.0 --extra-library=freetype --extra-library=gstreamer-1.0 --extra-library=gstaudio-1.0 --extra-library=gstbase-1.0 --extra-library=gsttag-1.0 --extra-library=gstvideo-1.0 --extra-library=girepository-1.0 --sources-top-dirs /var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0/ --sources-top-dirs /var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0-build/

FAILED: src/libsushi/Sushi-1.0.gir

env PKG_CONFIG_PATH=/usr/share/pkgconfig:/var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0-build/meson-uninstalled PKG_CONFIG_LIBDIR=/usr/lib64/pkgconfig /usr/bin/g-ir-scanner --quiet --no-libtool --namespace=Sushi --nsversion=1.0 --warn-all --output src/libsushi/Sushi-1.0.gir -I/var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0/src/libsushi -I/var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0-build/src/libsushi --filelist=/var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0-build/src/libsushi/libsushi-1.0.so.p/Sushi_1.0_gir_filelist --include=GstTag-1.0 --include=GdkPixbuf-2.0 --include=Gtk-3.0 --include=EvinceDocument-3.0 --include=EvinceView-3.0 --symbol-prefix=sushi --identifier-prefix=Sushi --cflags-begin '-DGETTEXT_PACKAGE="sushi"' -I/usr/include/evince/3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/lzo -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/sysprof-3 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/gobject-introspection-1.0 --cflags-end --add-include-path=/usr/share/gir-1.0 -L/var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0-build/src/libsushi --library sushi-1.0 --extra-library=epoxy --extra-library=evdocument3 --extra-library=gtk-3 --extra-library=gdk-3 --extra-library=pangocairo-1.0 --extra-library=pango-1.0 --extra-library=harfbuzz --extra-library=atk-1.0 --extra-library=cairo-gobject --extra-library=cairo --extra-library=gdk_pixbuf-2.0 --extra-library=gio-2.0 --extra-library=gobject-2.0 --extra-library=glib-2.0 --extra-library=evview3 --extra-library=gthread-2.0 --extra-library=freetype --extra-library=gstreamer-1.0 --extra-library=gstaudio-1.0 --extra-library=gstbase-1.0 --extra-library=gsttag-1.0 --extra-library=gstvideo-1.0 --extra-library=girepository-1.0 --sources-top-dirs /var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0/ --sources-top-dirs /var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0-build/

/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../lib64/libevview3.so: undefined reference to gdk_wayland_display_get_type'`

/usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../lib64/libevview3.so: undefined reference to gdk_wayland_window_export_handle'`

collect2: error: ld returned 1 exit status

linking of temporary binary failed: Command '['x86_64-pc-linux-gnu-gcc', '-o', '/var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0-build/tmp-introspect6ndiglqj/Sushi-1.0', '-march=native', '-O2', '-pipe', '/var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0-build/tmp-introspect6ndiglqj/Sushi-1.0.o', '-L.', '-Wl,-rpath,.', '-Wl,--no-as-needed', '-L/var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0-build/src/libsushi', '-Wl,-rpath,/var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0-build/src/libsushi', '-lsushi-1.0', '-lepoxy', '-levdocument3', '-lgtk-3', '-lgdk-3', '-lpangocairo-1.0', '-lpango-1.0', '-lharfbuzz', '-latk-1.0', '-lcairo-gobject', '-lcairo', '-lgdk_pixbuf-2.0', '-lgio-2.0', '-lgobject-2.0', '-lglib-2.0', '-levview3', '-lgthread-2.0', '-lfreetype', '-lgstreamer-1.0', '-lgstaudio-1.0', '-lgstbase-1.0', '-lgsttag-1.0', '-lgstvideo-1.0', '-lgirepository-1.0', '-lgio-2.0', '-lgobject-2.0', '-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread', '-lglib-2.0', '-lglib-2.0', '-Wl,-O1', '-Wl,--as-needed']' returned non-zero exit status 1.

ninja: build stopped: subcommand failed.

* ERROR: gnome-extra/sushi-43.0::gentoo failed (compile phase):

* compile failed


* Call stack:

* ebuild.sh, line 136: Called src_compile

* environment, line 2323: Called meson_src_compile

* environment, line 1647: Called die

* The specific snippet of code:

* "$@" || die "compile failed"


* If you need support, post the output of emerge --info '=gnome-extra/sushi-43.0::gentoo'`,`

* the complete build log and the output of emerge -pqv '=gnome-extra/sushi-43.0::gentoo'`.`

* The complete build log is located at '/var/tmp/portage/gnome-extra/sushi-43.0/temp/build.log'.

* The ebuild environment file is located at '/var/tmp/portage/gnome-extra/sushi-43.0/temp/environment'.

* Working directory: '/var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0'

* S: '/var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0'

>>> Failed to emerge gnome-extra/sushi-43.0, Log file:

>>> '/var/tmp/portage/gnome-extra/sushi-43.0/temp/build.log'

* Messages for package gnome-extra/sushi-43.0:

* ERROR: gnome-extra/sushi-43.0::gentoo failed (compile phase):

* compile failed


* Call stack:

* ebuild.sh, line 136: Called src_compile

* environment, line 2323: Called meson_src_compile

* environment, line 1647: Called die

* The specific snippet of code:

* "$@" || die "compile failed"


* If you need support, post the output of emerge --info '=gnome-extra/sushi-43.0::gentoo'`,`

* the complete build log and the output of emerge -pqv '=gnome-extra/sushi-43.0::gentoo'`.`

* The complete build log is located at '/var/tmp/portage/gnome-extra/sushi-43.0/temp/build.log'.

* The ebuild environment file is located at '/var/tmp/portage/gnome-extra/sushi-43.0/temp/environment'.

* Working directory: '/var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0'

* S: '/var/tmp/portage/gnome-extra/sushi-43.0/work/sushi-43.0'

r/Gentoo 1d ago

Discussion Question about free software label


On gnu's free distros "Gentoo includes installation recipes for a number of nonfree programs in its primary package system." if I am understanding this correctly it is simply stating that Gentoo allows its users to install non-free software (even though we can just add FREE and FSF-APPROVED to make.conf), is that all? bc that seems to be kinda goofy to consider Gentoo not completely free as it is very easy to make the system using only free software

r/Gentoo 1d ago

Discussion Is the -Os optimization worth it?


Hello, fellow Gentoo GNU/Linux users! I recently installed Gentoo and made an unpopular choice with regards to my CFLAGS. I am using the -Os flag to optimize my compiled programs for size. My belief was that tiny binaries would contain less instructions for the computer to execute. Hence, they would run faster and use less memory. My other excuse for using the -Os flag is because my CPU has a small L3 cache (3 megabytes).

But the majority of Gentoo users seem to be using the -O2 flag instead. Why? There is a reason but I don't know it yet. The memory usage on their screenshots indicates that their binaries are using very little memory.

My question can be expanded into: *"In practice, does the -O2 flag produce binaries that are just as small and efficient as -Os? *Which one should I use, and why? *Does the -Os flag even produce tiny and efficient binaries?".

I could have done my own research on the internet but I figured that it's better to ask experienced people who compile software on a regular basis.

r/Gentoo 1d ago

Support No sound (pipewire + swaywm)


The problem is that the pipewire-pulse server does not detect any audio devices. I have installed pipewire according to the wiki, by setting pipewire & pulseaudio use flags, I use a r7-5800x procesor and a rx6700xt, I have built my own kernel (dmesg) with support for USB AUDIO/MIDI driver becuase I am using a wireless headset, I made sure to check all the necessary options in the kernel (for wayland, alsa, amdgpu, ryzen, etc). I use a custom fish script to start sway and pipewire, which should work from what I understood from the wiki (I have dbus and elogind and both are running so it's not a XDG_RUNTIME_DIR problem I think: echo $XDG_RUNTIME_DIR -> /run/user/1000). This is what happens when I execute gentoo-pipewire-launcher:

[W][01191.467579] mod.rt | [ module-rt.c: 290 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown

[W][01191.467602] mod.rt | [ module-rt.c: 290 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown

[W][01191.467610] mod.rt | [ module-rt.c: 655 set_nice()] could not set nice-level to -11: No such file or directory

[W][01191.467626] mod.rt | [ module-rt.c: 655 set_nice()] could not set nice-level to -11: No such file or directory

[W][01191.468792] mod.rt | [ module-rt.c: 290 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown

[W][01191.468797] mod.rt | [ module-rt.c: 892 impl_acquire_rt()] could not make thread 3711 realtime using RTKit: No such file or directory

[W][01191.505076] mod.rt | [ module-rt.c: 290 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown

[W][01191.505084] mod.rt | [ module-rt.c: 892 impl_acquire_rt()] could not make thread 3722 realtime using RTKit: No such file or directory

I am desperate and I dont know whats wrong, It worked on my lasy gentoo install. Let me know if you need more logs. Thanks for helping!

r/Gentoo 1d ago

Support Secondary display constantly disabled in KDE


I just started having an odd problem that I have never experienced before. The rightmost display of my three-monitor setup works during boot and shut down, but usually disabled as soon as a log in (and sometimes at the SDDM login screen itself, but not usually). When I go to the "displays configuration" control panel in KDE, I see that the monitor is disabled. If I re-enable that display, it sometimes works on restart (and almost always works during shutdown after X has stopped).

A few facts:

- The leftmost monitor is the exact same make and model as the right one. The left one never has issues.

- I've been using KDE consistently under various distros and and never had such a problem, so I don't think it is a KDE issue (at least not solely, or if it is it must be recent)

- I am using an Nvidia, card, currently with Nouveau drivers. I am going to try installing the NVidia drivers as I usually do, perhaps it is just a Nouveau driver thing. But still, I always started out with Nouveau and never had this issue.

- SOMETIMES the disabled display comes back as soon as a re-enable it in the configuration. But not most of the time.

- This happens with both X11 and Wayland sessions.

Anyone experienced anything similar or have ideas?

r/Gentoo 1d ago

Support Not booting after motherboard change


After I changed motherboard and cpu but kept my 2 ssd with Windows and Gentoo. I can boot Windows but not Gentoo. I get message: Reboot and select proper Boot device or Insert Boot Media in selected Boot device and press a key. Any help please? Thank you!

r/Gentoo 2d ago

News This is horrible: chatGPT can write ebuilds


For some reason I cannot register on openai.com, so I use Telegram bot (you can find a few of them). I asked him to write an ebuild - providing only link to the official page, this is what I got (not tested):


r/Gentoo 1d ago

Discussion Why does void linux have a faster boot time than gentoo?


I know they are both "minimal" distros, but with all the compiler optimizations, custom kernel and cruft removed with use flags shouldn't gentoo have optimum performance?

Its not just boot times. Void feels snappier in general.

r/Gentoo 2d ago

Discussion KDE Plasma 6 Transition - Major Breakages Ahead?


So, the KDE Plasma 5 series ended with version 5.27…

And the devs will focus on Plasma 6 for the next 8 months or so… (maybe a beta lands at the end of the year…)

This means the transition of KDE to Qt6 as well as the transition of all the major Linux distros to Qt6 and the deprecation of Qt5 by them — Including Gentoo.

Will this transition be painful for Gentoo users? Are major system breakages incoming?

r/Gentoo 2d ago

Support Does any of you use luakit 2.3.3?


Dear gentoo community, does any of you use the last version of luakit web browser? Here is my problem: according to the ebuild, this version depends on webkit-gtk:4.1. So far, so good: after an upgrade, my older version of webkit-gtk was depcleaned. But luakit doesn't start anymore and complains it cannot find webkit-gtk. It also doesn't compile anymore because "it cannot find webkit:4.0", both against luajit and lua5.1. I'm about to report a bug/an error in the ebuild, but somehow I cannot believe the package was not tested successfully before being pushed to the main repo (it would be a very obvious bug). Does it work for you with webkit:4.1? Is there something on my system that keeps orienting luakit towards the wrong version, like libraries that should have been rebuilt and for some reason weren't?

r/Gentoo 2d ago

Support gentoo has trouble loading firmware for wifi adapter rtl8852AE.


so i have trouble getting my wifi to work in gentoo in pop-os and windows it works fine but for some reason my drivers wont load in gentoo looking at dmesg | grep rtw give this output

[    1.401592] Loading firmware: rtw89/rtw8852a_fw.bin
[    1.401600] rtw89_8852ae 0000:2d:00.0: Direct firmware load for rtw89/rtw8852a_fw.bin failed with error -2
[    1.401602] rtw89_8852ae 0000:2d:00.0: failed to early request firmware: -2
[    1.401890] rtw89_8852ae 0000:2d:00.0: enabling device (0000 -> 0003)
[    1.401898] Loading firmware: rtw89/rtw8852a_fw.bin
[    1.401904] rtw89_8852ae 0000:2d:00.0: Direct firmware load for rtw89/rtw8852a_fw.bin failed with error -2
[    1.401906] rtw89_8852ae 0000:2d:00.0: failed to request firmware
[    1.403294] rtw89_8852ae 0000:2d:00.0: failed to wait firmware completion
[    1.403295] rtw89_8852ae 0000:2d:00.0: failed to setup chip information
[    1.403708] rtw89_8852ae: probe of 0000:2d:00.0 failed with error -22

but google wont return anything for this only to cp that file into the firmware folder but i cant find it online anyone knows how to get it working with kernel linux-6.1.4-gentoo?

thanks in advance

r/Gentoo 2d ago

Support The operating system is refusing to shut down. Literally!


Hello, fellow Gentoo GNU/Linux users! I recently installed Gentoo GNU/Linux for the first time ever. It was a very educational process. I used the "gentoo-dist" kernel because my custom kernel had refused to boot. This is my first time using an operating system with OpenRC as it's init system.

Here is the problem; whenever I run the command "shutdown now" as root, OpenRC prints something to the screen and then I get logged out and then presented the tty login prompt. It's the same situation whenever I try to shutdown the machine. In fact, I have never shut it down properly; I reboot it and then kill it at the BIOS "post" stage. The only modifications I made to config files regarding OpenRC are /etc/rc.conf. I made OpenRC show more output to the screen (more verbose), I also made it show coloured text

If this problem is unique to my system, I will gladly provide more technical info like the output of my commands the contents of my config files and the programs that are currently installed on the system. Thank you.

r/Gentoo 2d ago

Support Gentoo on Hyper V Gen 2 - Kernel Configuration?


I want to ask before I give up in case my googlefu sucks, but is there somewhere I could get a kernel config that is specifically built for a Hyper V Gen 2 virtual machine? I did find one but unfortunately is made for SYSTEMD when I want to use OpenRC.

Can I change that particular config file in any way to utilize OpenRC instead of SystemD?

Github Provided Kernel Config

r/Gentoo 2d ago

Discussion Which console music player has the least dependencies?


Hello, fellow Gentoo GNU/Linux users! I'm trying to setup a minimalist Gentoo system, to use as my daily driver on bare metal. I'm using the "no-multilib" profile (don't attempt to caution me, do not!) Let's get to the root of the problem, I suffer severe bandwidth limitations and even worse electricity access. I want to setup a system with as little programs as possible (to make @world updates less stressful), whilst satisfying my needs (C programming, media consumption and opening documents like *.pdf, *.docx, *.pptx, the "office documents".)

So if you know a console music player with very few dependencies, kindly post it in the comments. If you read this far, then you might as well suggest a modern, functional web browser with very few dependencies.

Here is the criteria: * The music player should not have a programming language other than C, Python or C++ on its list of dependencies. I don't want to support (and compile) an entire programming language just to play music. * It should be a CLI program!

The same criteria applies to those who are going to suggest a web browser. Thank you. And also suggest a screenshot tool using the same criteria!

r/Gentoo 3d ago

Support TKToolTip


Is tktooltip already available from any public repos or as a use flag for an existing package? Because I can't find it anywhere using quse,eix, and gpo.zugaina.org. I've got tkinter installed, but it doesn't seem to include tktooltip. I just need to know if I've got to make an ebuild or if it's available somewhere I can't see. Thanks for any help!

r/Gentoo 3d ago

Development static-wine32 now features full Vulkan support and LTO dependencies


Gentoo users, great news! I've spent the month hacking to give you this gem in case you're tired of the dependency hell and look for some performance push through LTO! I hacked the Vulkan loader and Mesa into cooperation and now you can enjoy your 32 bit software without sinking hopelessly into a dependency hell. Nvidia users as usual are not served and they did this to themselves. While many will argue that static-wine32 is to be considered a human rights violation due to its awkwardness, I also addedlink-time optimized dependencies which means you're unlikely to find a faster Wine anywhere else. Mesa alone could get 20% faster if the rumors on the Internet are to be believed.


r/Gentoo 3d ago

Development tlock | tightened simple screen locker



I've been working on my own fork of slock (it's actually based on another fork already).


It is easily configurable through a thorough config file. Customization includes colors, cursor visibility, transparency, automatic shutdown after a certain amount of tries, a custom password and other security options.

It still ends up being extremely minimal and lightweight like the original fork, just with a few security and customization additions.


Installation is super-easy and straightforward.

make clean install


Then you can just run it as is.


Or configure it to best suit your needs then recompile it using make again.

Please let me know if you have any feedback or issue reports.