Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 385571 - dev-texlive/texlive-basic-2011 failed to emerge
Summary: dev-texlive/texlive-basic-2011 failed to emerge
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-04 05:40 UTC by Leonid Kopylov
Modified: 2012-01-17 21:28 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,12.27 KB, text/plain)
2011-10-04 05:40 UTC, Leonid Kopylov
Details
/usr/share/texmf/tex/generic/config/language.def (language.def,1.83 KB, text/plain)
2012-01-17 12:26 UTC, Łukasz Michalik
Details
buildlog (1326806821-install-dev-texlive_texlive-basic-2011-r1:0::gentoo.out,29.94 KB, text/plain)
2012-01-17 15:08 UTC, Łukasz Michalik
Details
texconfig conf (texconf,3.19 KB, text/plain)
2012-01-17 15:09 UTC, Łukasz Michalik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Kopylov 2011-10-04 05:40:05 UTC
dev-texlive/texlive-basic-2011 failed to emerge

Reproducible: Always

Steps to Reproduce:
1. emerge dev-texlive/texlive-basic
Actual Results:  
###############################################################################
fmtutil: Error! Not all formats have been built successfully.
Visit the log files in directory
  /var/tmp/portage/dev-texlive/texlive-basic-2011/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
`pdftex -ini  -jobname=etex -progname=etex -translate-file=cp227.tcx *etex.ini' failed
`pdftex -ini  -jobname=pdfetex -progname=pdfetex -translate-file=cp227.tcx *pdfetex.ini' failed
`pdftex -ini  -jobname=pdftex -progname=pdftex -translate-file=cp227.tcx *pdfetex.ini' failed
 * ERROR: dev-texlive/texlive-basic-2011 failed (compile phase):
 *   failed to build format texmf/fmtutil/format.texlive-basic.cnf
 *
 * Call stack:
 *     ebuild.sh, line   91:  Called src_compile
 *   environment, line 2332:  Called texlive-module_src_compile
 *   environment, line 2938:  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-2011',
 * the complete build log and the output of 'emerge -pqv =dev-texlive/texlive-basic-2011'.
 * The complete build log is located at '/var/tmp/portage/dev-texlive/texlive-basic-2011/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-texlive/texlive-basic-2011/temp/environment'.
 * S: '/var/tmp/portage/dev-texlive/texlive-basic-2011/work'

Expected Results:  
successful emerge

#emerge --info =dev-texlive/texlive-basic-2011
Portage 2.1.10.20 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3, glibc-2.13-r4, 3.0.4-gentoo-r2 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.0.4-gentoo-r2-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.1
Timestamp of tree: Tue, 04 Oct 2011 03:15:01 +0000
ccache version 3.1.6 [disabled]
app-shells/bash:          4.2_p10
dev-lang/python:          2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/ccache:          3.1.6
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r3
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 Nero-EULA-US skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs 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://mirror.isoc.org.il/pub/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en he ru"
MAKEOPTS="-j5"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X X509 Xaw3d a52 aac aalib acl acpi aim all_sfx alsa amd64 amr apache2 apm apng applet archive aspell assistant audio audit auth auto-completion autoipd automount avahi bash-completion bcmath berkdb bidi bind bittorrent bluetooth bookmarks branding bzip2 cache cairo cal calendar caps ccache cdb cdda cddb cdparanoia cdr cdrom cdsound cgi classic cli clisp color common-lisp consolekit contactnotes cpudetection cracklib crashreporter crypt cscope css ctype cuda cups curl curlwrappers cursors cxx cyrillic daemon dbus doc dri dts dvd dvdr eds emboss encode evo examples exif fam firefox flac fontconfig fortran gcj gd gdbm gdu gif glibc-omitfp gnome gnome-keyring gpm graphite gstreamer gtk iconv jadetex jpeg kerberos kpathsea lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib multiuser nautilus ncurses nethack network-cron nls nptl nptlonly objc objc++ objc-gc offensive ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline sasl sdl session source spell sqlite sse sse2 ssl startup-notification svg symlink sysfs tcpd threads tiff tk truetype udev unicode usb vorbis wininst x264 xattr xcb xml xorg xulrunner xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="kexi words flow plan stage tables krita karbon braindump" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en he ru" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Leonid Kopylov 2011-10-04 05:40:54 UTC
Created attachment 288739 [details]
build.log
Comment 2 Tomáš Cícha 2011-10-05 08:07:57 UTC
Your luatex is linked to libpoppler.so.13, current version in ~amd64 is libpoppler.so.18. However, running revdep-rebuild will not help, because luatex fails to build with poppler-0.18.0. 
See https://bugs.gentoo.org/show_bug.cgi?id=384875 for current options what to do here.
I suggest marking this bug as invalid.

Tom
Comment 3 Alexis Ballier gentoo-dev 2011-10-11 13:40:30 UTC
it seems you have 2 bugs: need to revdep-rebuild and an invalid language.def file

whats the output of:
 kpsewhich language.def

and please attach that file; as noted by Tomáš, please also run revdep-rebuild.
Comment 4 Łukasz Michalik 2012-01-17 12:25:45 UTC
texlive 2011 is now stable amd64 and I've hit this bug.  luatex is linked to poppler.so.13.  Contents of kpsewhich language.def is coming along.
Comment 5 Łukasz Michalik 2012-01-17 12:26:52 UTC
Created attachment 299143 [details]
/usr/share/texmf/tex/generic/config/language.def
Comment 6 Alexis Ballier gentoo-dev 2012-01-17 12:46:01 UTC
your language.def file seems correct
please attach a build log after running revdep-rebuild (so that the error should be more isolated) and the output of 'texconfig conf'
Comment 7 Łukasz Michalik 2012-01-17 15:07:57 UTC
revdep-rebuild is clean, log et al. coming along.
Comment 8 Łukasz Michalik 2012-01-17 15:08:30 UTC
Created attachment 299155 [details]
buildlog
Comment 9 Łukasz Michalik 2012-01-17 15:09:32 UTC
Created attachment 299157 [details]
texconfig conf
Comment 10 Alexis Ballier gentoo-dev 2012-01-17 19:26:35 UTC
the error seems different now, what version of texlive-langcyrillic do you have installed ?
Comment 11 Łukasz Michalik 2012-01-17 20:32:11 UTC
Oh, I looked at the end of logs and thought it was similar.  I don't have dev-texlive/texlive-langcyrillic installed at all, nor do i see it in the resolution of this upgrade.
Comment 12 Alexis Ballier gentoo-dev 2012-01-17 20:51:27 UTC
(In reply to comment #11)
> Oh, I looked at the end of logs and thought it was similar.  I don't have
> dev-texlive/texlive-langcyrillic installed at all, nor do i see it in the
> resolution of this upgrade.


here i get:

$ grep loadhyph-ru /etc/texmf/language.d*.d/*
/etc/texmf/language.dat.d/language.texlive-langcyrillic.dat:russian loadhyph-ru.tex
/etc/texmf/language.dat.lua.d/language.texlive-langcyrillic.dat.lua:		loader = 'loadhyph-ru.tex',
/etc/texmf/language.def.d/language.texlive-langcyrillic.def:\addlanguage{russian}{loadhyph-ru.tex}{}{2}{2}


so you probably have one of these files installed, and texlive-langcyrillic installs it. it probably doesnt belong to any package so should be deleted.
Comment 13 Łukasz Michalik 2012-01-17 21:28:20 UTC
Yes, stray files there.  After removing them, it died because of different language, so I just killed the whole dir and rebuilt everything that ever touched it.  All working nice and sweet.  Big sorry for the noise and thank you very, very much for the help and work on texlive!