Upgrading to sandbox 1.7 causes an e2fsprogs emerge to fail with a sandbox violation. The ebuild attempts to open_wr /etc/ld.so.cache~ from src_install, which works under sandbox-1.6-r1, but not sandbox-1.7. Portage 2.1.6.11 (default/linux/amd64/2008.0, gcc-4.3.3-asneeded, glibc-2.9_p20081201-r2, 2.6.27-gentoo-r8 x86_64) ================================================================= System uname: Linux-2.6.27-gentoo-r8-x86_64-Intel-R-_Core-TM-2_Extreme_CPU_X9650_@_3.00GHz-with-gentoo-2.0.0 Timestamp of tree: Tue, 31 Mar 2009 21:30:01 +0000 app-shells/bash: 4.0_p10-r1 dev-lang/python: 2.6.1-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.7 sys-devel/autoconf: 2.63 sys-devel/automake: 1.10.2 sys-devel/binutils: 2.19.51.0.3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y" FEATURES="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="en_US.utf8" 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="/usr/portage/local/layman/sunrise /usr/local/portage /usr/shared_local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl amd64 berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm iconv ipv6 isdnlog midi mmx mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl sysfs tcpd test unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Reproducible: Always Steps to Reproduce: 1. emerge -1 =sys-apps/sandbox-1.7 2. emerge -1 e2fsprogs
Created attachment 186959 [details] build.log The build log.
I experienced similar failures trying to emerge both coreutils-7.2 and sandbox-1.6-r1; I had to use FEATURES=-sandbox to downgrade sandbox itself. This looks like a fairly severe issue.
Created attachment 186962 [details] Build log from coreutils-7.2 Executive summary: [...] config.status: creating po/Makefile make ISE open_rd(Makefile): No such file or directory abs_path: (null) res_path: (null) /usr/lib/libsandbox.so[0xb7f210fa] /usr/lib/libsandbox.so[0xb7f2113c] /usr/lib/libsandbox.so[0xb7f22ae5] /usr/lib/libsandbox.so[0xb7f22b45] /usr/lib/libsandbox.so(fopen64+0x111)[0xb7f281a1] make[0x805c625] make[0x805b372] make[0x805c719] make[0x805ca07] make[0x8056fd1]
very similar error on #264478
As the other bug has already been re-assigned to sandbox-herd, let's dupe this one although it's the one being reported earlier... *** This bug has been marked as a duplicate of bug 264478 ***
not a dupe ... e2fsprogs is broken, it shouldnt be writing to ld.so.cache~.
I actually only noticed the ISE in the original poster's build log, not the ld.so.cache~ bug, so the coreutils issue is probably different. Sorry, will repost as a separate issue.
the problem is that in ebuild LDCONFIG should be /bin/true and not : (this does not work anymore with current toolchain used by e2fstools) also STRIP or it will strip binaries
thanks, should be fixed now http://sources.gentoo.org/sys-fs/e2fsprogs/e2fsprogs-1.41.4.ebuild?r1=1.1&r2=1.2
*** Bug 264967 has been marked as a duplicate of this bug. ***
*** Bug 265258 has been marked as a duplicate of this bug. ***
*** Bug 266161 has been marked as a duplicate of this bug. ***
*** Bug 269016 has been marked as a duplicate of this bug. ***
*** Bug 278767 has been marked as a duplicate of this bug. ***