RevolutionAnalytics / RRO

Revolution R Open
http://mran.revolutionanalytics.com/download/
GNU General Public License v2.0
86 stars 25 forks source link

System.Exception: Linux flavor not implemented yet #310

Closed irkonik closed 7 years ago

irkonik commented 8 years ago

While building from source, building fails as "Stopped due to error". System: Arch x86_64 Linux 4.7.0-1-ARCH

Alle in "packages.config" aufgeführten Pakete sind bereits installiert.
Alle in "packages.config" aufgeführten Pakete sind bereits installiert.
~/rro-build/RRO-src/buildFiles ~/rro-build
XBuild Engine Version 14.0
Mono, Version 4.4.1.0
Copyright (C) 2005-2013 Various Mono authors

Build started 17.08.2016 10:37:23.
__________________________________________________
Project "/home/irkonik/rro-build/RRO-src/buildFiles/RRO_build.sln" (default target(s)):
    Target ValidateSolutionConfiguration:
        Building solution configuration "Release|Any CPU".
    Target Build:
        Project "/home/irkonik/rro-build/RRO-src/buildFiles/RevoUtils/RevoUtils.csproj" (default target(s)):
            Target PrepareForBuild:
                Configuration: Release Platform: AnyCPU
            Target GenerateSatelliteAssemblies:
            No input files were specified for target GenerateSatelliteAssemblies, skipping.
            Target GenerateTargetFrameworkMonikerAttribute:
            Skipping target "GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date.
            Target CoreCompile:
            Skipping target "CoreCompile" because its outputs are up-to-date.
        Done building project "/home/irkonik/rro-build/RRO-src/buildFiles/RevoUtils/RevoUtils.csproj".
Done building project "/home/irkonik/rro-build/RRO-src/buildFiles/RRO_build.sln".

Build succeeded.
     0 Warning(s)
     0 Error(s)

Time Elapsed 00:00:00.2362020

F# Interactive for F# 3.1 (private)
Freely distributed under the Apache 2.0 Open Source License

For help type #help;;

> [Loading /home/irkonik/rro-build/RRO-src/buildFiles/build.fsx]

System.Exception: Linux flavor not implemented yet
  at RevoUtils.Platform.GetReleaseVersion () <0x421bbc50 + 0x00573> in <filename unknown>:0 
  at <StartupCode$FSI_0001>.$FSI_0001_Build$fsx.main@ () <0x421bb070 + 0x00397> in <filename unknown>:0 
  at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
  at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) <0x7f5da9d8e1e0 + 0x000a3> in <filename unknown>:0 
Stopped due to error

~/rro-build
sfweller commented 8 years ago

What flavor of Linux(OS) are you running? Is it SuSE, Ubuntu, Redhat, or some other distribution? It would be good if you could also give us the exact OS version as well - this will help us determine what the problem is you are having with the install.

Stephen Weller Microsoft R Open Product Team

irkonik commented 8 years ago

Hey Stepen, as posted above in the second line, I'm running Arch Linux x86_64 on a Intel Skylake Core i7 with Linux Kernel version 4.7. This is pretty much as exact as it gets with Arch, since it's a rolling release. It also breaks on my other systems, same error, exact same system, just with a Intel Haswell Core i5. Also, not able to compile it in a Arch VM on a Sandybridge-E based Server.

EDIT: Link to Arch: https://www.archlinux.org/

irkonik commented 8 years ago

Is there anything I can do to further help you investigate the issue?

nathansoz commented 7 years ago

The code you care about is here: https://github.com/RevolutionAnalytics/RRO/blob/master/RRO-src/buildFiles/RevoUtils/Platform.cs

You could modify it in such a way that it reads arch as a supported OS.