Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63074 - mldonkey-2.5.28-r1 fails with bad expression type (in gui_com.ml)
Summary: mldonkey-2.5.28-r1 fails with bad expression type (in gui_com.ml)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-06 18:08 UTC by Florian Loitsch
Modified: 2004-12-05 16:18 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 Florian Loitsch 2004-09-06 18:08:59 UTC
when emerging mldonkey-2.5.28-r1 compilation fails:
ocamlopt.opt -inline 10    -I src/utils/cdk  -I src/daemon/chat  -I src/gtk/chat  -I src/utils/lib  -I src/utils/ocamlrss  -I src/utils/xml-light  -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/configwin  -I src/gtk/okey  -I src/gtk/gpattern  -I icons/tux  -I +lablgtk  -I src/gtk/progress  -I src/gtk/im  -I src/gtk/im/yahoo  -I src/gtk/im/irc  -I src/networks/gnutella  -I src/networks/gnutella2  -I src/networks/fasttrack  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -c src/gtk/newgui/gui_com.ml
File "src/gtk/newgui/gui_com.ml", line 75, characters 27-72:
This expression has type
  (string -> string) -> Buffer.t -> GuiProto.from_gui -> unit
but is here used with type Buffer.t -> 'a -> 'b
make: *** [src/gtk/newgui/gui_com.cmx] Error 2
make: *** Waiting for unfinished jobs....

!!! ERROR: net-p2p/mldonkey-2.5.28-r1 failed.
!!! Function src_compile, Line 53, Exitcode 2
!!! (no error message)

-----------------------------------------------------------------------
 $ emerge info
Portage 2.0.50-r10 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.8-rc2-mm1)
=================================================================
System uname: 2.6.8-rc2-mm1 i686 AMD Athlon(TM) XP 2200+
Gentoo Base System version 1.5.3
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -fomit-frame-pointer -march=athlon-xp"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -fomit-frame-pointer -march=athlon-xp"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X alsa apm arts avi berkdb cdr crypt cups dga directfb divx4linux doc dvd dvdr encode esd foomaticdb gdbm ggi gif gpm gtk2 guileimap imlib innodb ipv6 jpeg kde libg++ libwww mad matroska mikmod mmx motif mozilla mpeg mysql nas ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell sse ssl svga tcltk tcpd tetex theora truetype v4l v4l2 x86 xinerama xml2 xmms xv xvidzlib"


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jon Hood (RETIRED) gentoo-dev 2004-09-11 08:59:32 UTC
does this happen with USE="-gtk2"
Comment 2 Florian Loitsch 2004-09-11 13:54:43 UTC
yes. I had added -gtk and -gtk2 into my useflags (had some troubles
with the ocaml's gtk-library).
Just emerged without problems using +gtk and +gtk2.
thanks.
Comment 3 Jon Hood (RETIRED) gentoo-dev 2004-12-01 10:54:56 UTC
Did you upgrade ocaml and forget to run the rebuild script:
# sh /usr/portage/dev-lang/ocaml/files/ocaml-rebuild.sh [-h | emerge options]
Comment 4 Florian Loitsch 2004-12-05 16:18:31 UTC
I didn't see the einfo-messages, as Ocaml was updated during a big emerge -uD world. Didn't even know this script existed. So the error comes probably from there.
If this doesn't explain the error please reopen the bug (for me it's closed now).
btw: anybody knows of an option, that lets emerge reprint all warning/infos at the end of an emerge?