Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72910 - emerging mldonkey-2.5.16-r9 raises an access violation
Summary: emerging mldonkey-2.5.16-r9 raises an access violation
Status: RESOLVED DUPLICATE of bug 56597
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Jon Hood (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-30 04:50 UTC by Justus Winter
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justus Winter 2004-11-30 04:50:58 UTC
i was emerging mldonkey-2.5.16-r9 with features userpriv usersandbox set and got an access violation error.

Reproducible: Always
Steps to Reproduce:
1. emerge =net-p2p/mldonkey-2.5.16-r9


Actual Results:  
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-net-p2p_-_mldonkey-2.5.16-r9-15225.log"

mkdir:     /usr/lib/ocaml/lablgtk
--------------------------------------------------------------------------------

Expected Results:  
smooth emerging ;)

lucifer:~# emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.3, glibc-2.3.4.20041102-r0,
2.4.26-gentoo-r12 i686)
=================================================================
System uname: 2.4.26-gentoo-r12 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms userpriv
usersandbox"
GENTOO_MIRRORS="ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo
ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/
ftp://ftp.ipv6.uni-muenster.de/pub/linux/distributions/gentoo
http://ftp.ntua.gr/pub/linux/gentoo/ http://ftp6.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j5"
PKGDIR="/var/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib apache2 apm avi berkdb bitmap-fonts cdr crypt dvd encode esd f77
fam flac foomaticdb fortran gcj gdbm ggi gif gnome gpm gstreamer gtk gtk2
imagemagick imlib ipv6 java jpeg libg++ libwww mad mikmod motif mozilla mysql
ncurses nls offensive oggvorbis oss pam pdflib perl png python qt quicktime
readline samba slang spell ssl stroke tcltk tcpd theora tiff truetype x86 xml2
xmms zlib"
Comment 1 Jon Hood (RETIRED) gentoo-dev 2004-11-30 10:30:54 UTC
It sounds like ocaml upgraded but did not upgrade lablgtk and/or other ml applications, so mldonkey tried to pull them in for you. I need to go edit mldonkey's install system for portage so it doesn't try to pull in lablgtk from the internet for you if it can't use your local copy. Please try the following:

# emerge dev-ml/lablgl dev-ml/lablgtk
# emerge -u net-p2p/mldonkey

and let me know if it works. Alternatively, you can make sure that you have run:
# sh /usr/portage/dev-lang/ocaml/files/ocaml-rebuild.sh
Comment 2 David Grant 2004-12-02 20:23:18 UTC
I'm not sure if this is related or not.  I'm not getting the access violation but I'm getting a compilation error:

ocamlopt.opt -inline 10    -I src/utils/cdk  -I src/daemon/chat  -I src/utils/lib  -I src/utils/net  -I tools  -I src/daemon/common  -I src/daemon/driver  -I src/utils/mp3tagui  -I src/config/unix  -I src/gtk/newgui  -I src/gtk/gui2  -I src/gtk/configwin  -I src/gtk/okey  -I src/gtk/gpattern  -I icons/tux  -I +lablgtk  -I src/gtk/progress  -I src/im  -I src/im/yahoo  -I src/im/irc  -I src/networks/direct_connect  -I src/networks/opennap  -I src/networks/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey  -I src/networks/soulseek -c src/gtk/configwin/configwin_types.ml
/usr/lib/ocaml/lablgtk/gPack.cmi is not a compiled interface
Comment 3 David Grant 2004-12-02 20:41:51 UTC
emerge dev-ml/lablgl dev-ml/lablgtk

This fixed it for me.  
Comment 4 Justus Winter 2004-12-04 07:08:11 UTC
# emerge dev-ml/lablgl dev-ml/lablgtk
# emerge -u net-p2p/mldonkey

worked fine.
Comment 5 Jon Hood (RETIRED) gentoo-dev 2004-12-04 09:25:57 UTC
marking as resolved; I'll work on a patch to keep this kind of failure from happening in the future.

*** This bug has been marked as a duplicate of 56597 ***