Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156971 - net-p2p/mldonkey-2.8.2 doesn't compile
Summary: net-p2p/mldonkey-2.8.2 doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
: 158922 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-12-03 02:19 UTC by Pacho Ramos
Modified: 2006-12-23 08:42 UTC (History)
1 user (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 Pacho Ramos gentoo-dev 2006-12-03 02:19:33 UTC
mldonkey-2.8.2 needs ocaml-3.09.3 for be built properly, but it doesn't try to upgrate it before emerge mldonkey.

I have the following installed:
[ebuild   R   ] dev-lang/ocaml-3.09.2  USE="latex tk" 0 kB

Then, I run the following:
emerge -pv net-p2p/mldonkey

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild    U   ] net-p2p/mldonkey-2.8.2  USE="batch* fasttrack gd gnutella gtk -doc -guionly -magic" 0 kB

And, if I disable batch USE flag I get:
emerge -pv net-p2p/mldonkey

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] net-p2p/mldonkey-2.8.2  USE="fasttrack gd gnutella gtk -batch -doc -guionly -magic" 0 kB

Total size of downloads: 0 kB

This is my emerge --info:
Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-suspend23 i686)
=================================================================
System uname: 2.6.18-suspend23 i686 Genuine Intel(R) CPU           T2300  @ 1.66GHz
Gentoo Base System version 1.12.6
Last Sync: Sat, 02 Dec 2006 23:50:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=pentium-m -mfpmath=sse -msse3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=pentium-m -mfpmath=sse -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ "
LANG="es_ES"
LC_ALL="es_ES"
LINGUAS="es en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa ansi arts asf audiofile avi bash-completion bcmath beagle bidi bitmap-fonts bonobo bzip2 bzlib cairo caps cdb cddb cdparanoia cdr cdrparanoia cli cpdflib cracklib cross crypt cscope css ctype cups curl curlwrappers dbus dga dio directfb divx4linux dlloader dri dts dv dvb dvd dvdr dvdread elibc_glibc encode escreen esd evo exif fam fbcon ffmpeg fftw firefox flac foomaticdb fortran ftp gb gcj gd ggi gif gimp gimpprint glitz glut glx gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl iconv imagemagick imlib input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 isdnlog jabber jack java jikes jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux latex lcms ldap lesstif libg++ libnotify linguas_en_US linguas_es logrotate mad mbox mikmod mime ming mmap mmx mmxext mng mono motif mp3 mpeg mpi mplayer musepack nas ncurses nethack nls nocd nptl nptlonly nsplugin ntfs nvidia ogg oggvorbis openal opengl opnegl oss pam pcmcia pcre pdf pdflib perl pic png pnp posix ppds pppd python qt qt3 qt4 quicktime readline real reflection reiserfs rpm rtc ruby scanner sdl seamonkey session slang slp smp sndfile sockets socks5 speex spell spl sse sse2 sse3 ssl svg syslog tcltk tcpd tetex tga theora threads tiff timidity tk truetype truetype-fonts trusted type1-fonts udev unicode usb userland_GNU userlocales v4l v4l2 vcd video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa videos vim vorbis wifi win32codecs wma wmf wmp wxwindows x86 xine xml xml2 xorg xpm xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Thanks a lot
Comment 1 Pacho Ramos gentoo-dev 2006-12-03 02:22:40 UTC
Errata: In the second emerge mldonkey should be:
[ebuild    U   ]  instead of [ebuild   R   ]

I run the second emerge after updating mldonkey with the testing ocaml ;-)

Sorry and thanks :-)
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-12-03 02:27:53 UTC
Eh? 9 != 8

!batch? ( >=dev-lang/ocaml-3.08.3 )

If you have some real problem, then post the compile errors and reopen then.
Comment 3 Pacho Ramos gentoo-dev 2006-12-04 10:52:00 UTC
This problem exactly:
http://bugs.gentoo.org/show_bug.cgi?id=147718#c47

Thanks
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-12-04 10:57:55 UTC
(In reply to comment #3)

Sigh, post the errors here... Too hard?

------

ocamlopt.opt -inline 10      -I src/utils/cdk  -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/gtk2/gui -I src/gtk2/gui/x11  -I src/gtk2/gui/win32  -I
icons/rsvg  -I +lablgtk2  -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/gtk2/gui/guiUtf8.ml
/usr/lib64/ocaml/lablgtk2/glib.cmx is not a compilation unit description.
make: *** [src/gtk2/gui/guiUtf8.cmx] Error 2

!!! ERROR: net-p2p/mldonkey-2.8.2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  mldonkey-2.8.2.ebuild, line 100:   Called die
Comment 5 spiralvoice 2006-12-05 13:47:41 UTC
(In reply to comment #0)
> mldonkey-2.8.2 needs ocaml-3.09.3 for be built properly

I do not know how the ebuilds handles the Ocaml dep, but MLDonkey
itself can be build with Ocaml 3.08.[3,4] and Ocaml 3.09.[0,1,2,3]

I guess the cause of your compile problem is that you did not
update Ocaml related packages after updating Ocaml itself.
There is a script to do that in portage/dev-lang/ocaml
Comment 6 Karol Wojtaszek (RETIRED) gentoo-dev 2006-12-08 23:05:50 UTC
Please execute `sh /usr/portage/dev-lang/ocaml/ocaml-rebuild.sh`. Reopen if this doesn't help.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-12-23 08:42:50 UTC
*** Bug 158922 has been marked as a duplicate of this bug. ***