[tlbuild] Failure in building TL2009 on Cygwin (ICU)

Angelo Graziosi angelo.graziosi at alice.it
Sun Jun 7 01:17:15 CEST 2009


After the merging to trunk of ICU patches, the build fails as follows:

--------------
[...]
gcc-4 -DHAVE_CONFIG_H -I. -I../../../texk/web2c -I./.. 
-I/tmp/texlive-source/Work/texk -I/tmp/texlive-source/texk 
-DU_STATIC_IMPLEMENTATION -I../../../texk/web2c/xetexdir 
-I/tmp/texlive-source/Work/libs/freetype2/freetype2 
-I/tmp/texlive-source/Work/libs/freetype2 
-I/tmp/texlive-source/Work/libs/icu/icu-build/common 
-I/tmp/texlive-source/libs/icu/icu-xetex/common 
-I/tmp/texlive-source/libs/icu/icu-xetex/layout 
-I/tmp/texlive-source/libs/teckit/source/Public-headers  -DXETEX_OTHER 
-DPDF_PARSER_ONLY -I/tmp/texlive-source/Work/libs/xpdf 
-I/tmp/texlive-source/Work/libs/xpdf/goo 
-I/tmp/texlive-source/Work/libs/xpdf/xpdf 
-I/tmp/texlive-source/Work/libs/libpng 
-I/tmp/texlive-source/Work/libs/zlib -I../../../texk/web2c/synctexdir 
-Wno-write-strings -Wno-attributes -MT xetex-xetex2.o -MD -MP -MF 
.deps/xetex-xetex2.Tpo -c -o xetex-xetex2.o `test -f 'xetex2.c' || echo 
'../../../texk/web2c/'`xetex2.c
In file included from /usr/include/limits.h:13,
                  from 
/usr/lib/gcc/i686-pc-cygwin/4.3.2/include-fixed/limits.h:122,
                  from 
/usr/lib/gcc/i686-pc-cygwin/4.3.2/include-fixed/syslimits.h:7,
                  from 
/usr/lib/gcc/i686-pc-cygwin/4.3.2/include-fixed/limits.h:11,
                  from /tmp/texlive-source/texk/kpathsea/c-limits.h:23,
                  from /tmp/texlive-source/texk/kpathsea/c-minmax.h:23,
                  from /tmp/texlive-source/texk/kpathsea/c-std.h:77,
                  from /tmp/texlive-source/texk/kpathsea/config.h:89,
                  from ../../../texk/web2c/config.h:32,
                  from ../../../texk/web2c/cpascal.h:16,
                  from ../../../texk/web2c/texmfmp.h:5,
                  from xetexd.h:11,
                  from xetex0.c:2:
/tmp/texlive-source/libs/icu/icu-xetex/layout/features.h:36: error: 
expected specifier-qualifier-list before 'FeatureRecord'
In file included from /usr/include/limits.h:13,
                  from 
/usr/lib/gcc/i686-pc-cygwin/4.3.2/include-fixed/limits.h:122,
                  from 
/usr/lib/gcc/i686-pc-cygwin/4.3.2/include-fixed/syslimits.h:7,
                  from 
/usr/lib/gcc/i686-pc-cygwin/4.3.2/include-fixed/limits.h:11,
                  from /tmp/texlive-source/texk/kpathsea/c-limits.h:23,
                  from /tmp/texlive-source/texk/kpathsea/c-minmax.h:23,
                  from /tmp/texlive-source/texk/kpathsea/c-std.h:77,
                  from /tmp/texlive-source/texk/kpathsea/config.h:89,
                  from ../../../texk/web2c/config.h:32,
                  from ../../../texk/web2c/cpascal.h:16,
                  from ../../../texk/web2c/texmfmp.h:5,
                  from xetexd.h:11,
                  from xetex2.c:2:
/tmp/texlive-source/libs/icu/icu-xetex/layout/features.h:36: error: 
expected specifier-qualifier-list before 'FeatureRecord'
In file included from /usr/include/limits.h:13,
                  from 
/usr/lib/gcc/i686-pc-cygwin/4.3.2/include-fixed/limits.h:122,
                  from 
/usr/lib/gcc/i686-pc-cygwin/4.3.2/include-fixed/syslimits.h:7,
                  from 
/usr/lib/gcc/i686-pc-cygwin/4.3.2/include-fixed/limits.h:11,
                  from /tmp/texlive-source/texk/kpathsea/c-limits.h:23,
                  from /tmp/texlive-source/texk/kpathsea/c-minmax.h:23,
                  from /tmp/texlive-source/texk/kpathsea/c-std.h:77,
                  from /tmp/texlive-source/texk/kpathsea/config.h:89,
                  from ../../../texk/web2c/config.h:32,
                  from ../../../texk/web2c/cpascal.h:16,
                  from ../../../texk/web2c/texmfmp.h:5,
                  from xetexd.h:11,
                  from xetexini.c:2:
/tmp/texlive-source/libs/icu/icu-xetex/layout/features.h:36: error: 
expected specifier-qualifier-list before 'FeatureRecord'
In file included from /usr/include/limits.h:13,
                  from 
/usr/lib/gcc/i686-pc-cygwin/4.3.2/include-fixed/limits.h:122,
                  from 
/usr/lib/gcc/i686-pc-cygwin/4.3.2/include-fixed/syslimits.h:7,
                  from 
/usr/lib/gcc/i686-pc-cygwin/4.3.2/include-fixed/limits.h:11,
                  from /tmp/texlive-source/texk/kpathsea/c-limits.h:23,
                  from /tmp/texlive-source/texk/kpathsea/c-minmax.h:23,
                  from /tmp/texlive-source/texk/kpathsea/c-std.h:77,
                  from /tmp/texlive-source/texk/kpathsea/config.h:89,
                  from ../../../texk/web2c/config.h:32,
                  from ../../../texk/web2c/cpascal.h:16,
                  from ../../../texk/web2c/texmfmp.h:5,
                  from xetexd.h:11,
                  from xetex1.c:2:
/tmp/texlive-source/libs/icu/icu-xetex/layout/features.h:36: error: 
expected specifier-qualifier-list before 'FeatureRecord'
xetex1.c: In function 'zwriteout':
xetex1.c:4670: warning: passing argument 1 of 'runsystem' discards 
qualifiers from pointer target type
make[5]: *** [xetex-xetexini.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: *** [xetex-xetex2.o] Error 1
make[5]: *** [xetex-xetex0.o] Error 1
make[5]: *** [xetex-xetex1.o] Error 1
make[5]: Leaving directory `/tmp/texlive-source/Work/texk/web2c'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/tmp/texlive-source/Work/texk/web2c'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/tmp/texlive-source/Work/texk/web2c'
make[2]: *** [subtexk] Error 1
make[2]: Leaving directory `/tmp/texlive-source/Work/texk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/texlive-source/Work/texk'
make: *** [all-recursive] Error 1
--------------

These are the errors one got before the patches were created. Are we 
sure that those patches have been applied correctly?

In the source tree, there is still Features.h which, probably is still 
included in some place. Instead, it should be removed.

My patch, on Cygwin 1.5, with which the build was fine are attached.


Cheers,
Angelo.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tl2009-cygpatch-20090605.diff.bz2
Type: application/octet-stream
Size: 5462 bytes
Desc: not available
URL: <http://tug.org/pipermail/tlbuild/attachments/20090607/7482b1e1/attachment.obj>


More information about the tlbuild mailing list