This is an auto-filed bug because app-cdr/cdrtools fails to compile.
The issue was originally discovered on arm, but it may be reproducible on other arches as well.
If you think that a different summary clarifies the issue better, feel free to change it.
Attached build log and emerge --info.
If you need further logs, feel free to ask.
Created attachment 640142 [details]
build log and emerge --info
O2 -pipe -g -ggdb -frecord-gcc-switches -finput-charset=ISO-8859-1 -fexec-charset=UTF-8 -c -o OBJ/arm-linux-cc/align_test.o align_test.c
/bin/sh: O2: command not found
make: [../RULES/r-gmake.obj:51: OBJ/arm-linux-cc/align_test.o] Error 127 (ignored)
o OBJ/arm-linux-cc/align_test OBJ/arm-linux-cc/align_test.o -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0
/bin/sh: o: command not found
make: [../RULES/rules.inc:44: OBJ/arm-linux-cc/align_test] Error 127 (ignored)
Hm no clue. Somehow the compiler is undefined.
x86_64-pc-linux-gnu-gcc -M -DSCHILY_BUILD -IOBJ/amd64-linux-cc -I../incs/amd64-linux-cc -I../include -D__OPRINTF__ -D_GNU_SOURCE align_test.c
x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -fomit-frame-pointer -finput-charset=ISO-8859-1 -fexec-charset=UTF-8 -DSCHILY_BUILD -IOBJ/amd64-linux-cc -I../incs/amd64-linux-cc -I../include -D__OPRINTF__ -D_GNU_SOURCE -c -o OBJ/amd64-linux-cc/align_test.o align_test.c
This is how it looks on amd64.
Does it also fail on arm?
Is it possible to try without the special setup you are probably using when running the test.
Sam James seems to have no problem with compiling cdrtools on arm64 in bug #723346. Suspecting this is an issue with your setup.
Considering the only changes between cdrtools-3.02_alpha09 and cdrtools-3.02_alpha09-r2 are only related to the switch between EAPI 6 and 7. Guess if there are issues this would also concern other arches and not only arm64.
I suppose it is doing something weird while calling the compiler
To reproduce try to use gcc-config[-native-symlinks]
Can not reproduce with gcc-config[-native-symlinks] either.
I totally forgot about bug #616764. Can you check if this is really about the quoting of CONFFLAGS in RULES/rules.cnf?
I suppose it is arm specific.
Stable version fails for me too.
It does not work by unsetting CC