[MonoDevelop] Problems building master on Linux due to missing Microsoft.AspNet.Mvc
Miljenko Cvjetko
mcvjetko at holisticware.net
Mon Jul 7 05:48:19 UTC 2014
Hi Matt
Sorry for delay, but I'm on vacation with family, so it takes a bit time
to answer my mails etc.
On 20140706 10:14 , Matt Ward wrote:
> It is possible that the problem is not a certificate problem and a
> general networking problem.
I think it is not certificates, but I'm not sure. I tried to reimport
the certificates, but it did not help a lot.
>
> There are two errors in the output do not give that that much information.
>
> 1) The initialization function tries to access Value on this instance
> 2) Error: SendFailure (Error writing headers)
>
> Unfortunately 1) is a bug in Lazy<T> on mono and is hiding the
> underlying error. The Lazy<T> bug should be fixed in Mono 3.6
I have compiled from github 2-3 weeks ago, so it was 3.6.1, for all 4
major server distros clean installs (centos, ubuntu server, debian and
suse).
>
> Another thing to try is running NuGet.exe with the same command line
> arguments, as in the output, but add "-verbosity detailed". This
> should display the full call stack of the exceptions which may be give
> us more information.
I'm just trying to grasp the whole new project definition and building
technology and facts and still need more time to find where I can pass
some args to nuget during
kpm restore -s https://www.myget.org/F/aspnetvnext/
I'll ask on asp.net vnext jabber chat room.
regards
Mel
>
>
>
> On 6 July 2014 06:43, Miljenko Cvjetko <mcvjetko at holisticware.net
> <mailto:mcvjetko at holisticware.net>> wrote:
>
> Hi Matt
>
> I'm not sure the certificates are problem. I have compiled and run
> ASP.net vnext for 4 major distros in last few weeks (2-3). Last
> week when I was trying to run more complex samples on mono
> (MusicStore and Bugzilla) I ran into the same problem with "error
> writing headers".
>
> The guys from the ASP.net vnext chat room pointed me this tweet:
> https://twitter.com/nuget/status/483792456060641280
>
> I get completely different errors if certificates are not
> installed and/or LD_LIBRARY_PATH is not properly set.
>
> HTH
>
> regards
>
> Mel
>
>
> On 20140705 23:07 , Matt Ward wrote:
>> The MonoDevelop.AspNet.csproj is using NuGet.exe to download a
>> few NuGet packages from nuget.org <http://nuget.org>.
>>
>> I would try importing the trusted root certificates
>> <http://stackoverflow.com/questions/15181888/nuget-on-linux-error-getting-response-stream> to
>> see if that allows you to use NuGet.exe.
>>
>>
>> On 5 July 2014 20:12, Timotheus Pokorra
>> <timotheus.pokorra at solidcharity.com
>> <mailto:timotheus.pokorra at solidcharity.com>> wrote:
>>
>> Hello,
>> since a couple of days, I cannot build master on Linux anymore.
>> I suspect it is related to the commit
>> https://github.com/mono/monodevelop/commit/c4f7804fda12518d69c2db3766afcfecdfb5fdc2
>>
>> See the relevant log of make below.
>>
>> I wonder where to get the Microsoft AspNet dlls?
>> What is the recommended way?
>>
>> Thank you,
>> Timotheus
>>
>> part of the output of make on master:
>>
>> Project
>> "/root/lbs-mono/monodevelop-nightly/monodevelop/main/src/addins/AspNet/MonoDevelop.AspNet.csproj"
>> (default target(s)):
>> Target BeforeBuild:
>> Executing: mono ../../../external/nuget-binary/NuGet.exe
>> restore -SolutionDirectory ../../..
>> WARNING: The initialization function tries to access
>> Value on
>> this instance
>> WARNING: Error: SendFailure (Error writing headers)
>> WARNING: The initialization function tries to access
>> Value on
>> this instance
>> Unable to find version '4.0.30506' of package
>> 'Microsoft.AspNet.Mvc'.
>> Unable to find version '2.0.30506' of package
>> 'Microsoft.AspNet.WebPages'.
>> Unable to find version '2.0.30506' of package
>> 'Microsoft.AspNet.Razor'.
>> /root/lbs-mono/monodevelop-nightly/monodevelop/main/src/addins/AspNet/MonoDevelop.AspNet.csproj:
>> error : Command 'mono
>> ../../../external/nuget-binary/NuGet.exe restore
>> -SolutionDirectory ../../..' exited with code: 1.
>> Task "Exec" execution -- FAILED
>> Done building target "BeforeBuild" in project
>> "/root/lbs-mono/monodevelop-nightly/monodevelop/main/src/addins/AspNet/MonoDevelop.AspNet.csproj".--
>> FAILED
>> Done building project
>> "/root/lbs-mono/monodevelop-nightly/monodevelop/main/src/addins/AspNet/MonoDevelop.AspNet.csproj".--
>> FAILED
>> Task "MSBuild" execution -- FAILED
>> _______________________________________________
>> Monodevelop-list mailing list
>> Monodevelop-list at lists.ximian.com
>> <mailto:Monodevelop-list at lists.ximian.com>
>> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>>
>>
>>
>>
>> _______________________________________________
>> Monodevelop-list mailing list
>> Monodevelop-list at lists.ximian.com <mailto:Monodevelop-list at lists.ximian.com>
>> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> <mailto:Monodevelop-list at lists.ximian.com>
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodevelop-list/attachments/20140707/ec99b4c1/attachment.html>
More information about the Monodevelop-list
mailing list