Opened 17 hours ago

Last modified 13 hours ago

#71331 new defect

am-utils @6.1.5: error: fsi_gram.h: No such file or directory

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.4
Keywords: Cc:
Port: am-utils

Description

Making all in fsinfo
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_am-utils/am-utils/work/am-utils-6.1.5/fsinfo'
bison -y  -d fsi_gram.y
flex   fsi_lex.l
ccache /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -I/opt/local/include  -pipe -Os -arch ppc -D_P1003_1B_VISIBLE -D_P1003_1B_VISIBLE -pipe -Os -arch ppc -D_P1003_1B_VISIBLE -c fsi_analyze.c
fsi_gram.y: warning: 2 shift/reduce conflicts [-Wconflicts-sr]
fsi_gram.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples
ccache /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -I/opt/local/include  -pipe -Os -arch ppc -D_P1003_1B_VISIBLE -D_P1003_1B_VISIBLE -pipe -Os -arch ppc -D_P1003_1B_VISIBLE -c fsi_dict.c
ccache /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -I/opt/local/include  -pipe -Os -arch ppc -D_P1003_1B_VISIBLE -D_P1003_1B_VISIBLE -pipe -Os -arch ppc -D_P1003_1B_VISIBLE -c fsi_util.c
ccache /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -I/opt/local/include  -pipe -Os -arch ppc -D_P1003_1B_VISIBLE -D_P1003_1B_VISIBLE -pipe -Os -arch ppc -D_P1003_1B_VISIBLE -c fsinfo.c
sed '/^#/ s|lex.yy\.c|fsi_lex.c|' lex.yy.c >fsi_lex.c
rm -f lex.yy.c
ccache /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -I/opt/local/include  -pipe -Os -arch ppc -D_P1003_1B_VISIBLE -D_P1003_1B_VISIBLE -pipe -Os -arch ppc -D_P1003_1B_VISIBLE -c wr_atab.c
fsinfo.c:54:22: error: fsi_gram.h: No such file or directory
make[2]: *** [fsinfo.o] Error 1
make[2]: *** Waiting for unfinished jobs....
if test -f y.tab.h; then \
	  to=`echo "fsi_gram_H" | sed \
                -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \
                -e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`; \
	  sed -e "/^#/!b" -e "s/Y_TAB_H/$to/g" -e "s|y\.tab\.h|fsi_gram.h|" \
            y.tab.h >fsi_gram.ht; \
	  rm -f y.tab.h; \
	  if cmp -s fsi_gram.ht fsi_gram.h; then \
	    rm -f fsi_gram.ht ;\
	  else \
	    mv fsi_gram.ht fsi_gram.h; \
	  fi; \
	fi
if test -f y.output; then \
	  mv y.output fsi_gram.output; \
	fi
sed '/^#/ s|y\.tab\.c|fsi_gram.c|' y.tab.c >fsi_gram.ct && mv fsi_gram.ct fsi_gram.c
rm -f y.tab.c
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_am-utils/am-utils/work/am-utils-6.1.5/fsinfo'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_am-utils/am-utils/work/am-utils-6.1.5'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_am-utils/am-utils/work/am-utils-6.1.5'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_am-utils/am-utils/work/am-utils-6.1.5" && /usr/bin/make -j6 -w all 
Exit code: 2
Error: Failed to build am-utils: command execution failed

Attachments (1)

main.log (112.0 KB) - added by barracuda156 17 hours ago.

Download all attachments as: .zip

Change History (4)

Changed 17 hours ago by barracuda156

Attachment: main.log added

comment:1 Changed 15 hours ago by ryandesign (Ryan Carsten Schmidt)

This looks like a parallel build problem, since the error is that fsi_gram.h is not found, followed by output showing fsi_gram.h being created. Try sudo port install am-utils build.jobs=1.

comment:2 Changed 14 hours ago by ryandesign (Ryan Carsten Schmidt)

Summary: am-utils fail to build: error: fsi_gram.h: No such file or directoryam-utils @6.1.5: error: fsi_gram.h: No such file or directory

A new version 6.2 is available upstream. It is difficult to wade through the extensive NEWS and ChangeLog files but you could try updating the port to see if this is a problem they've already fixed.

Version 0, edited 14 hours ago by ryandesign (Ryan Carsten Schmidt) (next)

comment:3 in reply to:  1 Changed 13 hours ago by barracuda156

Replying to ryandesign:

This looks like a parallel build problem, since the error is that fsi_gram.h is not found, followed by output showing fsi_gram.h being created. Try sudo port install am-utils build.jobs=1.

use_parallel_build no indeed worked, thank you.

Note: See TracTickets for help on using tickets.