Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 644660 - net-dns/avahi-0.7 should depend on dev-dotnet/gtk-sharp:2 instead of just dev-dotnet/gtk-sharp
Summary: net-dns/avahi-0.7 should depend on dev-dotnet/gtk-sharp:2 instead of just dev...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-15 16:24 UTC by Tamas Jantvik
Modified: 2019-11-09 16:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tamas Jantvik 2018-01-15 16:24:37 UTC
net-dns/avahi-0.7 should depend on dev-dotnet/gtk-sharp:2 instead of just dev-dotnet/gtk-sharp.

Compilation fails when gtk use flag is enabled (USE:        abi_x86_32 abi_x86_64 amd64 dbus elibc_glibc gdbm gtk gtk3 introspection ipv6 kernel_linux mono nls python python_targets_python2_7 qt4 userland_GNU) and only dev-dotnet/gtk-sharp:3 is installed, with the complaint:
Package gtk-sharp-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk-sharp-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk-sharp-2.0' found.

After doing a
( cd "/usr/portage/net-dns/avahi" && sed -i -E 's@dev-dotnet/gtk-sharp([^:])@dev-dotnet/gtk-sharp:2\1@g' avahi-0.7.ebuild && repoman manifest &> /dev/null )
and emerging again the package installs successfully.
Comment 1 Jack 2019-10-23 00:49:44 UTC
Is this still relevant, as I see ONLY slot 2 for gtk-sharp in portage?
Comment 2 Tamas Jantvik 2019-10-23 05:57:02 UTC
It depends on responsibilities and interests I suppose. The package is still slotted, and dotnet overlay have ebuilds for slots other than 2. So, thinking only about what's in gentoo portage I suppose this is not relevant.
Comment 3 Anthony Basile gentoo-dev 2019-11-09 16:55:17 UTC
(In reply to Tamas Jantvik from comment #2)
> It depends on responsibilities and interests I suppose. The package is still
> slotted, and dotnet overlay have ebuilds for slots other than 2. So,
> thinking only about what's in gentoo portage I suppose this is not relevant.

I assume gtk-sharp is slotted for a reason.  To future proof against possible breakage with gtk-sharp:3 (or whatever the next slot is), I added the slot dep.