Skip to content
This repository has been archived by the owner on Aug 28, 2019. It is now read-only.
Jörg Sommer edited this page May 14, 2017 · 5 revisions

Welcome to the packaging of dotnet-core for Debian

Repos

How to build

% apt-get install cmake clang-3.9 
% for i in coreclr corefx core-setup buildtools bootstrap-deps; do git clone https://github.com/jo-so/debian-dotnet-$i; done
% for i in buildtools bootstrap-deps coreclr corefx; do (cd debian-dotnet-$i && dpkg-buildpackage -b); done
% sudo dpkg -i dotnet-*.deb
% (cd debian-dotnet-core-setup && dpkg-buildpackage -b)

Current tasks

Building managed code in core-setup

See in debian/rules the disabled code after ifneq (,). Currently, it fails, because a csproj is executed, which doesn't work on Linux. This has to be a call of dotnet msbuild or Tools/msbuild.sh.

/home/joerg/git/dotnet-core-setup/Tools/dotnetcli/dotnet /usr/lib/dotnet/bootstrap-tools/run.exe build
Running: /home/joerg/git/dotnet-core-setup/Tools/msbuild.sh /nologo /verbosity:minimal /clp:Summary /maxcpucount /l:BinClashLogger,Tools/Microsoft.DotNet.Build.Tasks.dll;LogFile=binclash.log /p:OSGroup=Linux /p:Architecture=x64 /p:DistroRid=debian.9-x64 /p:TargetArchitecture=x64  /flp:v=normal  build.proj 
  Restoring all packages...
  /bin/sh: 2: /tmp/tmp0cea283e60184d14b1232489de337825.exec.cmd: /home/joerg/git/dotnet-core-setup/src/pkg/deps/deps.csproj: Permission denied
/home/joerg/git/dotnet-core-setup/build.proj(60,5): error MSB3073: The command " "/home/joerg/git/dotnet-core-setup/src/pkg/deps/deps.csproj" " exited with code 126.

dpkg-shlibdeps warnings in corefx and coreclr

dpkg-shlibdeps: warning: tried to merge the same object (ld-linux-x86-64.so.2) twice in a symfile
dpkg-shlibdeps: warning: debian/dotnet/usr/lib/dotnet/host/fxr/2.0.0-preview2/libhostfxr.so contains an unresolvable reference to symbol dlerror: it's probably a plugin
dpkg-shlibdeps: warning: 3 other similar warnings have been skipped (use -v to see them all)
dpkg-shlibdeps: warning: tried to merge the same object (ld-linux-x86-64.so.2) twice in a symfile
dpkg-shlibdeps: warning: debian/dotnet/usr/lib/dotnet/shared/Microsoft.NETCore.App/2.0.0-preview2/libhostpolicy.so contains an unresolvable reference to symbol dlerror: it's probably a plugin
dpkg-shlibdeps: warning: 4 other similar warnings have been skipped (use -v to see them all)