Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271383 - Emerging sys-apps/most-5.0.0a fails in Prefix Portage
Summary: Emerging sys-apps/most-5.0.0a fails in Prefix Portage
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-27 09:50 UTC by Rabbe Fogelholm
Modified: 2010-12-25 22:48 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rabbe Fogelholm 2009-05-27 09:50:19 UTC
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
make -j3 
cd src; make all
make[1]: Entering directory `/local/scratch/portage/sys-apps/most-5.0.0a/work/most-5.0.0a/src'
mkdir /local/scratch/portage/sys-apps/most-5.0.0a/work/most-5.0.0a/src/objs
/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[1]: *** [/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[1]: *** [/local/scratch/portage/sys-apps/most-5.0.0a/work/most-5.0.0a/src/objs/buffer.o] Error 1
make[1]: 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.
Comment 1 Fabian Groffen gentoo-dev 2009-06-13 19:56:20 UTC
hmmm, could this be a concurrency issue?  The build claims it can't find config.h which it just copied...
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-01-27 15:28:08 UTC
(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...
Comment 3 Rabbe Fogelholm 2010-04-09 09:39:44 UTC
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.
Comment 4 Raphael Marichez (Falco) (RETIRED) gentoo-dev 2010-12-25 22:48:15 UTC
Hi,

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.