Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 762748 - app-emulation/dosemu-1.4.1_pre20130107-r5 calls commands that do not exist
Summary: app-emulation/dosemu-1.4.1_pre20130107-r5 calls commands that do not exist
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergei Trofimovich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-31 07:51 UTC by Agostino Sarubbo
Modified: 2020-12-31 10:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,202.05 KB, text/plain)
2020-12-31 07:51 UTC, Agostino Sarubbo
Details
config.log (config.log,66.06 KB, text/plain)
2020-12-31 09:34 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-12-31 07:51:39 UTC
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)
Comment 1 Agostino Sarubbo gentoo-dev 2020-12-31 07:51:42 UTC
Created attachment 680380 [details]
build.log

build log and emerge --info
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2020-12-31 08:41:53 UTC
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`.
Comment 3 Agostino Sarubbo gentoo-dev 2020-12-31 09:34:25 UTC
Created attachment 680392 [details]
config.log

config.log
Comment 4 Larry the Git Cow gentoo-dev 2020-12-31 10:24:34 UTC
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(-)