Re: [Flex-help] flex-2.5.37 Tests FAILED: 48
flex is a tool for generating scanners
Brought to you by:
wlestes
|
From: Will E. <wes...@gm...> - 2012-10-23 12:31:11
|
You'll want bison to run a bunch of the tests. You'll want m4 available to you as well. Everything will need to be in your path or in some other location where configure can find it. On Tuesday, 23 October 2012, 12:11 pm +0100, Hugh Sasse <hg...@dm...> wrote: > > On Mon, 22 Oct 2012, Dennis Clarke wrote: > > > > On Solaris 10 with Oracle Studio compilers : > > > > compile env : > > > > AS=/usr/ccs/bin/as > > CC=/opt/solarisstudio12.3/bin/cc > > CFLAGS=-xstrconst -xildoff -m64 -xmemalign=8s -xnolibmil -Xa -xcode=pic32 -xregs=no%appl -xlibmieee -mc -g -xs -ftrap=%none -xbuiltin=%none -xdebugformat=dwarf -xunroll=1 -xtarget=ultraT2 -xcache=8/16/4:4096/64/16 -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE > > CONFIG_SHELL=/bin/bash > > CPPFLAGS=-I/usr/local/include -I/usr/local/include/readline -I/usr/sfw/ssl/include > > CXX=/opt/solarisstudio12.3/bin/CC > > CXXFLAGS=-xildoff -m64 -xmemalign=8s -xcode=pic32 -xregs=no%appl -xlibmieee -mc -g -xs -xunroll=1 -xtarget=ultraT2 -xcache=8/16/4:4096/64/16 -R/usr/local/lib -L/usr/local/lib -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE > > EDITOR=/usr/xpg4/bin/vi > > LANG=C > > LC_ALL=C > > LC_COLLATE=C > > LC_CTYPE=C > > LC_MESSAGES=C > > LC_MONETARY=C > > LC_NUMERIC=C > > LC_TIME=C > > LD=/usr/ccs/bin/ld > > LD_OPTIONS=-L/usr/local/lib -L/usr/sfw/lib/sparcv9 > > LD_RUN_PATH=/usr/local/lib/$ISALIST:/usr/sfw/lib/$ISALIST:/usr/local/lib:/usr/sfw/lib > > M4=/usr/local/bin/gm4 > > PAGER=/usr/bin/less > > PATH=/usr/local/bin:/usr/xpg6/bin:/usr/xpg4/bin:/usr/ccs/bin:/opt/solarisstudio12.3/bin:/usr/bin:/sbin:/bin:/usr/sbin:/usr/dt/bin:/usr/openwin/bin:/opt/schily/bin > > PKG_CONFIG_PATH=/usr/local/lib/pkgconfig > > SED=/usr/local/bin/gsed > > SHELL=/bin/ksh > > SRC=/usr/local/src > > TERM=xterm > > TZ=GMT0 > > USER=dclarke > > VISUAL=/usr/xpg4/bin/vi > > > > Configure runs fine : > > > > $ ./configure --enable-dependency-tracking > > checking for a BSD-compatible install... ./install-sh -c > > checking whether build environment is sane... yes > > checking for a thread-safe mkdir -p... ./install-sh -c -d > > checking for gawk... no > > checking for mawk... no > > checking for nawk... nawk > > checking whether make sets $(MAKE)... yes > > checking whether NLS is requested... yes > > checking for msgfmt... /usr/local/bin/msgfmt > > checking for gmsgfmt... /usr/local/bin/msgfmt > > checking for xgettext... /usr/local/bin/xgettext > > checking for msgmerge... /usr/local/bin/msgmerge > > checking for style of include used by make... GNU > > checking for gcc... /opt/solarisstudio12.3/bin/cc > > checking whether the C compiler works... yes > > checking for C compiler default output file name... a.out > > checking for suffix of executables... > > checking whether we are cross compiling... no > > checking for suffix of object files... o > > checking whether we are using the GNU C compiler... no > > checking whether /opt/solarisstudio12.3/bin/cc accepts -g... yes > [...] > > checking for non-GNU ld... /usr/ccs/bin/ld > > checking if the linker (/usr/ccs/bin/ld) is GNU ld... no > [...] > > checking for bison... no > > checking for byacc... no > > checking for flex... no > > checking for lex... lex > > checking lex output file root... lex.yy > > checking lex library... -ll > > checking whether yytext is a pointer... no > > checking for gcc... (cached) /opt/solarisstudio12.3/bin/cc > [...] > > checking whether we are using the GNU C++ compiler... no > > checking whether /opt/solarisstudio12.3/bin/CC accepts -g... yes > [...] > > checking for indent... /opt/solarisstudio12.3/bin/indent > > checking if /opt/solarisstudio12.3/bin/indent is GNU indent... no > > configure: WARNING: /opt/solarisstudio12.3/bin/indent does not appear to be GNU indent. > > checking how to run the C preprocessor... /opt/solarisstudio12.3/bin/cc -E > > checking for grep that handles long lines and -e... /usr/xpg4/bin/grep > > checking for egrep... /usr/xpg4/bin/grep -E > [...] > > configure: creating ./config.status > > config.status: creating Makefile > [...] > > config.status: creating config.h > > config.status: executing default-1 commands > > config.status: creating po/POTFILES > > config.status: creating po/Makefile > > config.status: executing depfiles commands > > $ > > > > compile runs fine and the test fails massively : > > > > $ gmake check > > gmake check-recursive > > gmake[1]: Entering directory `/usr/local/build/flex-2.5.37_SunOS5.10_sparcv9_64-bit' > [...] > > NOK=;\ > > NFAIL=;\ > > for dir in test-concatenated-options test-c++-yywrap test-extended test-ccl test-quotes test-rescan-r test-rescan-nr test-basic-nr test-basic-r test-bison-yylloc test-bison-yylval test-bison-nr test-multiple-scanners-nr test-multiple-scanners-r test-header-nr test-header-r test-reject test-c++-multiple-scanners test-c++-basic test-posixly-correct test-posix test-mem-r test-mem-nr test-debug-nr test-debug-r test-lineno-r test-lineno-nr test-linedir-r test-array-nr test-array-r test-c-cpp-nr test-c-cpp-r test-include-by-buffer test-include-by-push test-include-by-reentrant test-prefix-nr test-prefix-r test-pthread test-string-nr test-string-r test-yyextra test-alloc-extra test-noansi-nr test-noansi-r test-top test-table-opts ; do \ > > echo Executing test "$dir" ; \ > > ( cd "$dir" && gmake test > OUTPUT 2>&1 ) ; \ > > case $? in \ > > 0 ) echo Test "$dir" succeeded.; \ > > NOK=0$NOK;\ > > ;; \ > > * ) echo Test "$dir" FAILED. See "$dir"/OUTPUT for details. ; \ > > NFAIL=0$NFAIL; \ > > ;; \ > > esac; \ > > done ; \ > > echo Results: ; \ > > echo Tests succeeded: `echo "$NOK\c"|wc -c`; \ > > echo Tests FAILED: `echo "$NFAIL\c"|wc -c` ; \ > > test "$NFAIL" = "" > > Executing test test-concatenated-options > > Test test-concatenated-options succeeded. > > Executing test test-c++-yywrap > > Test test-c++-yywrap FAILED. See test-c++-yywrap/OUTPUT for details. > > Executing test test-extended > > Test test-extended FAILED. See test-extended/OUTPUT for details. > > Executing test test-ccl > > Test test-ccl FAILED. See test-ccl/OUTPUT for details. > > Executing test test-quotes > > Test test-quotes FAILED. See test-quotes/OUTPUT for details. > > Executing test test-rescan-r > > Test test-rescan-r FAILED. See test-rescan-r/OUTPUT for details. > > Executing test test-rescan-nr > > Test test-rescan-nr FAILED. See test-rescan-nr/OUTPUT for details. > > Executing test test-basic-nr > > Test test-basic-nr FAILED. See test-basic-nr/OUTPUT for details. > > Executing test test-basic-r > > Test test-basic-r FAILED. See test-basic-r/OUTPUT for details. > > Executing test test-bison-yylloc > > Test test-bison-yylloc FAILED. See test-bison-yylloc/OUTPUT for details. > > Executing test test-bison-yylval > > Test test-bison-yylval FAILED. See test-bison-yylval/OUTPUT for details. > > Executing test test-bison-nr > > Test test-bison-nr FAILED. See test-bison-nr/OUTPUT for details. > > Executing test test-multiple-scanners-nr > > Test test-multiple-scanners-nr FAILED. See test-multiple-scanners-nr/OUTPUT for details. > > Executing test test-multiple-scanners-r > > Test test-multiple-scanners-r FAILED. See test-multiple-scanners-r/OUTPUT for details. > > Executing test test-header-nr > > Test test-header-nr FAILED. See test-header-nr/OUTPUT for details. > > Executing test test-header-r > > Test test-header-r FAILED. See test-header-r/OUTPUT for details. > > Executing test test-reject > > Test test-reject FAILED. See test-reject/OUTPUT for details. > > Executing test test-c++-multiple-scanners > > Test test-c++-multiple-scanners FAILED. See test-c++-multiple-scanners/OUTPUT for details. > > Executing test test-c++-basic > > Test test-c++-basic FAILED. See test-c++-basic/OUTPUT for details. > > Executing test test-posixly-correct > > Test test-posixly-correct FAILED. See test-posixly-correct/OUTPUT for details. > > Executing test test-posix > > Test test-posix FAILED. See test-posix/OUTPUT for details. > > Executing test test-mem-r > > Test test-mem-r FAILED. See test-mem-r/OUTPUT for details. > > Executing test test-mem-nr > > Test test-mem-nr FAILED. See test-mem-nr/OUTPUT for details. > > Executing test test-debug-nr > > Test test-debug-nr FAILED. See test-debug-nr/OUTPUT for details. > > Executing test test-debug-r > > Test test-debug-r FAILED. See test-debug-r/OUTPUT for details. > > Executing test test-lineno-r > > Test test-lineno-r FAILED. See test-lineno-r/OUTPUT for details. > > Executing test test-lineno-nr > > Test test-lineno-nr FAILED. See test-lineno-nr/OUTPUT for details. > > Executing test test-linedir-r > > Test test-linedir-r FAILED. See test-linedir-r/OUTPUT for details. > > Executing test test-array-nr > > Test test-array-nr FAILED. See test-array-nr/OUTPUT for details. > > Executing test test-array-r > > Test test-array-r FAILED. See test-array-r/OUTPUT for details. > > Executing test test-c-cpp-nr > > Test test-c-cpp-nr FAILED. See test-c-cpp-nr/OUTPUT for details. > > Executing test test-c-cpp-r > > Test test-c-cpp-r FAILED. See test-c-cpp-r/OUTPUT for details. > > Executing test test-include-by-buffer > > Test test-include-by-buffer FAILED. See test-include-by-buffer/OUTPUT for details. > > Executing test test-include-by-push > > Test test-include-by-push FAILED. See test-include-by-push/OUTPUT for details. > > Executing test test-include-by-reentrant > > Test test-include-by-reentrant FAILED. See test-include-by-reentrant/OUTPUT for details. > > Executing test test-prefix-nr > > Test test-prefix-nr FAILED. See test-prefix-nr/OUTPUT for details. > > Executing test test-prefix-r > > Test test-prefix-r FAILED. See test-prefix-r/OUTPUT for details. > > Executing test test-pthread > > Test test-pthread FAILED. See test-pthread/OUTPUT for details. > > Executing test test-string-nr > > Test test-string-nr FAILED. See test-string-nr/OUTPUT for details. > > Executing test test-string-r > > Test test-string-r FAILED. See test-string-r/OUTPUT for details. > > Executing test test-yyextra > > Test test-yyextra FAILED. See test-yyextra/OUTPUT for details. > > Executing test test-alloc-extra > > Test test-alloc-extra FAILED. See test-alloc-extra/OUTPUT for details. > > Executing test test-noansi-nr > > Test test-noansi-nr FAILED. See test-noansi-nr/OUTPUT for details. > > Executing test test-noansi-r > > Test test-noansi-r FAILED. See test-noansi-r/OUTPUT for details. > > Executing test test-top > > Test test-top FAILED. See test-top/OUTPUT for details. > > Executing test test-table-opts > > Test test-table-opts FAILED. See test-table-opts/OUTPUT for details. > > Results: > > Tests succeeded: 4 > > Tests FAILED: 48 > > gmake[4]: *** [check-local] Error 1 > > gmake[4]: Leaving directory `/usr/local/build/flex-2.5.37_SunOS5.10_sparcv9_64-bit/tests' > > gmake[3]: *** [check-am] Error 2 > > gmake[3]: Leaving directory `/usr/local/build/flex-2.5.37_SunOS5.10_sparcv9_64-bit/tests' > > gmake[2]: *** [check-recursive] Error 1 > > gmake[2]: Leaving directory `/usr/local/build/flex-2.5.37_SunOS5.10_sparcv9_64-bit/tests' > > gmake[1]: *** [check-recursive] Error 1 > > gmake[1]: Leaving directory `/usr/local/build/flex-2.5.37_SunOS5.10_sparcv9_64-bit' > > gmake: *** [check] Error 2 > > $ > > > > Has this new version of flex been built or tested at all on solaris before release ? > > > > Dennis > > > > It may be instructive to look at the OUTPUT files as it suggests, and the > configure.log, but apart from that, you don't seem to be using many of the > GNU tools to build this with, and you may have more success if you do. > Note: I'm claiming no great expertise here, or familiarity with flex > internals. > HTH > Hugh > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > Flex-help mailing list > Fle...@li... > https://lists.sourceforge.net/lists/listinfo/flex-help -- Will Estes (wl...@us...) Flex Project Maintainer http://flex.sourceforge.net/ |