Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 370433 - net-p2p/mldonkey-3.0.7 compile failed: /usr/lib64/ocaml/lablgtk2/gMain.cmi is not a compiled interface
Summary: net-p2p/mldonkey-3.0.7 compile failed: /usr/lib64/ocaml/lablgtk2/gMain.cmi is...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
: 394153 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-06-07 09:55 UTC by Mathieu Z
Modified: 2011-12-10 16:36 UTC (History)
2 users (show)

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


Attachments
build.log (build_mldonkey.log,80.28 KB, text/plain)
2011-06-08 21:16 UTC, Mathieu Z
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Z 2011-06-07 09:55:26 UTC
Compiling mldonkey-3.0.7 failed with the following error:

... ... ... ... ... ...
/usr/bin/ocamlc.opt  -I src/utils/extlib  -I src/utils/cdk  -I src/utils/bitstring  -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/direct_connect  -I src/networks/gnutella  -I src/networks/gnutella2  -I src/networks/fileTP  -I src/networks/bittorrent  -I src/networks/donkey -I +camlp4 -c src/gtk2/gui/guiTools.mli
File "src/gtk2/gui/guiTools.mli", line 1, characters 0-1:
Error: /usr/lib64/ocaml/lablgtk2/gMain.cmi
is not a compiled interface
make: *** [src/gtk2/gui/guiTools.cmi] Error 2
make: *** Waiting for unfinished jobs....
File "src/gtk2/gui/guiArt.mli", line 1, characters 0-1:
Error: /usr/lib64/ocaml/lablgtk2/gdkPixbuf.cmi
is not a compiled interface
make: *** [src/gtk2/gui/guiArt.cmi] Error 2
emake failed
 * ERROR: net-p2p/mldonkey-3.0.7 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 3117:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed";
 * 
 * If you need support, post the output of 'emerge --info =net-p2p/mldonkey-3.0.7',
 * the complete build log and the output of 'emerge -pqv =net-p2p/mldonkey-3.0.7'.
 * The complete build log is located at '/var/log/portage/net-p2p:mldonkey-3.0.7:20110607-032847.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-p2p/mldonkey-3.0.7/temp/environment'.
 * S: '/var/tmp/portage/net-p2p/mldonkey-3.0.7/work/mldonkey-3.0.7'

Reproducible: Always

Steps to Reproduce:
1. emerge mldonkey
2.
3.



$ emerge --info
Portage 2.1.10 (default/linux/amd64/10.0/no-multilib, gcc-4.5.2, glibc-2.13-r2, 2.6.38-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.38-gentoo-r3-x86_64-Intel-R-_Atom-TM-_CPU_330_@_1.60GHz-with-gentoo-2.0.2
Timestamp of tree: Tue, 07 Jun 2011 00:00:01 +0000
ccache version 3.1.5 [enabled]
app-shells/bash:          4.2_p10
dev-lang/python:          2.7.1-r1, 3.2
dev-util/ccache:          3.1.5
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r2, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
Repositories: gentoo gentoo-taiwan sunrise gentoo-china mz-overylay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.osuosl.org/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=both"
LINGUAS="en zh zh_TW zh_CN ja"
MAKEOPTS="-j3 -l"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/gentoo-taiwan /var/lib/layman/sunrise /var/lib/layman/gentoo-china /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acl acpi aim alsa amd64 apache2 audiofile avahi bash-completion berkdb bidi bittorrent bluetooth branding bzip2 cairo caps cdaudio cdr cjk cli cracklib crypt cscope css cups curl curlwrappers cvs cxx dbus dga dhcpcd directfb djvu dri dts dv dvd dvdr dvdread encode enscript exif expat fam fastcgi fbcon ffmpeg flac flash fontconfig foomaticdb fortran ftp fuse gd gdbm git glib glut gnome gnome-keyring gnutella gnutls gphoto2 gpm gps graphviz gs gstreamer gtk httpd iconv icq icu idn ieee1394 imagemagick imap imlib innodb ipod ipv6 jabber javascript jingle joystick jpeg jpeg2k kpathsea lame latex lcms ldap libcaca libnotify libsamplerate lm_sensors lzo m17n-lib mad matroska mercurial midi mmx mmxext modules mp3 mp4 mpeg mplayer msn mudflap musepack musicbrainz mysql mysqli nautilus ncurses netboot networkmanager nforce2 nis nls nntp nptl nptlonly odbc ogg openal opengl openmp osc oscar pae pam pch pcre pda pdf perl php plotutils png posix postgres ppds pppd pulseaudio python qq quicktime raw readline recode rss ruby samba sasl session simplexml slang sndfile sockets socks5 speex spell sqlite sqlite3 sse sse2 sse2i sse3 ssl subversion svg sysfs taglib tcpd theora threads tidy tiff timidity truetype udev unicode upnp usb v4l2 vaapi vcd vhosts vim-syntax vorbis wav wavepack webm webp wma wmf wmp x264 x86emu xcb xcomposite xforms xft xine xinerama xml xorg xosd xsl xv xvid yahoo zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev wacom" KERNEL="linux" LINGUAS="en zh zh_TW zh_CN ja" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-06-08 17:10:40 UTC
Please attach the entire build log to this bug report.
Comment 2 Mathieu Z 2011-06-08 21:16:31 UTC
Created attachment 276313 [details]
build.log

Build log attached.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-06-10 02:17:40 UTC
That file is from dev-ml/lablgtk so I would guess you need to re-emerge that.
Comment 4 Alexis Ballier gentoo-dev 2011-06-10 03:45:01 UTC
seems you forgot to run 'ocaml-rebuild.sh -f' as explained when upgrading ocaml
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2011-12-10 16:36:55 UTC
*** Bug 394153 has been marked as a duplicate of this bug. ***