#Compiler packages fail to compile, takes hours to fail

1 messages · Page 1 of 1 (latest)

wispy zealot
#

It seems my message was deleted

#

tf

#

I can't upload tar.gz

#

hold on

#

I have no way to delete this thread, need to look up how to upload 57.8MiB of text without paying discord for nitro

#

that would be too large for wgetpaste iirc

#

my whole thing is I uploaded a tar.gz compressed to 1.8MiB before it got deleted

#

Got around it

#

I misread the file size

wispy zealot
# wispy zealot https://0x0.st/8dmb.txt

This was not attached to the txt at the end

* postinst:
* 
*  (cross-arm-none-eabi/newlib-4.5.0.20241231-r1:0/0::crossdev, ebuild scheduled for merge)
*  (sys-devel/gcc-15.1.1_p20250705-r1:15/15::gentoo, ebuild scheduled for merge)
*  (sys-devel/gcc-13.3.1_p20241220:13/13::gentoo, ebuild scheduled for merge)
*  (media-video/obs-studio-31.1.1:0/0::gentoo, ebuild scheduled for merge)```
wispy zealot
#

Fair enough, will check back in a few hours, note it should be the first package in the attempt

wispy zealot
#

Note I did set to j12

#

Had it j10 last time

wispy zealot
#

I made a thread on how it self deletes

#

Never got a fix without using portage options that would erroneously enable logs for successful packages

#

I have 48GB of ddr4
It shouldn't be deleting itself

#

As far as storage, I do clean dist files periodically

wispy zealot
wispy zealot
wispy zealot
#

https://bpa.st/DVJQ
cd: /var/tmp/portage/sys-devel/gcc-15.1.1_p20250705-r1/temp/environment: No such file or directory

#

Note I have not reboot, it should still be there, but it is not

#

My fstab is this

UUID="9324-E4BE"                /boot        vfat    umask=0077    0 2
#nvme0n1p2
UUID="46caf76c-96c9-4222-99c5-5303b342d829"    none        swap    defaults    0 0
#nvme0n1p3 (debian root)
UUID="e8b6b637-acfc-4186-96d5-5ba859ce74c1"    /mnt/debian    xfs    relatime    0 1
#nvme0n1p4
UUID="c7a03db1-5e6a-431d-a52d-964caba77acd"    /home        ext4    defaults    0 0
#nvme0n1p5 (gentoo root)
UUID="76dddd8b-e616-49ba-ae0c-8a893dd2b01e"    /        xfs    defaults    0 1
#nvme0n1p6
UUID="5dab6a76-7cf1-419d-94c1-f8998bef17d3"    /mnt/steam    xfs    relatime    0 0

#Use in Gentoo
#nvme0n1p6
UUID="4a3e7313-5e61-45c1-b501-faacc181b0e4"    /mnt/misc    ext4    defaults        0 0```
#
bash: cd: /var/tmp/portage/sys-devel/gcc-15.1.1_p20250705-r1/temp/environment: No such file or directory
wispy zealot
#

is this a kernel config issue?

wispy zealot
#

That looks... weird

#

is it supposed to be text?

#

Looks like a rather large file converted to text

#

I know I cannot share tar.gz here

#

bot deletes it

#

I do

#

I have gcc 13 and 15

#
Copyright (C) 2025 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

``` 15 is active atm
#

but I also have

 [1] arm-none-eabi-13
 [2] arm-none-eabi-14
 [3] arm-none-eabi-15 *

 [4] x86_64-pc-linux-gnu-13
 [5] x86_64-pc-linux-gnu-15 *
#

Yep

#

I tried that

#
COMMON_FLAGS="-O2 -march=native -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
gentoo /etc/portage/env # cat optimize-packages 
games-emulation/dolphin fast.conf
dev-lang/python fast.conf
media-gfx/blender fast.conf
net-libs/webkit-gtk fast.conf
media-libs/lcms fast.conf

app-arch/libdeflate fast.conf
dev-libs/jsoncpp fast.conf
dev-libs/xxhash fast.conf
media-libs/fdk-aac fast.conf
media-libs/libaom fast.conf
media-libs/libmad fast.conf
media-libs/shaderc fast.conf
media-libs/speexdsp fast.conf
sci-libs/suitesparseconfig fast.conf

www-client/librewolf llvm-lto-fast.conf
games-util/mangohud llvm-fast.conf

media-libs/mesa llvm-lto.conf
media-libs/glfw llvm-lto.conf
app-editors/vscodium llvm-lto.conf
sys-apps/openrazer gcc.conf
sys-devel/gcc-13 gcc.conf
sys-apps/keyutils gcc.conf
app-emulation/wine-proton gcc.conf

media-video/obs-studio gcc.conf
#

I also tried typing out LLVM=0 LLVM_TAS=0 in the command before this too

#

wdym

#

although I have sys-devel/gcc-13 instead of just gcc
both have the same issue
I will migrate the list I sent to the right location

#

gentoo /etc/portage/env # mv optimize-packages /etc/portage/package.env/optimize-packages ?

#

emerging, will tell if anything comes up

wispy zealot
wispy zealot
#

dang it

#

last time I had
EXTRA_ECONF="--disable-bootstrap" other packages gave me errors

#

am I confusing flags?

#

there is no lto in gcc.conf

#
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
wispy zealot
#

did my log say lto?

#

Ahh found it

wispy zealot
#

how do I prevent the bootstrap stuff?

#

I hear it makes compile times longer

wispy zealot
#

gotcha just emerging without lto accidentally being placed

wispy zealot
#

gcc compiled

#

trying the others

wispy zealot
#

Sorry for the late response, I emerged gcc 15 again on accident, yet successfully, right before 13 failed https://0x0.st/8dJs.txt

rapid brook
#

hey everyone need a little bit of assisstence have done a fresh install of my system after 4 years never had an issue with waybar but now when i am merging dont know why it is giving me systemd dependency errors in portage can someone help

wispy zealot
#

I already had gcc 15 fixed and a recompile was redundant
Edit: I will try to emerge gcc 13 with gcc 13

wispy zealot
# rapid brook hey everyone need a little bit of assisstence have done a fresh install of my sy...

sys-apps/systemd-utils is seperate from sys-apps/systemd
I have sys-apps/systemd-utils boot kernel-install and no sys-apps/systemd because I use openrc as an init system and systemd for boot
also, I had issues with dracut
you should replace this with ugrd https://wiki.gentoo.org/wiki/UgRD

Next time, please ask in #support since this is mainly a thread for my computer
Different computers have different issues :D

wispy zealot
wispy zealot
#

Same thing

#

hold on

#

I swore I disabled lto

#

one sec

#

COMMON_FLAGS="-O2 -march=native -mtune=native -pipe no flto
I don't have lto use flag in my use globals

#

=sys-devel/gcc-13.4.0 is masked, removing that and will emerge again

#

Oh boy IP adress is in the next log
gonna omit that info

wispy zealot
#

not sure what these 404 are

#

Oh is there a fix for that?

#

was not sure if somehow the mirror would be behind if it 404s

#

404 means not found

#

emerging mirror select first

#

gonna emerge -avuDN --keep-going @world while I figure things out
no logs this time since they would be the same for fails

rapid brook
#

@wispy zealot alright thanks a lot and apologiz for posting in the wrong channel

wispy zealot
#

I got more updates after switching mirrors, trying them now

#

sys-libs/pam x11-misc/xkeyboard-config sec-keys/openpgp-keys dev-python/typing-extensions dev python/numpy dev-java/openjdk-binand llvm-core/lld

wispy zealot
#

I did notice I forgot to reboot after updating my kenel as well as setting eselect to it

wispy zealot
#
wellswole@gentoo:~/Downloads$ 

wispy zealot
#

this part has been solved by removing fail-clean as an emerge default

#

gcc stuff is ongoing

#

I marked my log thread as resolved

wispy zealot
#

sys-devel/gcc and obs

wispy zealot
#

although gcc 15 did compile with gcc, it seems gcc 13 was ignoring my old flags for whatever reason

wispy zealot
#

forgot to forward

#

Ima add that since it is blank on mine

#

do I add it to default or amd64?

#

trying on both for the time

#

adding to my make.conf did not help either, so reverting

#

missed gcc.conf

#

trying that

#

reinstalling sys-libs/glibc with the updated gcc.conf

#

stame issues as before even after updating glibc

wispy zealot
wispy zealot
#

the issue is you have CC=clang CXX=clang++ in make.conf which crossdev doesn't like, as it relies on nothing being set so it picks up whatever from configure instead w/ the right tuple
-sam

wispy zealot
#

adding ```bash
if [[ ${CATEGORY} == cross-* ]]; then
unset CC
unset CXX
unset CPP
unset AR
unset NM
unset RANLIB
fi
}

#

credit to ~sam@gentoo/developer/sam assuming I read their advice correctly

wispy zealot
#

solved