Menu3p on ubuntu 12.10 requires yacc be installed to work

Steps to reproduce

Third party libraries would not compile in ubuntu 12.10 after downloading sources. I work around this I had to install yacc manually via: sudo apt-get install bison

Error log:

Select action [2]:
------------------------------------------------------------------------
/opt/matterhorn/testfest/docs/scripts/3rd_party/linux-compile
------------------------------------------------------------------------
+ '[' -z /opt/matterhorn/testfest/docs/scripts/3rd_party ']'
+ source /opt/matterhorn/testfest/docs/scripts/3rd_party/utilx
+++ set -o
+++ awk '/^xtrace/ {print $2}'
++ XTRACE=on
++ set +x
Ubuntu 12.10 \n \l
Linux 3.5.0-21-generic x86_64
+++ return 0
+++ return 0
+++ return 0
+++ return 0
+++ return 0
+++ return 0
+++ return 0
++ return 0
+ '[' 0 -ne 0 ']'
+ compile base_libs linux
+ set +x
++ pwd
+ OLDCD=/opt/matterhorn/testfest/docs/scripts/3rd_party
+ '[' 0 -ne 0 ']'
+ cd base_libs
+ '[' 0 -ne 0 ']'
++ pwd
+ '[' -x linux-compile -a '!' /opt/matterhorn/testfest/docs/scripts/3rd_party/base_libs = /opt/matterhorn/testfest/docs/scripts/3rd_party ']'
+ ./linux-compile
------------------------------------------------------------------------
/opt/matterhorn/testfest/docs/scripts/3rd_party/base_libs/linux-compile
------------------------------------------------------------------------
+ source /opt/matterhorn/testfest/docs/scripts/3rd_party/utilx
+++ set -o
+++ awk '/^xtrace/ {print $2}'
++ XTRACE=on
++ set +x
Ubuntu 12.10 \n \l
Linux 3.5.0-21-generic x86_64
+++ return 0
+++ return 0
+++ return 0
+++ return 0
+++ return 0
+++ return 0
+++ return 0
++ return 0
+ '[' 0 -ne 0 ']'
+ compile jam linux
+ set +x
++ pwd
+ OLDCD=/opt/matterhorn/testfest/docs/scripts/3rd_party/base_libs
+ '[' 0 -ne 0 ']'
+ cd jam
+ '[' 0 -ne 0 ']'
++ pwd
+ '[' -x linux-compile -a '!' /opt/matterhorn/testfest/docs/scripts/3rd_party/base_libs/jam = /opt/matterhorn/testfest/docs/scripts/3rd_party/base_libs ']'
+ ./linux-compile
------------------------------------------------------------------------
/opt/matterhorn/testfest/docs/scripts/3rd_party/base_libs/jam/linux-compile
------------------------------------------------------------------------
+ source /opt/matterhorn/testfest/docs/scripts/3rd_party/utilx
+++ set -o
+++ awk '/^xtrace/ {print $2}'
++ XTRACE=on
++ set +x
Ubuntu 12.10 \n \l
Linux 3.5.0-21-generic x86_64
+++ return 0
+++ return 0
+++ return 0
+++ return 0
+++ return 0
+++ return 0
+++ return 0
++ return 0
+ '[' 0 -ne 0 ']'
+ '[' -f .done-linux ']'
++ getcfg PKG:
++ set +x
++ return 0
+ pkg=jam-2.5.zip
+ chkpkg jam-2.5.zip
+ set +x
+ return 0
++ getcfg DIR:
++ set +x
++ return 0
+ dir=jam-2.5
+ '[' -z jam-2.5 -o jam-2.5 = / ']'
+ rm -fr jam-2.5 jam-2.5-linux
+ '[' 0 -ne 0 ']'
+ mkdir jam-2.5-linux
+ '[' 0 -ne 0 ']'
+ cd jam-2.5-linux
+ '[' 0 -ne 0 ']'
+ unzip -ao ../jam-2.5.zip
Archive: ../jam-2.5.zip
inflating: Build.com [text]
inflating: Build.mpw [text]
inflating: Jam.html [text]
inflating: Jambase [text]
inflating: Jambase.html [text]
inflating: Jamfile [text]
inflating: Jamfile.html [text]
inflating: Makefile [text]
inflating: Porting [text]
inflating: README [text]
inflating: RELNOTES [text]
inflating: builtins.c [text]
inflating: builtins.h [text]
inflating: command.c [text]
inflating: command.h [text]
inflating: compile.c [text]
inflating: compile.h [text]
inflating: execcmd.h [text]
inflating: execmac.c [text]
inflating: execunix.c [text]
inflating: execvms.c [text]
inflating: expand.c [text]
inflating: expand.h [text]
inflating: filemac.c [text]
inflating: filent.c [text]
inflating: fileos2.c [text]
inflating: filesys.h [text]
inflating: fileunix.c [text]
inflating: filevms.c [text]
inflating: glob.c [text]
inflating: hash.c [text]
inflating: hash.h [text]
inflating: headers.c [text]
inflating: headers.h [text]
inflating: jam.c [text]
inflating: jam.h [text]
inflating: jambase.c [text]
inflating: jambase.h [text]
inflating: jamgram.c [text]
inflating: jamgram.h [text]
inflating: jamgram.y [text]
inflating: jamgram.yy [text]
inflating: jamgramtab.h [text]
inflating: lists.c [text]
inflating: lists.h [text]
inflating: make.c [text]
inflating: make.h [text]
inflating: make1.c [text]
inflating: mkjambase.c [text]
inflating: newstr.c [text]
inflating: newstr.h [text]
inflating: option.c [text]
inflating: option.h [text]
inflating: parse.c [text]
inflating: parse.h [text]
inflating: patchlevel.h [text]
inflating: pathmac.c [text]
inflating: pathsys.h [text]
inflating: pathunix.c [text]
inflating: pathvms.c [text]
inflating: regexp.c [text]
inflating: regexp.h [text]
inflating: rules.c [text]
inflating: rules.h [text]
inflating: scan.c [text]
inflating: scan.h [text]
inflating: search.c [text]
inflating: search.h [text]
inflating: timestamp.c [text]
inflating: timestamp.h [text]
inflating: variable.c [text]
inflating: variable.h [text]
inflating: yyacc [text]
+ '[' 0 -ne 0 ']'
+ cp ../Jamfile .
+ '[' 0 -ne 0 ']'
+ make
cc -o ./jam0 builtins.c command.c compile.c execunix.c execvms.c expand.c filent.c fileos2.c fileunix.c filevms.c glob.c hash.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c newstr.c option.c parse.c pathunix.c pathvms.c regexp.c rules.c scan.c search.c timestamp.c variable.c
execunix.c: In function ‘execcmd’:
execunix.c:235:6: warning: incompatible implicit declaration of built-in function ‘_exit’ [enabled by default]
expand.c: In function ‘var_expand’:
expand.c:84:6: warning: field precision specifier ‘.*’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat]
hash.c: In function ‘hashstat’:
hash.c:256:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘long unsigned int’ [-Wformat]
./jam0
...found 197 target(s)...
...updating 33 target(s)...
MkDir1 bin.linux
Cc bin.linux/builtins.o
Cc bin.linux/command.o
Cc bin.linux/compile.o
Cc bin.linux/execunix.o
execunix.c: In function ‘execcmd’:
execunix.c:235:6: warning: incompatible implicit declaration of built-in function ‘_exit’ [enabled by default]
Cc bin.linux/fileunix.o
Cc bin.linux/pathunix.o
Yacc1 jamgram.c jamgram.h
/bin/sh: 2: yacc: not found

yacc -d jamgram.y

...failed Yacc1 jamgram.c jamgram.h ...
...removing jamgram.c
...removing jamgram.h
...skipped jamgram.o for lack of jamgram.c...
Cc bin.linux/expand.o
expand.c: In function ‘var_expand’:
expand.c:84:6: warning: field precision specifier ‘.*’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat]
Cc bin.linux/glob.o
Cc bin.linux/hash.o
hash.c: In function ‘hashstat’:
hash.c:256:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 7 has type ‘long unsigned int’ [-Wformat]
Cc bin.linux/headers.o
Cc bin.linux/lists.o
Cc bin.linux/make.o
Cc bin.linux/make1.o
Cc bin.linux/newstr.o
Cc bin.linux/option.o
Cc bin.linux/parse.o
Cc bin.linux/regexp.o
Cc bin.linux/rules.o
...skipped scan.o for lack of scan.c...
Cc bin.linux/search.o
Cc bin.linux/timestamp.o
Cc bin.linux/variable.o
...skipped libjam.a for lack of libjam.a(jamgram.o)...
Cc bin.linux/mkjambase.o
Link bin.linux/mkjambase
Chmod1 bin.linux/mkjambase
Cc bin.linux/jam.o
GenFile1 jambase.c
Cc bin.linux/jambase.o
...skipped jam for lack of libjam.a...
...failed updating 2 target(s)...
...skipped 4 target(s)...
...updated 27 target(s)...
make: *** [all] Error 1
+ '[' 2 -ne 0 ']'
+ exit 1
+ '[' 1 -ne 0 ']'
+ return 1
+ exit 1
+ '[' 1 -ne 0 ']'
+ return 1
+ exit 1

real 0m3.112s
user 0m1.680s
sys 0m0.428s

Press <Enter> to continue (FAILED)...

Status

Assignee

James Perrin

Reporter

Christopher Brooks

Severity

Incorrect Documentation

Tags (folksonomy)

Components

Fix versions

Affects versions

Priority

Major
Configure