Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376905 - dev-texlive/texlive-latex-2011 fails to build
Summary: dev-texlive/texlive-latex-2011 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-29 11:41 UTC by Niels Ole Salscheider
Modified: 2012-01-19 10:30 UTC (History)
7 users (show)

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


Attachments
full build log (1311939122-install-dev-texlive_texlive-latex-2011:0::gentoo.out,35.55 KB, text/plain)
2011-07-29 11:41 UTC, Niels Ole Salscheider
Details
cave info / equivalent of emerge --info (info,24.23 KB, text/plain)
2011-07-29 14:47 UTC, Niels Ole Salscheider
Details
build.log (build.log,27.33 KB, text/plain)
2011-07-30 00:09 UTC, fkhp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Niels Ole Salscheider 2011-07-29 11:41:37 UTC
When I try to build dev-texlive/texlive-latex-2011, I get the following error:

(/var/tmp/paludis/dev-texlive-texlive-latex-2011/work/texmf-dist/tex/latex/base
/preload.cfg
(/var/tmp/paludis/dev-texlive-texlive-latex-2011/work/texmf-dist/tex/latex/base
/preload.ltx)) page nos., x-ref, environments, center, verbatim,
math definitions, boxes, title, sectioning, contents, floats, footnotes,
index, bibliography, output,
===========================================
Local configuration file hyphen.cfg used
===========================================

(/var/tmp/paludis/dev-texlive-texlive-latex-2011/work/texmf-dist/tex/generic/ba
bel/hyphen.cfg (/usr/share/texmf/tex/generic/hyphen/hyphen.tex)
(/usr/share/texmf/tex/generic/hyphen/dumyhyph.tex)
(/usr/share/texmf/tex/generic/hyphen/zerohyph.tex)
! I can't find file `loadhyph-zh-latn.tex'.
<to be read again> 
                   \relax 
l.370   \repeat
               
(Press Enter to retry, or Control-D to exit)
Please type another input file name: 
! Emergency stop.
<to be read again> 
                   \relax 
l.370   \repeat
               
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on pdflatex.log.
Error: `pdftex -ini  -jobname=pdflatex -progname=pdflatex -translate-file=cp227.tcx *pdflatex.ini' failed
fmtutil: running `pdftex -ini   -jobname=mptopdf -progname=context -translate-file=cp227.tcx mptopdf.tex' ...
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2011) (INITEX)
 restricted \write18 enabled.
 (/usr/share/texmf/web2c/cp227.tcx)

Reproducible: Always
Comment 1 Niels Ole Salscheider 2011-07-29 11:41:57 UTC
Created attachment 281441 [details]
full build log
Comment 2 Agostino Sarubbo gentoo-dev 2011-07-29 14:36:02 UTC
PLease add always emerge --info ;)
Comment 3 Niels Ole Salscheider 2011-07-29 14:47:48 UTC
Created attachment 281459 [details]
cave info / equivalent of emerge --info
Comment 4 fkhp 2011-07-30 00:07:15 UTC
fmtutil: /dev/shm/portage/dev-texlive/texlive-latex-2011/work/texmf-var/web2c/pdftex/mptopdf.fmt installed.

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

This is a summary of all `failed' messages:
`pdftex -ini  -jobname=latex -progname=latex -translate-file=cp227.tcx *latex.ini' failed
`pdftex -ini  -jobname=pdflatex -progname=pdflatex -translate-file=cp227.tcx *pdflatex.ini' failed
 * ERROR: dev-texlive/texlive-latex-2011 failed (compile phase):
 *   failed to build format texmf/fmtutil/format.texlive-latex.cnf
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 2321:  Called texlive-module_src_compile
 *   environment, line 2910:  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-latex-2011',
 * the complete build log and the output of 'emerge -pqv =dev-texlive/texlive-latex-2011'.
 * The complete build log is located at '/dev/shm/portage/dev-texlive/texlive-latex-2011/temp/build.log'.
 * The ebuild environment file is located at '/dev/shm/portage/dev-texlive/texlive-latex-2011/temp/environment'.
 * S: '/dev/shm/portage/dev-texlive/texlive-latex-2011/work'

>>> Failed to emerge dev-texlive/texlive-latex-2011, Log file:
Comment 5 fkhp 2011-07-30 00:08:24 UTC
# emerge --info texlive-latex
Portage 2.1.10.9 (default/linux/amd64/10.0, gcc-4.6.1, glibc-2.13-r4, 3.0.0-ccs x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.0.0-ccs-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-2.0.3
Timestamp of tree: Fri, 29 Jul 2011 22:00:01 +0000
ccache version 3.1.5 [disabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.7-r2, 2.7.2-r2, 3.1.3-r1, 3.2-r2
dev-util/ccache:          3.1.5
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.4.5::<unknown repository>, 4.5.2, 4.6.1
sys-devel/gcc-config:     1.5-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo x11 sunrise gentoo-zh vmware local_overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=core2 -march=core2 -O2 -msse4.1 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-mtune=core2 -march=core2 -O2 -msse4.1 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.netnitco.net/ "
LANG="zh_CN.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="zh_CN en_US zh en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/dev/shm/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/sunrise /var/lib/layman/gentoo-zh /var/lib/layman/vmware /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi alsa amd64 ao apache2 avahi bash-completion berkdb branding bzip2 cairo caps cdr cjk cli clutter consolekit cracklib crypt cups cxx dbus dga djvu dri dts dvd dvdr eds emboss encode evo examples exif fam ffmpeg firefox flac fortran gdbm gdu gif gimp gnome gnome-keyring gphoto2 gpm gstreamer gtk guile i18n iconv icu ipv6 jadetex java jpeg jpeg2k latex lcms ldap libnotify mad midi mikmod mmap mmx mng modules mp3 mp4 mpeg mudflap multilib mysql nas nautilus ncurses networkmanager nfs nls nntp nptl nptlonly nsplugin nvidia ogg opengl openmp pam pango pch pcre pda pdf perl php png policykit ppds pppd pulseaudio python qt3support qt4 readline samba scsi sdl session smp snmp spell sqlite sse sse2 sse3 ssl ssse3 startup-notification suid svg sysfs tcpd threads tiff tk truetype unicode usb v4l2 vim-syntax vorbis x264 xattr xcb xml xmp xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ens1370 hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="zh_CN en_US zh en" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vmwgfx vmwlegacy nouveau nvidia nv vmware vesa svga" XTABLES_ADDONS="cui gfw zhang ipset" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 fkhp 2011-07-30 00:09:28 UTC
Created attachment 281519 [details]
build.log
Comment 7 Peter Wood 2011-07-30 05:22:51 UTC
Confirmed am ~amd64. Workarounds found elsewhere for texlive latex 2010 (updating and/or recompiling luatex, poppler,etc.) do not resolve the issue
Comment 8 Alexis Ballier gentoo-dev 2011-07-30 21:01:43 UTC
did you update the config files in /etc and run texmf-update ?
Comment 9 dyle 2011-08-02 11:14:02 UTC
Same here. I etc-update and run texmf-update, no change. Still I can't compile texlive-latex-2011
Comment 10 dyle 2011-08-02 11:22:06 UTC
Huh! Just did a 
    # FEATURES+="-sandbox" emerge -1 texlive-latex
which worked. o.O 
Now I proceed with texlive ...
Comment 11 Niels Ole Salscheider 2011-08-02 11:31:04 UTC
I solved it somewhat accidentally and I am not quite sure how. I know that I uninstalled texlive-latexextra-2010 or texlive-latexrecommended-2010 (one of these packages failed to update, too) and after doing so I could install texlive-latex-2011.
Comment 12 Alexis Ballier gentoo-dev 2011-08-03 16:43:43 UTC
(In reply to comment #9)
> Same here. I etc-update and run texmf-update, no change. Still I can't compile
> texlive-latex-2011

If this still fails and you get an error like:
! I can't find file `loadhyph-zh-latn.tex'.

I'll need the output of:
$ grep 'loadhyph-zh-latn.tex' /etc/texmf/language.dat.d/*

that's probably some missing blockers and we'll get the culpit that way.
Comment 13 MATSUI Tetsushi 2011-08-03 18:27:00 UTC
Aha,

$ grep 'loadhyph-zh-latn.tex' etc/texmf/language.dat.d/*
etc/texmf/language.dat.d/language.texlive-langcjk.dat:pinyin loadhyph-zh-latn.tex


I had dev-texlive/texlive-langcjk-2010 installed, then:

$ emerge -1a texlive-latex

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] dev-texlive/texlive-latex-2011 [2010]
[uninstall     ] dev-texlive/texlive-langcjk-2010 
[blocks b      ] <dev-texlive/texlive-langcjk-2011 ("<dev-texlive/texlive-langcjk-2011" is blocking dev-texlive/texlive-latex-2011)

Would you like to merge these packages? [Yes/No]


If I answered yes here, the error occurs.
So, I 'emerge -C texlive-langcjk' first, then texlive-latex installs successfully.


I suspect that this happens for me because I had changed USE=-cjk for texlive-latex since I thought cjk-latex is not so useful for a Japanese.  As a side effect I haven't thought of, it also stops pulling texlive-langcjk.
Comment 14 Alexis Ballier gentoo-dev 2011-08-04 06:00:24 UTC
moved the block from tl-latex to tl-basic, since that's tl-basic that stopped providing this file needed by tl-langcjk in the 2011 version; this should fix your problems

if you get a different failure, like missing another .tex file, I'll need the same output as in comment #12