unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: "Simen Endsjø" <simendsjo@gmail.com>
To: Pierre Neidhardt <mail@ambrevar.xyz>
Cc: help-guix@gnu.org
Subject: Re: dotnet
Date: Thu, 25 Jun 2020 10:06:32 +0200	[thread overview]
Message-ID: <878sgbin7b.fsf@gmail.com> (raw)
In-Reply-To: <87r1u3619w.fsf@ambrevar.xyz>


Pierre Neidhardt <mail@ambrevar.xyz> writes:

> The readme says we need dotnet to build msbuild.
>
> On the other hand, there is this tag:
>
> https://github.com/mono/msbuild/releases/tag/0.08
>
> So maybe it's bootstrappable after all.

Looks like it already tries to use this in the build, but 
something goes wrong
here at least. Haven't spent any time debugging it

#+begin_example
$ make
./eng/cibuild_bootstrapped_msbuild.sh --host_type mono 
--configuration Release --binaryLog --skip_tests
,** Downloading MSBUILD from 
https://github.com/mono/msbuild/releases/download/0.08/mono_msbuild_6.4.0.208.zip

Unhandled Exception:
System.TypeInitializationException: The type initializer for 
'Microsoft.Build.CommandLine.MSBuildApp' threw an exception. ---> 
System.TypeInitializationException: The type initializer for 
'Microsoft.Build.Shared.FileUtilities' threw an exception. ---> 
System.TypeInitializationException: The type initializer for 
'Microsoft.Build.Shared.FileSystem.FileSystems' threw an 
exception. ---> System.TypeInitializationException: The type 
initializer for 'Microsoft.Build.Shared.NativeMethodsShared' threw 
an exception. ---> System.TypeLoadException: Could not load type 
'System.Runtime.InteropServices.OSPlatform' from assembly 
'mscorlib, Version=4.0.0.0, Culture=neutral, 
PublicKeyToken=b77a5c561934e089'.
  at Microsoft.Build.Shared.NativeMethodsShared..cctor () 
  <0x40261770 + 0x00107> in <filename unknown>:0
  --- End of inner exception stack trace ---
  at Microsoft.Build.Shared.FileSystem.FileSystems.GetFileSystem 
  () <0x40261720 + 0x0000b> in <filename unknown>:0
  at Microsoft.Build.Shared.FileSystem.FileSystems..cctor () 
  <0x402616f0 + 0x0000b> in <filename unknown>:0
  --- End of inner exception stack trace ---
  --- End of inner exception stack trace ---
  at Microsoft.Build.CommandLine.MSBuildApp..cctor () <0x40260ff0 
  + 0x0015b> in <filename unknown>:0
  --- End of inner exception stack trace ---
[ERROR] FATAL UNHANDLED EXCEPTION: 
System.TypeInitializationException: The type initializer for 
'Microsoft.Build.CommandLine.MSBuildApp' threw an exception. ---> 
System.TypeInitializationException: The type initializer for 
'Microsoft.Build.Shared.FileUtilities' threw an exception. ---> 
System.TypeInitializationException: The type initializer for 
'Microsoft.Build.Shared.FileSystem.FileSystems' threw an 
exception. ---> System.TypeInitializationException: The type 
initializer for 'Microsoft.Build.Shared.NativeMethodsShared' threw 
an exception. ---> System.TypeLoadException: Could not load type 
'System.Runtime.InteropServices.OSPlatform' from assembly 
'mscorlib, Version=4.0.0.0, Culture=neutral, 
PublicKeyToken=b77a5c561934e089'.
  at Microsoft.Build.Shared.NativeMethodsShared..cctor () 
  <0x40261770 + 0x00107> in <filename unknown>:0
  --- End of inner exception stack trace ---
  at Microsoft.Build.Shared.FileSystem.FileSystems.GetFileSystem 
  () <0x40261720 + 0x0000b> in <filename unknown>:0
  at Microsoft.Build.Shared.FileSystem.FileSystems..cctor () 
  <0x402616f0 + 0x0000b> in <filename unknown>:0
  --- End of inner exception stack trace ---
  --- End of inner exception stack trace ---
  at Microsoft.Build.CommandLine.MSBuildApp..cctor () <0x40260ff0 
  + 0x0015b> in <filename unknown>:0
  --- End of inner exception stack trace ---
make: *** [Makefile:2: all-mono] Error 1
#+end_example

      reply	other threads:[~2020-06-25  8:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-24  6:12 dotnet Simen Endsjø
2020-06-24  8:23 ` dotnet Pierre Neidhardt
2020-06-24  8:52   ` dotnet Simen Endsjø
2020-06-25  7:40     ` dotnet Pierre Neidhardt
2020-06-25  8:06       ` Simen Endsjø [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878sgbin7b.fsf@gmail.com \
    --to=simendsjo@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=mail@ambrevar.xyz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).