[tlbuild] TeX Live builds -- second summary

Peter Breitenlohner peb at mppmu.mpg.de
Wed Apr 29 12:11:58 CEST 2009


On Tue, 28 Apr 2009, Ken Brown wrote:

> gcc-4 -DPACKAGE_NAME=\"xdvik\ squeeze\" -DPACKAGE_TARNAME=\"xdvik-squeeze\" 
> -DPACKAGE_VERSION=\"22.84.15\" -DPACKAGE_STRING=\"xdvik\ squeeze\ 22.84.15\" 
> -DPACKAGE_BUGREPORT=\"tex-k at tug.org\" -DPACKAGE=\"xdvik-squeeze\" 
> -DVERSION=\"22.84.15\" -I. -I../../../../texk/xdvik/squeeze     -g -O2 -MT 
> squeeze.o -MD -MP -MF .deps/squeeze.Tpo -c -o squeeze.o 
> ../../../../texk/xdvik/squeeze/squeeze.c
> ../../../../texk/xdvik/squeeze/squeeze.c: In function 'strout':
> ../../../../texk/xdvik/squeeze/squeeze.c:77: warning: incompatible implicit 
> declaration of built-in function 'strlen'
> ../../../../texk/xdvik/squeeze/squeeze.c: In function 'cmdout':
> ../../../../texk/xdvik/squeeze/squeeze.c:93: warning: incompatible implicit 
> declaration of built-in function 'strlen'

Hi Ken,

these are only warnings, but nevertheless I have added '#include <string.h>'
as alredy present in texk/dvipsk/squeeze/squeeze.c (in my working copy, to
be committed later today).

> make[6]: Entering directory `/tmp/tl2009/source/Work/texk/xdvik'
> gcc-4 -DHAVE_CONFIG_H -I. -I../../../texk/xdvik -I../../../texk/xdvik/gui 
> -DPS_GS -I/tmp/tl2009/source/Work/texk -I/tmp/tl2009/source/texk 
> -I/tmp/tl2009/source/Work/libs/t1lib      -g -O2 -MT browser.o -MD -MP -MF 
> .deps/browser.Tpo -c -o browser.o ../../../texk/xdvik/browser.c
> In file included from ../../../texk/xdvik/browser.c:25:
> ../../../texk/xdvik/xdvi.h:1188: error: expected '=', ',', ';', 'asm' or 
> '__attribute__' before 'iconv_char_pptrT'

Caused by recent chages in configure.ac resp. m4/*.m4. When the iconv
library is not found, the test required at this point is not performed and
thus the definition of ICONV_CHAR_PPTR_TYPE is missing (also fixed).

The real question is, however, why the test for iconv failed on Cygwin. 
Could you please look at texk/xdvik/config.log to see what went wrong with
the test.  There should be:
 	checking for library containing iconv
followed by the commands performed to test for the library needed for
iconv(), details in case of failure, and finally the result. If you can't
make sense out of all this you could also send me the file.

> ===================================================
> libtool: install: /bin/sh /tmp/tl2009/source/build-aux/install-sh -c -s 
> dvipng.exe /tmp/tl2009/source/inst/bin/i686-pc-cygwin/dvipng.exe
> make  install-exec-hook
> make[5]: Entering directory `/tmp/tl2009/source/Work/texk/dvipng'
> cd //tmp/tl2009/source/inst/bin/i686-pc-cygwin && rm -f dvigif && ln -s 
> dvipng dvigif
> /bin/sh: line 0: cd: //tmp/tl2009/source/inst/bin/i686-pc-cygwin: No such 
> file or directory
> =====================================================
>
> The problem is the double slash.

Clearly my fault, by mistake I used
 	cd $(DESTDIR)/$(bindir)
instead of
 	cd $(DESTDIR)$(bindir)
although I strongly dislike the double slash this generates.

There is, however, the additional problem that
 	rm -f dvigif && $(LN_S) dvipng dvigif
should have been
 	rm -f dvigif$(EXEEXT) && $(LN_S) dvipng$(EXEEXT) dvigif$(EXEEXT)
and similar in several other places (also fixed).

> 4. The build produces many warnings (some of which you saw in yesterday's 
> correspondence).  I don't know which of those, if any, are important.  The 
> attached file "warnings.log" has one sample of each type of warning.

Some warnings, e.g., those from libs/freetype/ and some from texk/web2c/ are
hard to avoid, others do indicate problems (of varying severity).  I'd like
to first get the build process working for everyone, before addressing the
warnings.

> 5. Concerning xetex, I was wrong yesterday when I guessed that the problems 
> were caused by cygwin-1.7 bugs with import libraries.  Those bugs only 
> involved the system libraries libc, libm, libdl, libutil, libcygwin, and 
> libpthread.  I think the current problems are similar to those that Angelo 
> Graziosi and Rodrigo Medina struggled with last year.   There's a lot of 
> correspondence in the tlbuild archives about this (starting with 
> http://tug.org/pipermail/tlbuild/2008q3/000354.html). The patches they came 
> up with for TL2008 don't seem to solve the problem for TL2009.  I'll play 
> with it a little to see if there's some obvious modification of those patches 
> that does the job.  If not, I'll need help, since I don't really understand 
> these library issues.
>
> Part of it is easy, however.  The two patches attached (whose purpose is 
> explained in the thread I pointed to) are certainly needed.  As far as I can 
> tell, they would be harmless for builds on other systems.  Would you consider 
> applying them to the source?

It would be great if you could use patches applied to your working copy. If
you succeed we'll eventually have to see how to merge with the TL
repository, otherwise feel free to ask for help.  My top priority is,
however, to get at least './Build --disable-xetex' working

Regards
Peter


More information about the tlbuild mailing list