New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #18572 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

mono-addins - unable to install due to monodoc-2.0 being required but does not build

Reported by: stephen@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: monodoc

Description (last modified by macsforever2000@…) (diff)

The actual error is documented below, the issue appears to come from the fact monodoc is now include on mono 2.2 (see url to bug in novell's database).

To reproduce use:

sudo port install mono
sudo port install automake
sudo port install pango +no_x11
sudo port install gtk2 +quartz
sudo port install gtk-sharp2

Then to get the actual issue:

sh-3.2# port install mono-addins
--->  Building monodoc
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_monodoc/work/monodoc-2.0" && make all " returned error 2
Command output: Making all in engine
make[1]: Nothing to be done for `all'.
Making all in class
make[1]: Nothing to be done for `all'.
Making all in extras
make[1]: Nothing to be done for `all'.
Making all in tools
gmcs -debug ./monodocer.cs -out:monodocer.exe -r:Mono.GetOptions
./monodocer.cs(910,41): warning CS0642: Possible mistaken empty statement
./monodocer.cs(29,96): error CS0122: `Mono.Documentation.Updater.DocsTypeInfo' is inaccessible due to its protection level
./monodocer.cs(628,15): (Location of the symbol related to previous error)
./monodocer.cs(29,57): error CS0234: The type or namespace name `IEnumerable`1' does not exist in the namespace `System.Collections.Generic'. Are you missing an assembly reference?
./monodocer.cs(28,96): error CS0122: `Mono.Documentation.Updater.DocsNodeInfo' is inaccessible due to its protection level
./monodocer.cs(2443,15): (Location of the symbol related to previous error)
./monodocer.cs(28,57): error CS0234: The type or namespace name `IEnumerable`1' does not exist in the namespace `System.Collections.Generic'. Are you missing an assembly reference?
./monodocer.cs(71,23): warning CS0618: `Mono.GetOptions.Options' is obsolete: `This class is being obsoleted, we suggest that you use NDesk.Options library instead (ndesk.org/options'
Compilation failed: 4 error(s), 2 warnings
make[1]: *** [monodocer.exe] Error 1
make: *** [all-recursive] Error 1

Error: The following dependencies failed to build: gtk-sharp2 monodoc
Error: Status 1 encountered during processing.

The crux of the issue is documented here;

ref: https://bugzilla.novell.com/show_bug.cgi?id=466209

Change History

comment:1 Changed 4 years ago by macsforever2000@…

  • Description modified (diff)
  • Port set to monodoc

comment:2 Changed 4 years ago by raimue@…

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r48832.

comment:3 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.