New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #22599 (closed defect: fixed)

Opened 2 years ago

Last modified 12 months ago

fpp: destroot fails

Reported by: oub.oub.oub@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: fpp

Description (last modified by jmr@…) (diff)

Hello I tried to install fpp on macports 1.8.1 and I obtained the following error.

I found (macports 1.8.1) the following error:

 Staging fpp into destroot
 Error: Target org.macports.destroot returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_fpp/work/fdfpp"
 && /usr/bin/make install
 PREFIX=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_fpp/work/destroot/opt/local
 " returned error 2
 Command output: Makefile:12: warning: overriding commands for target `all'
 Makefile:2: warning: ignoring old commands for target `all'
 install -m 755 all/fpp
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_fpp/work/destroot/opt/local/bin
 install: all/fpp: No such file or directory
 make: *** [install] Error 71
 
 Error: Status 1 encountered during processing.

what shall I do?

Uwe Brauer

Change History

  Changed 2 years ago by jmr@…

  • description modified (diff)
  • port set to fpp

  Changed 2 years ago by snc@…

  • summary changed from MacPort 1.8.1: can't install fpp (fortran proprecessor) to MacPort 1.8.1: can't install fpp (fortran preprecessor)

  Changed 2 years ago by ryandesign@…

  • summary changed from MacPort 1.8.1: can't install fpp (fortran preprecessor) to fpp: destroot fails

I can't even get through the build phase on Leopard or Snow Leopard.

fpp hasn't been updated since 1997. I'm not surprised it doesn't work anymore. If you can suggest how to fix it, we'll be happy to update the portfile.

in reply to: ↑ description   Changed 22 months ago 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

  Changed 12 months ago by jmr@…

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.