Summary: | dev-lang/fsharp-4.0.0.4 : nuget/NuGet.exe restore packages.config -PackagesDirectory packages' exited with code: 1. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | dotnet project <dotnet> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | bdouxx-gentoo, kokokostation, masanori.ogino, ms+gentoo, piotr.zierhoffer |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
dev-lang:fsharp-4.0.0.4:20151030-003803.log
emerge-history.txt environment |
Description
Toralf Förster
2015-10-30 08:57:12 UTC
Created attachment 415742 [details]
dev-lang:fsharp-4.0.0.4:20151030-003803.log
Created attachment 415744 [details]
emerge-history.txt
Created attachment 415746 [details]
environment
*** Bug 576676 has been marked as a duplicate of this bug. *** fixed Builds still fail with =dev-lang/mono-4.4.0.148 and =dev-lang/fsharp-4.0.1.1 on my machine. Log: Target BeforeBuild: Executing: mono --runtime=v4.0.30319 /var/tmp/portage/dev-lang/fsharp-4.0.1.1/work/fsharp-4.0.1.1/src/fsharp/FSharp.Build-proto/../../../.nuget/NuGet.exe restore packages.config -PackagesDirectory packages -ConfigFile /var/tmp/portage/dev-lang/fsharp-4.0.1.1/work/fsharp-4.0.1.1/src/fsharp/FSharp.Build-proto/../../../.nuget/NuGet.Config WARNING: Error: TrustFailure (The authentication or decryption has failed.) WARNING: Error: TrustFailure (The authentication or decryption has failed.) WARNING: Error: TrustFailure (The authentication or decryption has failed.) WARNING: Error: TrustFailure (The authentication or decryption has failed.) WARNING: Error: TrustFailure (The authentication or decryption has failed.) WARNING: Error: TrustFailure (The authentication or decryption has failed.) WARNING: Error: TrustFailure (The authentication or decryption has failed.) WARNING: Error: TrustFailure (The authentication or decryption has failed.) WARNING: Error: TrustFailure (The authentication or decryption has failed.) WARNING: Error: TrustFailure (The authentication or decryption has failed.) WARNING: Error: TrustFailure (The authentication or decryption has failed.) WARNING: Error: TrustFailure (The authentication or decryption has failed.) WARNING: Error: TrustFailure (The authentication or decryption has failed.) WARNING: Error: TrustFailure (The authentication or decryption has failed.) Unable to find version '2.0.3' of package 'FsCheck'. Unable to find version '2.6.4' of package 'NUnit.Runners'. Unable to find version '3.0.0' of package 'NUnit'. Unable to find version '3.0.0' of package 'NUnit.Console'. WARNING: Error: TrustFailure (The authentication or decryption has failed.) WARNING: Error: TrustFailure (The authentication or decryption has failed.) /var/tmp/portage/dev-lang/fsharp-4.0.1.1/work/fsharp-4.0.1.1/src/FSharpSource.targets: error : Command 'mono --runtime=v4.0.30319 /var/tmp/portage/dev-lang/fsharp-4.0.1.1/work/fsharp-4.0.1.1/src/fsharp/FSharp.Build-proto/../../../.nuget/NuGet.exe restore packages.config -PackagesDirectory packages -ConfigFile /var/tmp/portage/dev-lang/fsharp-4.0.1.1/work/fsharp-4.0.1.1/src/fsharp/FSharp.Build-proto/../../../.nuget/NuGet.Config' exited with code: 1. Task "Exec" execution -- FAILED Done building target "BeforeBuild" in project "/var/tmp/portage/dev-lang/fsharp-4.0.1.1/work/fsharp-4.0.1.1/src/fsharp/FSharp.Build-proto/FSharp.Build-proto.fsproj".-- FAILED Done building project "/var/tmp/portage/dev-lang/fsharp-4.0.1.1/work/fsharp-4.0.1.1/src/fsharp/FSharp.Build-proto/FSharp.Build-proto.fsproj".-- FAILED Build FAILED. It seems an error related to certificates (described in https://docs.nuget.org/contribute/setting-up-the-nuget-development-environment, "Import Trusted Root Certificates" section,) though executing `mozroots --sync --import` fails with a "Couldn't retrieve the file using the supplied information" error. It is an error on the same command but the detail slightly differs. Should I open another bug? (In reply to OGINO Masanori from comment #6) Hi I think it's an other bug Due to modification in mozilla : https://bugzilla.mozilla.org/show_bug.cgi?id=1279952 mono need to make some change https://github.com/akoeplinger/mono/commit/09eb0d085af056ce4588c1a72331dedca64ced5f to solve it, in order to install nuget 2.8.7 ( looks to be the last in 2.8) I need to only replace in nugget ebuild pkg_setup() { dotnet_pkg_setup mozroots --import --sync --machine } with pkg_setup() { dotnet_pkg_setup mkdir -p /usr/share/.mono/keypairs mozroots --import --sync --machine --url "http://hg.mozilla.org/releases/mozilla-release/raw-file/default/security/nss/lib/ckfw/builtins/certdata.txt" } it's not a good patch, but it's work... After a google search, mozroots is deprecated and we need to use cert-sync instead. add in DEPEND variable : app-misc/ca-certificates and replace with pkg_setup() { dotnet_pkg_setup mkdir -p /usr/share/.mono/keypairs cert-sync /etc/ssl/certs/ca-certificates.crt } I don't known all impact of certificates, so somebody more competent may analyze this. (In reply to bdouxx from comment #7) Sorry my comment is in order to install nuget ebuild... but the error seem to be the same. (In reply to bdouxx from comment #8) It seems that the latest ebuild (nuget-2.8.7-r1.ebuild) already contains the changes you propose: DEPEND=">=dev-lang/mono-3.2.3 <=dev-dotnet/xdt-for-monodevelop-2.8.2 !dev-dotnet/nuget-codeplex app-misc/ca-certificates" RDEPEND="${DEPEND}" pkg_setup() { addwrite "/usr/share/.mono/keypairs" dotnet_pkg_setup cert-sync /etc/ssl/certs/ca-certificates.crt } I also used the moz-certs workaround you mentioned, but the error persists for fsharp-4.0.1.1::gentoo and for fsharp-4.0.1.1::dotnet (from the dotnet overlay). please retry with 4.1.18 |