Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 573520

Summary: dev-dotnet/gtk-sharp fails due to wrong mono-cairo version
Product: Gentoo Linux Reporter: tux_mind <tuxmind.bug>
Component: [OLD] Core systemAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal Keywords: PMASKED
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=769041
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge info

Description tux_mind 2016-01-31 18:05:12 UTC
Created attachment 424348 [details]
emerge info

hi all, emerging gtk-sharp ( as part of a world update ) will fail on my system.

the error is the following:

```
error CS1705: Assembly `gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f' references `Mono.Cairo, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' which has higher version number than imported assembly `Mono.Cairo, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'
```

running `pkg-config --libs mono-cairo`
gives `-r:/usr/lib64/pkgconfig/../../lib64/mono/2.0/Mono.Cairo.dll`.

I worked around by temporarily changing `2.0` to `4.0` in `/usr/lib/pkgconfig/mono-cairo.pc`.

I hopes this helps :)
Comment 1 Larry the Git Cow gentoo-dev 2021-05-23 12:36:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab7fb81441611777b70102b20272c068cb2b9669

commit ab7fb81441611777b70102b20272c068cb2b9669
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-05-23 12:35:43 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-05-23 12:35:43 +0000

    dev-dotnet/gtk-sharp: Remove last-rited pkg
    
    Closes: https://bugs.gentoo.org/769041
    Closes: https://bugs.gentoo.org/509398
    Closes: https://bugs.gentoo.org/645786
    Closes: https://bugs.gentoo.org/509396
    Closes: https://bugs.gentoo.org/643048
    Closes: https://bugs.gentoo.org/573520
    Closes: https://bugs.gentoo.org/659422
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 dev-dotnet/gtk-sharp/Manifest                      |  1 -
 .../gtk-sharp-2.12.21-mono-ambiguous-range.patch   | 15 ------
 dev-dotnet/gtk-sharp/gtk-sharp-2.12.21.ebuild      | 62 ----------------------
 dev-dotnet/gtk-sharp/metadata.xml                  |  5 --
 profiles/package.mask                              |  8 ---
 5 files changed, 91 deletions(-)