[MacPorts] #22599: fpp: destroot fails
MacPorts
noreply at macports.org
Thu Apr 15 13:11:32 PDT 2010
#22599: fpp: destroot fails
-----------------------------------+----------------------------------------
Reporter: oub.oub.oub@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.1
Keywords: | Port: fpp
-----------------------------------+----------------------------------------
Comment(by bill.bushnell@…):
I get the same result.
Some investigation shows that install is looking for the executable "fpp"
in the "all" directory. The executable isn't there because it wasn't
made.
Going into the "all" directory I can see that some of the object files
exist as well as a lower level Makefile. I tried making just that
Makefile, and I get an error when Yacc/Bison attempts to compile
src/eval.y. These diagnostics are suppressed from the higher-level make.
{{{
yacc ../src/eval.y
../src/eval.y:34.20: syntax error, unexpected =
../src/eval.y:38.21-22: invalid $ value: $3
../src/eval.y:40.39-40: invalid $ value: $3
../src/eval.y:44.39-40: invalid $ value: $3
../src/eval.y:46.21-22: invalid $ value: $3
../src/eval.y:51.35-36: invalid $ value: $3
[...more similar error messages...]
make: *** [y.tab.c] Error 1
}}}
Here's the code snippet:
{{{
1 /* @(#)eval.y 1.9 96/09/10 */
2 /*
3 * ====================================================
4 * Copyright (C) 1995 by Sun Microsystems, Inc. All rights reserved.
5 *
6 * Developed at SunSoft, a Sun Microsystems, Inc. business.
7 * Permission to use, copy, modify, and distribute this
8 * software is freely granted, provided that this notice
9 * is preserved.
10 * ====================================================
11 */
12
13 %term YYQWE YYCOLON
14 %term YYOR YYAND YYNOT YYEQV YYNEQV
15 %term YYBITOR YYBITAND YYBITXOR YYBITNOT
16 %term YYEQ YYNE YYLT YYGT YYLE YYGE
17 %term YYLS YYRS YYADD YYSUB YYMUL YYDIV YYREM YYDEG
18 %term YYLPAR YYRPAR YYNUM YYCOMMA
19 %term YYSTOP YYBADLEX
20
21 %right YYQWE YYCOLON
22 %left YYAND YYOR
23 %left YYEQV YYNEQV
24 %left YYBITAND YYBITOR YYBITXOR
25 %binary YYEQ YYNE
26 %binary YYLT YYGT YYLE YYGE
27 %left YYLS YYRS
28 %left YYADD YYSUB
29 %left YYMUL YYDIV YYREM
30 %right YYDEG
31 %right YYNOT YYBITNOT
32 %left YYCOMMA
33 %%
34 S: exp YYSTOP = {return $1;}
35
36 exp: exp YYDEG exp = {
37 int i, res = 1;
38 if ($3 < 0) res = 0;
39 else {
40 for (i=0; i < $3; i++)
41 res *= $1;
42 }
43 $$ = res; }
44
...
}}}
I don't know Yacc/Bison. Any experts out there?
Bill Bushnell
--
Ticket URL: <http://trac.macports.org/ticket/22599#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list