[tlbuild] OpenBSD build fails on todays SVN

Edd Barrett vext01 at gmail.com
Mon Jun 29 20:24:38 CEST 2009


Hi,

I updated from a snapshot about a month ago to find the following error
in the build:

---8<---
gmake[5]: Entering directory
`/usr/ports/obj/texlive_base-2009/source/Work/texk/web2c/web2c'
gcc -DHAVE_CONFIG_H -I. -I../../../../texk/web2c/web2c
-I./native/kpathsea -Inative -I../../../../texk/web2c/web2c/native
-I../../../../texk/web2c/web2c/.. -I../../../../texk/web2c/web2c/../..
-Wall -Wunused -Wno-unknown-pragmas -g -O2 -MT web2c-parser.o -MD -MP
-MF .deps/web2c-parser.Tpo -c -o web2c-parser.o
../../../../texk/web2c/web2c/web2c-parser.c
mv -f .deps/web2c-parser.Tpo .deps/web2c-parser.Po
test -f web2c-lexer.c || /bin/sh
../../../../texk/web2c/web2c/../../../build-aux/ylwrap
../../../../texk/web2c/web2c/web2c-lexer.l lex.yy.c web2c-lexer.c --
flex -l  
gcc -DHAVE_CONFIG_H -I. -I../../../../texk/web2c/web2c
-I./native/kpathsea -Inative -I../../../../texk/web2c/web2c/native
-I../../../../texk/web2c/web2c/.. -I../../../../texk/web2c/web2c/../..
-Wall -Wunused -Wno-unknown-pragmas -g -O2 -MT web2c-lexer.o -MD -MP -MF
.deps/web2c-lexer.Tpo -c -o web2c-lexer.o web2c-lexer.c
web2c-lexer.l:28: error: syntax error before "P1H"
web2c-lexer.c:204: warning: `yy_current_buffer' defined but not used
web2c-lexer.c:214: warning: `yy_hold_char' defined but not used
web2c-lexer.c:216: warning: `yy_n_chars' defined but not used
web2c-lexer.c:222: warning: `yy_c_buf_p' defined but not used
web2c-lexer.c:223: warning: `yy_init' defined but not used
web2c-lexer.c:224: warning: `yy_start' defined but not used
web2c-lexer.c:229: warning: `yy_did_buffer_switch_on_eof' defined but
not used
web2c-lexer.c:245: warning: `yy_flex_alloc' declared `static' but never
defined
web2c-lexer.c:246: warning: `yy_flex_realloc' declared `static' but
never defined
web2c-lexer.c:247: warning: `yy_flex_free' declared `static' but never
defined
web2c-lexer.c:278: warning: `yy_get_previous_state' declared `static'
but never defined
web2c-lexer.c:279: warning: `yy_try_NUL_trans' declared `static' but
never defined
web2c-lexer.c:280: warning: `yy_get_next_buffer' declared `static' but
never defined
web2c-lexer.c:281: warning: `yy_fatal_error' declared `static' but never
defined
web2c-lexer.c:592: warning: `yy_state_buf' defined but not used
web2c-lexer.c:592: warning: `yy_state_ptr' defined but not used
web2c-lexer.c:593: warning: `yy_full_match' defined but not used
web2c-lexer.c:594: warning: `yy_lp' defined but not used
web2c-lexer.c:602: warning: `yy_more_offset' defined but not used
web2c-lexer.c:603: warning: `yy_prev_more_offset' defined but not used
gmake[5]: *** [web2c-lexer.o] Error 1
gmake[5]: Leaving directory
`/usr/ports/obj/texlive_base-2009/source/Work/texk/web2c/web2c'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory
`/usr/ports/obj/texlive_base-2009/source/Work/texk/web2c/web2c'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/usr/ports/obj/texlive_base-2009/source/Work/texk/web2c'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/usr/ports/obj/texlive_base-2009/source/Work/texk/web2c'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/obj/texlive_base-2009/source/Work/texk'
gmake: *** [all-recursive] Error 1
*** Error code 2
---8<---

The relevent configuration info regarding bison/flex:

---8<---
% bison -V
bison (GNU Bison) 2.3
Written by Robert Corbett and Richard Stallman.

Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.

% flex -V
flex version 2.5.4

...

checking for bison... bison -y
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
---8<---

My build arguments (to configure directly, ie. not using Build):

---8<---
CONFIGURE_ARGS +=       --with-fontconfig-include=${X11BASE}/include \
                        --with-fontconfig-libdir=${X11BASE}/lib \
                        --with-system-freetype2 \
                        --with-system-freetype \
                        --with-freetype-includes=${LOCALBASE}/include/freetype1/freetype
\
                        --with-freetype-libdir=${LOCALBASE}/lib \
                        --with-system-gd \
                        --with-gd-libdir=${LOCALBASE}/lib \
                        --with-system-libpng \
                        --with-libpng-includes=${LOCALBASE}/include/libpng
\
                        --with-libpng-libdir=${LOCALBASE}/lib \
                        --with-system-ncurses \
                        --with-system-pnglib \
                        --with-pnglib-libdir=${LOCALBASE}/lib \
                        --with-pnglib-include=${LOCALBASE}/include/libpng
\
                        --with-system-zlib \
                        --with-system-t1lib \
                        --with-t1lib-libdir=${LOCALBASE}/lib \
                        --with-t1lib-includes=${LOCALBASE}/include \
                        --with-xpdf-includes=${LOCALBASE}/include/poppler
\
                        --with-xpdf-libdir=${LOCALBASE}/lib \
                        --enable-texinfo=no \
                        --with-xdvi-x-toolkit=xaw \
                        --enable-texi2html=no \
                        --enable-detex=no \
                        --enable-dvi2tty=no \
                        --enable-ps2eps=no \
                        --enable-psutils=no \
                        --enable-t1utils=no \
                        --disable-threads \
                        --with-old-mac-fonts \
                        --with-tex-banner=PuffTeX-2009 \
                        --disable-multiplatform \
                        --disable-native-texlive-build
---8<---

Any ideas?

PS.

Also I *think* the xindy build is ignoring CPPFLAGS, but I will come to
that later. For now I have disabled it.

-- 

Best Regards

Edd Barrett
(Freelance software developer / technical writer / open-source developer)

http://students.dec.bmth.ac.uk/ebarrett


More information about the tlbuild mailing list