#37 Makefile:4125: recipe for target 'bin/Release_Translated/ocm-gtk.exe' failed

v1.0_(example)
open
nobody
CS1705 (1)
1
3 days ago
2014-03-09
Dragonlord
No

Building opencachemanager fails with the below error message.
Package details to be found here: https://aur.archlinux.org/packages/opencachemanager/

==> opencachemanager dependencies:
- gnome-sharp (already installed)
- gpsbabel (already installed)
- mono (already installed)
- ndesk-dbus-glib (already installed)
- shared-mime-info (already installed)
- webkit-sharp (already installed)
- desktop-file-utils (already installed)

error CS1705: Assembly gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' referencesMono.Cairo, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' which has a higher version number than imported assembly Mono.Cairo, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' ./Application/Printing/CachePrinter.cs(204,40): error CS0012: The typeCairo.Context' is defined in an assembly that is not referenced. Consider adding a reference to assembly Mono.Cairo, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' /usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gtk-sharp.dll (Location of the symbol related to previous error) ./Application/Printing/CachePrinter.cs(204,40): error CS0029: Cannot implicitly convert typeCairo.Context [Mono.Cairo, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756]' to `Cairo.Context [Mono.Cairo, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756]'
Compilation failed: 3 error(s), 0 warnings
Makefile:4125: recipe for target 'bin/Release_Translated/ocm-gtk.exe' failed
make[1]: [bin/Release_Translated/ocm-gtk.exe] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-fabdo/aur-opencachemanager/src/opencachemanager-1.0.14/ocm-gtk'
Makefile:242: recipe for target 'all-recursive' failed
make:
[all-recursive] Error 1
==> ERROR: Makepkg was unable to build opencachemanager.

Discussion

  • Dragonlord
    Dragonlord
    2014-05-25

    Getting the same errors when building v1.0.15

    usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/pango-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/atk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gdk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gtk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glib-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glib-sharp.dll -r:/usr/lib/mono/gtk-sharp-2.0/gconf-sharp.dll -r:/usr/lib/mono/ndesk-dbus-1.0/NDesk.DBus.dll -r:/usr/lib/mono/ndesk-dbus-glib-1.0/NDesk.DBus.GLib.dll -r:/usr/lib/mono/ndesk-dbus-1.0/NDesk.DBus.dll -r:System.Web -r:Mono.Cairo -r:../ocmengine/bin/Release_Translated/ocmengine.dll
    error CS1705: Assembly gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' referencesMono.Cairo, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' which has a higher version number than imported assembly Mono.Cairo, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' ./Application/Printing/CachePrinter.cs(204,40): error CS0012: The typeCairo.Context' is defined in an assembly that is not referenced. Consider adding a reference to assembly Mono.Cairo, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' /usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gtk-sharp.dll (Location of the symbol related to previous error) ./Application/Printing/CachePrinter.cs(204,40): error CS0029: Cannot implicitly convert typeCairo.Context [Mono.Cairo, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756]' to `Cairo.Context [Mono.Cairo, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756]'
    Compilation failed: 3 error(s), 0 warnings
    Makefile:4125: recipe for target 'bin/Release_Translated/ocm-gtk.exe' failed
    make[1]: [bin/Release_Translated/ocm-gtk.exe] Error 1
    make[1]: Leaving directory '/build/opencachemanager/src/opencachemanager-1.0.15/ocm-gtk'
    Makefile:242: recipe for target 'all-recursive' failed
    make:
    [all-recursive] Error 1

    Any chance to get this fixed?
    Thanks!

     

  • Anonymous
    2014-07-05

    Post awaiting moderation.

  • Anonymous
    2014-07-30

    Post awaiting moderation.


Anonymous


Cancel   Add attachments