Platform is Prefix Portage. Emerging sys-apps/most-5.0.0a fails with the console output pasted below. Emerging in a conventional Gentoo environment succeeds.
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/sysconf.h
ACCESS DENIED open_wr: /var/opt/quest/vas/vasd/vas_misc.vdb
ACCESS DENIED open_wr: /var/opt/quest/vas/vasd/vas_ident.vdb
cd src; make all
make: Entering directory `/local/scratch/portage/sys-apps/most-5.0.0a/work/most-5.0.0a/src'
/bin/cp /local/scratch/portage/sys-apps/most-5.0.0a/work/most-5.0.0a/src/sysconf.h config.h
cd /local/scratch/portage/sys-apps/most-5.0.0a/work/most-5.0.0a/src/objs; i686-pc-linux-gnu-gcc -c -O2 -pipe -Dunix -I/local/tmp/e/usr/include -DMOST_SYSTEM_INITFILE='"/local/tmp/e/etc/most.conf"' /local/scratch/portage/sys-apps/most-5.0.0a/work/most-5.0.0a/src/chkslang.c
cd /local/scratch/portage/sys-apps/most-5.0.0a/work/most-5.0.0a/src/objs; i686-pc-linux-gnu-gcc -c -O2 -pipe -Dunix -I/local/tmp/e/usr/include -DMOST_SYSTEM_INITFILE='"/local/tmp/e/etc/most.conf"' /local/scratch/portage/sys-apps/most-5.0.0a/work/most-5.0.0a/src/buffer.c
/local/scratch/portage/sys-apps/most-5.0.0a/work/most-5.0.0a/src/buffer.c:20:20: error: config.h: No such file or directory
/local/scratch/portage/sys-apps/most-5.0.0a/work/most-5.0.0a/src/chkslang.c:24:20: error: config.h: No such file or directory
make: *** [/local/scratch/portage/sys-apps/most-5.0.0a/work/most-5.0.0a/src/objs/chkslang.o] Error 1In file included from /local/scratch/portage/sys-apps/most-5.0.0a/work/most-5.0.0a/src/buffer.c:34:
/local/scratch/portage/sys-apps/most-5.0.0a/work/most-5.0.0a/src/buffer.h:25: error: 'MAX_PATHLEN' undeclared here (not in a function)
/local/scratch/portage/sys-apps/most-5.0.0a/work/most-5.0.0a/src/buffer.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Most_Num_Lines'
/local/scratch/portage/sys-apps/most-5.0.0a/work/most-5.0.0a/src/buffer.h:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Most_C_Offset'
make: *** [/local/scratch/portage/sys-apps/most-5.0.0a/work/most-5.0.0a/src/objs/buffer.o] Error 1
make: Leaving directory `/local/scratch/portage/sys-apps/most-5.0.0a/work/most-5.0.0a/src'
make: *** [all] Error 2
* ERROR: sys-apps/most-5.0.0a failed:
* emake failed.
hmmm, could this be a concurrency issue? The build claims it can't find config.h which it just copied...
(In reply to comment #1)
> hmmm, could this be a concurrency issue? The build claims it can't find
> config.h which it just copied...
It is an intermittent bug. I reproduced it and then fixed it with MAKEOPTS=-j1 then couldn't reproduce the issues even when I uninstalled it/installed it again regardless of MAKEOPTS..
If we can nail it down, let's fix it. Until then...
Some time has passed, and sys-apps/most-5.0.0a now emerges fine for me. I have MAKEOPTS=-j3 and the host machine is dual core. I retried the emerge 3 times with unmerge in between; there were no failures.
Just FYI, I triggered this issue which seems to be a concurrency issue (missing chkslang.o). And I just tried again and it compiled fine.