When emerging net-irc/unrealircd its src_compile section has $(hostname -f) in it, and when using a nssswitch.conf having 'wins' in its host section, hostname is trying to write to /var/cache/samba/gencache.tdb and will fail trying to write at this place, removing the sandbox will succeed without any other error. When not using 'curl' the unrealircd ebuild also fails with: make[1]: Entering directory `/var/tmp/portage/unrealircd-3.2.4/work/Unreal3.2/src' i686-pc-linux-gnu-gcc -I../include -I/var/tmp/portage/unrealircd-3.2.4/work/Unreal3.2/extras/regexp/in clude -I/var/tmp/portage/unrealircd-3.2.4/work/Unreal3.2/extras/c-ares/include -pipe -Os -march=pentiu m4 -mtune=prescott -pipe -funsigned-char -fno-strict-aliasing -DZIP_LINKS -DUSE_LIBCURL -export-dynam ic -lssl -lcrypto -o ircd res.o s_bsd.o auth.o aln.o badwords.o channel.o cloak.o crule.o dbuf.o eve nts.o fdlist.o hash.o help.o ircd.o ircsprintf.o list.o lusers.o match.o modules.o packet.o parse.o s_ auth.o s_conf.o s_debug.o s_err.o s_extra.o s_kline.o s_misc.o s_numeric.o s_serv.o s_svs.o socket.o ssl.o s_user.o charsys.o scache.o send.o support.o umodes.o version.o webtv.o whowas.o zip.o cidr.o ra ndom.o extcmodes.o extbans.o md5.o api-isupport.o api-command.o url.o -lcrypt -lnsl -lz -lares -ldl -L/var/tmp/portage/unrealircd-3.2.4/work/Unreal3.2/extras/regexp/lib -ltre -L../extras/c-ares/lib - lcares -lssl -lcrypto /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lares a missing 'ares' library when linking everything togheter.
- the sandbox issue is Bug 121573 - net-irc/unrealircd-3.2.4 doesn't compile without curl-useflag is Bug 125705. Generally, one bug = one issue. *** This bug has been marked as a duplicate of 121573 ***