⚡ Sangsakala Proxy 🏠 Home
Skip to content

Unable to build on arch #98

Open
Open

Description

@Beyley
Building ./Main.sln
ok=:; msbuild /verbosity:normal /nologo /property:CodePage=65001 /property:RestorePackages=false /property:DownloadPaket=false /property:ReportAnalyzer=true /bl:MonoDevelop.binlog ./Main.sln /property:Configuration=DebugGnome || ok=false; echo @MonkeyWrench: AddFile: $(pwd)/MonoDevelop.binlog; $ok
if test -f "./buildinfo"; then cp "./buildinfo" "./build/bin/buildinfo"; else ./../scripts/configure.sh gen-buildinfo "./build/bin"; fi
Cannot open assembly 'external/nuget-binary/nuget.exe': No such file or directory.
make[2]: *** [Makefile:1007: restore-packages] Error 2
make[2]: *** Waiting for unfinished jobs....
Cloning into '/home/beyley/dotdevelop/main/external/Samsung.Netcoredbg'...
/usr/lib/mono/msbuild/15.0/bin/MSBuild.dll /nologo /bl:MonoDevelop.binlog /property:CodePage=65001 /property:RestorePackages=false /property:DownloadPaket=false /property:ReportAnalyzer=true /property:Configuration=DebugGnome /verbosity:normal ./Main.sln
Building the projects in this solution one at a time. To enable parallel build, please add the "-m" switch.
Build started 12/22/2022 6:39:21 PM.
Updated build information
Release ID: 806000979
Git revision: 0bab871d4231a7aa00637e31329f815842b16da4
Build date: 2022-12-22 18:39:21-08
Project "/home/beyley/dotdevelop/main/Main.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
  Building solution configuration "DebugGnome|Any CPU".
ValidateProjects:
  The project "VersionControl.Subversion.Win32" is not selected for building in solution configuration "DebugGnome|Any CPU".
  The project "VersionControl.Subversion.Win32.Tests" is not selected for building in solution configuration "DebugGnome|Any CPU".
  The project "MacPlatform" is not selected for building in solution configuration "DebugGnome|Any CPU".
  The project "CorApi" is not selected for building in solution configuration "DebugGnome|Any CPU".
  The project "CorApi2" is not selected for building in solution configuration "DebugGnome|Any CPU".
  The project "MonoDevelop.Debugger.Win32" is not selected for building in solution configuration "DebugGnome|Any CPU".
  The project "Core" is not selected for building in solution configuration "DebugGnome|Any CPU".
  The project "Shell" is not selected for building in solution configuration "DebugGnome|Any CPU".
  The project "WindowsPlatform" is not selected for building in solution configuration "DebugGnome|Any CPU".
  The project "Xwt.WPF" is not selected for building in solution configuration "DebugGnome|Any CPU".
  The project "Xwt.Gtk.Mac" is not selected for building in solution configuration "DebugGnome|Any CPU".
  The project "Xwt.Gtk.Windows" is not selected for building in solution configuration "DebugGnome|Any CPU".
  The project "Xwt.XamMac" is not selected for building in solution configuration "DebugGnome|Any CPU".
  The project "MacPlatform.Tests" is not selected for building in solution configuration "DebugGnome|Any CPU".
  The project "WindowsPlatform.Tests" is not selected for building in solution configuration "DebugGnome|Any CPU".
  The project "PerformanceDiagnosticsAddIn" is not selected for building in solution configuration "DebugGnome|Any CPU".
  The project "Mono.Debugging.Win32" is not selected for building in solution configuration "DebugGnome|Any CPU".
  The project "po" is not selected for building in solution configuration "DebugGnome|Any CPU".
  The project "MonoDevelop.AspNetCore.DevCertInstaller" is not selected for building in solution configuration "DebugGnome|Any CPU".
  The project "MonoDevelop.TextEditor.Wpf" is not selected for building in solution configuration "DebugGnome|Any CPU".
  The project "TextUICocoaUtil" is not selected for building in solution configuration "DebugGnome|Any CPU".
/home/beyley/dotdevelop/main/Main.sln.metaproj : warning MSB4121: The project configuration for project "Xamarin.PropertyEditing.Mac" was not specified in the solution file for the solution configuration "DebugGnome|Any CPU". [/home/beyley/dotdevelop/main/Main.sln]
  The project "MonoDevelop.Debugger.Mac" is not selected for building in solution configuration "DebugGnome|Any CPU".
  The project "TextUICocoa" is not selected for building in solution configuration "DebugGnome|Any CPU".
Project "/home/beyley/dotdevelop/main/Main.sln" (1) is building "/home/beyley/dotdevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.csproj.metaproj" (2) on node 1 (default targets).
Project "/home/beyley/dotdevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.csproj.metaproj" (2) is building "/home/beyley/dotdevelop/main/msbuild/MDBuildTasks/MDBuildTasks.csproj" (3) on node 1 (default targets).
PrepareForBuild:
  Creating directory "bin/".
  Creating directory "obj/Debug/net472/".
/usr/lib/mono/msbuild/Current/bin/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(241,5): error NETSDK1004: Assets file '/home/beyley/dotdevelop/main/msbuild/MDBuildTasks/obj/project.assets.json' not found. Run a NuGet package restore to generate this file. [/home/beyley/dotdevelop/main/msbuild/MDBuildTasks/MDBuildTasks.csproj]
Done Building Project "/home/beyley/dotdevelop/main/msbuild/MDBuildTasks/MDBuildTasks.csproj" (default targets) -- FAILED.
Done Building Project "/home/beyley/dotdevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.csproj.metaproj" (default targets) -- FAILED.
Done Building Project "/home/beyley/dotdevelop/main/Main.sln" (default targets) -- FAILED.
Deferred Messages
  
  Detailed Build Summary
  ======================
      
  
  ============================== Build Hierarchy (IDs represent configurations) =====================================================
  Id                  : Exclusive Time   Total Time   Path (Targets)
  -----------------------------------------------------------------------------------------------------------------------------------
  0                   : 0.114s           0.396s       /home/beyley/dotdevelop/main/Main.sln () 
  . 1                 : 0.017s           0.281s       /home/beyley/dotdevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.csproj.metaproj () 
  | . 2               : 0.264s           0.264s       /home/beyley/dotdevelop/main/msbuild/MDBuildTasks/MDBuildTasks.csproj () 
  
  ============================== Node Utilization (IDs represent configurations) ====================================================
  Timestamp:            1        Duration   Cumulative
  -----------------------------------------------------------------------------------------------------------------------------------
  638073599618613210:   0        0.114s     0.114s ..
  638073599619756550:   1        0.011s     0.125s 
  638073599619866680:   2        0.264s     0.389s .....
  638073599622502210:   1        0.008s     0.397s 
  638073599622579210:   0        0.002s     0.399s 
  -----------------------------------------------------------------------------------------------------------------------------------
  Utilization:          100.0    Average Utilization: 100.0

Build FAILED.

"/home/beyley/dotdevelop/main/Main.sln" (default target) (1) ->
(ValidateProjects target) -> 
  /home/beyley/dotdevelop/main/Main.sln.metaproj : warning MSB4121: The project configuration for project "Xamarin.PropertyEditing.Mac" was not specified in the solution file for the solution configuration "DebugGnome|Any CPU". [/home/beyley/dotdevelop/main/Main.sln]


"/home/beyley/dotdevelop/main/Main.sln" (default target) (1) ->
"/home/beyley/dotdevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.csproj.metaproj" (default target) (2) ->
"/home/beyley/dotdevelop/main/msbuild/MDBuildTasks/MDBuildTasks.csproj" (default target) (3) ->
(ResolvePackageAssets target) -> 
  /usr/lib/mono/msbuild/Current/bin/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(241,5): error NETSDK1004: Assets file '/home/beyley/dotdevelop/main/msbuild/MDBuildTasks/obj/project.assets.json' not found. Run a NuGet package restore to generate this file. [/home/beyley/dotdevelop/main/msbuild/MDBuildTasks/MDBuildTasks.csproj]

Activity

  1. Beyley commented on Dec 23, 2022

    @Beyley
    Author

    Tried building again after the failed build and got

      Creating directory "bin/Debug/net472/".
      Creating directory "/home/beyley/dotdevelop/main/external/vs-editor-api/obj/Editor/Text/Impl/BraceCompletion/Debug/net472/".
    /usr/lib/mono/msbuild/Current/bin/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(241,5): error NETSDK1004: Assets file '/home/beyley/dotdevelop/main/external/vs-editor-api/obj/Editor/Text/Impl/BraceCompletion/project.assets.json' not found. Run a NuGet package restore to generate this file. [/home/beyley/dotdevelop/main/external/vs-editor-api/src/Editor/Text/Impl/BraceCompletion/BraceCompletionImpl.csproj]
    Done Building Project "/home/beyley/dotdevelop/main/external/vs-editor-api/src/Editor/Text/Impl/BraceCompletion/BraceCompletionImpl.csproj" (default targets) -- FAILED.
    Project "/home/beyley/dotdevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.csproj" (4) is building "/home/beyley/dotdevelop/main/external/mono-addins/Mono.Addins/Mono.Addins.csproj" (46:2) on node 1 (default targets).
    PrepareForBuild:
      Creating directory "../bin/".
      Creating directory "obj/Debug/".
    /usr/lib/mono/xbuild/Microsoft/NuGet/Microsoft.NuGet.targets(186,5): error : Your project file doesn't list 'win' as a "RuntimeIdentifier". You should add 'win' to the "RuntimeIdentifiers" property in your project file and then re-run NuGet restore. [/home/beyley/dotdevelop/main/external/mono-addins/Mono.Addins/Mono.Addins.csproj]
    Done Building Project "/home/beyley/dotdevelop/main/external/mono-addins/Mono.Addins/Mono.Addins.csproj" (default targets) -- FAILED.
    Project "/home/beyley/dotdevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.csproj" (4) is building "/home/beyley/dotdevelop/main/external/mono-addins/Mono.Addins.Setup/Mono.Addins.Setup.csproj" (47:2) on node 1 (default targets).
    PrepareForBuild:
      Creating directory "obj/Debug/".
    Done Building Project "/home/beyley/dotdevelop/main/external/mono-addins/Mono.Addins.Setup/Mono.Addins.Setup.csproj" (default targets) -- FAILED.
    Done Building Project "/home/beyley/dotdevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.csproj" (default targets) -- FAILED.
    Done Building Project "/home/beyley/dotdevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.csproj.metaproj" (default targets) -- FAILED.
    Done Building Project "/home/beyley/dotdevelop/main/Main.sln" (default targets) -- FAILED.
    Deferred Messages
    
  2. hwthomas commented on Dec 23, 2022

    @hwthomas
    Collaborator

    The errors that you get have don't immediately look familiar.

    The instructions for building on Arch were updated a few weeks ago, and have been tested on a clean installation of Manjaro (see https://github.com/dotdevelop/dotdevelop/wiki/Manjaro-%28Arch%29).
    Can you check that you have all the pre-requisites installed, and report on the various versions (dotnet, mono, msbuild, etc) that you get?

  3. Beyley commented on Dec 23, 2022

    @Beyley
    Author

    The errors that you get have don't immediately look familiar.

    The instructions for building on Arch were updated a few weeks ago, and have been tested on a clean installation of Manjaro (see https://github.com/dotdevelop/dotdevelop/wiki/Manjaro-%28Arch%29). Can you check that you have all the pre-requisites installed, and report on the various versions (dotnet, mono, msbuild, etc) that you get?

    Same problem when i install everything in that wiki page

  4. Beyley commented on Dec 23, 2022

    @Beyley
    Author

    DOH that build problem was from me building with -j48, if i omit the job count i get further

    "/home/beyley/dotdevelop/main/Main.sln" (default target) (1) ->
    "/home/beyley/dotdevelop/main/src/addins/MonoDevelop.UnitTesting.NUnit/NUnitRunner/NUnitRunner.csproj" (default target) (101) ->
    (_DownloadNupkgIfNeeded target) -> 
      DOWNLOADNUPKG : Ssl error : 1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED [/home/beyley/dotdevelop/main/src/addins/MonoDevelop.UnitTesting.NUnit/NUnitRunner/NUnitRunner.csproj]
      DOWNLOADNUPKG : Ssl error : 1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED [/home/beyley/dotdevelop/main/src/addins/MonoDevelop.UnitTesting.NUnit/NUnitRunner/NUnitRunner.csproj]
      DOWNLOADNUPKG : Ssl error : 1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED [/home/beyley/dotdevelop/main/src/addins/MonoDevelop.UnitTesting.NUnit/NUnitRunner/NUnitRunner.csproj]
      DOWNLOADNUPKG : Ssl error : 1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED [/home/beyley/dotdevelop/main/src/addins/MonoDevelop.UnitTesting.NUnit/NUnitRunner/NUnitRunner.csproj]
      DOWNLOADNUPKG : Ssl error : 1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED [/home/beyley/dotdevelop/main/src/addins/MonoDevelop.UnitTesting.NUnit/NUnitRunner/NUnitRunner.csproj]
      DOWNLOADNUPKG : Ssl error : 1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED [/home/beyley/dotdevelop/main/src/addins/MonoDevelop.UnitTesting.NUnit/NUnitRunner/NUnitRunner.csproj]
      DOWNLOADNUPKG : Ssl error : 1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED [/home/beyley/dotdevelop/main/src/addins/MonoDevelop.UnitTesting.NUnit/NUnitRunner/NUnitRunner.csproj]
      DOWNLOADNUPKG : Ssl error : 1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED [/home/beyley/dotdevelop/main/src/addins/MonoDevelop.UnitTesting.NUnit/NUnitRunner/NUnitRunner.csproj]
      DOWNLOADNUPKG : Ssl error : 1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED [/home/beyley/dotdevelop/main/src/addins/MonoDevelop.UnitTesting.NUnit/NUnitRunner/NUnitRunner.csproj]
      DOWNLOADNUPKG : Ssl error : 1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED [/home/beyley/dotdevelop/main/src/addins/MonoDevelop.UnitTesting.NUnit/NUnitRunner/NUnitRunner.csproj]
    
  5. hwthomas commented on Dec 24, 2022

    @hwthomas
    Collaborator

    The OPENSSL_internal errors often occur when running the CI workflow on github, and generally go away if the workflow is re-run immediately. I've asked, but had no answers as to why this may be.

    On my own Arch system, they've never occurred. I've got both openssl-1.0 and openssl (v3.0.7) from the Official Repositories (core) installed, wnich may be worth a try.

  6. hwthomas commented on Jan 16, 2023

    @hwthomas
    Collaborator

    @Beyley - are you able to close this yet?

  7. Mailaender commented on Dec 17, 2023

    @Mailaender

    I am able to build on Arch with revision 7dc1f75.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions