Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 687854 - app-text/texlive-core-2019-r3 fails on postinst: 'fmutil-sys --all' failed
Summary: app-text/texlive-core-2019-r3 fails on postinst: 'fmutil-sys --all' failed
Status: RESOLVED NEEDINFO
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: 2019-06-11 11:52 UTC by N. Andrew Walsh
Modified: 2019-06-11 13:39 UTC (History)
2 users (show)

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


Attachments
'fmtutil-sys --all' output (fmtutil.txt,101.33 KB, text/plain)
2019-06-11 13:01 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description N. Andrew Walsh 2019-06-11 11:52:53 UTC
I can't post a log because the /var/tmp tree for the ebuild is deleted before the failure occurs. Portage registers the package as successfully installed and proceeds to install subsequent packages (the next of which, texlive-basic, also fails). 

Anyway, here's what it shows in the console:

>>> Installing (1 of 1) app-text/texlive-core-2019-r3::gentoo
Configuring TeXLive ...
Generating /etc/texmf/web2c/texmf.cnf from /etc/texmf/texmf.d ...
Generating /etc/texmf/web2c/fmtutil.cnf from /etc/texmf/fmtutil.d ...
Generating /etc/texmf/web2c/updmap.cfg from /etc/texmf/updmap.d ...
Generating ls-R files
dirname: missing operand
Try 'dirname --help' for more information.
Skipping format files, since they are unchanged
Skipping font maps, since they are unchanged

Use 'texconfig font ro'(rw) to disable (enable) font generation for users

 * Regenerating TeX formats
 * ERROR: app-text/texlive-core-2019-r3::gentoo failed (postinst phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 124:  Called pkg_postinst
 *   environment, line 1674:  Called die
 * The specific snippet of code:
 *       fmtutil-sys --all &> /dev/null || die;
 * 
 * If you need support, post the output of `emerge --info '=app-text/texlive-core-2019-r3::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-text/texlive-core-2019-r3::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-text/texlive-core-2019-r3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-text/texlive-core-2019-r3/temp/environment'.
 * Working directory: '/var/tmp/portage/app-text/texlive-core-2019-r3/homedir'
 * S: '/var/tmp/portage/app-text/texlive-core-2019-r3/work/texlive-core-2019_build'
 * FAILED postinst: 1
---------------------------
# emerge --info
Unavailable repository 'science' referenced by masters entry in '/var/portage/repos/stefantalpalaru/metadata/layout.conf'
Portage 2.3.67 (python 3.6.8-final-0, default/linux/amd64/17.0, gcc-9.1.0, glibc-2.29-r2, 5.1.8-gentoo x86_64)
=================================================================
System uname: Linux-5.1.8-gentoo-x86_64-AMD_FX-tm-9590_Eight-Core_Processor-with-gentoo-2.6
KiB Mem:    32903352 total,  13663856 free
KiB Swap:    1953112 total,   1953112 free
Timestamp of repository gentoo: Mon, 10 Jun 2019 14:10:01 +0000
Head commit of repository gentoo: 805cb9e16411a9e60a1d9ea30bfa5549dd9acb12

Head commit of repository rindeal: 5100c956ee1ad1bff669d7410b7dcda89bf24969

sh bash 5.0_p7
ld GNU ld (Gentoo 2.30 p3) 2.30.0
ccache version 3.7.1 [disabled]
app-shells/bash:          5.0_p7::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.0::gentoo
dev-lang/python:          2.7.16-r101::stefantalpalaru, 3.5.7::gentoo, 3.6.8::gentoo, 3.7.3::gentoo
dev-util/ccache:          3.7.1::gentoo
dev-util/cmake:           3.14.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.17::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.15.1-r1::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r3::gentoo, 2.31.1-r4::gentoo, 2.32-r1::gentoo
sys-devel/gcc:            8.2.0-r6::gentoo, 8.3.0-r1::gentoo, 9.1.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.0-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

gentoo
    location: /var/portage/repos
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo
    priority: -1000

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

atom
    location: /var/portage/repos/atom
    masters: gentoo
    priority: 50

cynede
    location: /var/portage/repos/cynede
    masters: gentoo
    priority: 50

farmboy0
    location: /var/portage/repos/farmboy0
    masters: gentoo
    priority: 50

hossie
    location: /var/portage/repos/hossie
    masters: gentoo
    priority: 50

qt
    location: /var/portage/repos/qt
    masters: gentoo
    priority: 50

rebutia
    location: /var/portage/repos/rebutia
    masters: gentoo
    priority: 50

rindeal
    location: /var/portage/repos/rindeal
    sync-type: git
    sync-uri: https://ebuilds.janchren.eu/repos/rindeal/.git
    masters: gentoo
    priority: 50

stefantalpalaru
    location: /var/portage/repos/stefantalpalaru
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=bdver2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=bdver2 -O2 -pipe"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirror.dkm.cz/pub/gentoo/ http://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.web4u.cz/ ftp://gentoo.mirror.web4u.cz/ ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://mirror.netcologne.de/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://gentoo.mneisen.org/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://mirror.netcologne.de/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo ftp://gentoo.inf.elte.hu/ http://gentoo.inf.elte.hu/ http://ftp.heanet.ie/pub/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/ ftp://ftp.df.lth.se/pub/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US en_US.utf8 de de_DE de_DE.utf8"
MAKEOPTS="-j9"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X Xaw3d a52 aac acl acpi aim alsa amd64 apm audiofile bash-completion berkdb bzip2 cairo cddb cdinstall cdparanoia cdr cli cracklib crypt css curl curlwrappers cxx dbus directfb dri dvd dvdr encode fbcon ffmpeg fftw firefox flac fortran ftp gdbm geoip gif gimp glut graphite gstreamer gtk hddtemp iconv icq ieee1394 imagemagick imap imlib ipv6 jack java javascript joystick jpeg lame latex ldap libsamplerate libtirpc libwww lm_sensors mad matroska minimal mmx motif mp3 mpeg mplayer multilib ncurses nls nptl nsplugin offensive ogg openal opengl openmp openssl oscar pam pcre pdf perl png policykit posix python qt5 quicktime raw readline real rss scanner seccomp semantic-desktop sndfile sockets speex spell ssl suid svg symlink syslog tcl tcpd tetex theora threads tidy tiff tk translucency truetype udev unicode usb vaapi vdpau videos vorbis win32codecs wmf wxwindows x264 xattr xcomposite xetex xine xml xpm xscreensaver xulrunner xv xvid xvmc zlib" ABI_X86="64 32" ALSA_CARDS="hda-intel usb-audio" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" CURL_SSL="openssl" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="en-US de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_7 python3_6 python2_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-06-11 13:00:47 UTC
I'll post 'fmtutil-sys --all' output in a minute.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-06-11 13:01:15 UTC
Created attachment 579530 [details]
'fmtutil-sys --all' output
Comment 3 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-06-11 13:21:26 UTC
Comment on attachment 579530 [details]
'fmtutil-sys --all' output

This is your installation problem.

your fmtutil call uses 

>/root/.texlive/texmf-var/web2c/pdftex/pdflatex.fmt made by different executable version

which is wrong.

dev-texlive/texlive-latex-2019 installs the right one  into /var/lib/texmf/web2c/pdftex/pdflatex.fmt and this one should be used.
Comment 4 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-06-11 13:23:15 UTC
please use FEATURES="keepwork" to get your build.log saved.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-06-11 13:29:35 UTC
(In reply to Mikle Kolyada from comment #3)
> Comment on attachment 579530 [details]
> 'fmtutil-sys --all' output
> 
> This is your installation problem.
> 
> your fmtutil call uses 
> 
> >/root/.texlive/texmf-var/web2c/pdftex/pdflatex.fmt made by different executable version
> 
> which is wrong.
> 
> dev-texlive/texlive-latex-2019 installs the right one  into
> /var/lib/texmf/web2c/pdftex/pdflatex.fmt and this one should be used.

It's funny because I didn't have this 'installation problem' when I installed -r2, and I didn't touch texlive in any way.  Therefore, this 'installation problem' is most likely a side effect of this awful failure of texlive 2019 bump.  Would be appreciated if you were able to admit your fault of poorly testing it and cared to actually help people fix their systems afterwards.
Comment 6 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-06-11 13:39:22 UTC
(In reply to Michał Górny from comment #5)
> (In reply to Mikle Kolyada from comment #3)
> > Comment on attachment 579530 [details]
> > 'fmtutil-sys --all' output
> > 
> > This is your installation problem.
> > 
> > your fmtutil call uses 
> > 
> > >/root/.texlive/texmf-var/web2c/pdftex/pdflatex.fmt made by different executable version
> > 
> > which is wrong.
> > 
> > dev-texlive/texlive-latex-2019 installs the right one  into
> > /var/lib/texmf/web2c/pdftex/pdflatex.fmt and this one should be used.
> 
> It's funny because I didn't have this 'installation problem' when I
> installed -r2, and I didn't touch texlive in any way.  Therefore, this
> 'installation problem' is most likely a side effect of this awful failure of
> texlive 2019 bump.  Would be appreciated if you were able to admit your
> fault of poorly testing it and cared to actually help people fix their
> systems afterwards.

r3 has the single difference against r2 which only affects tlmgr installation (which does not affect fmtutils calls at all). So rather than convicting someone of poor testing I would herebly recommend to leave your comment to yourself and rather improve your knowledge about how things work.