Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126265 - Access Violation with some ebuild with Samba name resolving (here net-irc/unrealircd-3.2.4)
Summary: Access Violation with some ebuild with Samba name resolving (here net-irc/unr...
Status: RESOLVED DUPLICATE of bug 121573
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-15 01:02 UTC by Jérôme Poulin
Modified: 2006-03-15 01:16 UTC (History)
0 users

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 Jérôme Poulin 2006-03-15 01:02:06 UTC
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.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-15 01:16:21 UTC
- 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 ***