same error with more details...
missing --run makeinfo --version) >/dev/null 2>&1; then \
for f in flex.info flex.info-[0-9] flex.info-[0-9][0-9] flex.i[0-9] flex.i[0-9][0-9]; do \
if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
done; \
else :; fi && \
cd "$am__cwd"; \
if /bin/bash /opt/freescale/ltib/usr/src/rpm/BUILD/flex-2.5.37/missing --run makeinfo -I . \
-o flex.info flex.texi; \
then \
rc=0; \
CDPATH="${ZSH_VERSION+.}:" && cd .; \
else \
rc=$?; \
CDPATH="${ZSH_VERSION+.}:" && cd . && \
$restore $backupdir/* `echo "./flex.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
/opt/freescale/ltib/usr/src/rpm/BUILD/flex-2.5.37/missing: line 52: makeinfo: command not found
WARNING: `makeinfo' is missing on your system. You should only need it if
you modified a `.texi' or `.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy `make' (AIX,
DU, IRIX). You might want to install the `Texinfo' package or
the `GNU make' package. Grab either from any GNU archive site.
TEXINPUTS=".:$TEXINPUTS" \
MAKEINFO='/bin/bash /opt/freescale/ltib/usr/src/rpm/BUILD/flex-2.5.37/missing --run makeinfo -I .' \
texi2dvi --pdf --batch flex.texi
/bin/bash: texi2dvi: command not found
make[2]: *** [flex.pdf] Error 127
make[2]: Leaving directory `/opt/freescale/ltib/usr/src/rpm/BUILD/flex-2.5.37/doc'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/opt/freescale/ltib/usr/src/rpm/BUILD/flex-2.5.37'
make: *** [install] Error 2
error: Bad exit status from /home/vishva/Desktop/L3.0.35_4.0.0_130424_source/n/ltib/tmp/rpm-tmp.83759 (%install)
RPM build errors:
Bad exit status from /home/vishva/Desktop/L3.0.35_4.0.0_130424_source/n/ltib/tmp/rpm-tmp.83759 (%install)
Build time for flex: 16 seconds
Failed building flex
Died at ./ltib line 1392.
traceback:
main::build_host_rpms:1392
main::host_checks:1447
main:554
Started: Wed Jun 12 11:40:07 2013
Ended: Wed Jun 12 11:40:25 2013
Elapsed: 18 seconds
These packages failed to build:
flex
Build Failed