Currently, mdns ignores the "multilib" use flag and doesn't seem to build 32-bit versions of its libraries. This results in 32-bit apps failing name resolution in the event that your /etc/nsswitch.conf includes mdns4 or mdns4_minimal prior to "dns", which just happens to be the case in the default configuration. My guess is the correct way to solve this is to pay attention to the "multilib" flag, and when it appears build a 32-bit version of the mdns libraries as well. Reproducible: Always Steps to Reproduce: 1. emerge nss-mdns. 2. emerge mozilla-firefox-bin (32-bit binary). 3. Launch mozilla. 4. Browse web using an IP (it works!) 5. Browse web using a hostname (i.e. "http://gentoo.org/") Actual Results: Firefox will report that the host could not be found. Expected Results: Firefox successfully finds the host and browses the web page.
Yah, maybe when Bug 145737 is fixed... :)
Yes, I would also like to see this. Actually it kept me almost a year from browsing the web with 32bit applications.
Actually, we should add mdns to the multilib package
As I dubt bug 145737 would be fixed soon, maybe this should be added to a emul-* package, as this also can affect to wine: http://wiki.winehq.org/FAQ#head-933a92a965553f3ef2ab7ff40488b58f0983fdc6 but I am unsure about wich one could include it :-/, app-emulation/emul-linux-x86-baselibs ? Thanks :-)
Fixed