Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22600 - emerge evolution 1.4 fails - access violation summary
Summary: emerge evolution 1.4 fails - access violation summary
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-11 03:33 UTC by Priit Laes (IRC: plaes)
Modified: 2003-06-12 01:25 UTC (History)
2 users (show)

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


Attachments
evolution-1.4.0.ebuild with sandbox/access fix (evolution-1.4.0.ebuild,4.32 KB, text/plain)
2003-06-11 09:04 UTC, Mike Gardiner (RETIRED)
Details
evolution-1.4.0.diff - the diff of the fix. (evolution-1.4.0.diff,137 bytes, patch)
2003-06-11 09:10 UTC, Mike Gardiner (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Priit Laes (IRC: plaes) 2003-06-11 03:33:41 UTC
--------------------------- ACCESS VIOLATION SUMMARY 
---------------------------LOG FILE = "/tmp/sandbox-evolution-1.4.0-1602.log"
 
open_wr:   /var/lib/scrollkeeper/scrollkeeper_docs
open_wr:   /var/lib/scrollkeeper/scrollkeeper_docs
--------------------------------------------------------------------------------

Decoder evolution # emerge info
Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-amd-dell-r2 i686 Pentium III (Coppermine)
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo// ftp://gentoo.linux.
no/pub/gentoo/ http://gentoo.linux.no/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config 
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb 
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/testportage"
USE="x86 -3dfx -3dnow -aalib -acl -acpi -afs alsa apache2 apm -arts -atlas avi 
berkdb bonobo -canna -cdr -cjk crypt -cups curl -debug dga directfb doc -dvb dvd 
-emacs encode -esd -ethereal -ev6 evo fbcon -firebird flash -freetds -freewnn gb 
gd gdbm -ggi gif gnome -gphoto2 gpm -gps gtk gtk2 gtkhtml -guile -icc -icc-pgo 
-imap imlib innodb -informix ipv6 jack java jikes jpeg -junit kde -kerberos 
-krb4 ladcca -lcms -ldap -leim libg++ libgda libwww lirc maildir -matrox -mbox 
mcal mikmod -memlimit mmx -motif mozilla mpeg mpi -mule mysql -nas ncurses 
-nhc98 nls -nocardbus oav -oci8 odbc oggvorbis opengl oss pam pcmcia -pda pdflib 
perl plotutils png pnp postgres -prebuilt python qt quicktime readline ruby 
samba sasl -scanner sdl -slang -slp -snmp -socks5 -spell sse ssl -static -svga 
tcltk tcpd tetex tiff truetype trusted usb -voodoo3 wavelan wmf X -Xaw3d -xface 
xinerama xml xml2 xmms xv -zeo zlib"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays 
-fforce-addr -ffast-math -falign-functions=4"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays 
-fforce-addr -ffast-math -falign-functions=4"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 foser (RETIRED) gentoo-dev 2003-06-11 05:01:45 UTC
we need more output, attach the full output please.
Comment 2 Priit Laes (IRC: plaes) 2003-06-11 06:31:02 UTC
Emerged fine with
FEATURES="-sandbox" emerge evolution-1.4.0.ebuild
Comment 3 Mike Gardiner (RETIRED) gentoo-dev 2003-06-11 07:54:11 UTC
ive identified where the problem is, and im 90% sure ive got a fix, just re-emerging now to make sure.
Comment 4 Mike Gardiner (RETIRED) gentoo-dev 2003-06-11 09:03:02 UTC
okay, looks like it's right. just need the gnome2_omf_fix to prevent it trying to run scrollkeeper on help/omf.make. i'll attack the fixed ebuild and a diff.
Comment 5 Mike Gardiner (RETIRED) gentoo-dev 2003-06-11 09:04:12 UTC
Created attachment 13108 [details]
evolution-1.4.0.ebuild with sandbox/access fix
Comment 6 Mike Gardiner (RETIRED) gentoo-dev 2003-06-11 09:10:53 UTC
Created attachment 13111 [details, diff]
evolution-1.4.0.diff - the diff of the fix.
Comment 7 Alastair Tse (RETIRED) gentoo-dev 2003-06-11 10:29:35 UTC
mike,

i'm not sure whether that is the case here because omf_fix only affects the uninstall-local-omf target of the Makefile in that place. i don't think that part even gets run during make install. 

to clarify, omf_fix was written to speedup the scrollkeeper-update times rather than fix sandboxing errors, i don't think it even does anything to fix those errors. i couldn't reproduce this error when i was testing this. in fact, due to a little more digging, i just found that the omf_fix doesn't work for omf.make files because those only get included into Makefile.in after running autoconf/automake. 

btw, could you make diffs using -u ? i find them easier to read and apply. thanks :)
Comment 8 Artur Brodowski 2003-06-11 15:11:28 UTC
i had the same prob compiling 1.4.0 (sanbox access violation), 
and i confirm that omf_fix does the job.
regards,
artb.
Comment 9 Alastair Tse (RETIRED) gentoo-dev 2003-06-11 18:06:32 UTC
hmm .. ok .. so maybe i might be off about this scrollkeeper business and evolution. i still don't fully understand it, but it seems like despite all the nudging, it still gets its paths from scrollkeeper-config.

so the solution now is that i've committed my changes to gnome2.eclass that removes the whole scrollkeeper-update from the Makefile completely.

i've changed mike's gnome2_omf_fix line to 

gnome2_omf_fix ${S}/help/C/Makefile.in

that is now in portage. thanks all, now can someone please verify it works?
Comment 10 Mike Gardiner (RETIRED) gentoo-dev 2003-06-11 21:34:38 UTC
i just did emerge sync; emerge evolution; and can verify it works.

unfortunately i didnt keep the log, or an old version of the gnome2.eclass so i could reproduce the error. in the build it was during the loops in omf.make where it was calling scrollkeepr that caused the sandbox error. 

its working fine now. is this closeable ?
Comment 11 Alastair Tse (RETIRED) gentoo-dev 2003-06-12 01:25:28 UTC
ok, i'm satisfied with that. thanks mike.