Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 428374 - dev-texlive/texlive-basic-2012 (with dev-tex/luatex)- luatex: Symbol `kpse_def_inst' has different size in shared object, consider re-linking PANIC: unprotected error in call to Lua API (zlib library version does not match - header: 1.2.6, library: 1.2.7)
Summary: dev-texlive/texlive-basic-2012 (with dev-tex/luatex)- luatex: Symbol `kpse_de...
Status: RESOLVED DUPLICATE of bug 310487
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-27 21:28 UTC by theodor
Modified: 2012-07-30 12:34 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,31.46 KB, text/plain)
2012-07-27 21:30 UTC, theodor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description theodor 2012-07-27 21:28:22 UTC
Trying to emerge dev-texlive/texlive-basic-2012 gives the following error message:

[...]
fmtutil: /tmp/portage/portage/dev-texlive/texlive-basic-2012/work/texmf-var/web2c/tex/tex.fmt installed.

###############################################################################
fmtutil: Error! Not all formats have been built successfully.
Visit the log files in directory
  /tmp/portage/portage/dev-texlive/texlive-basic-2012/work/texmf-var/web2c
for details.
###############################################################################

This is a summary of all `failed' messages:
`luatex -ini  -jobname=dviluatex -progname=dviluatex dviluatex.ini' failed
`luatex -ini  -jobname=luatex -progname=luatex luatex.ini' failed
 * ERROR: dev-texlive/texlive-basic-2012 failed (compile phase):
 *   failed to build format texmf/fmtutil/format.texlive-basic.cnf
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 2110:  Called texlive-module_src_compile
 *   environment, line 2738:  Called die
 * The specific snippet of code:
 *               VARTEXFONTS="${T}/fonts" TEXMFHOME="${S}/texmf:${S}/texmf-dist:${S}/texmf-var" env -u TEXINPUTS fmtutil --cnffile "${i}" --fmtdir "${S}/texmf-var/web2c" --all || die "failed to build format ${i}";
 * 
 * If you need support, post the output of `emerge --info '=dev-texlive/texlive-basic-2012'`,
 * the complete build log and the output of `emerge -pqv '=dev-texlive/texlive-basic-2012'`.
 * The complete build log is located at '/tmp/portage/portage/dev-texlive/texlive-basic-2012/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/portage/dev-texlive/texlive-basic-2012/temp/environment'.
 * Working directory: '/tmp/portage/portage/dev-texlive/texlive-basic-2012/work'
 * S: '/tmp/portage/portage/dev-texlive/texlive-basic-2012/work'

>>> Failed to emerge dev-texlive/texlive-basic-2012, Log file:

>>>  '/tmp/portage/portage/dev-texlive/texlive-basic-2012/temp/build.log'


Reproducible: Always
Comment 1 theodor 2012-07-27 21:30:28 UTC
Created attachment 319456 [details]
build.log
Comment 2 Andreas Sturmlechner gentoo-dev 2012-07-27 21:52:04 UTC
It built fine here on ~amd64, so must be some setup/dep issue.
Comment 3 theodor 2012-07-27 22:03:01 UTC
It is ~x86 here, might that be relevant?
Comment 4 BillWho 2012-07-27 22:59:31 UTC
Same condition here on x86_64

###############################################################################
fmtutil: Error! Not all formats have been built successfully.
Visit the log files in directory
  /var/tmp/portage/dev-texlive/texlive-basic-2012/work/texmf-var/web2c
for details.
###############################################################################

This is a summary of all `failed' messages:
`luatex -ini  -jobname=dviluatex -progname=dviluatex dviluatex.ini' failed
`luatex -ini  -jobname=luatex -progname=luatex luatex.ini' failed
 * ERROR: dev-texlive/texlive-basic-2012 failed (compile phase):
 *   failed to build format texmf/fmtutil/format.texlive-basic.cnf
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_compile
 *   environment, line 2137:  Called texlive-module_src_compile
 *   environment, line 2765:  Called die
 * The specific snippet of code:
 *               VARTEXFONTS="${T}/fonts" TEXMFHOME="${S}/texmf:${S}/texmf-dist:${S}/texmf-var" env -u TEXINPUTS fmtutil --cnffile "${i}" --fmtdir "${S}/texmf-var/web2c" --all || die "failed to build format ${i}";
 * 
 * If you need support, post the output of `emerge --info '=dev-texlive/texlive-basic-2012'`,
 * the complete build log and the output of `emerge -pqv '=dev-texlive/texlive-basic-2012'`.
 * The complete build log is located at '/var/tmp/portage/dev-texlive/texlive-basic-2012/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-texlive/texlive-basic-2012/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-texlive/texlive-basic-2012/work'
 * S: '/var/tmp/portage/dev-texlive/texlive-basic-2012/work'
Comment 5 Manuel Rüger (RETIRED) gentoo-dev 2012-07-28 04:10:31 UTC
from log: "Lua API (zlib library version does not match - header: 1.2.6, library: 1.2.7)"

which zlib version do you have installed?

it worked for me with zlib-1.2.6 on amd64
Comment 6 Adrian Bassett 2012-07-28 07:39:31 UTC
(In reply to comment #5)
> from log: "Lua API (zlib library version does not match - header: 1.2.6,
> library: 1.2.7)"
> 
> which zlib version do you have installed?
> 
> it worked for me with zlib-1.2.6 on amd64

I saw this on both ~amd64 and ~x86.

It seemed to be caused by an upgrade to zlib after dev-tex/luatex was installed.

The fix was simply to re-emerge luatex before upgrading to texlive-basic-2012.
Comment 7 BillWho 2012-07-28 10:55:06 UTC
Thanks Adrian. Just as an FYI I re-emerged luatex and texlive-basic-2012 upgraded successfully
Comment 8 theodor 2012-07-28 11:19:07 UTC
> The fix was simply to re-emerge luatex before upgrading to
> texlive-basic-2012.

That fixed it for me, thanks a lot!
Comment 9 Alexis Ballier gentoo-dev 2012-07-30 12:34:32 UTC

*** This bug has been marked as a duplicate of bug 310487 ***