[GH-ISSUE #185] Help with a building. It fails. #167

Closed
opened 2026-02-26 00:31:55 +03:00 by kerem · 1 comment
Owner

Originally created by @4l1fe on GitHub (Feb 6, 2017).
Original GitHub issue: https://github.com/hirschmann/nbfc/issues/185

I am on Ubuntu 14.04 and build for lenovo u330p. At first i installed mono sudo apt-get install mono-complete
Mono package info:

$ apt show mono-complete 
Package: mono-complete
Priority: optional
Section: universe/cli-mono
Installed-Size: 71.7 kB
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Mono Group <pkg-mono-group@lists.alioth.debian.org>
Source: mono
Version: 3.2.8+dfsg-4ubuntu1.1
Depends: mono-runtime (= 3.2.8+dfsg-4ubuntu1.1), mono-runtime-sgen (= 3.2.8+dfsg-4ubuntu1.1), libmono-2.0-1 (= 3.2.8+dfsg-4ubuntu1.1), libmono-profiler (= 3.2.8+dfsg-4ubuntu1.1), mono-utils (= 3.2.8+dfsg-4ubuntu1.1), mono-jay (= 3.2.8+dfsg-4ubuntu1.1), mono-devel (= 3.2.8+dfsg-4ubuntu1.1), mono-mcs (= 3.2.8+dfsg-4ubuntu1.1), mono-csharp-shell (= 3.2.8+dfsg-4ubuntu1.1), mono-2.0-gac (= 3.2.8+dfsg-4ubuntu1.1), mono-4.0-gac (= 3.2.8+dfsg-4ubuntu1.1), mono-2.0-service (= 3.2.8+dfsg-4ubuntu1.1), mono-4.0-service (= 3.2.8+dfsg-4ubuntu1.1), monodoc-base (= 3.2.8+dfsg-4ubuntu1.1), monodoc-manual (= 3.2.8+dfsg-4ubuntu1.1), libmono-cil-dev (= 3.2.8+dfsg-4ubuntu1.1)
Download-Size: 10.3 kB
Homepage: http://www.mono-project.com/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
APT-Manual-Installed: yes

Then i went to nbfc dir and ran ./build.sh. Here is i got:

~/Programs/nbfc ~/Programs/nbfc
--2017-02-06 03:33:37--  http://nuget.org/nuget.exe
Resolving nuget.org (nuget.org)... 191.236.146.247
Connecting to nuget.org (nuget.org)|191.236.146.247|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.nuget.org/nuget.exe [following]
--2017-02-06 03:33:37--  http://www.nuget.org/nuget.exe
Resolving www.nuget.org (www.nuget.org)... 191.236.146.247
Reusing existing connection to nuget.org:80.
HTTP request sent, awaiting response... 302 Found
Location: https://www.nuget.org/nuget.exe [following]
--2017-02-06 03:33:37--  https://www.nuget.org/nuget.exe
Connecting to www.nuget.org (www.nuget.org)|191.236.146.247|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://api.nuget.org/downloads/nuget.exe [following]
--2017-02-06 03:33:38--  https://api.nuget.org/downloads/nuget.exe
Resolving api.nuget.org (api.nuget.org)... 93.184.221.200, 2606:2800:133:206e:1315:22a5:2006:24fd
Connecting to api.nuget.org (api.nuget.org)|93.184.221.200|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1686528 (1.6M) [application/octet-stream]
Saving to: ‘nuget.exe’

100%[=============================================================================================================>] 1,686,528   2.05MB/s   in 0.8s   

2017-02-06 03:33:39 (2.05 MB/s) - ‘nuget.exe’ saved [1686528/1686528]

Mozilla Roots Importer - version 3.2.8.0
Download and import trusted root certificates from Mozilla's MXR.
Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD licensed.

Downloading from 'http://mxr.mozilla.org/seamonkey/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1'...
Couldn't retrieve the file using the supplied information.
WARNING: The initialization function tries to access Value on this instance
WARNING: The initialization function tries to access Value on this instance
WARNING: The initialization function tries to access Value on this instance
WARNING: The initialization function tries to access Value on this instance
WARNING: The initialization function tries to access Value on this instance
WARNING: The initialization function tries to access Value on this instance
WARNING: The initialization function tries to access Value on this instance
WARNING: Error getting response stream (Write: The authentication or decryption has failed.): SendFailure
WARNING: The initialization function tries to access Value on this instance
WARNING: The initialization function tries to access Value on this instance
WARNING: The initialization function tries to access Value on this instance
WARNING: The initialization function tries to access Value on this instance
WARNING: The initialization function tries to access Value on this instance
Unable to find version '1.5.1' of package 'clipr'.
Unable to find version '2.5' of package 'Extended.Wpf.Toolkit'.
Unable to find version '1.3' of package 'CommonServiceLocator'.
Unable to find version '1.0.8' of package 'Hardcodet.NotifyIcon.Wpf'.
Unable to find version '5.3.0.0' of package 'MvvmLightLibs'.
Unable to find version '2.3.1' of package 'FakeItEasy'.
Unable to find version '2.1.0' of package 'xunit'.
Unable to find version '2.0.0' of package 'xunit.abstractions'.
Unable to find version '2.1.0' of package 'xunit.assert'.
Unable to find version '2.1.0' of package 'xunit.core'.
Unable to find version '2.1.0' of package 'xunit.extensibility.core'.
Unable to find version '2.1.0' of package 'xunit.extensibility.execution'.
Unable to find version '2.1.0' of package 'xunit.runner.visualstudio'.
XBuild Engine Version 12.0
Mono, Version 3.2.8.0
Copyright (C) 2005-2013 Various Mono authors

Build started 2/6/2017 3:33:49 AM.
__________________________________________________
/home/developer/Programs/nbfc/Windows/Setup/NbfcSetup/NbfcSetup.wixproj:  warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.targets, to import. Ignoring.
/home/developer/Programs/nbfc/Windows/Setup/NbfcBootstrapper/NbfcBootstrapper.wixproj:  warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.targets, to import. Ignoring.
/home/developer/Programs/nbfc/Windows/Setup/DriverSetupWixAction/DriverSetupWixAction.csproj:  warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.CA.targets, to import. Ignoring.
Project "/home/developer/Programs/nbfc/NoteBookFanControl.sln" (Build target(s)):
	Target ValidateSolutionConfiguration:
		Building solution configuration "ReleaseLinux|Any CPU".
	Target Build:
		Project "/home/developer/Programs/nbfc/Core/Plugins/StagWare.Hardware.LPC/StagWare.Hardware.LPC.csproj" (default target(s)):
			Target PrepareForBuild:
				Configuration: Release Platform: AnyCPU
				Created directory "bin/Release/"
				Created directory "obj/Release/"
			Target GenerateSatelliteAssemblies:
			No input files were specified for target GenerateSatelliteAssemblies, skipping.
			Target CoreCompile:
				Tool /usr/bin/mcs execution started with arguments: /noconfig /debug:pdbonly /optimize+ /out:obj/Release/StagWare.Hardware.LPC.dll EmbeddedControllerBase.cs Properties/AssemblyInfo.cs obj/Release/.NETFramework,Version=v4.5.AssemblyAttribute.cs /target:library /define:TRACE /reference:/usr/lib/mono/4.5/System.dll /reference:/usr/lib/mono/4.5/System.Xml.Linq.dll /reference:/usr/lib/mono/4.5/System.Data.DataSetExtensions.dll /reference:/usr/lib/mono/4.5/Microsoft.CSharp.dll /reference:/usr/lib/mono/4.5/System.Data.dll /reference:/usr/lib/mono/4.5/System.Xml.dll /reference:/usr/lib/mono/4.5/System.Core.dll /warn:4
			Target DeployOutputFiles:
				Copying file from '/home/developer/Programs/nbfc/Core/Plugins/StagWare.Hardware.LPC/obj/Release/StagWare.Hardware.LPC.dll.mdb' to '/home/developer/Programs/nbfc/Core/Plugins/StagWare.Hardware.LPC/bin/Release/StagWare.Hardware.LPC.dll.mdb'
				Copying file from '/home/developer/Programs/nbfc/Core/Plugins/StagWare.Hardware.LPC/obj/Release/StagWare.Hardware.LPC.dll' to '/home/developer/Programs/nbfc/Core/Plugins/StagWare.Hardware.LPC/bin/Release/StagWare.Hardware.LPC.dll'
		Done building project "/home/developer/Programs/nbfc/Core/Plugins/StagWare.Hardware.LPC/StagWare.Hardware.LPC.csproj".
		Project "/home/developer/Programs/nbfc/Core/StagWare.BiosInfo/StagWare.BiosInfo.csproj" (default target(s)):
			Target PrepareForBuild:
				Configuration: Release Platform: AnyCPU
				Created directory "bin/Release/"
				Created directory "obj/Release/"
			Target GenerateSatelliteAssemblies:
			No input files were specified for target GenerateSatelliteAssemblies, skipping.
			Target CoreCompile:
				Tool /usr/bin/mcs execution started with arguments: /noconfig /debug:pdbonly /optimize+ /out:obj/Release/StagWare.BiosInfo.dll BiosInfo.cs BiosInfoLinux.cs BiosInfoWindows.cs Properties/AssemblyInfo.cs obj/Release/.NETFramework,Version=v4.5.AssemblyAttribute.cs /target:library /define:TRACE /reference:/usr/lib/mono/4.5/System.dll /reference:/usr/lib/mono/4.5/System.Xml.Linq.dll /reference:/usr/lib/mono/4.5/System.Data.DataSetExtensions.dll /reference:/usr/lib/mono/4.5/Microsoft.CSharp.dll /reference:/usr/lib/mono/4.5/System.Data.dll /reference:/usr/lib/mono/4.5/System.Xml.dll /reference:/usr/lib/mono/4.5/System.Core.dll /warn:4
BiosInfoLinux.cs(15,49): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
BiosInfoLinux.cs(15,61): error CS1525: Unexpected symbol `bios_date'
BiosInfoLinux.cs(15,51): error CS1520: Class, struct, or interface method must have a return type
BiosInfoLinux.cs(16,44): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
BiosInfoLinux.cs(16,56): error CS1525: Unexpected symbol `bios_vendor'
BiosInfoLinux.cs(16,46): error CS1520: Class, struct, or interface method must have a return type
BiosInfoLinux.cs(17,45): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
BiosInfoLinux.cs(17,57): error CS1525: Unexpected symbol `bios_version'
BiosInfoLinux.cs(17,47): error CS1520: Class, struct, or interface method must have a return type
BiosInfoLinux.cs(18,43): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
BiosInfoLinux.cs(18,55): error CS1525: Unexpected symbol `board_name'
BiosInfoLinux.cs(18,45): error CS1520: Class, struct, or interface method must have a return type
BiosInfoLinux.cs(19,45): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
BiosInfoLinux.cs(19,57): error CS1525: Unexpected symbol `board_vendor'
BiosInfoLinux.cs(19,47): error CS1520: Class, struct, or interface method must have a return type
BiosInfoLinux.cs(20,46): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
BiosInfoLinux.cs(20,58): error CS1525: Unexpected symbol `board_version'
BiosInfoLinux.cs(20,48): error CS1520: Class, struct, or interface method must have a return type
BiosInfoLinux.cs(21,44): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
BiosInfoLinux.cs(21,56): error CS1525: Unexpected symbol `product_name'
BiosInfoLinux.cs(21,46): error CS1520: Class, struct, or interface method must have a return type
BiosInfoLinux.cs(22,46): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
BiosInfoLinux.cs(22,58): error CS1525: Unexpected symbol `sys_vendor'
BiosInfoLinux.cs(22,48): error CS1520: Class, struct, or interface method must have a return type
BiosInfoLinux.cs(23,47): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
BiosInfoLinux.cs(23,59): error CS1525: Unexpected symbol `product_version'
BiosInfoLinux.cs(23,49): error CS1520: Class, struct, or interface method must have a return type
BiosInfoWindows.cs(15,49): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
BiosInfoWindows.cs(15,61): error CS1525: Unexpected symbol `BIOSReleaseDate'
BiosInfoWindows.cs(15,51): error CS1520: Class, struct, or interface method must have a return type
BiosInfoWindows.cs(16,44): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
BiosInfoWindows.cs(16,56): error CS1525: Unexpected symbol `BIOSVendor'
BiosInfoWindows.cs(16,46): error CS1520: Class, struct, or interface method must have a return type
BiosInfoWindows.cs(17,45): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
BiosInfoWindows.cs(17,57): error CS1525: Unexpected symbol `BIOSVersion'
BiosInfoWindows.cs(17,47): error CS1520: Class, struct, or interface method must have a return type
BiosInfoWindows.cs(18,43): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
BiosInfoWindows.cs(18,55): error CS1525: Unexpected symbol `BaseBoardProduct'
BiosInfoWindows.cs(18,45): error CS1520: Class, struct, or interface method must have a return type
BiosInfoWindows.cs(19,45): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
BiosInfoWindows.cs(19,57): error CS1525: Unexpected symbol `BaseBoardManufacturer'
BiosInfoWindows.cs(19,47): error CS1520: Class, struct, or interface method must have a return type
BiosInfoWindows.cs(20,46): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
BiosInfoWindows.cs(20,58): error CS1525: Unexpected symbol `BaseBoardVersion'
BiosInfoWindows.cs(20,48): error CS1520: Class, struct, or interface method must have a return type
BiosInfoWindows.cs(21,44): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
BiosInfoWindows.cs(21,56): error CS1525: Unexpected symbol `SystemProductName'
BiosInfoWindows.cs(21,46): error CS1520: Class, struct, or interface method must have a return type
BiosInfoWindows.cs(22,46): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
BiosInfoWindows.cs(22,58): error CS1525: Unexpected symbol `SystemManufacturer'
BiosInfoWindows.cs(22,48): error CS1520: Class, struct, or interface method must have a return type
BiosInfoWindows.cs(23,47): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
BiosInfoWindows.cs(23,59): error CS1525: Unexpected symbol `SystemVersion'
BiosInfoWindows.cs(23,49): error CS1520: Class, struct, or interface method must have a return type
			Task "Csc" execution -- FAILED
			Done building target "CoreCompile" in project "/home/developer/Programs/nbfc/Core/StagWare.BiosInfo/StagWare.BiosInfo.csproj".-- FAILED
		Done building project "/home/developer/Programs/nbfc/Core/StagWare.BiosInfo/StagWare.BiosInfo.csproj".-- FAILED
	Task "MSBuild" execution -- FAILED
	Done building target "Build" in project "/home/developer/Programs/nbfc/NoteBookFanControl.sln".-- FAILED
Done building project "/home/developer/Programs/nbfc/NoteBookFanControl.sln".-- FAILED

Build FAILED.

Warnings:

/home/developer/Programs/nbfc/Windows/Setup/NbfcSetup/NbfcSetup.wixproj:  warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.targets, to import. Ignoring.
/home/developer/Programs/nbfc/Windows/Setup/NbfcBootstrapper/NbfcBootstrapper.wixproj:  warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.targets, to import. Ignoring.
/home/developer/Programs/nbfc/Windows/Setup/DriverSetupWixAction/DriverSetupWixAction.csproj:  warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.CA.targets, to import. Ignoring.

Errors:

/home/developer/Programs/nbfc/NoteBookFanControl.sln (Build) ->
(Build target) ->
/home/developer/Programs/nbfc/Core/StagWare.BiosInfo/StagWare.BiosInfo.csproj (default targets) ->
/usr/lib/mono/4.5/Microsoft.CSharp.targets (CoreCompile target) ->

	BiosInfoLinux.cs(15,49): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
	BiosInfoLinux.cs(15,61): error CS1525: Unexpected symbol `bios_date'
	BiosInfoLinux.cs(15,51): error CS1520: Class, struct, or interface method must have a return type
	BiosInfoLinux.cs(16,44): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
	BiosInfoLinux.cs(16,56): error CS1525: Unexpected symbol `bios_vendor'
	BiosInfoLinux.cs(16,46): error CS1520: Class, struct, or interface method must have a return type
	BiosInfoLinux.cs(17,45): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
	BiosInfoLinux.cs(17,57): error CS1525: Unexpected symbol `bios_version'
	BiosInfoLinux.cs(17,47): error CS1520: Class, struct, or interface method must have a return type
	BiosInfoLinux.cs(18,43): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
	BiosInfoLinux.cs(18,55): error CS1525: Unexpected symbol `board_name'
	BiosInfoLinux.cs(18,45): error CS1520: Class, struct, or interface method must have a return type
	BiosInfoLinux.cs(19,45): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
	BiosInfoLinux.cs(19,57): error CS1525: Unexpected symbol `board_vendor'
	BiosInfoLinux.cs(19,47): error CS1520: Class, struct, or interface method must have a return type
	BiosInfoLinux.cs(20,46): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
	BiosInfoLinux.cs(20,58): error CS1525: Unexpected symbol `board_version'
	BiosInfoLinux.cs(20,48): error CS1520: Class, struct, or interface method must have a return type
	BiosInfoLinux.cs(21,44): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
	BiosInfoLinux.cs(21,56): error CS1525: Unexpected symbol `product_name'
	BiosInfoLinux.cs(21,46): error CS1520: Class, struct, or interface method must have a return type
	BiosInfoLinux.cs(22,46): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
	BiosInfoLinux.cs(22,58): error CS1525: Unexpected symbol `sys_vendor'
	BiosInfoLinux.cs(22,48): error CS1520: Class, struct, or interface method must have a return type
	BiosInfoLinux.cs(23,47): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
	BiosInfoLinux.cs(23,59): error CS1525: Unexpected symbol `product_version'
	BiosInfoLinux.cs(23,49): error CS1520: Class, struct, or interface method must have a return type
	BiosInfoWindows.cs(15,49): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
	BiosInfoWindows.cs(15,61): error CS1525: Unexpected symbol `BIOSReleaseDate'
	BiosInfoWindows.cs(15,51): error CS1520: Class, struct, or interface method must have a return type
	BiosInfoWindows.cs(16,44): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
	BiosInfoWindows.cs(16,56): error CS1525: Unexpected symbol `BIOSVendor'
	BiosInfoWindows.cs(16,46): error CS1520: Class, struct, or interface method must have a return type
	BiosInfoWindows.cs(17,45): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
	BiosInfoWindows.cs(17,57): error CS1525: Unexpected symbol `BIOSVersion'
	BiosInfoWindows.cs(17,47): error CS1520: Class, struct, or interface method must have a return type
	BiosInfoWindows.cs(18,43): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
	BiosInfoWindows.cs(18,55): error CS1525: Unexpected symbol `BaseBoardProduct'
	BiosInfoWindows.cs(18,45): error CS1520: Class, struct, or interface method must have a return type
	BiosInfoWindows.cs(19,45): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
	BiosInfoWindows.cs(19,57): error CS1525: Unexpected symbol `BaseBoardManufacturer'
	BiosInfoWindows.cs(19,47): error CS1520: Class, struct, or interface method must have a return type
	BiosInfoWindows.cs(20,46): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
	BiosInfoWindows.cs(20,58): error CS1525: Unexpected symbol `BaseBoardVersion'
	BiosInfoWindows.cs(20,48): error CS1520: Class, struct, or interface method must have a return type
	BiosInfoWindows.cs(21,44): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
	BiosInfoWindows.cs(21,56): error CS1525: Unexpected symbol `SystemProductName'
	BiosInfoWindows.cs(21,46): error CS1520: Class, struct, or interface method must have a return type
	BiosInfoWindows.cs(22,46): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
	BiosInfoWindows.cs(22,58): error CS1525: Unexpected symbol `SystemManufacturer'
	BiosInfoWindows.cs(22,48): error CS1520: Class, struct, or interface method must have a return type
	BiosInfoWindows.cs(23,47): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration
	BiosInfoWindows.cs(23,59): error CS1525: Unexpected symbol `SystemVersion'
	BiosInfoWindows.cs(23,49): error CS1520: Class, struct, or interface method must have a return type

	 3 Warning(s)
	 54 Error(s)

Time Elapsed 00:00:01.8861690
~/Programs/nbfc

What is wrong? i noted there are not some dependencies, why?

Originally created by @4l1fe on GitHub (Feb 6, 2017). Original GitHub issue: https://github.com/hirschmann/nbfc/issues/185 I am on Ubuntu 14.04 and build for lenovo u330p. At first i installed mono `sudo apt-get install mono-complete` Mono package info: ```shell $ apt show mono-complete Package: mono-complete Priority: optional Section: universe/cli-mono Installed-Size: 71.7 kB Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> Original-Maintainer: Debian Mono Group <pkg-mono-group@lists.alioth.debian.org> Source: mono Version: 3.2.8+dfsg-4ubuntu1.1 Depends: mono-runtime (= 3.2.8+dfsg-4ubuntu1.1), mono-runtime-sgen (= 3.2.8+dfsg-4ubuntu1.1), libmono-2.0-1 (= 3.2.8+dfsg-4ubuntu1.1), libmono-profiler (= 3.2.8+dfsg-4ubuntu1.1), mono-utils (= 3.2.8+dfsg-4ubuntu1.1), mono-jay (= 3.2.8+dfsg-4ubuntu1.1), mono-devel (= 3.2.8+dfsg-4ubuntu1.1), mono-mcs (= 3.2.8+dfsg-4ubuntu1.1), mono-csharp-shell (= 3.2.8+dfsg-4ubuntu1.1), mono-2.0-gac (= 3.2.8+dfsg-4ubuntu1.1), mono-4.0-gac (= 3.2.8+dfsg-4ubuntu1.1), mono-2.0-service (= 3.2.8+dfsg-4ubuntu1.1), mono-4.0-service (= 3.2.8+dfsg-4ubuntu1.1), monodoc-base (= 3.2.8+dfsg-4ubuntu1.1), monodoc-manual (= 3.2.8+dfsg-4ubuntu1.1), libmono-cil-dev (= 3.2.8+dfsg-4ubuntu1.1) Download-Size: 10.3 kB Homepage: http://www.mono-project.com/ Bugs: https://bugs.launchpad.net/ubuntu/+filebug Origin: Ubuntu APT-Manual-Installed: yes ``` Then i went to `nbfc` dir and ran `./build.sh`. Here is i got: ``` ~/Programs/nbfc ~/Programs/nbfc --2017-02-06 03:33:37-- http://nuget.org/nuget.exe Resolving nuget.org (nuget.org)... 191.236.146.247 Connecting to nuget.org (nuget.org)|191.236.146.247|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: http://www.nuget.org/nuget.exe [following] --2017-02-06 03:33:37-- http://www.nuget.org/nuget.exe Resolving www.nuget.org (www.nuget.org)... 191.236.146.247 Reusing existing connection to nuget.org:80. HTTP request sent, awaiting response... 302 Found Location: https://www.nuget.org/nuget.exe [following] --2017-02-06 03:33:37-- https://www.nuget.org/nuget.exe Connecting to www.nuget.org (www.nuget.org)|191.236.146.247|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://api.nuget.org/downloads/nuget.exe [following] --2017-02-06 03:33:38-- https://api.nuget.org/downloads/nuget.exe Resolving api.nuget.org (api.nuget.org)... 93.184.221.200, 2606:2800:133:206e:1315:22a5:2006:24fd Connecting to api.nuget.org (api.nuget.org)|93.184.221.200|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1686528 (1.6M) [application/octet-stream] Saving to: ‘nuget.exe’ 100%[=============================================================================================================>] 1,686,528 2.05MB/s in 0.8s 2017-02-06 03:33:39 (2.05 MB/s) - ‘nuget.exe’ saved [1686528/1686528] Mozilla Roots Importer - version 3.2.8.0 Download and import trusted root certificates from Mozilla's MXR. Copyright 2002, 2003 Motus Technologies. Copyright 2004-2008 Novell. BSD licensed. Downloading from 'http://mxr.mozilla.org/seamonkey/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1'... Couldn't retrieve the file using the supplied information. WARNING: The initialization function tries to access Value on this instance WARNING: The initialization function tries to access Value on this instance WARNING: The initialization function tries to access Value on this instance WARNING: The initialization function tries to access Value on this instance WARNING: The initialization function tries to access Value on this instance WARNING: The initialization function tries to access Value on this instance WARNING: The initialization function tries to access Value on this instance WARNING: Error getting response stream (Write: The authentication or decryption has failed.): SendFailure WARNING: The initialization function tries to access Value on this instance WARNING: The initialization function tries to access Value on this instance WARNING: The initialization function tries to access Value on this instance WARNING: The initialization function tries to access Value on this instance WARNING: The initialization function tries to access Value on this instance Unable to find version '1.5.1' of package 'clipr'. Unable to find version '2.5' of package 'Extended.Wpf.Toolkit'. Unable to find version '1.3' of package 'CommonServiceLocator'. Unable to find version '1.0.8' of package 'Hardcodet.NotifyIcon.Wpf'. Unable to find version '5.3.0.0' of package 'MvvmLightLibs'. Unable to find version '2.3.1' of package 'FakeItEasy'. Unable to find version '2.1.0' of package 'xunit'. Unable to find version '2.0.0' of package 'xunit.abstractions'. Unable to find version '2.1.0' of package 'xunit.assert'. Unable to find version '2.1.0' of package 'xunit.core'. Unable to find version '2.1.0' of package 'xunit.extensibility.core'. Unable to find version '2.1.0' of package 'xunit.extensibility.execution'. Unable to find version '2.1.0' of package 'xunit.runner.visualstudio'. XBuild Engine Version 12.0 Mono, Version 3.2.8.0 Copyright (C) 2005-2013 Various Mono authors Build started 2/6/2017 3:33:49 AM. __________________________________________________ /home/developer/Programs/nbfc/Windows/Setup/NbfcSetup/NbfcSetup.wixproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.targets, to import. Ignoring. /home/developer/Programs/nbfc/Windows/Setup/NbfcBootstrapper/NbfcBootstrapper.wixproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.targets, to import. Ignoring. /home/developer/Programs/nbfc/Windows/Setup/DriverSetupWixAction/DriverSetupWixAction.csproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.CA.targets, to import. Ignoring. Project "/home/developer/Programs/nbfc/NoteBookFanControl.sln" (Build target(s)): Target ValidateSolutionConfiguration: Building solution configuration "ReleaseLinux|Any CPU". Target Build: Project "/home/developer/Programs/nbfc/Core/Plugins/StagWare.Hardware.LPC/StagWare.Hardware.LPC.csproj" (default target(s)): Target PrepareForBuild: Configuration: Release Platform: AnyCPU Created directory "bin/Release/" Created directory "obj/Release/" Target GenerateSatelliteAssemblies: No input files were specified for target GenerateSatelliteAssemblies, skipping. Target CoreCompile: Tool /usr/bin/mcs execution started with arguments: /noconfig /debug:pdbonly /optimize+ /out:obj/Release/StagWare.Hardware.LPC.dll EmbeddedControllerBase.cs Properties/AssemblyInfo.cs obj/Release/.NETFramework,Version=v4.5.AssemblyAttribute.cs /target:library /define:TRACE /reference:/usr/lib/mono/4.5/System.dll /reference:/usr/lib/mono/4.5/System.Xml.Linq.dll /reference:/usr/lib/mono/4.5/System.Data.DataSetExtensions.dll /reference:/usr/lib/mono/4.5/Microsoft.CSharp.dll /reference:/usr/lib/mono/4.5/System.Data.dll /reference:/usr/lib/mono/4.5/System.Xml.dll /reference:/usr/lib/mono/4.5/System.Core.dll /warn:4 Target DeployOutputFiles: Copying file from '/home/developer/Programs/nbfc/Core/Plugins/StagWare.Hardware.LPC/obj/Release/StagWare.Hardware.LPC.dll.mdb' to '/home/developer/Programs/nbfc/Core/Plugins/StagWare.Hardware.LPC/bin/Release/StagWare.Hardware.LPC.dll.mdb' Copying file from '/home/developer/Programs/nbfc/Core/Plugins/StagWare.Hardware.LPC/obj/Release/StagWare.Hardware.LPC.dll' to '/home/developer/Programs/nbfc/Core/Plugins/StagWare.Hardware.LPC/bin/Release/StagWare.Hardware.LPC.dll' Done building project "/home/developer/Programs/nbfc/Core/Plugins/StagWare.Hardware.LPC/StagWare.Hardware.LPC.csproj". Project "/home/developer/Programs/nbfc/Core/StagWare.BiosInfo/StagWare.BiosInfo.csproj" (default target(s)): Target PrepareForBuild: Configuration: Release Platform: AnyCPU Created directory "bin/Release/" Created directory "obj/Release/" Target GenerateSatelliteAssemblies: No input files were specified for target GenerateSatelliteAssemblies, skipping. Target CoreCompile: Tool /usr/bin/mcs execution started with arguments: /noconfig /debug:pdbonly /optimize+ /out:obj/Release/StagWare.BiosInfo.dll BiosInfo.cs BiosInfoLinux.cs BiosInfoWindows.cs Properties/AssemblyInfo.cs obj/Release/.NETFramework,Version=v4.5.AssemblyAttribute.cs /target:library /define:TRACE /reference:/usr/lib/mono/4.5/System.dll /reference:/usr/lib/mono/4.5/System.Xml.Linq.dll /reference:/usr/lib/mono/4.5/System.Data.DataSetExtensions.dll /reference:/usr/lib/mono/4.5/Microsoft.CSharp.dll /reference:/usr/lib/mono/4.5/System.Data.dll /reference:/usr/lib/mono/4.5/System.Xml.dll /reference:/usr/lib/mono/4.5/System.Core.dll /warn:4 BiosInfoLinux.cs(15,49): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoLinux.cs(15,61): error CS1525: Unexpected symbol `bios_date' BiosInfoLinux.cs(15,51): error CS1520: Class, struct, or interface method must have a return type BiosInfoLinux.cs(16,44): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoLinux.cs(16,56): error CS1525: Unexpected symbol `bios_vendor' BiosInfoLinux.cs(16,46): error CS1520: Class, struct, or interface method must have a return type BiosInfoLinux.cs(17,45): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoLinux.cs(17,57): error CS1525: Unexpected symbol `bios_version' BiosInfoLinux.cs(17,47): error CS1520: Class, struct, or interface method must have a return type BiosInfoLinux.cs(18,43): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoLinux.cs(18,55): error CS1525: Unexpected symbol `board_name' BiosInfoLinux.cs(18,45): error CS1520: Class, struct, or interface method must have a return type BiosInfoLinux.cs(19,45): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoLinux.cs(19,57): error CS1525: Unexpected symbol `board_vendor' BiosInfoLinux.cs(19,47): error CS1520: Class, struct, or interface method must have a return type BiosInfoLinux.cs(20,46): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoLinux.cs(20,58): error CS1525: Unexpected symbol `board_version' BiosInfoLinux.cs(20,48): error CS1520: Class, struct, or interface method must have a return type BiosInfoLinux.cs(21,44): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoLinux.cs(21,56): error CS1525: Unexpected symbol `product_name' BiosInfoLinux.cs(21,46): error CS1520: Class, struct, or interface method must have a return type BiosInfoLinux.cs(22,46): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoLinux.cs(22,58): error CS1525: Unexpected symbol `sys_vendor' BiosInfoLinux.cs(22,48): error CS1520: Class, struct, or interface method must have a return type BiosInfoLinux.cs(23,47): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoLinux.cs(23,59): error CS1525: Unexpected symbol `product_version' BiosInfoLinux.cs(23,49): error CS1520: Class, struct, or interface method must have a return type BiosInfoWindows.cs(15,49): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoWindows.cs(15,61): error CS1525: Unexpected symbol `BIOSReleaseDate' BiosInfoWindows.cs(15,51): error CS1520: Class, struct, or interface method must have a return type BiosInfoWindows.cs(16,44): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoWindows.cs(16,56): error CS1525: Unexpected symbol `BIOSVendor' BiosInfoWindows.cs(16,46): error CS1520: Class, struct, or interface method must have a return type BiosInfoWindows.cs(17,45): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoWindows.cs(17,57): error CS1525: Unexpected symbol `BIOSVersion' BiosInfoWindows.cs(17,47): error CS1520: Class, struct, or interface method must have a return type BiosInfoWindows.cs(18,43): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoWindows.cs(18,55): error CS1525: Unexpected symbol `BaseBoardProduct' BiosInfoWindows.cs(18,45): error CS1520: Class, struct, or interface method must have a return type BiosInfoWindows.cs(19,45): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoWindows.cs(19,57): error CS1525: Unexpected symbol `BaseBoardManufacturer' BiosInfoWindows.cs(19,47): error CS1520: Class, struct, or interface method must have a return type BiosInfoWindows.cs(20,46): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoWindows.cs(20,58): error CS1525: Unexpected symbol `BaseBoardVersion' BiosInfoWindows.cs(20,48): error CS1520: Class, struct, or interface method must have a return type BiosInfoWindows.cs(21,44): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoWindows.cs(21,56): error CS1525: Unexpected symbol `SystemProductName' BiosInfoWindows.cs(21,46): error CS1520: Class, struct, or interface method must have a return type BiosInfoWindows.cs(22,46): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoWindows.cs(22,58): error CS1525: Unexpected symbol `SystemManufacturer' BiosInfoWindows.cs(22,48): error CS1520: Class, struct, or interface method must have a return type BiosInfoWindows.cs(23,47): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoWindows.cs(23,59): error CS1525: Unexpected symbol `SystemVersion' BiosInfoWindows.cs(23,49): error CS1520: Class, struct, or interface method must have a return type Task "Csc" execution -- FAILED Done building target "CoreCompile" in project "/home/developer/Programs/nbfc/Core/StagWare.BiosInfo/StagWare.BiosInfo.csproj".-- FAILED Done building project "/home/developer/Programs/nbfc/Core/StagWare.BiosInfo/StagWare.BiosInfo.csproj".-- FAILED Task "MSBuild" execution -- FAILED Done building target "Build" in project "/home/developer/Programs/nbfc/NoteBookFanControl.sln".-- FAILED Done building project "/home/developer/Programs/nbfc/NoteBookFanControl.sln".-- FAILED Build FAILED. Warnings: /home/developer/Programs/nbfc/Windows/Setup/NbfcSetup/NbfcSetup.wixproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.targets, to import. Ignoring. /home/developer/Programs/nbfc/Windows/Setup/NbfcBootstrapper/NbfcBootstrapper.wixproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.targets, to import. Ignoring. /home/developer/Programs/nbfc/Windows/Setup/DriverSetupWixAction/DriverSetupWixAction.csproj: warning : Could not find project file /usr/lib/mono/xbuild/Microsoft/WiX/v3.x/Wix.CA.targets, to import. Ignoring. Errors: /home/developer/Programs/nbfc/NoteBookFanControl.sln (Build) -> (Build target) -> /home/developer/Programs/nbfc/Core/StagWare.BiosInfo/StagWare.BiosInfo.csproj (default targets) -> /usr/lib/mono/4.5/Microsoft.CSharp.targets (CoreCompile target) -> BiosInfoLinux.cs(15,49): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoLinux.cs(15,61): error CS1525: Unexpected symbol `bios_date' BiosInfoLinux.cs(15,51): error CS1520: Class, struct, or interface method must have a return type BiosInfoLinux.cs(16,44): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoLinux.cs(16,56): error CS1525: Unexpected symbol `bios_vendor' BiosInfoLinux.cs(16,46): error CS1520: Class, struct, or interface method must have a return type BiosInfoLinux.cs(17,45): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoLinux.cs(17,57): error CS1525: Unexpected symbol `bios_version' BiosInfoLinux.cs(17,47): error CS1520: Class, struct, or interface method must have a return type BiosInfoLinux.cs(18,43): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoLinux.cs(18,55): error CS1525: Unexpected symbol `board_name' BiosInfoLinux.cs(18,45): error CS1520: Class, struct, or interface method must have a return type BiosInfoLinux.cs(19,45): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoLinux.cs(19,57): error CS1525: Unexpected symbol `board_vendor' BiosInfoLinux.cs(19,47): error CS1520: Class, struct, or interface method must have a return type BiosInfoLinux.cs(20,46): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoLinux.cs(20,58): error CS1525: Unexpected symbol `board_version' BiosInfoLinux.cs(20,48): error CS1520: Class, struct, or interface method must have a return type BiosInfoLinux.cs(21,44): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoLinux.cs(21,56): error CS1525: Unexpected symbol `product_name' BiosInfoLinux.cs(21,46): error CS1520: Class, struct, or interface method must have a return type BiosInfoLinux.cs(22,46): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoLinux.cs(22,58): error CS1525: Unexpected symbol `sys_vendor' BiosInfoLinux.cs(22,48): error CS1520: Class, struct, or interface method must have a return type BiosInfoLinux.cs(23,47): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoLinux.cs(23,59): error CS1525: Unexpected symbol `product_version' BiosInfoLinux.cs(23,49): error CS1520: Class, struct, or interface method must have a return type BiosInfoWindows.cs(15,49): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoWindows.cs(15,61): error CS1525: Unexpected symbol `BIOSReleaseDate' BiosInfoWindows.cs(15,51): error CS1520: Class, struct, or interface method must have a return type BiosInfoWindows.cs(16,44): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoWindows.cs(16,56): error CS1525: Unexpected symbol `BIOSVendor' BiosInfoWindows.cs(16,46): error CS1520: Class, struct, or interface method must have a return type BiosInfoWindows.cs(17,45): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoWindows.cs(17,57): error CS1525: Unexpected symbol `BIOSVersion' BiosInfoWindows.cs(17,47): error CS1520: Class, struct, or interface method must have a return type BiosInfoWindows.cs(18,43): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoWindows.cs(18,55): error CS1525: Unexpected symbol `BaseBoardProduct' BiosInfoWindows.cs(18,45): error CS1520: Class, struct, or interface method must have a return type BiosInfoWindows.cs(19,45): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoWindows.cs(19,57): error CS1525: Unexpected symbol `BaseBoardManufacturer' BiosInfoWindows.cs(19,47): error CS1520: Class, struct, or interface method must have a return type BiosInfoWindows.cs(20,46): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoWindows.cs(20,58): error CS1525: Unexpected symbol `BaseBoardVersion' BiosInfoWindows.cs(20,48): error CS1520: Class, struct, or interface method must have a return type BiosInfoWindows.cs(21,44): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoWindows.cs(21,56): error CS1525: Unexpected symbol `SystemProductName' BiosInfoWindows.cs(21,46): error CS1520: Class, struct, or interface method must have a return type BiosInfoWindows.cs(22,46): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoWindows.cs(22,58): error CS1525: Unexpected symbol `SystemManufacturer' BiosInfoWindows.cs(22,48): error CS1520: Class, struct, or interface method must have a return type BiosInfoWindows.cs(23,47): error CS1519: Unexpected symbol `=>' in class, struct, or interface member declaration BiosInfoWindows.cs(23,59): error CS1525: Unexpected symbol `SystemVersion' BiosInfoWindows.cs(23,49): error CS1520: Class, struct, or interface method must have a return type 3 Warning(s) 54 Error(s) Time Elapsed 00:00:01.8861690 ~/Programs/nbfc ``` What is wrong? i noted there are not some dependencies, why?
kerem closed this issue 2026-02-26 00:31:55 +03:00
Author
Owner

@hirschmann commented on GitHub (Feb 9, 2017):

The mono version on your system is too old. NBFC requires at least mono 4.0

<!-- gh-comment-id:278781720 --> @hirschmann commented on GitHub (Feb 9, 2017): The mono version on your system is too old. NBFC requires at least mono 4.0
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nbfc-hirschmann#167
No description provided.