Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 471264 - sci-geosciences/googleearth-7.1.1.1580 should not unconditionally depend on sys-auth/nss-mdns
Summary: sci-geosciences/googleearth-7.1.1.1580 should not unconditionally depend on s...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Julian Ospald
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-25 18:43 UTC by Sven Müller
Modified: 2013-05-31 19:29 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 Sven Müller 2013-05-25 18:43:44 UTC
Except of systemd I would like to prefer a Lennart-free Gentoo. I don't have any Usage for Zeroconf/Avahi. For googleearth-7.1.1.1580 this is a mandatory dependency in the ebuild. 

...
RDEPEND="
        dev-libs/glib:2
        dev-libs/nspr
        media-libs/fontconfig
        media-libs/freetype
        net-misc/curl
        sys-auth/nss-mdns
 ...




emerge -1pu googleearth

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    #] sys-libs/gdbm-1.10  USE="berkdb -exporter -static-libs" 
[ebuild   R    ] dev-lang/python-2.7.4  USE="gdbm*" 
[ebuild  N     ] dev-libs/libdaemon-0.14-r1  USE="doc -examples -static-libs" 
[ebuild  N    #] net-dns/avahi-0.6.31-r1  USE="dbus doc gtk introspection python qt4 -autoipd -bookmarks -gdbm -gtk3 -howl-compat -ipv6 -mdnsresponder-compat -mono {-test} -utils" 
[ebuild  N    #] sys-auth/nss-mdns-0.10-r1  USE="-search-domains" 
[ebuild     U  ] sci-geosciences/googleearth-7.1.1.1580 [7.0.3.8542] USE="-bundled-libs%" 

The following mask changes are necessary to proceed:
 (see "package.unmask" in the portage(5) man page for more details)
# required by sys-auth/nss-mdns-0.10-r1
# required by sci-geosciences/googleearth-7.1.1.1580
# required by @selected
# required by @world (argument)
# /etc/portage/package.mask/unwanted.mask:
=net-dns/avahi-0.6.31-r1
# required by dev-lang/python-2.7.4[gdbm,-build]
# required by net-dns/avahi-0.6.31-r1[python]
# required by sys-auth/nss-mdns-0.10-r1
# required by sci-geosciences/googleearth-7.1.1.1580
# required by @selected
# required by @world (argument)
# /etc/portage/package.mask/unwanted.mask:
=sys-libs/gdbm-1.10
# required by sci-geosciences/googleearth-7.1.1.1580
# required by @selected
# required by @world (argument)
# /etc/portage/package.mask/unwanted.mask:
=sys-auth/nss-mdns-0.10-r1

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by net-dns/avahi-0.6.31-r1[python]
# required by sys-auth/nss-mdns-0.10-r1
# required by sci-geosciences/googleearth-7.1.1.1580
# required by @selected
# required by @world (argument)
>=dev-lang/python-2.7.4:2.7 gdbm

NOTE: The --autounmask-keep-masks option will prevent emerge
      from creating package.unmask or ** keyword changes.

I put into /etc/portage/profile/package.provided:
sys-auth/nss-mdns-0.10-r1

Googleearth installs fine and seems to run without any problems. 

So please recheck, if this dependency (nss-mdns) is really really really necessary and remove it or make it optional. 

Tested on amd64 and x86.

Reproducible: Always
Comment 1 Martin Väth 2013-05-25 19:33:20 UTC
If there should be really no way to avoid nss-mdns, please add a USE-Flag to the nss-mdns ebuild which allows to build only the nss-mdns libraries without pulling in avahi: Using --enable-legacy instead of --enable-avahi in the econf of nss-mdns does the trick.
Comment 2 Julian Ospald 2013-05-31 19:29:55 UTC
+  31 May 2013; Julian Ospald <hasufell@gentoo.org>
+  googleearth-7.1.1.1580.ebuild:
+  remove sys-auth/nss-mdns from deps wrt #471264