[Pkg-mono-devel] Packaging of dotnet-core for Debian?

Jörg Sommer joerg at alea.gnuu.de
Tue May 9 20:00:23 UTC 2017


Jo Shields hat am Di 09. Mai, 14:26 (+0100) geschrieben:
> On 09/05/17 14:16, Jörg Sommer wrote:
> > Jörg Sommer hat am Mi 05. Apr, 22:05 (+0200) geschrieben:
> > > does anyone go for packaging the dotnet-core for Debian? There are still
> > > some Debian packages provided by the dotnet team, but only for Jessie for
> > > x64: https://github.com/dotnet/cli/
> > I've started to create Debian packages for dotnet-core, but it feels very
> > difficult, because there's no information of how to build the dotnet
> > bundle from scratch.
> > 
> > I've created these packages:
> > 
> > * dotnet-coreclr for https://github.com/dotnet/coreclr
> > * dotnet-corefx for https://github.com/dotnet/corefx
> > * dotnet for https://github.com/dotnet/core-setup
> > * dotnet-bootstrap-deps containing all files from the official tarball I
> >    couldn't build from scratch.
> > 
> > I hope, I find more and more the commands how to build the files in
> > dotnet-bootstrap-deps from scratch and can replace them.
> > 
> > Currently, dotnet fails to start, because something is broken:
> > 
> > % /usr/lib/dotnet/dotnet --version
> > Failed to initialize CoreCLR, HRESULT: 0x80004005

> Which distro are you trying to build on? Right now no version of .NET Core
> will run on Debian 9+ (https://github.com/dotnet/coreclr/issues/11171)

That's an old issue, I've ran into in the beginning. You have to rebuild
System.Security.Cryptography.Native.OpenSsl.so in dotnet-corefx. Run:

src/Native/build-native.sh clang3.8 x64 release

and then copy
bin/Linux.x64.Release/native/System.Security.Cryptography.Native.OpenSsl.so
to shared/Microsoft.NETCore.App/2.0.0-preview2...

That's the main reason, I've started building the dotnet bundle from
scratch, but it seems the build process is very handcrafted.

Jörg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mono-devel/attachments/20170509/f71a8595/attachment-0001.sig>


More information about the Pkg-mono-devel mailing list