From: Michael <confabulate@kintzios.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Building package "dev-texlive/texlive-basic-2021" failed
Date: Sat, 12 Jun 2021 16:29:12 +0100 [thread overview]
Message-ID: <3147556.44csPzL39Z@dell_xps> (raw)
In-Reply-To: <24772.51206.613497.514284@tux.local>
[-- Attachment #1: Type: text/plain, Size: 4381 bytes --]
On Saturday, 12 June 2021 15:43:18 BST Dr Rainer Woitok wrote:
> Greetings,
>
> it's been quite a while that I had problems doing my routine Gentoo up-
> grade. This time package "dev-texlive/texlive-basic-2021" balked, and
> in the build log I found this:
>
> * Package: dev-texlive/texlive-basic-2021
> * Repository: gentoo
> * Maintainer: aballier@gentoo.org tex@gentoo.org
> * USE: abi_x86_64 amd64 elibc_glibc kernel_linux luajittex
> userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv
> usersandbox ---8><---
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
> LANGUAGE = "en_GB:en",
> LC_ALL = (unset),
> LC_MESSAGES = "C",
> LC_CTYPE = "C.UTF-8",
> LC_COLLATE = "C",
> LANG = "en_GB"
> are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
>
> While the value of environment variable "LANGUAGE" is clearly mine, the
> other values except "LC_COLLATE" and "LC_ALL" are obviously _not mine_
> (in particular "LANG" is missing the ".utf8" part):
>
> $ sudo env | grep LANGU
> Password:
> LANGUAGE=en_GB:en
> $ sudo locale
> LANG=en_GB.utf8
> LC_CTYPE="en_GB.utf8"
> LC_NUMERIC="en_GB.utf8"
> LC_TIME="en_GB.utf8"
> LC_COLLATE=C
> LC_MONETARY="en_GB.utf8"
> LC_MESSAGES="en_GB.utf8"
> LC_PAPER="en_GB.utf8"
> LC_NAME="en_GB.utf8"
> LC_ADDRESS="en_GB.utf8"
> LC_TELEPHONE="en_GB.utf8"
> LC_MEASUREMENT="en_GB.utf8"
> LC_IDENTIFICATION="en_GB.utf8"
> LC_ALL=
> $
>
> Using "grep" to sift through my build logs the first occurance of the
> line "perl: warning: Setting locale failed." occured a year ago at 2020-
> 05-18 while upgrading package "media-libs/exiftool-11.93" and since then
> it is present in quite a few build logs without apparently doing any
> harm. However, now making "luatex", "luahbtex", and "dviluatex" as part
> of package "dev-texlive/texlive-basic-2021" all failed with "Unable to
> read environment locale: exit now." and finally caused the build to die:
>
> ---8><---
> fmtutil: fmtutil is using the following fmtutil.cnf files (in precedence
> order): fmtutil: texmf-dist/fmtutil/format.texlive-basic.cnf
> fmtutil: fmtutil is using the following fmtutil.cnf file for writing
> changes: fmtutil: texmf-dist/fmtutil/format.texlive-basic.cnf
> fmtutil [INFO]: writing formats under
> /var/tmp/portage/dev-texlive/texlive-basic-2021/work/texmf-var/web2c
> fmtutil [INFO]: --- remaking luatex with luatex
> fmtutil: running `luatex -ini -jobname=luatex -progname=luatex luatex.ini'
> ... Unable to read environment locale: exit now.
> ---8><---
> fmtutil [INFO]: --- remaking luahbtex with luahbtex
> fmtutil: running `luahbtex -ini -jobname=luahbtex -progname=luahbtex
> luatex.ini' ... Unable to read environment locale: exit now.
> ---8><---
> fmtutil [INFO]: --- remaking dviluatex with luatex
> fmtutil: running `luatex -ini -jobname=dviluatex -progname=dviluatex
> dviluatex.ini' ... Unable to read environment locale: exit now.
> ---8><---
> fmtutil [INFO]: failed to build: 3 (luatex/luatex luahbtex/luahbtex
> luatex/dviluatex) fmtutil [INFO]: total formats: 8
> fmtutil [INFO]: exiting with status 3
> * ERROR: dev-texlive/texlive-basic-2021::gentoo failed (compile phase):
> * failed to build format texmf-dist/fmtutil/format.texlive-basic.cnf
> *
> * Call stack:
> * ebuild.sh, line 125: Called src_compile
> * environment, line 510: Called texlive-module_src_compile
> * environment, line 721: Called die
> * The specific snippet of code:
> * VARTEXFONTS="${T}/fonts"
> TEXMFHOME="${S}/texmf:${S}/texmf-dist:${S}/texmf-var" env -u TEXINPUTS
> $fmt_call --cnffile "${i}" --fmtdir "${S}/texmf-var/web2c" --all || die
> "failed to build format ${i}";
>
> Is the failure to make "luatex", "luahbtex", and "dviluatex" due to not
> being able to "read environment locale" a consequence of "perl" claiming
> to have problems with _my_ locale? If not, what else is going on here?
>
> Sincerely,
> Rainer
I can't speak for your lua* packages, but as long as you have defined your
locale correctly in /etc/locale.gen your system should source what it needs
from there.
Regarding perl complaining, there was a perl update recently (stable) so
running perl-cleaner is recommended and may fix at least your texlive-basic
issue.
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2021-06-12 15:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-12 14:43 [gentoo-user] Building package "dev-texlive/texlive-basic-2021" failed Dr Rainer Woitok
2021-06-12 15:29 ` Michael [this message]
2021-06-13 13:39 ` Dr Rainer Woitok
2021-06-13 14:11 ` Dr Rainer Woitok
2021-06-13 15:16 ` Michael
2021-06-13 17:10 ` Dr Rainer Woitok
2021-06-13 17:23 ` Michael
2021-06-14 16:36 ` Dr Rainer Woitok
2021-06-15 7:41 ` Peter Humphrey
2021-06-15 15:06 ` Dr Rainer Woitok
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3147556.44csPzL39Z@dell_xps \
--to=confabulate@kintzios.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox