Re: [PATCH] flex: updated to 2.5.37

Richard Purdie
2013-01-31T16:46:21Z

On Thu, 2013-01-31 at 13:53 +0200, Bogdan Marinescu wrote:
> Removed the patches to flex, because they are now applied to the
> latest version.
>
> Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
> ---
> .../flex/flex/avoid-FORTIFY-warnings.patch | 59 --------------------
> .../flex/int-is-not-the-same-size-as-size_t.patch | 42 --------------
> meta/recipes-devtools/flex/flex_2.5.35.bb | 11 ----
> meta/recipes-devtools/flex/flex_2.5.37.bb | 8 +++
> 4 files changed, 8 insertions(+), 112 deletions(-)
> delete mode 100644 meta/recipes-devtools/flex/flex/avoid-FORTIFY-warnings.patch
> delete mode 100644 meta/recipes-devtools/flex/flex/int-is-not-the-same-size-as-size_t.patch
> delete mode 100644 meta/recipes-devtools/flex/flex_2.5.35.bb
> create mode 100644 meta/recipes-devtools/flex/flex_2.5.37.bb

This failed to build for me:

| make[4]: Leaving directory `/media/build1/poky/build/tmp/work/x86_64-linux/flex-native/2.5.37-r0/flex-2.5.37'
| make[3]: Leaving directory `/media/build1/poky/build/tmp/work/x86_64-linux/flex-native/2.5.37-r0/flex-2.5.37'
| make[2]: Leaving directory `/media/build1/poky/build/tmp/work/x86_64-linux/flex-native/2.5.37-r0/flex-2.5.37'
| Making install in doc
| make[2]: Entering directory `/media/build1/poky/build/tmp/work/x86_64-linux/flex-native/2.5.37-r0/flex-2.5.37/doc'
| restore=: && backupdir=".am$$" && \
| am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
| rm -rf $backupdir && mkdir $backupdir && \
| if (/bin/bash /media/build1/poky/build/tmp/work/x86_64-linux/flex-native/2.5.37-r0/flex-2.5.37/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 /media/build1/poky/build/tmp/work/x86_64-linux/flex-native/2.5.37-r0/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
| TEXINPUTS=".:$TEXINPUTS" \
| MAKEINFO='/bin/bash /media/build1/poky/build/tmp/work/x86_64-linux/flex-native/2.5.37-r0/flex-2.5.37/missing --run makeinfo -I .' \
| texi2dvi --pdf --batch --clean flex.texi
| /media/build1/poky/build/tmp/sysroots/x86_64-linux/usr/bin/texi2dvi: 132: /media/build1/poky/build/tmp/sysroots/x86_64-linux/usr/bin/texi2dvi: Syntax error: Bad function name
| make[2]: *** [flex.pdf] Error 2
| make[2]: *** Waiting for unfinished jobs....
| make[2]: Leaving directory `/media/build1/poky/build/tmp/work/x86_64-linux/flex-native/2.5.37-r0/flex-2.5.37/doc'
| make[1]: *** [install-recursive] Error 1
| make[1]: Leaving directory `/media/build1/poky/build/tmp/work/x86_64-linux/flex-native/2.5.37-r0/flex-2.5.37'

Cheers,

Richard