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

Bug#430828: luatex-snapshot: Fails to create format



Eythan Weg <weg@indiscrete.org> wrote:

> Package: luatex-snapshot
> Version: 20070626.2-1
> Severity: grave
> Justification: renders package unusable
>
> Here is some info:
>
>
> fmtutil: running `luatex -ini   -jobname=luatex -progname=luatex tex.ini' ...
> PANIC: unprotected error in call to Lua API (zlib library version does not match
>  - header: 1.2.3.3, library: 1.2.3)

>From src/libs/luazlib/lzlib.c:

    /* make sure header and library version are consistent */
    const char* version = zlibVersion();
    if (strcmp(version, ZLIB_VERSION))
    {
        lua_pushfstring(L, "zlib library version does not match - header: %s, library: %s", ZLIB_VERSION, version);
        lua_error(L);
    }

Hm, does this make sense?  Shouldn't libtool, proper dependencies and,
in an ideal world, versioned symbols be used for such checks?

Or should the zlib authors be lart^w politely critized to not use a
forth level of numbering beyond REVISION?

Is it safe to assume that the authors of lzlib.c are just over-careful,
and we can replace the hardcoded version with our current one (after
checking that the shlibs information for zlib didn't change, of course)? 

Regards, Frank
-- 
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)



Reply to: