-
richlowe
so illumos does `curses.ed:7:e !sort +2n ./tmp/keycaps`,
-
richlowe
which it seems like the sort in /usr/gnu just stopped supporting, on bloody?
-
richlowe
that's annoying, but an illumos bug for not being specific really, but I did a grep for other /sort \+[0-9/ and there's a large handful which I assume also don't work now
-
richlowe
(I'd file a bug, but it seems so weird a thing to have broke I'm wondering if I've missed something
-
hadfl
this seems to have been an issue introduced to switching building gnu-coreutils with gcc 14 on bloody (and setting the standard to XPG6 to get a clean build). a gnu-coreutils package build with gcc 13 has been published now so `pkg update` should get you back to a working gnu sort
-
hadfl
we'll investigate and fix the package "properly" built with gcc 14
-
richlowe
thanks!
-
andyf
How did this break the illumos build? I'd not expect GNU sort to be in the mix there.
-
andyf
Weird bug, I wonder what the root cause will turn out to be!
-
richlowe
arm64-gate's bootstrap bit failed because libcurses used it without specifying a path or anything.
-
richlowe
I pushed a one line workaround earlier
-
andyf
I am very suspicious of ' bool traditional_usage = ! (200112 <= posix_ver && posix_ver < 200809);'
-
richlowe
there's a bunch of uses in illumos-gate, but I think that was the only build-time one
-
richlowe
which is going to depend on the various whims by which people do or don't reset their path
-
andyf
Yes, it's because we're now building in an XPG6 environment, and sort determines posix_ver to be 200112 versus 199209 before
-
andyf
and chooses to disable traditional usage, including the +/-
-
andyf
It looks like the behaviour of tail, touch and uniq will be different too
-
andyf
_POSIX2_VERSION=199209 /usr/gnu/bin/sort +2n /etc/inet/hosts
-
andyf
^ this works
-
richlowe
oof
-
andyf
-
nomad
What's that old quote? The nice thing about standards is there are so many to choose from?
-
andyf
which even calls out this particular example
-
nomad
doubly so when it's just different versions of the same standard.
-
richlowe
yuck
-
richlowe
standards mess is standards mess, it's the old way silently going away that isn't great
-
andyf
At least the fix is easy..
-
» nomad looks at systemd and cries
-
andyf
This is a great example of why if we're going to switch something big like the compiler version, we do it nice and early in the release cycle, to shake these things out. There have been a few surprises with gcc14 so far.
-
richlowe
yeah, I mentioned to hadfl that that's why I kept on bloody even though I don't need to anymore
-
andyf
Appreciated :) and thanks for the report. We'll fix it so it won't break again next time we publish new bloody packages.
-
andyf
-
andyf
Night all.
-
richlowe
good night