Karl:
> Is this a bug or is there something wrong on my side ?
>
> * Messages for package dev-texlive/texlive-basic-2017-r1:
>
> * ERROR: dev-texlive/texlive-basic-2017-r1::gentoo failed (compile phase):
> * failed to build format texmf-dist/fmtutil/format.texlive-basic.cnf
> *
> * Call stack:
> * ebuild.sh, line 124: Called src_compile
> * environment, line 1938: Called texlive-module_src_compile
> * environment, line 2756: 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}";
...
The error went away by doing:
unset XTERM_LOCALE PKG_CONFIG_PATH LC_CTYPE
grep -l /etc/texmf /var/db/pkg/*/*/CONTENTS | cut -f5,6 -d/
# which gave me thoose two:
emerge -C texlive-core-2017-r3 kpathsea-6.2.3_p20170524
rm -rf /etc/texmf
emerge @world
Regards,
/Karl Hammar
-----------------------------------------------------------------------
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57