[m-dev.] config file bug

Peter Ross pro at missioncriticalit.com
Thu Apr 24 00:39:27 AEST 2003


On Thu, Apr 24, 2003 at 12:20:45AM +1000, Simon Taylor wrote:
> On 23-Apr-2003, Peter Ross <pro at missioncriticalit.com> wrote:
> > PS. I have been trying to bootcheck this on the CS machines and I keep
> > getting problems with
> > 
> > Error reading options file `/usr/local/mercury-DEV/lib/mercury/conf/Mercury.config'.
> > 
> > Has anyone else been having the same problem?  Have I done something
> > stupid?
> 
> I've just encountered this with on Windows with MSVC today,
> but can't reproduce it on Linux.
> 
> Which machine are you trying to bootstrap on?

ceres

# which mmc
/home/ceres/public/mercury-latest/i686-pc-linux-gnu/bin/mmc

> What options are you passing to configure?
> 
I didn't pass any options to configure.
Mmake.stage.params contains
MCFLAGS=--intermodule-optimization

Here is the complete set of commands.

# cvs co mercury

# cd mercury

# ./tools/cvspatch ~/zzdiff.dead_pred

# autoconf

# ./configure

# mmake

# ./tools/bootcheck --test-params
-------------- next part --------------
starting at Wed Apr 23 21:00:43 EST 2003
++ sed '
s:/mount/munkora/mercury:/home/mercury:
s:/mount/munkora/home/mercury:/home/mercury:
s:/mount/munkora/clp/mercury:/home/mercury:'
++ /bin/pwd
+ root=/home/ceres/petdr/mercury
+ PATH=/home/ceres/petdr/mercury/tools:/home/ceres/public/mercury-latest/i686-pc-linux-gnu/bin:/home/pgrad/petdr/bin/hydra:/bin/linux:/home:/home/mercury/public/sicstus3/i586-unknown-linux:/home/mercury/public/mercury-latest/x86-debian-linux-libc2.0/bin:/home/pgrad/petdr/bin:/home/pgrad/petdr/bin/scripts:/usr/local/contrib/bin:/usr/local/bin:/usr/local/apps/cake/bin:/usr/bin:/usr/ucb:/usr/ccs/bin/:/usr/contrib/games:/usr/local/X11/bin:/usr/local/apps/tex/bin:/usr/local/bin/X11:/usr/local/elm:/usr/local/games/bin:/usr/local/info:/usr/local/gcc/bin:/usr/local/groff:/usr/local/news:/usr/local/tex:/usr/local/ucb:/usr/sbin:/usr/X11R6/bin:/usr/bin/X11:/home/stude/bin:/bin:/usr/games:/local/share/bin/
+ export PATH
+ test '' = ''
+ RMSTAGECMD=/bin/rm -fr
+ true
+ mmake MMAKEFLAGS= all
cd scripts && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake 
gmake[1]: Entering directory `/home/ceres/petdr/mercury/scripts'
gmake[1]: Nothing to be done for `default_target'.
gmake[1]: Leaving directory `/home/ceres/petdr/mercury/scripts'
cd util && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake 
gmake[1]: Entering directory `/home/ceres/petdr/mercury/util'
gmake[1]: Nothing to be done for `default_target'.
gmake[1]: Leaving directory `/home/ceres/petdr/mercury/util'
gc_grade=`scripts/ml --grade asm_fast.gc --print-gc-grade`; \
cd boehm_gc && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake  GC_GRADE=$gc_grade
gmake[1]: Entering directory `/home/ceres/petdr/mercury/boehm_gc'
MAKEFLAGS=""; export MAKEFLAGS; \
gmake  -j1 GRADE=asm_fast.gc GC_GRADE=gc \
	libgc.a libgc.so \
	so
gmake[2]: Entering directory `/home/ceres/petdr/mercury/boehm_gc'
gmake[2]: `libgc.a' is up to date.
gmake[2]: `libgc.so' is up to date.
gmake[2]: Nothing to be done for `so'.
gmake[2]: Leaving directory `/home/ceres/petdr/mercury/boehm_gc'
gmake[1]: Leaving directory `/home/ceres/petdr/mercury/boehm_gc'
cd runtime && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake 
gmake[1]: Entering directory `/home/ceres/petdr/mercury/runtime'
../Mmake.common:399: warning: undefined variable `LIB_DLL_H'
../Mmake.common:402: warning: undefined variable `LIB_DLL_H'
/tmp/mmake.r41kGb:978: warning: undefined variable `LIB_DLL_H'
gmake[1]: Leaving directory `/home/ceres/petdr/mercury/runtime'
cd library && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake 
gmake[1]: Entering directory `/home/ceres/petdr/mercury/library'
gmake[1]: Leaving directory `/home/ceres/petdr/mercury/library'
cd browser && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake 
gmake[1]: Entering directory `/home/ceres/petdr/mercury/browser'
gmake[1]: Leaving directory `/home/ceres/petdr/mercury/browser'
cd trace && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake 
gmake[1]: Entering directory `/home/ceres/petdr/mercury/trace'
gmake[1]: Nothing to be done for `default_target'.
gmake[1]: Leaving directory `/home/ceres/petdr/mercury/trace'
cd analysis && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake 
gmake[1]: Entering directory `/home/ceres/petdr/mercury/analysis'
gmake[1]: Leaving directory `/home/ceres/petdr/mercury/analysis'
cd compiler && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake 
gmake[1]: Entering directory `/home/ceres/petdr/mercury/compiler'
gmake[1]: Leaving directory `/home/ceres/petdr/mercury/compiler'
cd doc && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake 
gmake[1]: Entering directory `/home/ceres/petdr/mercury/doc'
gmake[1]: Nothing to be done for `default_target'.
gmake[1]: Leaving directory `/home/ceres/petdr/mercury/doc'
cd profiler && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake 
gmake[1]: Entering directory `/home/ceres/petdr/mercury/profiler'
gmake[1]: Leaving directory `/home/ceres/petdr/mercury/profiler'
cd deep_profiler && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake 
gmake[1]: Entering directory `/home/ceres/petdr/mercury/deep_profiler'
gmake[1]: Leaving directory `/home/ceres/petdr/mercury/deep_profiler'
+ echo 'building of stage 1 successful'
building of stage 1 successful
+ true
+ true
+ MERCURY_COMPILER=/home/ceres/petdr/mercury/compiler/mercury_compile
+ export MERCURY_COMPILER
+ '[' -d stage2 ']'
+ mkdir stage2
+ false
+ wait
+ /bin/rm -fr /home/ceres/petdr/mercury/stage2/compiler
+ /bin/rm -fr /home/ceres/petdr/mercury/stage2/library
+ /bin/rm -fr '/home/ceres/petdr/mercury/stage2/*'
+ /bin/rm -fr '/home/ceres/petdr/mercury/stage2/*'
+ /bin/rm -fr '/home/ceres/petdr/mercury/stage2/.[a-zA-Z]*'
+ true
+ set +x
linking stage 2...
+ MMAKE_VPATH=.
+ export MMAKE_VPATH
+ MMAKE_DIR=/home/ceres/petdr/mercury/scripts
+ export MMAKE_DIR
+ MMAKE=/home/ceres/petdr/mercury/scripts/mmake
+ mmake_opts= 
+ cd stage2
+ /home/ceres/petdr/mercury/scripts/mmake runtime
cd scripts && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake 
gmake[1]: Entering directory `/home/ceres/petdr/mercury/scripts'
gmake[1]: Nothing to be done for `default_target'.
gmake[1]: Leaving directory `/home/ceres/petdr/mercury/scripts'
gc_grade=`scripts/ml --grade asm_fast.gc --print-gc-grade`; \
cd boehm_gc && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake  GC_GRADE=$gc_grade
gmake[1]: Entering directory `/home/ceres/petdr/mercury/boehm_gc'
MAKEFLAGS=""; export MAKEFLAGS; \
gmake  -j1 GRADE=asm_fast.gc GC_GRADE=gc \
	libgc.a libgc.so \
	so
gmake[2]: Entering directory `/home/ceres/petdr/mercury/boehm_gc'
gmake[2]: `libgc.a' is up to date.
gmake[2]: `libgc.so' is up to date.
gmake[2]: Nothing to be done for `so'.
gmake[2]: Leaving directory `/home/ceres/petdr/mercury/boehm_gc'
gmake[1]: Leaving directory `/home/ceres/petdr/mercury/boehm_gc'
cd runtime && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake 
gmake[1]: Entering directory `/home/ceres/petdr/mercury/runtime'
../Mmake.common:399: warning: undefined variable `LIB_DLL_H'
../Mmake.common:402: warning: undefined variable `LIB_DLL_H'
/tmp/mmake.kQfVXo:978: warning: undefined variable `LIB_DLL_H'
gmake[1]: Leaving directory `/home/ceres/petdr/mercury/runtime'
+ echo 'building of stage 2 runtime successful'
building of stage 2 runtime successful
+ cd stage2
+ /home/ceres/petdr/mercury/scripts/mmake dep_library dep_browser dep_analysis dep_compiler dep_profiler dep_deep_profiler
cd library && PATH=../scripts:../util:$PATH MMAKE_VPATH=. MMAKE_DIR=../scripts ../scripts/mmake  depend
gmake[1]: Entering directory `/home/ceres/petdr/mercury/stage2/library'
/home/ceres/public/mercury-latest/i686-pc-linux-gnu/bin/mmc --no-unboxed-float --conf-low-tag-bits 2 --bits-per-word 32 --bytes-per-word 4 --generate-dependencies --grade asm_fast.gc     --intermodule-optimization --strict-sequential --trace minimum --generate-mmc-deps --transitive-intermodule-optimization --no-warn-smart-recompilation --enable-termination  -R/usr/local/mercury-DEV/lib/mercury/lib/asm_fast.gc/i686-pc-linux-gnu -R/usr/local/mercury-DEV/lib/mercury/lib/i686-pc-linux-gnu  --no-warn-nothing-exported   mer_std
Error reading options file `/usr/local/mercury-DEV/lib/mercury/conf/Mercury.config'.
For more information, try recompiling with `-E'.
gmake[1]: *** [mer_std.depend] Error 1
gmake[1]: Leaving directory `/home/ceres/petdr/mercury/stage2/library'
gmake: *** [library/mer_std.dep] Error 2
+ echo 'building of stage 2 dependencies not successful'
building of stage 2 dependencies not successful
+ exit 1


More information about the developers mailing list