Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 718782 - dev-texlive/texlive-latex-2020 fails to emerge
Summary: dev-texlive/texlive-latex-2020 fails to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
: 718758 719030 719482 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-04-21 19:15 UTC by Richard Cox
Modified: 2020-05-10 19:31 UTC (History)
9 users (show)

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


Attachments
build log (build.log,42.07 KB, text/x-log)
2020-04-21 19:20 UTC, Richard Cox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Cox 2020-04-21 19:15:35 UTC
dev-texlive/texlive-latex-2020 fails to build with the following error:

fmtutil [ERROR]: running `pdftex -ini   -jobname=latex -progname=latex -translate-file=cp227.tcx *latex.ini </dev/null' return status: 1
fmtutil [ERROR]: returning error due to option --strict
Comment 1 Richard Cox 2020-04-21 19:16:28 UTC
emerge --info
Portage 2.3.99 (python 3.7.7-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-9.3.0, glibc-2.30-r8, 5.6.5-gentoo x86_64)
=================================================================
System uname: Linux-5.6.5-gentoo-x86_64-Intel-R-_Core-TM-_i9-9900K_CPU_@_3.60GHz-with-gentoo-2.7
KiB Mem:    32823884 total,  12791908 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Tue, 21 Apr 2020 03:45:01 +0000
Head commit of repository gentoo: 8827e0c526c4dc5d6382cd91d1547f64f85b1ace
Head commit of repository java: bbea8ee817839d75204882183a0de8876598c8d0

sh bash 5.0_p16
ld GNU ld (Gentoo 2.34 p1) 2.34.0
app-shells/bash:          5.0_p16::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.2::gentoo
dev-lang/python:          2.7.17-r2::gentoo, 3.6.10-r1::gentoo, 3.7.7-r1::gentoo, 3.8.2-r1::gentoo
dev-util/cmake:           3.17.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.2::gentoo
sys-devel/binutils:       2.34::gentoo
sys-devel/gcc:            8.3.0-r3::gentoo, 9.3.0::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r8::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://zbox/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24

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

java
    location: /usr/local/portage/layman/java
    sync-type: git
    sync-uri: git://anongit.gentoo.org/proj/java.git
    masters: gentoo
    priority: 50

Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/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="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" --quiet-build=n --with-bdeps=y --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 buildsyspkg 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 qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8 -l4"
PKGDIR="/usr/portage/packages"
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 a52 aac aacplus acl acpi activities aes alsa amd64 aspell avx berkdb branding bzip2 cairo cdda cdr cli crypt css cups curl dbus declarative doc dri dts dvd dvdnav dvdr elogind emboss encode eselect exif ffmpeg flac fortran gdbm gif gpm gstreamer gtk hunspell iconv icu ipv6 jack java jpeg kde kipi kwallet lcms ldap libnotify libtirpc libwww lm_sensors mad matroska mmx mmxext mng mp3 mp4 mpeg multilib multislot mysql ncurses nls nptl nsplugin ogg openexr opengl openmp openrc oss pam pango pcre pdf perl phonon plasma png policykit popcnt ppds python qml qt5 rdesktop readline samba sdl seccomp semantic-desktop session spell spl split-usr sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg tcpd theora threads tiff tools truetype udev udisks unicode upower usb v4l v4l2 vaapi vdpau vlc vorbis vpx widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid xvmc zlib" ABI_X86="32 64" ADA_TARGET="gnat_2018" 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" 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="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4 php5-5" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_7" RUBY_TARGETS="ruby24 ruby25 ruby27" 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, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Richard Cox 2020-04-21 19:20:41 UTC
Created attachment 634034 [details]
build log
Comment 3 PhobosK 2020-04-21 21:26:16 UTC
I can confirm this bug and may add that till now I had never changed or touched any of the configs in the /etc/texmf and only had updated all those packages as new versions came along in time...

Anyway I am not an expert on all this texlive/lua etc. stuff and do not know if this is the proper way to fix the issue, but it worked for me, so I wanted to share with all that have the problem...:

0. I assume you had already updated to app-text/texlive-core-2020-r3

1. Edited the /etc/texmf/texmf.d/80jadetex.cnf
font_mem_size.latex= 400000
to
font_mem_size.latex= 800000

I did this because one of the errors was that there was not enough font memory

2. fmtutil-sys --all && texmf-update

Although fmtutil-sys --all is part of the commands in texmf-update... i did it exclusively just in case :)

3. emerge -C dev-texlive/texlive-latexrecommended

This 2019 package gave file collisions with the dev-texlive/texlive-latex 2020

4. emerge -v dev-texlive/texlive-latex

5. emerge -avuND --keep-going y world

All this fixed the error and managed to update all the other dev-texlive/texlive-* packages that were failing before.


BTW as every other time the new tex update to 2020 didn't go at all smooth... Sadly
Comment 4 Richard Cox 2020-04-21 21:54:05 UTC
PhobosK - I can confirm that your fix worked for me.  Thank you!  I did see the error for font_mem_size, but failed to find the config file that contained it.  Like you, I've never touch any configs with these packages, since they just get pulled in by other packages.
Comment 5 Steve Williams 2020-04-22 09:00:35 UTC
I can confirm that PhobosK's fix in comment 3 also worked for me.

I suspect that unmerging texlive-latexrecommended is not required if the 2020 version has been emerged using --nodeps.
Comment 6 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2020-04-22 12:44:48 UTC
*** Bug 718758 has been marked as a duplicate of this bug. ***
Comment 7 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2020-04-22 12:46:21 UTC
Nice catch, I didnot think of updating jadetex at all, it must be in sync with a kpathsea config mostly.
Comment 8 Larry the Git Cow gentoo-dev 2020-04-22 12:58:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88a3235b611cc50ecc799f1196f33f7c38dc39e3

commit 88a3235b611cc50ecc799f1196f33f7c38dc39e3
Author:     Mikle Kolyada <zlogene@gentoo.org>
AuthorDate: 2020-04-22 12:57:40 +0000
Commit:     Mikle Kolyada <zlogene@gentoo.org>
CommitDate: 2020-04-22 12:57:40 +0000

    app-text/jadetex: increase font_mem_size.latex
    
    sync with new kpathsea version.
    
    Closes: https://bugs.gentoo.org/718782
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>

 app-text/jadetex/files/80jadetex.cnf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 9 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2020-04-23 19:42:03 UTC
*** Bug 719030 has been marked as a duplicate of this bug. ***
Comment 10 Alexis Ballier gentoo-dev 2020-04-27 12:53:21 UTC
@zlogene you should revbump jadetex otherwise it will keep failing for the vast majority of people that will not think about rebuilding jadetex and you will keep seeing new bugs & dupes.

also, I think it is probably better to remove entirely the '% latex settings' part of that jadetex.cnf file; IIRC it was there to increase defaults; if those are higher nowadays then they don't need to be there and will avoid future similar bugs
Comment 11 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2020-04-29 16:39:41 UTC
*** Bug 719482 has been marked as a duplicate of this bug. ***
Comment 12 Hamlet 2020-04-30 00:58:32 UTC
After reading this report (that is, after the other report was marked as duplicate of this one), the solution for me was actually to remove `app-text/jadetex`.
Nothing on my system depends on it, and I am not exactly sure how it sneaked in my system... probably a build-only dependency.
But apparently if it is there, `app-text/texlive-latex` uses it even without the `jadetex` USE flag.
I suppose this also explains while `app-text/jadetex` was not rebuilt by portage after the update.