Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27899 - Sandbox violation with net-im/gaim-0.68
Summary: Sandbox violation with net-im/gaim-0.68
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Brandon Low (RETIRED)
URL:
Whiteboard:
Keywords:
: 28483 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-04 00:31 UTC by Sebastian Bergmann (RETIRED)
Modified: 2003-10-25 16:13 UTC (History)
4 users (show)

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


Attachments
gaim-build.log (gaim-build.log,242.12 KB, text/plain)
2003-09-04 07:24 UTC, Sebastian Bergmann (RETIRED)
Details
A patch that lets me emerge gaim-0.68 successfully with use perl (gaim-0.68.ebuild.patch,581 bytes, patch)
2003-09-04 13:25 UTC, Hal Duston
Details | Diff
A patch that lets me emerge gaim-0.68 successfully with use perl (gaim-0.68.ebuild.patch,581 bytes, patch)
2003-09-04 13:25 UTC, Hal Duston
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Bergmann (RETIRED) gentoo-dev 2003-09-04 00:31:02 UTC
Sandbox violation with net-im/gaim-0.68.

Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS="~x86" emerge -p gaim
2.
3.

Actual Results:  
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-gaim-0.68-29096.log"

mkdir:     /usr/lib/perl5/5.8.0/i686-linux/auto/Gaim
--------------------------------------------------------------------------------



wopr-mobile root # emerge info
Portage 2.0.49-r3 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-gentoo-r5)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 Pentium III (Coppermine)
distcc 2.8 i686-pc-linux-gnu (protocol 1) (default port 3632) [disabled]
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs fixpackages"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://ftp.fhh.opensource-mirror.de/pub/gentoo.org/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms zlib gdbm berkdb
slang readline arts tetex svga tcltk java guile postgres sdl gpm tcpd pam libwww
ssl perl python esd imlib oggvorbis gtk motif opengl ldap X xv gtk2 gnome imap
-mbox -kde -qt alsa acpi dga directfb dvd apache2"
Comment 1 Don Seiler (RETIRED) gentoo-dev 2003-09-04 06:09:24 UTC
Can you scroll through the make install output earlier in the process?  We had added some sed logic to fix a bug in gaim's Makefile for their perl plugin.  I'm interested to see if somehow that logic failed.

I was getting this error until we added the sed statement.
Comment 2 Sebastian Bergmann (RETIRED) gentoo-dev 2003-09-04 07:24:23 UTC
Created attachment 17061 [details]
gaim-build.log
Comment 3 Don Seiler (RETIRED) gentoo-dev 2003-09-04 08:02:58 UTC
Yes you are getting the exact error that we were getting before the sed.  Looks like we'll need to cast a bigger net.
Comment 4 Hal Duston 2003-09-04 13:25:03 UTC
Created attachment 17086 [details, diff]
A patch that lets me emerge gaim-0.68 successfully with use perl
Comment 5 Hal Duston 2003-09-04 13:25:50 UTC
Created attachment 17087 [details, diff]
A patch that lets me emerge gaim-0.68 successfully with use perl
Comment 6 Hal Duston 2003-09-04 13:28:11 UTC
This patch lets me successfully emerge gaim-0.68 with use perl.

--- /usr/portage/net-im/gaim/gaim-0.68.ebuild.save      2003-09-03 12:30:51.000000000 -0500
+++ /usr/portage/net-im/gaim/gaim-0.68.ebuild   2003-09-04 15:10:01.823282941 -0500
@@ -57,7 +57,8 @@
 }
                                                                                                                                               
 src_install() {
-       use perl && sed -i -e 's:\(-e "install(\)\(.@ARGV.,.$(VERBINST).,0,.$(UNINST).);"\):\1$(DESTDIR)/\2:' plugins/perl/common/Makefile
+       use perl && sed -i -e 's:\(-e .install(\)\(.@ARGV., ....$(VERBINST)...., 0, ....$(UNINST)....);.\):\1$(DESTDIR)/\2:' plugins/perl/common/Makefile
        einstall || die "Install failed"
        use ssl && {
                cd ${S}/plugins/gaim-encryption-${EV}
Comment 7 Dice Random 2003-09-04 16:02:19 UTC
I also ran into this problem and the attached patch worked for me.

dice@entropy dice $ emerge info
Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test4-mm1)
=================================================================
System uname: 2.6.0-test4-mm1 i686 AMD Athlon(tm) MP Processor 1800+
ACCEPT_KEYWORDS="~x86 x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -march=athlon-xp -O3 -pipe -funroll-loops -fomit-frame-pointer -ffast-math -mmmx -msse -m3dnow -mfpmath=sse,387"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -march=athlon-xp -O3 -pipe -funroll-loops -fomit-frame-pointer -ffast-math -mmmx -msse -m3dnow -mfpmath=sse,387"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell xml2 xmms xv zlib gtkhtml gdbm berkdb slang readline arts bonobo svga ggi tcltk java guile mysql gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk motif opengl mozilla ldap cdr X gtk2 gnome -kde qt truetype xft threads -cups freetype 3dnow alsa fbcon sdl"
Comment 8 Brandon Low (RETIRED) gentoo-dev 2003-09-08 15:13:01 UTC
this patch may not be needed, I'll be committing -r2 shortly which may fix this issue a somewhat better way.
Comment 9 SpanKY gentoo-dev 2003-09-11 17:59:41 UTC
*** Bug 28483 has been marked as a duplicate of this bug. ***
Comment 10 Martin Holzer (RETIRED) gentoo-dev 2003-09-29 08:25:41 UTC
is this fixed with 0.69 or 0.70 ?
Comment 11 Brandon Low (RETIRED) gentoo-dev 2003-10-25 16:13:48 UTC
I believe this is obsolete, but reopen if I'm wrong.