Summary: | =dev-texlive/texlive-basic-2021[luajittex] fails with "returning error due to option --strict [..] failed to build: 3 (luahbtex/luahbtex luatex/luatex luatex/dviluatex)" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sebastian Pipping <sping> |
Component: | Current packages | Assignee: | Alexis Ballier <aballier> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | realnc, tex |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Build log |
Description
Sebastian Pipping
2021-07-16 10:02:33 UTC
Created attachment 724291 [details]
Build log
lua specific stuff fail if LANG is unset. what happens after `export LANG=C`? (In reply to Mikle Kolyada from comment #2) > what happens after `export LANG=C`? That seems to work around it — cool! Could something like… export LANG="${LANG:-C}" …be added to the ebuild to make it more robust? It's the only package that I have seen cause trouble like that in quite a while in that LANG-less setup of mine. I remember there were more ebuilds to fail if no LANG is defined, so might be better to define it straight in the eclass... (In reply to Mikle Kolyada from comment #4) > I remember there were more ebuilds to fail if no LANG is defined, so might > be better to define it straight in the eclass... I mean texlive ebuilds :) I just hit this. What's the recommended solution right now so that it can be installed? (In reply to Nikos Chantziaras from comment #6) > I just hit this. What's the recommended solution right now so that it can be > installed? Hm. Never mind. I had to re-run: $ sudo localectl set-locale LANG=en_US.UTF-8 On my system. For some reason, LANG was set to "en_US.utf8", which apparently makes perl print warnings about not being able to set the locale. On top of that, I had to: $ rm ~/.config/plasma-localerc on my KDE system. It seems it was responsible for overriding my locale with "en_US.utf8". I have no idea which of those two things fixed it, but one of them did. (In reply to Nikos Chantziaras from comment #7) > (In reply to Nikos Chantziaras from comment #6) > > I just hit this. What's the recommended solution right now so that it can be > > installed? > > Hm. Never mind. I had to re-run: > > $ sudo localectl set-locale LANG=en_US.UTF-8 > > On my system. For some reason, LANG was set to "en_US.utf8", which > apparently makes perl print warnings about not being able to set the locale. > > You probably didn't have that locale generated. |