Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 248796 - dev-util/anjuta-2.24.1 fails because of a sandbox violation
Summary: dev-util/anjuta-2.24.1 fails because of a sandbox violation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 253410 254691 (view as bug list)
Depends on: 298200
Blocks: 268359
  Show dependency tree
 
Reported: 2008-11-25 17:04 UTC by Helmut Jarausch
Modified: 2010-07-09 11:54 UTC (History)
10 users (show)

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


Attachments
Build log showing sandbox violation (build.log.lzma,45.75 KB, application/octet-stream)
2008-11-27 10:19 UTC, Helmut Jarausch
Details
Proposed patch (anjuta-plugins-no-remove.patch,399 bytes, patch)
2009-01-04 01:41 UTC, Marc Vinyals
Details | Diff
Patch to include former patch in the ebuild (anjuta-2.24.2.ebuild.patch,727 bytes, patch)
2009-01-04 01:42 UTC, Marc Vinyals
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2008-11-25 17:04:40 UTC
Installing dev-utils/anjuta-2.24.1 fails with lots of messages like
F: unlinkat
S: deny
P: /usr/lib/anjuta/libanjuta-build-basic-autotools.so
A: /usr/lib/anjuta/libanjuta-build-basic-autotools.so
R: /usr/lib/anjuta/libanjuta-build-basic-autotools.so
C: rm -fr /usr/lib/anjuta/libanjuta-build-basic-autotools.so /usr/lib/anjuta/li$



Reproducible: Always




emerge --info
Portage 2.2_rc16 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r2 i686)
=================================================================
System uname: Linux-2.6.26-gentoo-r2-i686-Intel-R-_Pentium-R-_III_CPU_family_1266MHz-with-glibc2.0
Timestamp of tree: Tue, 25 Nov 2008 15:45:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.3.0
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
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 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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 /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo "
LANG="en_US.iso88591"
LDFLAGS="-Wl,-O1"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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/local/portage /usr/local/portage/layman/java-overlay"
SYNC="rsync://rsync.informatik.RWTH-Aachen.de/gentoo-portage"
USE="X acl avahi berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups dbus doc dri dvd fortran gdbm gnome gpm gtk gtk2 iconv ipv6 isdnlog jpeg kde midi mmx mudflap ncurses nls nptl nptlonly opengl openmp pam pcre pdf perl png pppd python qt readline reflection session spl sqlite sqlite3 sse ssl svg sysfs tcl tcpd tetex tiff tk truetype truetype-fonts type1-fonts unicode x86 xorg xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-11-26 20:33:37 UTC
Please attach the entire build log.
Comment 2 Helmut Jarausch 2008-11-27 10:19:04 UTC
Created attachment 173580 [details]
Build log showing sandbox violation
Comment 3 Marc Vinyals 2009-01-04 01:41:21 UTC
Created attachment 177297 [details, diff]
Proposed patch
Comment 4 Marc Vinyals 2009-01-04 01:42:30 UTC
Created attachment 177299 [details, diff]
Patch to include former patch in the ebuild

As stated in bug 253410, sandbox violation is caused by removing previously installed plugins. Since portage will handle this at unmerge, I think it's safe enough to skip this plugin removal.

This patch is for 2.24.2 but should work for 2.24.1.
Comment 5 Pacho Ramos gentoo-dev 2009-01-23 14:08:28 UTC
*** Bug 254691 has been marked as a duplicate of this bug. ***
Comment 6 Jonathan-Christofer Demay 2009-04-04 16:39:43 UTC
Patch worked for me.
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-05-04 19:54:52 UTC
this rule is indeed plain broken, installation phase should not ever remove anything. Could you check if it's present in 2.26 as well so we can see if we need to move this upstream ?
Comment 8 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-05-04 19:55:26 UTC
*** Bug 253410 has been marked as a duplicate of this bug. ***
Comment 9 Marc Vinyals 2009-05-04 21:56:20 UTC
(In reply to comment #7)

Upstream removed the misbehaving line from their Makefile.am at least in 2.26.1.0, therefore this bug isn't applicable to newer versions of anjuta.
Comment 10 Sven E. 2009-05-31 14:03:59 UTC
Since 2.26.1.0 is not in portage, when will this bug be fixed/closed? If the patch works (which it obviously does), why is it not yet in portage although it's been available for months?
Comment 11 Maciej Józiewicz 2009-05-31 21:15:23 UTC
I just hit the same problem.

I'll attach the log and here is --info:

Portage 2.1.6.11 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.30-rc7 x86_64)
=================================================================
System uname: Linux-2.6.30-rc7-x86_64-Intel-R-_Pentium-R-_Dual_CPU_T2370_@_1.73GHz-with-glibc2.2.5
Timestamp of tree: Sun, 31 May 2009 11:15:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  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.29
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-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 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -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://ftp.vectranet.pl/gentoo/ ftp://ftp.vectranet.pl/gentoo/ http://gentoo.prz.rzeszow.pl http://gentoo.po.opole.pl ftp://gentoo.po.opole.pl ftp://mirror.icis.pcz.pl/gentoo/ http://gentoo.mirror.pw.edu.pl/ "
LANG="pl_PL.utf8"
LC_ALL="pl_PL.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="pl en"
MAKEOPTS="-j3"
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/local/portage /usr/portage/local/layman/synce /usr/portage/local/layman/x11 /usr/portage/local/layman/desktop-effects /usr/portage/local/layman/rbu /usr/portage/local/layman/sunrise /usr/portage/local/layman/wschlich-testing /usr/portage/local/layman/gentoo-quebec /usr/portage/local/layman/jokey"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 apache2 apm avahi bash-completion berkdb bluetooth branding bzip2 c3p0 cairo caps cdda cddb cdr cli cracklib crypt css cups curl cxx dbus dedicated dga directfb djvu doc dri dts dvd dvdr dvdread eds emboss encode esd evo examples exif fbcon ffmpeg flac fltk fortran ftp gd gdbm gif gimp glut gnome gnome-keyring gnutls gphoto2 gpm gstreamer gtk gtkhtml guile hal hddtemp iconv idn ieee1394 imagemagick imlib inotify ipv6 java javamail javascript jbig joystick jpeg jpeg2k kerberos lame latex lcms ldap libcaca libffi libgda libnotify libsamplerate lm_sensors log4j lzo mad matroska midi mikmod mime mmx mng mono mp3 mpeg mplayer mudflap multilib musepack mysql ncurses network networkmanager nls nptl nptlonly nsplugin odbc offensive ogg openal openexr opengl openmp pam pcmcia pcre pda pdf perl php png portaudio ppds pulseaudio python qt3support qt4 quicktime rdesktop readline reflection samba scanner sdl servletapi session slang speex spell sqlite sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff timidity tk tools truetype unicode usb vcd videos vim-syntax vorbis wavpack webkit wifi wma wmf x264 xattr xcb xcomposite xine xinerama xml xorg xosd xpm 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy harness ide identity java mobility nb php profiler ruby webcommon websvccommon" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 12 Maciej Józiewicz 2009-05-31 21:25:48 UTC
bugzilla told me that the file is to big and pastebin had a fatal error so I omploaded it. Wasn't sure if it's just the end that you'd need.

http://omploader.org/vMXJmMg/build.log
Comment 13 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-06-01 21:13:51 UTC
please try with 2.26.2.0. There is little chance we are going to fix 2.24 at this point since it has a lot of known bugs besides what is listed in our own bugzilla and it wasn't handled in due time.
Comment 14 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-06-08 22:28:12 UTC
please get back to us.
Comment 15 Maciej Józiewicz 2009-06-09 14:59:45 UTC
Yes, 2.26.2.0 merged just fine. Didn't have time test it more but it runs.

I'm sorry I didn't get back to you right away. I went on a trip, suprisingly out of my gsm provider reach, so couldn't comment then and I forgot about it ;/
Comment 16 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-06-09 15:22:19 UTC
no problem, thanks for the heads up.
Comment 17 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-06-09 15:22:26 UTC
and closing.
Comment 18 Gordon Malm (RETIRED) gentoo-dev 2009-10-28 07:08:43 UTC
Re-opening as =dev-util/anjuta-2.24.2 is listed for stable in bug #268359.  However, it still has this problem.  Please fix, remove from the tree or something.
Comment 19 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-10-28 22:36:40 UTC
See comment #13. We consider a problem fixed in a version in tree has the fixed, no matter if it's not yet stable.
Comment 20 Gordon Malm (RETIRED) gentoo-dev 2009-10-28 23:43:12 UTC
The version proposed for stable in bug #268359 fails due to this bug. REOPENING.
Comment 21 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-10-28 23:51:13 UTC
yes and this is unfortunate but a version with the fix on waiting to be stabilized, please wait for arches to complete their job.
Comment 22 Gordon Malm (RETIRED) gentoo-dev 2009-10-29 00:24:13 UTC
(In reply to comment #21)
> yes and this is unfortunate but a version with the fix on waiting to be
> stabilized, please wait for arches to complete their job.
> 

Is this even your package?  Bringing in QA on this.

QA team please review this bug in combination with bug #261674 and stabilization bug #268359.
Comment 23 Tomáš Chvátal (RETIRED) gentoo-dev 2009-10-29 10:03:56 UTC
(In reply to comment #22)
> (In reply to comment #21)
> > yes and this is unfortunate but a version with the fix on waiting to be
> > stabilized, please wait for arches to complete their job.
> > 
> 
> Is this even your package?  Bringing in QA on this.
> 
> QA team please review this bug in combination with bug #261674 and
> stabilization bug #268359.
> 

I will speak for Gilles (hope he wont mind). Since welp is not really active and he is one of most active Gnome members i guess he is effectively its maintainer (as gnome is listed as backup herd :]).

Also as noted gnome team obviously try to stabilise 2.26.X release where it will have anjuta with fixed build system.

@Gilles: would you mind telling us some timeframe when the 2.26 is done or you think it will take more time thus backporting the buildsystem patch would be more aproperiate solution?