Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47660 - sandbox violation when building amanda 2.4.4-r3
Summary: sandbox violation when building amanda 2.4.4-r3
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-12 20:36 UTC by Albert Hopkins (RETIRED)
Modified: 2004-04-22 11:01 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 Albert Hopkins (RETIRED) gentoo-dev 2004-04-12 20:36:03 UTC
The amanda 2.4.4-3 ebuild dies with a sandbox violation:

!!! ERROR: app-admin/amanda-2.4.4-r3 failed.
!!! Function src_compile, Line 169, Exitcode 2
!!! emake failed!
 
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-app-admin_-_amanda-2.4.4-r3-31425.log"
 
mkdir:     /var/cache/samba
mkdir:     /var/cache/samba
mkdir:     /var/cache/samba
mkdir:     /var/cache/samba
mkdir:     /var/cache/samba
mkdir:     /var/cache/samba
mkdir:     /var/cache/samba
mkdir:     /var/cache/samba
mkdir:     /var/cache/samba
--------------------------------------------------------------------------------


This is even though I specify -samba in my use flags...

Reproducible: Always
Steps to Reproduce:
1. emerge -va amanda



Actual Results:  
emerge dies with sandbox violation:



Expected Results:  
emerge should have built and installed amanda.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-04-17 21:03:12 UTC
what version of samba do you have installed if any?

'emerge info' output please
Comment 2 Albert Hopkins (RETIRED) gentoo-dev 2004-04-22 07:05:30 UTC
samba-3.0.2a-r1

But I guess the main issue is: I have -samba in my package.use, so I don't even know why it's looking at it anyway:

Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 2700+
Gentoo Base System version 1.4.9
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-g -mcpu=athlon-xp -Os -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/alias /var/qmail/control /var/www/localhost/htdocs//mythweb/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-g -mcpu=athlon-xp -Os -pipe"
DISTDIR="/var/cache/distfiles"
FEATURES="autoaddcvs ccache distcc nostrip sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j6 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/cache"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/usr/local/portage/bmg-overlay /usr/local/portage/site"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib accessibility acl alsa altivec apache2 avi bonobo cdr crypt cups dga dv dvd encode esd evo faad fbcon ffmpeg flac foomaticdb gdbm gif gnome gphoto2 gstreamer gtk gtk2 gtkhtml guile imap imlib java jpeg mad maildir mmx mozilla moznocompose moznoirc moznomail mozsvg mpeg mysql nls nptl offensive oggvorbis opengl opie pam pcap pdflib png python quicktime radeon readline samba scanner speex spell sse ssl tcpd transcode truetype usb v4l x86 xml2 xmms xosd xv xvid zlib"
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-04-22 11:01:47 UTC
digging at it, it's an upstream bug in their configure file, that is fixed in amanda-2.4.4_p2. So go and use the new version instead and you won't have this problem.