Ambiguous calls when building with mono / linux

Hi there,

I’m trying to build sonarr using mono on Ubuntu, and I’m encountering some strange errors. Anyone give me a pointer in the right direction?

Logs here: https://gist.github.com/datashaman/b0480f82559b38823f5a

Thanks!

You need mono 3.10 or later. Also why compile it yourself? We have a debian compatible package already.

Thanks, I’ll investigate the version. I’ve forked the repo to workon a put.io extension, can’t do that without compiling the source. :slight_smile:

Can you share how that debian binary is built? I’ve tried using debuild, dh_*, nothing works. I assume there’s a script somewhere outside the repo that does this.

build.sh should do it all for you. Others have had success with MonoDevelop.

Our releases are all built on Windows.

That is the output of running build.sh.

I’m pretty sure you can’t build the Debian versions on Windows. There is a debian/ folder with the usual packaging stuff in it.

What is the command-line you use to create the packaged .deb file?

A debian package is just a wrapper around the content inside, similar to a zip. The builds are all done on Windows, the debian package is created on a Ubuntu VM, but is separate from the compilation.

What is the command-line to create the DEB file in the VM?
What versions of mono etc are on the VM?
What version of Ubuntu is it?
Do you have a provisioning script for the VM that you can share?

All I want is to be able to reproduce your build on Ubuntu. It would be great if you could give me the exact steps you follow to do so.

What is the actual issue? It started as failing to build under mono, but now you want to create a debian package (which would be used for distribution).

  • As I said, we don’t build Sonarr on Ubuntu, so the mono version is irrelevant, its probably 4.1 or 4.2 though
  • Ubuntu 14.04 I believe.
  • No provisioning script