[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#618033: texlive-bin-2009: Missing -D_FILE_OFFSET_BITS=64 leads to files not opening (x86 /32bit)



Am 13.03.2011 um 17:14 teilte Pierre SCHNIZER <p.schnizer@gsi.de> mit:

Hi Pierre,

I'm going through some old bugs, checking for validity.

https://bugs.debian.org/618033

We did some efforts on x86 back in 2011, but later we found out that TeX
Live is not ready for LFS support on 32bit. Is this bug still valid or
has it gone obsolete by phasing out 32bit architecture on PC market?

Hilmar

>     thank you for all the effort putting a distriubtion together.
> 
> After upgrading to the lastly relased stable, I found that pdflatex would
> not find (and therefore compile) the files given on the command line,
> which were mounted by CIFS.
> 
> The error occurs in the kpathsea library (texk/kpathsea/readable.c),
> where the stat fails with the errno set to EOVERFLOW. It fails because
> the offset is to large. After I added manually -D_FILE_OFFSET_BITS=64
> (following the stat 2 man page), kpathsea/pdflatex finds the file and
> compiles it happily. I added "a patch", which illustrates my hack to
> find and circumvent the problem.
> 
> Could that be that AC_SYS_LARGEFILE is missing in configure.ac while it
> is listed in common.ac.orig?
> 

-- 
sigfault
#206401 http://counter.li.org

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: