Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

doesn't build / binaries don't work #9674

Open
ghost opened this issue Mar 31, 2021 · 5 comments
Open

doesn't build / binaries don't work #9674

ghost opened this issue Mar 31, 2021 · 5 comments

Comments

@ghost
Copy link

ghost commented Mar 31, 2021

tried: binaries..........Failed
tried: build...............Failed

alternatives:
go............................Nope
rust..........................Nope
c++..........................Nope
visual studio............I'm seeing this pattern with stuff not working anymore ever since the xamarin / microsoft merger so nope.
Emacs.....................Nope, don't want faux intellisense want monodevelop or visual studio.

Guess I'm retiring here guys thanks for everything.

DO NOT respond to this ticket and say that you don't know what the problem is go try any one of the acceptable options (binaries avail on monodevelop.com, or just frankly try
git cloning it and compiling it, whatever mono packages you need whatever distro none of its any good anymore just delete it.

@lextm
Copy link

lextm commented Apr 1, 2021

"DO NOT respond to this ticket"? This is an open source project, not a commercial product from Microsoft, so what you wrote above isn't a "support ticket", and Microsoft is unlikely to respond.

Check out https://github.com/dotdevelop/dotdevelop, where the latest code base can compile on major Linux distributions. Its CI steps are what you can follow.

@ghost
Copy link
Author

ghost commented Apr 3, 2021

ok fair I didn't know that "dotdevelop was a thing" but

  • it still doesn't build for me
  • I ... dude... I don't want to even compile it let alone read howto. My point was more that it used to be an outlet for me to interface with the language C# and actually build things that interface with the real world. I don't wanna learn go I don't wanna learn rust I don't care about intellij idea or goland or spacemacs I already know I don't want to (learn) use them because I already know C#

So I kinda made do with this:
docker run -it --rm -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY -u $(id -u) -v $PWD:/home/toor --workdir /home/toor --dns 4.2.2.2 -e HOME=/home/toor monodevelop but this is sad and as I'm sure as you can imagine still broken (tab indentation on anonymous functions is broken and it randomly crashes.) But OK so dotdevelop so like why are there not like just suse packages since it isn't trivial to build? Nobody has yet? I can make travis-ci run docker containers last I checked would it be beneficial to have build automation? Seems like it should be but I don't who cares if I'm the only one complaining, I don't want to learn another language though just for the fuck of it and I'd sooner just settle for writing PHP or Python but TBH PHP is at least consistently usable for me since 5.

Sad choices I know but understand from my perspective go and rust are both bullshit, what little margin they have for solving problems that C# can't solve is so inconsequential, they offer less structure simply because using a more structured language like C# or LINQ the "right" way is a steeper learning curve (great so throw a bunch of shit into files, call files classes modules, or cargo or whatever, maybe use them interchangeably like you would a namespace, and oh introduce the concept of a "public namespace for the hell of it) it just pisses me off, literally nobody in my situation would use C# to be creative the way that I would like to, all of the people in my life who code use go or rust which is evidently better for reasons that I just can't understand.

but yet here I am trying to use (compile) an IDE and I'm the only one who thinks its a little suspicious that nobody really seems to care like this, also, what a joke rust and go programmers (println debuggers) lol, I don't know though joke must be on me...

@ghost
Copy link
Author

ghost commented Apr 4, 2021

Another thing i was gonna say, I did get farther with the compile but there's so many external dependencies, building with the gnome profile...
build.log

attached build log but the error seems specific to mac sdks (gnome profile?)

toor@linux-u55l:~/dotdevelop> uname -a (main|…) Linux linux-u55l 5.12.0-rc4-lp152.66-custom+ #1 SMP PREEMPT Fri Mar 26 00:03:09 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux

Build FAILED.

"/home/toor/dotdevelop/main/Main.sln" (default target) (1) ->
(ValidateProjects target) -> 
  /home/toor/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/toor/dotdevelop/main/Main.sln]


"/home/toor/dotdevelop/main/Main.sln" (default target) (1) ->
"/home/toor/dotdevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.csproj.metaproj" (defaul
t target) (2) ->
"/home/toor/dotdevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.csproj" (default target)
 (4) ->
"/home/toor/dotdevelop/main/external/vs-editor-api/src/Editor/Text/Impl/BraceCompletion/BraceCo
mpletionImpl.csproj" (GetTargetFrameworks target) (45) ->
  /home/toor/dotdevelop/main/external/vs-editor-api/src/Editor/Text/Impl/BraceCompletion/BraceC
ompletionImpl.csproj(55,67): error MSB4236: The SDK 'Xamarin.Mac.Sdk' specified could not be fo
und.

    1 Warning(s)
    1 Error(s)

Time Elapsed 00:00:03.63

config.make

toor@linux-u55l:~/dotdevelop> grep "." config.make                                               (main|…)
PROFILE = gnome
SUBDIRS = \
        main
prefix=/usr/local

looking at the error closer

 project "Xamarin.PropertyEditing.Mac" was not specified in the solution file for the solution 
configuration "DebugGnome|Any CPU". [/home/toor/dotdevelop/main/Main.sln]

but if this isn't specified..

main/Main.sln:Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Xamarin.PropertyEditing.Mac", "external\Xamarin.PropertyEditing\Xamarin.PropertyEditing.Mac\Xamarin.PropertyEditing.Mac.csproj", "{E8F4F0EB-C2B1-4116-8459-E076E0E0E485}"

removed from main:

uild FAILED.

"/home/toor/dotdevelop/main/Main.sln" (default target) (1) ->
"/home/toor/dotdevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.csproj.metaproj" (default target) (2) ->
"/home/toor/dotdevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.csproj" (default target) (4) ->
"/home/toor/dotdevelop/main/external/vs-editor-api/src/Editor/Text/Impl/BraceCompletion/BraceCompletionImpl.csproj" (GetTargetFrameworks target) (45) ->
  /home/toor/dotdevelop/main/external/vs-editor-api/src/Editor/Text/Impl/BraceCompletion/BraceCompletionImpl.csproj(55,67): error MSB4236: The SDK 'Xamarin.Mac.Sdk' specified could not be found.

then a few others and

"/home/toor/dotdevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.csproj" (default target) (48) ->
(CoreCompile target) -> 
  /usr/lib/mono/msbuild/Current/bin/Roslyn/Microsoft.CSharp.Core.targets(59,5): error MSB3105: The item "MonoDevelop.Ide.Editor.Highlighting/RoslynClassificationHighlighting.cs" was specified more than once in the "Sources" parameter.  Duplicate items are not supported by the "Sources" parameter. [/home/toor/dotdevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.csproj]


"/home/toor/dotdevelop/main/Main.sln" (default target) (1) ->
"/home/toor/dotdevelop/main/external/fsharpbinding/MonoDevelop.FSharpBinding/MonoDevelop.FSharp.fsproj" (default target) (123) ->
  /home/toor/dotdevelop/main/external/fsharpbinding/MonoDevelop.FSharpBinding/MonoDevelop.FSharp.fsproj(29,3): error MSB4019: The imported project "/usr/lib/mono/xbuild/Microsoft/VisualStudio/v16.0/FSharp/Microsoft.FSharp.Targets" was not found. Confirm that the expression in the Import declaration "/usr/lib/mono/xbuild/Microsoft/VisualStudio/v16.0/FSharp/Microsoft.FSharp.Targets" is correct, and that the file exists on disk.


"/home/toor/dotdevelop/main/Main.sln" (default target) (1) ->
"/home/toor/dotdevelop/main/external/fsharpbinding/MonoDevelop.FSharp.Shared/MonoDevelop.FSharp.Shared.fsproj" (default target) (124) ->
  /home/toor/dotdevelop/main/external/fsharpbinding/MonoDevelop.FSharp.Shared/MonoDevelop.FSharp.Shared.fsproj(37,3): error MSB4019: The imported project "/usr/lib/mono/xbuild/Microsoft/VisualStudio/v16.0/FSharp/Microsoft.FSharp.Targets" was not found. Confirm that the expression in the Import declaration "/usr/lib/mono/xbuild/Microsoft/VisualStudio/v16.0/FSharp/Microsoft.FSharp.Targets" is correct, and that the file exists on disk.


"/home/toor/dotdevelop/main/Main.sln" (default target) (1) ->
"/home/toor/dotdevelop/main/external/fsharpbinding/MonoDevelop.FSharpi.Service/MonoDevelop.FSharpInteractive.Service.fsproj" (default target) (126) ->
  /home/toor/dotdevelop/main/external/fsharpbinding/MonoDevelop.FSharpi.Service/MonoDevelop.FSharpInteractive.Service.fsproj(50,3): error MSB4019: The imported project "/usr/lib/mono/xbuild/Microsoft/VisualStudio/v16.0/FSharp/Microsoft.FSharp.Targets" was not found. Confirm that the expression in the Import declaration "/usr/lib/mono/xbuild/Microsoft/VisualStudio/v16.0/FSharp/Microsoft.FSharp.Targets" is correct, and that the file exists on disk.


"/home/toor/dotdevelop/main/Main.sln" (default target) (1) ->
"/home/toor/dotdevelop/main/external/fsharpbinding/MonoDevelop.FSharp.Tests/MonoDevelop.FSharp.Tests.fsproj" (default target) (127) ->
  /home/toor/dotdevelop/main/external/fsharpbinding/MonoDevelop.FSharp.Tests/MonoDevelop.FSharp.Tests.fsproj(77,3): error MSB4019: The imported project "/usr/lib/mono/xbuild/Microsoft/VisualStudio/v16.0/FSharp/Microsoft.FSharp.Targets" was not found. Confirm that the expression in the Import declaration "/usr/lib/mono/xbuild/Microsoft/VisualStudio/v16.0/FSharp/Microsoft.FSharp.Targets" is correct, and that the file exists on disk.

    383 Warning(s)
    5 Error(s)

Time Elapsed 00:00:50.00
@MonkeyWrench: AddFile: /home/toor/dotdevelop/main/MonoDevelop.binlog
make[2]: *** [Makefile:974: sln_build] Error 1
make[2]: Leaving directory '/home/toor/dotdevelop/main'
make[1]: *** [Makefile:545: all-recursive] Error 1
make[1]: Leaving directory '/home/toor/dotdevelop/main'
make: *** [Makefile:54: all-recursive] Error 1

more xbuild stuff... and just general wrongness, cant even make clean

@ghost
Copy link
Author

ghost commented Apr 4, 2021

cat full_Apr_21.txt | grep " Telnet: "  | awk '{print $2}' | tr ':' ' ' | tr -d "\r" | awk '{if($2 == "") { print $1" 23"; }}' | shuf | parallel --colsep=" " -j10 echo -ne '"\xff\xfa\x2a\x01\x3b\x55\x54\x46\x2d\x38\x3b\x49\x53\x4f\x2d\x38\x38\x35\x39\x2d\x31\xff\xf0"' '|' timeout 10 nc -t {1} {2} '2>' /dev/null '|' iconv -t UTF-8 -f cp437 ';' yes \$\(echo -ne '"\\033[0A\\033[0B"'\) '|' head -n 300 '|' tr -d "'\n'" ';' yes \$\(echo -ne '"\\033[0B"'\) '|' head -n 10 | pv -q -L 1200

I mean I really would just rather stick to solving real problems that way if building dotdevelop has to be this perilous. And, the number of external dependencies is really discouraging. I don't know if they're locked or if that's some brilliant attempt to apply continuous integration to a project that people are obviously doing the up keep for

image

@lextm
Copy link

lextm commented Apr 4, 2021

This repo is out of maintenance (or dead), and I covered more background in https://blog.lextudio.com/the-end-of-monodevelop-80b383dab34b . So wishing to use its prebuilt binaries or compile from code is doomed to be difficult (unless you are quite familiar with the code base).

dotdevelop is a community initiative to revive the code base at least for Linux and like I said, only enabling the code to compile on certain Linux distributions. Again if you are not quite familiar with Linux and the code base yet, it will be a long way to go and have your first successful build of the code. You might get some help from dotdevelop repo or Discord channel, but not here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant