https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: app-emulation/dosemu-1.4.1_pre20130107-r5 calls commands that do not exist. Discovered on: amd64 (internal ref: tinderbox)
Created attachment 680380 [details] build.log build log and emerge --info
Possibly relevant build.log is: ``` c -MP -MMD -I../../../../../../src/include -I../../../../../../src/plugin/include emulation.c > /dev/null /bin/sh: line 1: c: command not found make[2]: [Makefile:33: emulation.d] Error 127 (ignored) c -MP -MMD -I../../../../../../src/include -I../../../../../../src/plugin/include stats.c > /dev/null /bin/sh: line 1: c: command not found make[2]: [Makefile:33: stats.d] Error 127 (ignored) c -MP -MMD -I../../../../../../src/include -I../../../../../../src/plugin/include io.c > /dev/null /bin/sh: line 1: c: command not found make[2]: [Makefile:33: io.d] Error 127 (ignored) ``` It's not clear where 'c' comes from. On my system I see expected compiler name: ``` x86_64-pc-linux-gnu-gcc -E -c -MP -MMD -I../../../../../../src/include -I../../../../../../src/plugin/include timid.c > /dev/null x86_64-pc-linux-gnu-gcc -E -c -MP -MMD -I../../../../../../src/include -I../../../../../../src/plugin/include midout.c > /dev/null x86_64-pc-linux-gnu-gcc -c -MP -MMD -I../../src/include -I../../src/plugin/include -Wa,-a -o mgarrot.o mgarrot.S > mgarrot.s.out ``` The value probably comes from `$CPP` variable: ``` src/Makefile.common: $(CPP) -c $(ALL_CPPFLAGS) $< > /dev/null src/Makefile.common: $(CPP) -c $(ALL_CPPFLAGS) $< > /dev/null ``` I see that my `config.log` has: ``` checking how to run the C preprocessor... gcc-10.2.0 -E ``` But your does not. Also your `config.log` contains suspicious: ``` checking for S-Lang... checking slang.h usability... yes checking slang.h presence... no configure: WARNING: slang.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: slang.h: proceeding with the compiler's result ``` which might mean your CPP is somehow misconfigured (or mis-detected?). Please attach your `config.log`.
Created attachment 680392 [details] config.log config.log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eebc4497a89bbd84f11231ef06be92139b866fac commit eebc4497a89bbd84f11231ef06be92139b866fac Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-12-31 10:23:36 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-12-31 10:24:29 +0000 app-emulation/dosemu: set default CPP On autoconf-2.69 CPP detection was missing. Reported-by: Agostino Sarubbo Closes: https://bugs.gentoo.org/762748 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> app-emulation/dosemu/dosemu-1.4.1_pre20130107-r5.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)