Created attachment 881689 [details] build.log The gcc-14 ebuild seems to have a hard dependency on sys-devel/flex. At build time only sys-devel/reflex was installed via USE=reflex app-alternatives/lex (reflex was depcleaned) and I got this error: [...] powerpc-unknown-linux-gnu-g++ -std=c++11 -c -mcpu=7450 -mtune=7450 -pipe -O2 -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/var/tmp/portage/sys-devel/gcc-14.0.0_pre20240107/work/gcc-14-20240107/gcc -I/var/tmp/portage/sys-devel/gcc-14.0.0_pre20240107/work/gcc-14-20240107/gcc/build -I/var/tmp/portage/sys-devel/gcc-14.0.0_pre20240107/work/gcc-14-20240107/gcc/../include -I/var/tmp/portage/sys-devel/gcc-14.0.0_pre20240107/work/gcc-14-20240107/gcc/../libcpp/include \ -o build/gengtype.o /var/tmp/portage/sys-devel/gcc-14.0.0_pre20240107/work/gcc-14-20240107/gcc/gengtype.cc /var/tmp/portage/sys-devel/gcc-14.0.0_pre20240107/work/gcc-14-20240107/missing flex -ogengtype-lex.cc /var/tmp/portage/sys-devel/gcc-14.0.0_pre20240107/work/gcc-14-20240107/gcc/gengtype-lex.l && { \ echo '#ifdef HOST_GENERATOR_FILE' > gengtype-lex.cc.tmp; \ echo '#include "config.h"' >> gengtype-lex.cc.tmp; \ echo '#else' >> gengtype-lex.cc.tmp; \ echo '#include "bconfig.h"' >> gengtype-lex.cc.tmp; \ echo '#endif' >> gengtype-lex.cc.tmp; \ cat gengtype-lex.cc >> gengtype-lex.cc.tmp; \ mv gengtype-lex.cc.tmp gengtype-lex.cc; \ } /var/tmp/portage/sys-devel/gcc-14.0.0_pre20240107/work/gcc-14-20240107/missing: 81: flex: not found WARNING: 'flex' is missing on your system. You should only need it if you modified a '.l' file. You may want to install the Fast Lexical Analyzer package: <http://flex.sourceforge.net/> make[3]: [Makefile:3221: gengtype-lex.cc] Error 127 (ignored) powerpc-unknown-linux-gnu-g++ -std=c++11 -c -mcpu=7450 -mtune=7450 -pipe -O2 -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I/var/tmp/portage/sys-devel/gcc-14.0.0_pre20240107/work/gcc-14-20240107/gcc -I/var/tmp/portage/sys-devel/gcc-14.0.0_pre20240107/work/gcc-14-20240107/gcc/build -I/var/tmp/portage/sys-devel/gcc-14.0.0_pre20240107/work/gcc-14-20240107/gcc/../include -I/var/tmp/portage/sys-devel/gcc-14.0.0_pre20240107/work/gcc-14-20240107/gcc/../libcpp/include \ -o build/gengtype-lex.o gengtype-lex.cc cc1plus: fatal error: gengtype-lex.cc: No such file or directory compilation terminated. make[3]: *** [Makefile:2999: build/gengtype-lex.o] Error 1 make[3]: Leaving directory '/var/tmp/portage/sys-devel/gcc-14.0.0_pre20240107/work/build/gcc' make[2]: *** [Makefile:5051: all-stage1-gcc] Error 2 make[2]: Leaving directory '/var/tmp/portage/sys-devel/gcc-14.0.0_pre20240107/work/build' make[1]: *** [Makefile:24625: stage1-bubble] Error 2 make[1]: Leaving directory '/var/tmp/portage/sys-devel/gcc-14.0.0_pre20240107/work/build' make: *** [Makefile:24957: bootstrap-lean] Error 2 * ERROR: sys-devel/gcc-14.0.0_pre20240107::gentoo failed (compile phase): * emake failed
Created attachment 881690 [details] emerge --info
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14ee2fa63b28757cac0fa3c5388be4a12af5b7bf commit 14ee2fa63b28757cac0fa3c5388be4a12af5b7bf Author: Sam James <sam@gentoo.org> AuthorDate: 2024-01-08 23:52:59 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-01-08 23:53:08 +0000 toolchain.eclass: go back to flex We should really tighten this so it's only for snapshots though... Closes: https://bugs.gentoo.org/921620 Signed-off-by: Sam James <sam@gentoo.org> eclass/toolchain.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)