[tlbuild] TeXLive on OpenSolaris/OpenIndiana

Peter Breitenlohner peb at mppmu.mpg.de
Wed Apr 25 15:37:45 CEST 2012


On Tue, 24 Apr 2012, Ettore Aldrovandi wrote:

>> Any hope for that?
>
> A quick look seems to suggests it gets size 0 in dvistuff.c
> at line 292

Hi,

the difference between TL2011 and TL2012 is, that this year large file
support (LFS) is enabled by default, whereas last year it was disabled.

So perhaps OpenSolaris/OpenIndiana has a problem in that area.  The fseek()
function [as opposed to fseeko()] should work OK with 32-bit long
arguments, but fstat() could in fact be fstat64() [as with the GNU C
library] and st.st_size in line 268 might pick up garbage.

Can you please try to replace
     fstat (fileno(DVIfile), &st);
     size = (long) st.st_size;       /* get size of file */
in lines 268,269 by
     fseek (DVIfile, 0L, SEEK_END);
     size = ftell (DVIfile);         /* get size of file */
see if that works, and tell me the result.

Regards
Peter


More information about the tlbuild mailing list