Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 355045 - sys-apps/coreutils-8.10 - install fails with sandbox error when / has a .git repo
Summary: sys-apps/coreutils-8.10 - install fails with sandbox error when / has a .git ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://lists.gnu.org/archive/html/cor...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-15 16:13 UTC by Kyle Milz
Modified: 2011-02-23 07:38 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,77.37 KB, text/plain)
2011-02-15 16:14 UTC, Kyle Milz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle Milz 2011-02-15 16:13:15 UTC
Upon merging coreutils-8.10 (and another package but which one eludes me at the moment) I get an access violation from the sandbox: 

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-5677.log"

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: open_wr
S: deny
P: /.git/index.lock
A: /.git/index.lock
R: /.git/index.lock
C: git update-index --refresh 
--------------------------------------------------------------------------------

This is _not_ a git ebuild and I have a .git repo in my / dir. 

I looked around the coreutils ebuild and found no signs of git. Why is this build trying to mess with my repo?
Comment 1 Kyle Milz 2011-02-15 16:14:15 UTC
Created attachment 262617 [details]
build log
Comment 2 Kyle Milz 2011-02-15 16:15:22 UTC
Portage 2.2.0_alpha23 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.2, glibc-2.13-r0, 2.6.38-rc4+ x86_64)                                                                        
=================================================================                        
System uname: Linux-2.6.38-rc4+-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-2.0.1                                                                               
Timestamp of tree: Tue, 15 Feb 2011 15:30:01 +0000                                       
distcc 3.1 x86_64-pc-linux-gnu [disabled]                                                
app-shells/bash:     4.1_p9                                                              
dev-java/java-config: 2.1.11-r3                                                          
dev-lang/python:     2.7.1, 3.1.3                                                        
dev-util/cmake:      2.8.3-r1                                                            
sys-apps/baselayout: 2.0.1-r1                                                            
sys-apps/openrc:     0.7.0                                                               
sys-apps/sandbox:    2.5                                                                 
sys-devel/autoconf:  2.13, 2.68                                                          
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1                                            
sys-devel/binutils:  2.21                                                                
sys-devel/gcc:       4.5.2                                                               
sys-devel/gcc-config: 1.4.1                                                              
sys-devel/libtool:   2.4-r1                                                              
sys-devel/make:      3.82                                                                
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)                                 
Repositories: gentoo x11 qting-edge sunrise kde systemd gentoo-haskell krm               
Installed sets: @kdeartwork-4.6, @kdebase-4.6, @kdepim-4.6                               
ACCEPT_KEYWORDS="amd64 ~amd64"                                                           
ACCEPT_LICENSE="* -@EULA Broadcom AdobeFlash-10.1 skype-eula PUEL googleearth"           
CBUILD="x86_64-pc-linux-gnu"                                                             
CFLAGS="-O2 -pipe -march=core2 -ggdb"                                                    
CHOST="x86_64-pc-linux-gnu"                                                              
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"                                                                       
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" 
CXXFLAGS="-O2 -pipe -march=core2 -ggdb"                                                  
DISTDIR="/usr/portage/distfiles"                                                         
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersync"                                             
FFLAGS=""                                                                                
GENTOO_MIRRORS="http://distfiles.gentoo.org"                                             
LDFLAGS="-Wl,-O1 -Wl,--as-needed"                                                        
LINGUAS="en"                                                                             
MAKEOPTS="-j2"                                                                           
PKGDIR="/usr/portage/packages"                                                           
PORTAGE_CONFIGROOT="/"                                                                   
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                                                                             
PORTAGE_TMPDIR="/var/tmp"                                                                
PORTDIR="/usr/portage"                                                                   
PORTDIR_OVERLAY="/var/lib/layman/x11 /var/lib/layman/qting-edge /var/lib/layman/sunrise /var/lib/layman/kde /var/lib/layman/systemd /var/lib/layman/haskell /home/kyle/ol"        
SYNC="rsync://rsync.gentoo.org/gentoo-portage"                                           
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cxx dbus dri dts dvd dvdr embedded emboss encode exif fam firefox flac fortran gdbm gdu gif gphoto2 gpm iconv iphone ipod ipv6 jpeg kde lcms ldap mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline sdl session spell sse sse2 ssl ssse3 startup-notification svg sysfs systemd tcpd tiff truetype udev unicode usb v4l2 vim-syntax vorbis x264 xcb xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"         
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS           
                                                                               
Comment 3 Kyle Milz 2011-02-16 05:12:15 UTC
Forgot to add that if I move the /.git dir then it builds fine. 
Comment 4 Kyle Milz 2011-02-16 05:20:40 UTC
LOL just remembered the other package. m4 gives the exact same access violation.  Different PID of course but everything else exact. 
Comment 5 SpanKY gentoo-dev 2011-02-19 18:27:07 UTC
partly gnulib's fault (git-version-gen) and partly coreutils' fault (GNUmakefile)
Comment 6 SpanKY gentoo-dev 2011-02-19 21:49:02 UTC
ive added the patch from upstream to 8.10.  seems to fix it for me.
Comment 7 Kyle Milz 2011-02-22 02:19:36 UTC
OK coreutils works good but m4 is still hooped.

Should I open another bug for m4 also? 
Comment 8 SpanKY gentoo-dev 2011-02-22 02:48:30 UTC
ive added the patch to m4 too now
Comment 9 Kyle Milz 2011-02-23 07:38:41 UTC
OK everything works good, thanks for your time.