Gentoo Archives: gentoo-alt

From: Maurice Volaski <mvolaski@××××××××.edu>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] Re: [Q on OpenSolaris] Why does make think the flex makefile has an unexpected end of line?
Date: Mon, 23 Jun 2008 21:43:47
Message-Id: a06240408c485c7ea953a@[129.98.90.227]
1 I fixed it by emerge-ing Gentoo's make. Seems there is a bug in the
2 make program in OpenSolaris. I guess I would amend the directions at
3 http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml
4 to emerge make before emerging flex. :-)
5
6 At 5:36 PM -0400 6/23/08, Maurice Volaski wrote:
7 >I am now proceeding to oneshot programs on 64-bit x86 Solaris. I am
8 >stuck on flex. It seems that (OpenSolaris?) make is having trouble
9 >reading a line. Could this be a general bug in this particular
10 >version of the flex makefile?
11 >
12 >make: Fatal error in reader: Makefile, line 178: Unexpected end of line seen
13 >Current working directory
14 >/opt/gentoo/var/tmp/portage/sys-devel/flex-2.5.33-r3/work/flex-2.5.33/tests/test-table-opts
15 >*** Error code 1
16 >The following command caused the error:
17 >set fnord $MAKEFLAGS; amf=$2; \
18 >dot_seen=no; \
19 >target=`echo all-recursive | sed s/-recursive//`; \
20 >list='test-rescan-r test-rescan-nr test-basic-nr test-basic-r
21 >test-bison-yylloc test-bison-yylval test-bison-nr
22 >test-multiple-scanners-nr test-multiple-scanners-r test-header-nr
23 >test-header-r test-reject test-c++-multiple-scanners
24 >test-c++-basic test-posixly-correct test-posix test-mem-r
25 >test-mem-nr test-debug-nr test-debug-r test-lineno-r
26 >test-lineno-nr test-linedir-r test-array-nr test-array-r
27 >test-c-cpp-nr test-c-cpp-r test-include-by-buffer
28 >test-include-by-push test-include-by-reentrant test-prefix-nr
29 >test-prefix-r test-pthread test-string-nr test-string-r
30 >test-yyextra test-noansi-nr test-noansi-r test-top
31 >test-table-opts'; for subdir in $list; do \
32 > echo "Making $target in $subdir"; \
33 > if test "$subdir" = "."; then \
34 > dot_seen=yes; \
35 > local_target="$target-am"; \
36 > else \
37 > local_target="$target"; \
38 > fi; \
39 > (cd $subdir && make $local_target) \
40 > || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
41 >done; \
42 >if test "$dot_seen" = "no"; then \
43 > make "$target-am" || exit 1; \
44 >fi; test -z "$fail"
45 >
46
47 --
48
49 Maurice Volaski, mvolaski@××××××××.edu
50 Computing Support, Rose F. Kennedy Center
51 Albert Einstein College of Medicine of Yeshiva University
52 --
53 gentoo-alt@l.g.o mailing list

Replies