Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148087 - net-p2p/mldonkey-2.7.7 fails with dev-lang/ocaml 3.09.3
Summary: net-p2p/mldonkey-2.7.7 fails with dev-lang/ocaml 3.09.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
: 148679 153358 (view as bug list)
Depends on: 147718
Blocks:
  Show dependency tree
 
Reported: 2006-09-18 09:51 UTC by Andreas Mann
Modified: 2006-12-05 12:28 UTC (History)
4 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 Andreas Mann 2006-09-18 09:51:03 UTC
After updating ocaml from 3.09.2 to 3.09.3 and running ocaml-rebuild.sh I got an configure error while compiling mldonkey, even after recompiling all other ocaml-related packages suggested by ocaml-rebuild.sh.
Note the line "Objective-Caml 3.09.2 is required". So either the configure scripts should be updated to accept the new ocaml or the ebuild should depend on <=ocaml-3.09.2.

BEGIN>>>
einstein ~ # emerge -1av =net-p2p/mldonkey-2.7.7
...
[ebuild   R   ] net-p2p/mldonkey-2.7.7  USE="gd gtk -batch -doc -guionly" 0 kB
...
>>> Emerging (1 of 1) net-p2p/mldonkey-2.7.7 to /
...
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/mldonkey-2.7.7/work/mldonkey-2.7.7 ...
 * econf: updating mldonkey-2.7.7/config/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating mldonkey-2.7.7/config/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating mldonkey-2.7.7/src/applets/kde/admin/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating mldonkey-2.7.7/src/applets/kde/admin/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --sysconfdir=/etc/mldonkey --sharedstatedir=/var/mldonkey --localstatedir=/var/mldonkey --enable-checks --disable-batch --enable-gd --enable-gui=newgui2 --build=i686-pc-linux-gnu
Arguments to configure: /usr/share/config.site /usr/etc/config.site
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu

--------------------------------
     Checking system tools.
--------------------------------
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for gmake... gmake
checking for make... (cached) gmake
checking if gmake is GNU make ... yes
checking for bzip2... bzip2
checking for gzip... (cached) bzip2
checking for perl... /usr/bin/perl
checking for rpmbuild... no
checking for rpm... no
checking for wget... wget
----------------------------------------
     Checking system tools finished.
----------------------------------------

--------------------------------
     Checking Ocaml compiler.
--------------------------------
checking for ocamlc.opt... /usr/bin/ocamlc.opt
checking for i686-pc-linux-gnu-ocamlc... /usr/bin/ocamlc.opt
Need build
********  Objective-Caml 3.09.2 is required  *********
*******  Check http://caml.inria.fr/  ********
Do you want this script to try to download and install ocaml
LOCALLY in mldonkey directory ?

!!! ERROR: net-p2p/mldonkey-2.7.7 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  mldonkey-2.7.7.ebuild, line 86:   Called econf '--sysconfdir=/etc/mldonkey' '--sharedstatedir=/var/mldonkey' '--localstatedir=/var/mldonkey' '--enable-checks' '--disable-batch' '--enable-gd' '--enable-gui=newgui2'
  ebuild.sh, line 540:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
<<<END

here is my emerge --info:
BEGIN>>>
einstein ~ # emerge --info
Portage 2.1.2_pre1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-r5 i686)
=================================================================
System uname: 2.6.17-gentoo-r5 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.12.5
Last Sync: Mon, 18 Sep 2006 00:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-java/java-config: 1.3.6-r1, 2.0.28-r1
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
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.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
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/lib/mozilla-firefox/searchplugins /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/hal/fdi"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://chl.fem.tu-ilmenau.de ftp://ftp.tu-ilmenau.de/Mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=180"
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="x86 3dnow X a52 aac apache2 apm arts bash-completion berkdb bitmap-fonts boost bzip2 cli crypt cups dba dlloader dri dts dv dvd dvdr dvdread eds elibc_glibc emboss fbcon foomaticdb gd gdbm gif gpm gstreamer gtk gtk2 imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog java jikes jpeg junit kde kdexdeltas kernel_linux libg++ libwww linguas_de linguas_en mad matroska mikmod mmx mng motif mozilla mozsvg mp3 mpeg mysql ncurses nls nptl nvidia offensive ogg opengl pam pcre perl php png pppd python qt3 quicktime readline real reflection samba sdl session slang source speex spell spl ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts udev usb userland_GNU vcd video_cards_nv video_cards_nvidia video_cards_vesa video_cards_vga vorbis win32codecs wmf xine xml xml2 xorg xprint xsl xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS

einstein ~ # eix -Ic ocaml
[I] dev-lang/ocaml (3.09.3): fast modern type-inferring functional programming language descended from the ML (Meta Language) family
<<<END
Comment 1 spiralvoice 2006-09-19 09:46:33 UTC
Known bug, please use MLDonkey 2.8.1 from bug #147718, it enables use of Ocaml 3.09.3.

The version check in MLDonkey configure is present to avoid problems with new
Ocaml versions, which are not guaranteed to be compatible.

MLDonkey 2.7.7 ebuild should append configure parameter "--enable-ocamlver=3"
to solve this problem.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-09-22 12:05:30 UTC
*** Bug 148679 has been marked as a duplicate of this bug. ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-10-29 14:12:55 UTC
*** Bug 153358 has been marked as a duplicate of this bug. ***
Comment 4 spiralvoice 2006-11-28 15:38:05 UTC
Fixed with MLdonkey 2.8.2
http://bugs.gentoo.org/show_bug.cgi?id=156563
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-12-05 12:28:59 UTC
 02 Dec 2006; Karol Wojtaszek <sekretarz@gentoo.org>
  +mldonkey-2.8.2.ebuild:
  Version bump, bug #147718

Closing.