Compatibility issue with ncurses 6.1
This isn't something that can be fixed here, but I figured I'd raise an issue to make folks aware / track the dotnet issue until it's fixed by MS
The latest gentoo uses ncurses 6.1 this seems to cause some issues with mono and dotnet core
For mono there's a patch that I've added into the ebuild in the below pull request https://github.com/gentoo/dotnet/pull/385
For dotnet core this is still being worked on by the dotnet team at the moment https://github.com/dotnet/corefx/issues/26966
One work around for dotnet core is to prefix the dotnet cli command with TERM=xterm
TERM=xterm dotnet restore
I noticed mono doesn't crash with the patch but is giving black text
so did this as a quick workaround
cd /usr/bin/
mv mono mono.orig
echo '#!/bin/sh' > mono
echo 'TERM=xterm /usr/bin/mono.orig "$@"' >> mono
chmod +x mono
v2.0.7 is out https://github.com/dotnet/core/blob/master/release-notes/2.0/2.0.7.md with the fix for .Net Core 2.0. Can we update 2.0 package to 2.0.7?
@grbd, could you please update version in https://github.com/gentoo/dotnet/tree/master/dev-dotnet/dotnetcore-runtime-bin? I'd need to read more to learn how those hashes are added in Manifest file. :)
I've not tested it yet, but new ebuilds now in pull request here https://github.com/gentoo/dotnet/pull/389
For info for setting up new ebuilds
-
copy / paste the older version file to a filename with the newer version the script tends to read it's own filename to work out the download link sometimes you need to update the download url
-
run "ebuild <ebuildfile.ebuild> digest" this downloads the sourcecode into /usr/portage/distfiles/ it then updates the Manifest file so that any future downloads can be checked against that hash value
-
try "ebuild <ebuildfile.ebuild>" compile and "ebuild <ebuildfile.ebuild> install" to check for any errors at which point it'll end up in somewhere like /var/tmp/portage/dev-dotnet/dotnetcore-runtime-bin-2.0.7/image/ to give you an idea as to what will end up being installed before hand
I've just tried out dotnet core and that seems to work okay https://github.com/dotnet/core/issues/1456
I'll have a look to see if there's a new version of mono released yet
Thanks! BTW, why the release is tied to dotnet && mono at the same time? They are two different products maintained by different entities at different pace. 😄
what I meant was the ncurses bug seems to be fixed within dotnet core but I'll check mono to see if the same is there
Thanks, could you please release v2.0.7 if you are the maintainer of this repo?
Oh great! You have already done that https://github.com/gentoo/dotnet/pull/389 😄 👍