On 2021/07/27 02:20, Klemens Nanni wrote: > On Mon, Jul 26, 2021 at 10:13:16PM +0000, Klemens Nanni wrote: > > The update to 2.2.0 not only broke the build on aarch64 and armv7 due to > > use of the outdated kr/pty module, it also broke termshark's colors > > with our default `TERM=xterm'.
It was broken there before the update to 2.2.0 as well. > +# manually replace old pty module with new one to enable arm64, armv7 and > mips64 > +# builds until upstream fixes this > +pre-build: > + ${MODGO_CMD} mod edit -replace \ > + github.com/kr/pty=github.com/creack/pty@v1.1.14 ${WRKSRC}/go.mod > + sed -i '/github.com\/.*\/pty/d' ${WRKSRC}/go.sum > + echo 'github.com/creack/pty v1.1.14 > h1:55VbUWoBxE1iTAh3B6JztD6xyQ06CvW/31oD6rYwrtY=' >> ${WRKSRC}/go.sum > + echo 'github.com/creack/pty v1.1.14/go.mod > h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4=' >> ${WRKSRC}/go.sum Ugh. I will see if I can figure out a less unpleasant way to do this. > # *shrug* builds ok with "go get" but ports build picks up something broken Not new, but does anyone has an idea about what's different between "go get" and a ports build?