The failure appears to be gcc-10 related. utils.c: In function ‘mirror_args’: utils.c:758:6: warning: type of ‘command_pid’ defaults to ‘int’ [-Wimplicit-int] 758 | void mirror_args(command_pid) { | ^~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -march=native -O2 -pipe -c -o malloc_debug.o malloc_debug.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\"/usr/share\" -march=native -O2 -pipe -c -o filter.o filter.c x86_64-pc-linux-gnu-gcc -DDATADIR=\"/usr/share\" -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -o rlwrap main.o signals.o readline.o pty.o completion.o term.o ptytty.o utils.o string_utils.o malloc_debug.o filter.o -lutil -lreadline -ltinfo /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: pty.o:(.data+0x0): multiple definition of `slave_pty_sensing_fd'; main.o:(.bss+0x38): first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:341: rlwrap] Error 1 make[2]: Leaving directory '/var/tmp/portage/app-misc/rlwrap-0.42/work/rlwrap-0.42/src' make[1]: *** [Makefile:604: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-misc/rlwrap-0.42/work/rlwrap-0.42' make: *** [Makefile:519: all] Error 2 * ERROR: app-misc/rlwrap-0.42::gentoo failed (compile phase): The subject ebuild does compile with gcc-9.3 and app-misc/rlwrap-0.43 builds with gcc-10.2
Created attachment 691872 [details] emerge --info
Created attachment 691878 [details] build.log
amd64 done
x86 done
ppc done all arches done