Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86790 - mldonkey-2.5.16-r10 failed
Summary: mldonkey-2.5.16-r10 failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-26 11:19 UTC by Marek Kwasceki
Modified: 2005-07-18 07:23 UTC (History)
2 users (show)

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 Marek Kwasceki 2005-03-26 11:19:32 UTC
mldonkey failed to compile with error: make inconsistent assumptions over implementation Filename

Reproducible: Always
Steps to Reproduce:
1. emerge net-p2p/mldonkey
2.
3.

Actual Results:  
ocamlopt.opt -inline 10 -linkall  -o mlguistarter       unix.cmxa str.cmxa
-cclib -lz -ccopt "-pthread" -I +lablgtk   lablgtk.cmxa  -I build  
build/cdk.cmxa    src/gtk/newgui/gui_starter.cmx
Files /usr/lib/ocaml/lablgtk/lablgtk.cmxa and /usr/lib/ocaml/stdlib.cmxa
make inconsistent assumptions over implementation Filename
make: *** [mlchat] Błąd 2
make: *** Czekam na niezakończone zadania....
Files /usr/lib/ocaml/lablgtk/lablgtk.cmxa and /usr/lib/ocaml/stdlib.cmxa
make inconsistent assumptions over implementation Filename
make: *** [mlguistarter] Błąd 2

!!! ERROR: net-p2p/mldonkey-2.5.16-r10 failed.
!!! Function src_compile, Line 50, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.



emerge info
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r1, 2.6.11.5 i686)
=================================================================
System uname: 2.6.11.5 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 19 2005, 12:56:46)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="pl_PL.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/mnt/cdrom1"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X X509 acpi alsa avi bash-completion berkdb bitmap-fonts
bonobo cdr crypt cups curl directfb divx4linux dvd emboss encode esd f77 fam
fbcon flac font-server foomaticdb fortran gd gif gnome gpm gstreamer gtk gtk2
imagemagick imap imlib jpeg kdeenablefinal libg++ libwww mad mikmod mmx mmxext
motif mp3 mpeg ncurses nls nvidia oggvorbis opengl pam pdflib perl png python qt
quicktime readline sasl sdl slang snmp spell sse ssl svga tcltk tcpd tetex tiff
truetype truetype-fonts type1-fonts xml xml2 xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Trey Blancher 2005-04-14 04:01:29 UTC
I get a similar error on amd64:

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/daemon/common/commonMessages.ml
Files /usr/lib/ocaml/lablgtk/lablgtk.cmxa and /usr/lib/ocaml/stdlib.cmxa
make inconsistent assumptions over implementation Filename
make: *** [mlguistarter] Error 2
make: *** Waiting for unfinished jobs....

!!! ERROR: net-p2p/mldonkey-2.5.16-r10 failed.
!!! Function src_compile, Line 50, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

I don't see any other errors above that one (if one exists, it's already scrolled out of my buffer).  The only other thing that I notice is that there are several lines output to standard error like this (obtained through this command:  "emerge net-p2p/mldonkey | grep -C 20 Error"):

.
.
.
grep: icons/tux/bt_net_on_mini.xpm: No such file or directory
grep: icons/tux/dc_net_on_mini.xpm: No such file or directory
grep: icons/tux/ed2k_net_on_mini.xpm: No such file or directory
grep: icons/tux/ftt_net_on_mini.xpm: No such file or directory
.
.
.

I didn't think those were fatal problems, and they don't seem related to the build Error that halts compiling.

emerge infoPortage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r5 x86_64 AMD Opteron(tm) Processor 242
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 26 2005, 06:14:33)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=opteron -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=opteron -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://gentoo.ccccom.com http://gentoo.ccccom.com http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac acpi aim alsa apache2 avi bash-completion berkdb bitmap-fonts bonobo cdr crypt cups curl dba doc dvd dvdr emul-linux-x86 encode fam flac font-server fortran ftp gd gd-external gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib ipv6 jack java jp2 jpeg kde libwww lzw lzw-tiff mad motif mozilla mp3 mpeg multilib mysql ncurses nls nvidia offensive ogg oggvorbis opengl oss pam pdflib perl php png python qt quicktime readline samba sdl sockets spell ssl symlink tcltk tcpd threads tiff truetype truetype-fonts type1-fonts usb userlocales vorbis xine xml xml2 xmms xpm xrandr xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 2 Branislav 2005-05-31 15:10:36 UTC
Same here. 
After disabling the "gtk" Flag for mldonkey only, it compiled without any 
further errors. 
 
echo 'net-p2p/mldonkey-*    -gtk' >> /etc/portage/packages.use 
Comment 3 Marek Kwasceki 2005-07-11 15:11:57 UTC
good point :)

but what if I'd like it with gtk?

still a bug and still no solution.
Comment 4 Marcin Kryczek (RETIRED) gentoo-dev 2005-07-12 06:16:33 UTC
this is not mldonkey, but ocaml problem. you've got dev-ml/lablgtk build with 
diffrent ocaml version than currently installed.

emerge -1 =dev-ml/lablgtk-1*
should fix the problem
Comment 5 Marek Kwasceki 2005-07-12 14:10:32 UTC
hey! it did work!

so... how did u know that?
Comment 6 Marcin Kryczek (RETIRED) gentoo-dev 2005-07-12 15:26:52 UTC
it's a kind of magic...;>