On Sun, Oct 23, 2016 at 06:14:20PM +0200, Torfinn Ingolfsen wrote:
> On Sat, Nov 14, 2015 at 7:48 AM, Chris H <bsd-li...@bsdforge.com> wrote:
> >>
> >> I actually was puzzled with texlive not installing and remembered
> >> seeing someone had issues with the new collate stuff.  I simply
> >> tried the latter setting with a "Let's see what happens".  It worked.
> >>
> >> Moral 1 of the story.  Build ports with LC_ALL= and LC_COLLATE=C.
> >
> > Does this deserve an EN, or UPDATING notice?
> >
> > P.S.
> > Thanks for sharing this, Steve!
> 
> FWIW, this is still not fixed.
> root@kg-v7# uname -a
> FreeBSD kg-v7.kg4.no 11.0-STABLE FreeBSD 11.0-STABLE #0 r307729: Fri
> Oct 21 22:34:13 CEST 2016
> r...@kg-v7.kg4.no:/usr/obj/usr/src/sys/GENERIC  amd64
> 
> and an updated ports tree.
> I had to install texlive-base with
> root@kg-v7# LC_COLLATE=C portinstall -R texlive-base
> [...]
> Installing texlive-base-20150521_13...
> mktexlsr: Updating /usr/local/share/texmf/ls-R...
> mktexlsr: Updating /usr/local/share/texmf-config/ls-R...
> mktexlsr: Updating /usr/local/share/texmf-dist/ls-R...
> mktexlsr: Updating /usr/local/share/texmf-local/ls-R...
> mktexlsr: Updating /usr/local/share/texmf-var/ls-R...
> mktexlsr: Done.
> ===>  Cleaning for texlive-base-20150521_13
> 
> The funny thing is that none of the LC* variables are set in my
> environment, only LANG:
> 
> root@kg-v7# env
> PAGER=more
> LANG=en_US.ISO8859-1
> G_FILENAME_ENCODING=ISO-8859-1
> MAIL=/var/mail/root
> PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
> ENV=/root/.shrc
> OLDPWD=/usr/ports/lang/python27
> PWD=/root
> TERM=xterm
> EXINIT=set showmode
> USER=root
> HOME=/root
> SHELL=/bin/sh
> BLOCKSIZE=K
> 
> Is there a existing PR for this? OK, 21264 is close enough:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212624
> I'll add comments to it.
> 

This is not a bug with the new collation it is the ports it is mis
interpretation of how collation works by some build system, in particular some
base tools on freebsd are locales aware while on their coreutils counter parts
they are not.

One have to find what is that misusage (which would be a pain of something like
texlive and fix (and upstream) the change.

Best regards,
Bapt

Attachment: signature.asc
Description: PGP signature

Reply via email to