Using these emerge commands for amanda: emerge amanda export USE="-samba"; emerge amanda export USE="samba"; emerge amanda export USE="-smb"; emerge amanda export USE="smb"; emerge amanda I get the following error: --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/tmp/sandbox-amanda-2.4.4-r2-21579.log" open_wr: /var/cache/samba/gencache.tdb -------------------------------------------------------------------------------- The above error shows up at the end of the build process, before installation; however, a ctrl-c during/after configuration also yeilds this error, so I suspect it's the configure script attempting the r/w open. (side note: shouldn't emerge bail immediately instead of going through the whole flippin' build before puking? Just my 2 cents...) The ebuild specifies: use samba && myconf="${myconf} --with-smbclient=/usr/bin/smbclient" || myconf="${myconf} --without-smbclient" and this is working; so the problem does appear to be in the configure script (the access violation appearing only after the "checking for smbclient" test is run.) Turning sandboxing off gets rid of the symptoms and allows for installation, but it's not a great solution. Reproducible: Always Steps to Reproduce: 1. emerge amanda (version 2.4.4 r2) Actual Results: "Access violation" (see above) at the end of the build, right before the make install. Expected Results: 1. Throw the access violation as soon as it's made, instead of waiting to the end of the build 2. Presumably, the configure script should not be opening /var/cache/samba/gencache.tdb in r/w mode. 3. Setting and unsetting the "samba" variable should do something - samba is declared as an IUSE variable in amanda-2.4.4-r2.ebuild, and I would think doing an export USE="-samba" would force the package to turn off all of it's samba-related tests. (This appears to be the fault of the configure script.) Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031212-r0, 2.4.20-gentoo-r9) ================================================================= System uname: 2.4.20-gentoo-r9 i686 Pentium III (Coppermine) Gentoo Base System version 1.4.3.12 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=pentium3 -mfpmath=sse -fomit-frame-pointer -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -mfpmath=sse -fomit-frame-pointer -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acpi alsa apache2 avi berkdb bonobo crypt cscope cups curl dga doc dvd encode esd fbcon flash foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imlib java jikes jpeg libg++ libwww mad maildir mikmod mmx motif mozilla mpeg ncurses nls offensive oggvorbis opengl pam pcmcia pdflib perl png pnp python quicktime readline sdl slang slp spell sse ssl svga tcpd tetex tiff truetype unicode usb wmf wxwindows x86 xml2 xmms xosd xv zlib"
fixed in CVS.