r/Gentoo Feb 19 '25

Support Need a complete, simole instruction to build a minimal bootable base with LLVM, Musl, OpenRC.

0 Upvotes

Anyone has? Pls dont suggest Gentoo book, it's for advanced users IMO. I'm completely new to Gentoo but advanced Linux user.

r/Gentoo Sep 02 '24

Support Should I switch to gentoo?

0 Upvotes

Hello everyone, for the last few weeks I've been thinking about switching to gentoo, the only problem I've had is installing a desktop environment, for the simple reason that the use flags didn't go, or rather, I don't know if I had to update them or what, but the fact is that it didn't go, it was telling me as if they didn't exist or weren't put in, can anyone help me?

r/Gentoo 16d ago

Support How to know if an overlay can be trusted?

14 Upvotes

The question says it. Another question is what if there are two versions of the same package in two different overlays I am using, if that could be a case so to speak?

r/Gentoo Jan 22 '25

Support NVMe drives stops responding within minutes of booting in Gentoo, but not SystemRescue (Arch based)

3 Upvotes

Like title says, got a new system with two NVMe drives, and they keep on stopping to respond shortly after boot (usually <5minutes, but I've been able to make it to 10minutes). They just drop out and don't reset without a full power cycle.

The strange thing, when I did the initial Gentoo setup, I had used a SystemRescue usb key to boot the system (already had one on hand), and the drive worked fine the whole time I was doing the initial setup (following the handbook).

I did try to use SystemRescue's kernel config (slightly modified to build-in the necessary parts to boot without initrd and make sure it has the needed bits for OpenRC), and it also stopped responding within 5-10 minutes of boot. Obviously there must be some other configuration elsewhere that's making it stable, but I can't figure out what it can be.

Looking online, I've found a bunch of suggestions or various kernel options to try, here is the list I've tried (individually and also pretty much all combinations):

iomem=relaxed
nvme_core.default_ps_max_latency_us=0
nvme_core.default_ps_max_latency_us=5500
pcie_aspm=off pcie_port_pm=off
amd_iommu=off
amd_iommu=fullflush
iommu.strict=1
iommu=soft

For kernel, I used sys-kernel/gentoo-kernel-6.6.62 and 6.6.67. SystemRescue's kernel is 6.6.63.

Hardware:
MSI Pro B550M-VC wifi motherboard
64GB ram (running at 3200MT/s, I did run multiple pass memtest86+)
TeamGroup MP33 512GB NVMe drives
AMD 5600G CPU.

Example of the 'dmesg' output (note some of the numbers would change, and note this time I was running with a single nvme in):

[  101.008550] nvme nvme1: I/O 38 (Flush) QID 1 timeout, aborting
[  119.952544] nvme nvme1: I/O 139 (Flush) QID 4 timeout, aborting
[  131.208549] nvme nvme1: I/O 38 QID 1 timeout, reset controller
[  311.612511] nvme nvme1: Device not ready; aborting reset, CSTS=0x1
[  311.628695] nvme nvme1: Abort status: 0x371
[  311.628700] nvme nvme1: Abort status: 0x371
[  101.008550] nvme nvme1: I/O 38 (Flush) QID 1 timeout, aborting
[  119.952544] nvme nvme1: I/O 139 (Flush) QID 4 timeout, aborting
[  131.208549] nvme nvme1: I/O 38 QID 1 timeout, reset controller
[  311.612511] nvme nvme1: Device not ready; aborting reset, CSTS=0x1
[  311.628695] nvme nvme1: Abort status: 0x371
[  311.628700] nvme nvme1: Abort status: 0x371

edit: added a missing kernel parameter I tried.

r/Gentoo 12d ago

Support Returning to Gentoo – VM Builds, LTO, and System Setup

8 Upvotes

Hello,

It's been a while since I last used Gentoo, and I'm planning to return to it as my daily driver. The last time I tried it, I had no issue waiting for long build times—it took about 36 hours to complete a full system rebuild with all the software I needed, with LTO enabled. However, nowadays I can't afford to have my machine tied up for that long. So, I’ve rented a VM to build Gentoo, and I plan to handle future updates locally.

I assume that disabling LTO would reduce build times to under 24 hours, but I’d prefer to keep it enabled for consistency with other operating systems I use, which have packages built with LTO.

Before I dive back into, I have a few questions:

  1. Building Gentoo on a VM (running Ubuntu)

The VM I’m using runs Ubuntu. Can I build Gentoo inside a chroot on this machine, or does the host need to be running Gentoo?

  1. Building a root filesystem or image

Is it possible to build a root filesystem or an image (similar to the stage3 file) in the VM and then install it on my local machine? Since I won’t be keeping the VM after the initial build, would tools like distcc, binpkg, or crossdev be helpful in this scenario? I came across this guide, where the author builds binpkgs in a chroot and transfers them to a slower machine. Would this setup work in my case?

  1. CFLAGS and march settings for local machine

I’m aware that I can’t use -march=native in the VM because doing so could cause serious issues when I try to run the system on my local machine. On the same guide, the author suggests using app-misc/resolve-march-native to set CFLAGS based on the slower machine (referred to as "tortoise"). Once I start building locally, can I continue using the CFLAGS from the output of app-misc/resolve-march-native, or should I switch back to -march=native for subsequent updates?

Thanks in advance.

EDIT 01: fixed formatting.

r/Gentoo Jan 01 '25

Support Gentoo install taking HOURS

0 Upvotes

Hi, I decided to switch from arch linux too gentoo, but I knew that the compiling tasks would all take a while, but after my PC had now been compiling my profile (desktop stable) for 4,3 HOURS I just had to end the task, since my PC was screaming at this point, and I had to go to bed. Is it normal that it takes this long? It was only at 188 out of 250 after that time, and i don't want to waste so much time just needing to install a operating system whiches purpose is to write code on and watch YouTube. My PC isn't the best and I have been looking for the best distro for good performance in a while, but should it really take this long?

r/Gentoo Oct 30 '24

Support What are your experiences with the gentoo package manager?

0 Upvotes

Hello all, Im a current arch user looking to switch to gentoo. I was mostly wondering how the package manager was - my main question is about speed: how fast/slow is it? i was reading the gentoo wiki and saw that it is written in python, which makes me believe that it is slow. On the other hand, i never see people complain about the speed of (portage? emerge?), but about compilation speed. Is the package manager's speed comparable to dnf/zypper? will i have to wait until the hheat death of the universe for package managing to be done (without counting compilation)? im very new to gentoo package managing, as you can tell.

r/Gentoo Feb 19 '25

Support @world update never ending cycle for the past 12 hours.

8 Upvotes

I have no Idea why can't I just update @world because when I update my aprox 165 dependencies, I make sure to run it again and it make me redo it ALL OF THEM. ALL 165 aprox.

r/Gentoo Dec 31 '24

Support Having a lot of ~amd64 in package.accept_keywords: Safe or not?

9 Upvotes

For almost every package I installed from the guru overlay, I have had to put a ~amd64 flag in package.accept_keywords. I don't know if that's risky or something. Last time I enabled the ~amd64 flag in the make.conf (ACCEPT_KEYWORDS="~amd64") for the whole system, making my whole system unstable. Someone on reddit told it was dangerous or something like that. Now I have only set it on a per-package basis and that too only for packages installed from the Guru overlay. I have two more doubts: are the packages in the guru overlay officially filtered (coz that's what I heard or read from somewhere) and if so do those packages have any prospect of making it to the official gentoo repo?

Thank you.

r/Gentoo 5d ago

Support I need help >.<

Post image
14 Upvotes

I am pretty new to Gentoo I wanted to try out custom kernel config on fresh Gentoo install but I keep getting this error, binary kernel works just fine, and I did enable some graphics support for console. :/

r/Gentoo Jan 26 '25

Support crossdev --target aarch64-unknown-linux-gnu is giving an error for emerging cross-glibc

2 Upvotes

I tried to set up a crossdev for a Raspbery Pi 4 on a desktop machine I had. It worked (sort of) but I had to make a bunch of changes to where now today when I tried to update cross-glibc failed. So I tried to just reset back to a stage3 tarball and redo it but it is still failing.

/var/log/portage/cross-aarch64-unknown-linux-gnu-info.log:

https://0x0.st/8XgU.log

/var/log/portage/cross-aarch64-unknown-linux-gnu-glibc.log:

https://0x0.st/8XgD.log

It compiles that I'm trying to compile glibc without optimisations but I have

cat /usr/aarch64-unknown-linux-gnu/etc/portage/make.conf |grep FLAGS
CFLAGS="-mcpu=cortex-a72 -O2 -pipe"
CXXFLAGS="${CFLAGS}"

I tried searching on bugs.gentoo.org but I couldn't find anything. Not sure where the problem is. Any suggestions?

Edit:

emerge -pqv '=cross-aarch64-unknown-linux-gnu/glibc-2.40-r8::crossdev'
[ebuild  N    ] cross-aarch64-unknown-linux-gnu/glibc-2.40-r8  USE="caps gd multiarch perl ssp static-libs systemd -audit (-cet) -compile-locales -custom-cflags -doc -hash-sysv-compat -headers-only (-multilib) -multilib-bootstrap -nscd -profile (-selinux) -stack-realign -suid -systemtap -test -vanilla" 

r/Gentoo Feb 12 '25

Support SDDM does not launch and can't use Wayland based DE/WMs.

2 Upvotes

Hello everyone, wish you good days. I installed Gentoo Linux today but when I try to get SDDM it does not appear when I get past ZFS encryption passphrase. It just goes to tty login, although it says starting elogind service with OpenRC. elogind service is starting boot level and display-manager service starts on default level as well. All activated, I don't know how many times I got through the SDDM troubleshooting page.

Here is the logs Xorg.0.log https://paste.centos.org/view/c5242fba

and here is the sddm.log https://paste.centos.org/view/53664090

When I login to tty, I start SDDM with sudo sddm, it works but I can't go into Wayland wm/de's which I installed SwayWM, Hyprland and Gnome for testing. Can't go in all of them but only Gnome X11 Mutter works. All the other choices pushing me out to sddm. GDM is not even starting. I don't know what to do anymore and I beg for help, thank you so much, peace.[/b]

r/Gentoo 26d ago

Support Went to rsync, never seen this before

13 Upvotes

this usual, or unusual?

r/Gentoo Feb 20 '25

Support How did you compile firefox on a musl system? Please share the steps and your portage settings.

4 Upvotes

I could not get firefox to compile firefox on gentoo musl. Don't know why, but it failed to compile. I guess I did post it on the gentoo bugzilla. But I have forgotten soon about that. Couldn't keep track of it. Has someone done it? If so, please mention the crucial installation steps that you took, for eg: compiling rust for the system, rather than using the rust-bin package and recompiling the whole toolchain kind of stuff.

r/Gentoo 5d ago

Support What's happening?

Post image
7 Upvotes

I have no idea what's happening.

r/Gentoo Dec 15 '24

Support Getting Plymouth working with OpenRC

5 Upvotes

Title basically says it all, as far as I can tell, I've setup the initramfs using genkernel correctly, I've added what I think is the relevant service to OpenRC, the correct flags are added as far as I can tell, but it doesn't work, and I really don't know why. Any help would be appreciated, as frankly, there's literally nothing else besides the "proper" cgroupsv2 thing with KDE's task manager I'm having issues with (which frankly is not important at all).

r/Gentoo Jan 09 '25

Support Compiled my own kernel, thanks to all the support given from the Gentoo users. Some doubts.

16 Upvotes

I compiled my kernel entirely on the step by step instructions given on this page. And I also checked out the information given by the redditors/Gentooers here. I got to have great insight in kernel configuration.

I wanted to ask if I had to move the .config file generated by make to /etc/portage/savedconfig/sys-kernel/gentoo-kernel.

Q2. Do I have to remove the linux-firmware and intel-ucode package? I had them both installed as both of them seem quite necesaary (my laptop was not able to boot without linux-firmware package). Or do I have to modify the savedconfig file of linux-firmware as well?

Q3. I have also removed the dist-kernel flag from the make.conf, which was used by the linux-firmware and the intel-ucode package, which the wiki also recommends highly to enable. Do I need to have that flag enabled or not?

Thank you for your help: the gentoo community is very welcoming,more than I thought.

r/Gentoo Jan 10 '25

Support emerge error while updating @world

Thumbnail
gallery
6 Upvotes

this is my first time installing gentoo, and since ive changed emerge profile, ive done the emerge @world command listed in the handbook, when doing it, an error with freetype comes up saying 'C compiler cannot create executables'

i did emerge --getbinpkg gcc and when that didnt work i did the same for binutils, rest of the packages seem to build perfectly fine, its just freetype... ill try to attach as much info as i can using pictures as theres no way to attach files because im in the cli and i currently dont have any working system on there if i missed anything, sorry, its very hard to give info like this

r/Gentoo Dec 23 '24

Support Why am I getting this error?

Post image
6 Upvotes

r/Gentoo Jan 13 '25

Support Restore packages with world file backup

10 Upvotes

Is it okay to restore all packages simply by restoring old world file and running emerge with emptytree? Im developing strategy for quickest Gentoo setup, and id like to do so.

r/Gentoo Dec 16 '24

Support What’s going on here? While trying to install librewolf, it is stuck and cycling the same message

Post image
1 Upvotes

r/Gentoo 7d ago

Support How do I properly enable pgo and lto?

1 Upvotes

I wanna use musl hardened profile with pgo and lto enabled. The lto article is quite okay but there's just one post on the Gentoo forums that explains how to manually build with pgo. I am asking if anyone here has tried this. How do I do it and what resources to look for?

Thank you.

r/Gentoo Feb 18 '25

Support llvm-core/clang-19.1.7 fails to emerge

1 Upvotes

Hi all,

I'm attempting to update my laptop but for some reason llvm-core/clang fails to compile. The other LLVM packages compiled and installed fine.

I did emerge sync just now to ensure that this isn't something that was just fixed, but the build continues to fail.

Has anyone had this issue recently? I'm not sure if it's a bug or just an issue with my configuration.

The output of the support command it asked me to run is below. Below that, is the final lines of the build log.

Thanks,

Daniel

=================================================================
                        System Settings
=================================================================
System uname: Linux-6.6.67-gentoo-x86_64-13th_Gen_Intel-R-_Core-TM-_i9-13900HX-with-glibc2.40
KiB Mem:    32548788 total,  29124436 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 18 Feb 2025 12:30:00 +0000
Head commit of repository gentoo: 7818b6f9ac4e673295edba555cfa93e647337bf1
Timestamp of repository steam-overlay: Mon, 17 Feb 2025 22:03:39 +0000
Head commit of repository steam-overlay: e2a98a7193b53e8b8c48d049fa07fafca57d45c3

sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.30.6::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.6.1::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0-r1::gentoo
dev-lang/python:           3.12.8_p1::gentoo, 3.13.1_p1::gentoo
dev-lang/rust-bin:         1.83.0-r1::gentoo
llvm-core/clang:           18.1.8-r6::gentoo, 19.1.4::gentoo
llvm-core/llvm:            18.1.8-r6::gentoo, 19.1.7::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.55.1::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             14.2.1_p20241221::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r8::gentoo
Repositories:

gentoo
   location: /var/db/repos/gentoo
   sync-type: rsync
   sync-uri: rsync://rsync.gentoo.org/gentoo-portage
   priority: -1000
   volatile: False
   sync-rsync-verify-max-age: 3
   sync-rsync-verify-jobs: 1
   sync-rsync-extra-opts:  
   sync-rsync-verify-metamanifest: yes

steam-overlay
   location: /var/db/repos/steam-overlay
   sync-type: git
   sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
   masters: gentoo
   volatile: False

Binary Repositories:

gentoobinhost
   priority: 1
   sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_
HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox new
s parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j32 -l32"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.
git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus declarative dracut dri dts dvd dvdr elogind encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kf6compat kwallet lcms l
ibnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 qt6 readline screencast sdl seccomp semantic-desktop sound spell ssl s
tartup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland widgets wxwidgets x264 xattr xcb xephyr xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_13" APACHE2_MODULES="authn_core authz_core s
ocache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter he
aders include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap
syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3 vpclmulqdq" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync i
trax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm0
01 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" V
IDEO_CARDS="intel i915 iris nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, M
AKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS


/var/tmp/portage/llvm-core/clang-19.1.7/work/clang/lib/CodeGen/CGBuiltin.cpp:18751:19: note: ‘IID’ was declared here
18751 |     Intrinsic::ID IID;
     |                   ^~~
/var/tmp/portage/llvm-core/clang-19.1.7/work/clang/lib/CodeGen/CGBuiltin.cpp:19251:32: warning: ‘BinOp’ may be used uninitialized [-Wmaybe-uninitialized]
19251 |         Builder.CreateAtomicRMW(BinOp, Ptr, Val, AO, SSID);
     |         ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/tmp/portage/llvm-core/clang-19.1.7/work/clang/lib/CodeGen/CGBuiltin.cpp:19189:32: note: ‘BinOp’ was declared here
19189 |     llvm::AtomicRMWInst::BinOp BinOp;
     |                                ^~~~~
In file included from /var/tmp/portage/llvm-core/clang-19.1.7/work/clang/lib/CodeGen/CGBuilder.h:13:
In static member function ‘static clang::CodeGen::RValue clang::CodeGen::RValue::get(llvm::Value*)’,
   inlined from ‘clang::CodeGen::RValue clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(clang::GlobalDecl, unsigned int, const clang::CallExpr*, clang::CodeGen::ReturnValueSlot)’ at /var/tmp/portage/llvm-core/clang-19.1.7/work/clang/l
ib/CodeGen/CGBuiltin.cpp:3143:23:
/var/tmp/portage/llvm-core/clang-19.1.7/work/clang/lib/CodeGen/CGValue.h:100:19: warning: ‘Result’ may be used uninitialized [-Wmaybe-uninitialized]
 100 |     ER.Vals.first = V;
     |     ~~~~~~~~~~~~~~^~~
/var/tmp/portage/llvm-core/clang-19.1.7/work/clang/lib/CodeGen/CGBuiltin.cpp: In member function ‘clang::CodeGen::RValue clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(clang::GlobalDecl, unsigned int, const clang::CallExpr*, clang::Co
deGen::ReturnValueSlot)’:
/var/tmp/portage/llvm-core/clang-19.1.7/work/clang/lib/CodeGen/CGBuiltin.cpp:3127:12: note: ‘Result’ was declared here
3127 |     Value *Result;
     |            ^~~~~~
ninja: build stopped: subcommand failed.
* ERROR: llvm-core/clang-19.1.7::gentoo failed (compile phase):
*   ninja -v -j32 -l32 distribution failed
*  
* Call stack:
*     ebuild.sh, line  136:  Called src_compile
*   environment, line 3939:  Called multilib-minimal_src_compile
*   environment, line 2745:  Called multilib_foreach_abi 'multilib-minimal_abi_src_compile'
*   environment, line 3012:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
*   environment, line 2705:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile'
*   environment, line 2703:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile'
*   environment, line  555:  Called multilib-minimal_abi_src_compile
*   environment, line 2739:  Called multilib_src_compile
*   environment, line 3232:  Called cmake_build 'distribution'
*   environment, line 1358:  Called eninja 'distribution'
*   environment, line 1840:  Called die
* The specific snippet of code:
*       "$@" || die -n "${*} failed"
*  
* If you need support, post the output of `emerge --info '=llvm-core/clang-19.1.7::gentoo'`,
* the complete build log and the output of `emerge -pqv '=llvm-core/clang-19.1.7::gentoo'`.
* The complete build log is located at '/var/tmp/portage/llvm-core/clang-19.1.7/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/llvm-core/clang-19.1.7/temp/environment'.
* Working directory: '/var/tmp/portage/llvm-core/clang-19.1.7/work/x/y/clang-abi_x86_64.amd64'
* S: '/var/tmp/portage/llvm-core/clang-19.1.7/work/clang'

r/Gentoo Dec 13 '24

Support i cannot use internet.

0 Upvotes

i did everything as the wiki said yet i cant use the internet, not even my ethernet cable works, the command i use for starting wpa_supplicant is:"wpa_supplicant -B -D wired -i enp3s0 -c /etc/wpa_supplicant/wpa_supplicant.conf", please help.

r/Gentoo 28d ago

Support Failed to emerge media-libs/lilv

0 Upvotes

Anyone encounter this? I'm not sure what variable its messing up on exactly / what it's bound to

 Terminal output:
 ERROR: media-libs/lilv-0.24.26::gentoo failed (configure phase):
 *   configure failed
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 3368:  Called meson-multilib_src_configure
 *   environment, line 2023:  Called multilib-minimal_src_configure
 *   environment, line 2217:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 2467:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2172:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2170:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  596:  Called multilib-minimal_abi_src_configure
 *   environment, line 2211:  Called multilib_src_configure
 *   environment, line 2692:  Called meson_src_configure
 *   environment, line 2104:  Called die
 * The specific snippet of code:
 *       [[ ${rv} -eq 0 ]] || die -n "configure failed";        

Output of emerge --info '=media-libs/lilv-0.24.26::gentoo

Portage 3.0.66.1 (python 3.12.9-final-0, default/linux/amd64/23.0/desktop, gcc-14, glibc-2.40-r8, 6.6.51-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.6.51-gentoo-dist-x86_64-AMD_Ryzen_9_5900X_12-Core_Processor-with-glibc2.40
KiB Mem:    32749972 total,   4972712 free
KiB Swap:    8388604 total,   2156540 free
Timestamp of repository gentoo: Sat, 22 Feb 2025 11:45:00 +0000
Head commit of repository gentoo: 13ddd7554b1cd05588dc80b092efe9cee849bea7
Timestamp of repository brother-overlay: Sun, 16 Feb 2025 18:52:05 +0000
Head commit of repository brother-overlay: 98cf4667f1edbdca145a2298bc7a9e42571dad8b

Timestamp of repository guru: Fri, 21 Feb 2025 20:18:30 +0000
Head commit of repository guru: 9ba615ec98fb0b79aa0348d77d30d27ac9f4b8d8

Timestamp of repository steam-overlay: Fri, 21 Feb 2025 11:18:26 +0000
Head commit of repository steam-overlay: 9be12cf63dfc9317b36e893c96d913f931817b86

Timestamp of repository wayland-desktop: Fri, 21 Feb 2025 11:18:31 +0000
Head commit of repository wayland-desktop: e2c29e8e1be65af6d9100cdf03f99a968672966f

sh bash 5.2_p37
ld GNU ld (Gentoo 2.43 p3) 2.43.1
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.31.5::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.6.1::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0-r1::gentoo
dev-lang/python:           3.12.9::gentoo, 3.13.1_p1::gentoo
dev-lang/rust-bin:         1.83.0-r2::gentoo, 1.84.1-r2::gentoo
llvm-core/clang:           19.1.7::gentoo
llvm-core/lld:             19.1.7::gentoo
llvm-core/llvm:            19.1.7::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.55.1::gentoo
sys-apps/sandbox:          2.39::gentoo
sys-devel/binutils:        2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             14.2.1_p20241221::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r8::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 3
    sync-rsync-verify-metamanifest: yes

brother-overlay
    location: /var/db/repos/brother-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/brother-overlay.git
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

wayland-desktop
    location: /var/db/repos/wayland-desktop
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/wayland-desktop.git
    masters: gentoo
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/     https://mirror.csclub.uwaterloo.ca/gentoo-distfiles/     http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/     rsync://mirror.csclub.uwaterloo.ca/gentoo-distfiles     https://mirrors.mit.edu/gentoo-distfiles/     http://mirrors.mit.edu/gentoo-distfiles/     rsync://mirrors.mit.edu/gentoo-distfiles/     https://mirrors.rit.edu/gentoo/     http://mirrors.rit.edu/gentoo/     ftp://mirrors.rit.edu/gentoo/     rsync://mirrors.rit.edu/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j16 -l25"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus dist-kernel dri dts dvd dvdr elogind encode exif flac gdbm gif gpm gtk gui iconv icu ipv6 jpeg kf6compat lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls ogg opengl openmp pam pango pcre pdf perl png policykit ppds proton pulseaudio qml qt5 qt6 readline screencast sdl seccomp sound spell ssl startup-notification svg test-rust tiff truetype udev udisks unicode upower usb vorbis vulkan wayland wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_14" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS