media-libs/glew-1.5.1 update error Reproducible: Always Steps to Reproduce: 1.emerge -u media-libs/glew Actual Results: >>> Source compiled. >>> Test phase [not enabled]: media-libs/glew-1.5.1 >>> Install glew-1.5.1 into /var/tmp/portage/media-libs/glew-1.5.1/image/ catego ry media-libs make STRIP=true GLEW_DEST=/var/tmp/portage/media-libs/glew-1.5.1/image//usr LIBD IR=/var/tmp/portage/media-libs/glew-1.5.1/image//usr/lib M_ARCH= install install -d -m 0755 /usr/portage/packages install -d -m 0755 /var/tmp/portage/media-libs/glew-1.5.1/image//usr/include/GL install -d -m 0755 /var/tmp/portage/media-libs/glew-1.5.1/image//usr/lib true -x lib/libGLEW.so.1.5.1 install -m 0644 lib/libGLEW.so.1.5.1 /var/tmp/portage/media-libs/glew-1.5.1/image//usr/lib/ ln -sf libGLEW.so.1.5.1 /var/tmp/portage/media-libs/glew-1.5.1/image//usr/lib/libGLEW.so.1.5 install -m 0644 include/GL/wglew.h /var/tmp/portage/media-libs/glew-1.5.1/image//usr/include/GL/ install -m 0644 include/GL/glew.h /var/tmp/portage/media-libs/glew-1.5.1/image//usr/include/GL/ install -m 0644 include/GL/glxew.h /var/tmp/portage/media-libs/glew-1.5.1/image//usr/include/GL/ strip -x lib/libGLEW.a install -m 0644 lib/libGLEW.a /var/tmp/portage/media-libs/glew-1.5.1/image//usr/lib/ ln -sf libGLEW.so.1.5.1 /var/tmp/portage/media-libs/glew-1.5.1/image//usr/lib/libGLEW.so install -m 0755 bin/glewinfo bin/visualinfo /usr/portage/packages/ ESC[31;01mACCESS DENIEDESC[0m open_wr: /usr/portage/packages/glewinfo install: невозможно создать обычный файл `/usr/portage/packages/glewinfo': Отказано в доступе ESC[31;01mACCESS DENIEDESC[0m open_wr: /usr/portage/packages/visualinfo install: невозможно создать обычный файл `/usr/portage/packages/visualinfo': Отказано в доступе make: *** [install] Ошибка 1 ERROR: media-libs/glew-1.5.1 failed. Call stack: ebuild.sh, line 49: Called src_install environment, line 2236: Called die The specific snippet of code: emake STRIP=true GLEW_DEST="${D}/usr" LIBDIR="${D}/usr/$(get_libdir)" M_ARCH="" install || die "emake install failed"; The die message: emake install failed If you need support, post the topmost build error, and the call stack if relevant. A complete build log is located at '/var/tmp/portage/media-libs/glew-1.5.1/temp/build.log'. The ebuild environment file is located at '/var/tmp/portage/media-libs/glew-1.5.1/temp/environment'. --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE "/var/log/sandbox/sandbox-970.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: /usr/portage/packages/glewinfo A: /usr/portage/packages/glewinfo R: /usr/portage/packages/glewinfo C: install -m 0755 bin/glewinfo bin/visualinfo /usr/portage/packages/ F: open_wr S: deny P: /usr/portage/packages/visualinfo A: /usr/portage/packages/visualinfo R: /usr/portage/packages/visualinfo C: install -m 0755 bin/glewinfo bin/visualinfo /usr/portage/packages/ -------------------------------------------------------------------------------- Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.30.5 i686) ================================================================= System uname: Timestamp of tree: Mon, 12 Oct 2009 13:30:16 +0000 app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.4.4-r14, 2.5.4-r3, 2.6.2-r1 dev-python/pycrypto: 2.0.1-r8 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.5.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" 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/udev/rules.d" CXXFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="ru_RU.UTF-8" LDFLAGS="-Wl,-O1" 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="/home/diff/ebuilds" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa apm berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups dbus dri dts dvd dvdr eds emboss encode esd evo fam ffmpeg firefox flac fortran ftp gdbm gif gimp gnome gpm gps gstreamer gtk hal iconv icq ipv6 isdnlog jabber jpeg kde lame ldap libnotify lm_sensors mad mikmod modules mp3 mp4 mpeg mplayer mtp mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pda pdf perl png ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline reflection rss ru samba sdl session spell spl sqlite ssl startup-notification subversion svg sysfs tcpd thunar tiff truetype unicode usb vorbis wifi win32codecs x264 x86 xemacs xml xorg xscreensaver 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 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" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
*** Bug 288763 has been marked as a duplicate of this bug. ***
*** Bug 288761 has been marked as a duplicate of this bug. ***
*** Bug 288764 has been marked as a duplicate of this bug. ***
*** Bug 288766 has been marked as a duplicate of this bug. ***
Please attach /var/tmp/portage/media-libs/glew-1.5.1/temp/enviroment
Created attachment 206871 [details] /var/tmp/portage/media-libs/glew-1.5.1/temp/environment
Why did you redefine BINDIR? Please find out where it is redefined.
thanks. all working.
Good.
@dev-portage Assinging to because you probably what to filter bindir. In this case BINDIR was defined by user, but build system calls $(INSTALL) -d -m 0755 $(BINDIR) which causes the sandbox error.
*** This bug has been marked as a duplicate of bug 56407 ***