Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 206620 - kde-base/kalzium-4.0.0 fails to build with USE="solver" using dev-lang/ocaml-3.10.1 (use ocaml-rebuild.sh -f)
Summary: kde-base/kalzium-4.0.0 fails to build with USE="solver" using dev-lang/ocaml-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 206761 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-19 10:26 UTC by Alexey Shvetsov
Modified: 2008-01-20 18:50 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,12.20 KB, text/plain)
2008-01-19 10:26 UTC, Alexey Shvetsov
Details
build.log (build.log,11.50 KB, text/plain)
2008-01-19 20:01 UTC, Alexey Shvetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Shvetsov archtester gentoo-dev 2008-01-19 10:26:23 UTC
* Overlay eclasses override eclasses from PORTDIR:
 * 
 *   '/usr/portage/local/layman/science/eclass/fortran.eclass'
 *   '/usr/portage/local/layman/vmware/eclass/vmware.eclass'
 *   '/usr/portage/local/layman/vmware/eclass/vmware-mod.eclass'
 * 
 * It is best to avoid overridding eclasses from PORTDIR because it will
 * trigger invalidation of cached ebuild metadata that is distributed with
 * the portage tree. If you must override eclasses from PORTDIR then you
 * are advised to run `emerge --regen` after each time that you run `emerge
 * --sync`. Set PORTAGE_ECLASS_WARNING_ENABLE="0" in /etc/make.conf if you
 * would like to disable this warning.
Portage 2.1.4 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1, 2.6.23-tuxonice-r6 i686)
=================================================================
System uname: 2.6.23-tuxonice-r6 i686 Intel(R) Pentium(R) M processor 1400MHz
Timestamp of tree: Fri, 18 Jan 2008 19:30:08 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.5.1-r5
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=native -mtune=native -ftree-vectorize"
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/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -pipe -march=native -mtune=native -ftree-vectorize"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://172.16.0.1"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
LINGUAS="ru en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/enlightenment /usr/portage/local/layman/science /usr/portage/local/layman/xen /usr/portage/local/layman/vmware /usr/portage/local/layman/openrc /usr/local/portage"
SYNC="rsync://172.16.0.1/gentoo-portage"
USE="X a52 aac acl acpi ads aiglx alsa amr amrnb amrwb athena audit bash-completion berkdb bitmap-fonts blas bzip2 cairo calendar caps captury cdf cdr chm chroot cli clucene cmkopt connectionstatus contactnotes cpudetection cracklib crypt cups curl cviewer cvs cyrillic dbus device-mapper dga dia dialup djvu double-precision dri dts dvd dvdnav dvdr dvdread eds emboss enca encode esd evo exif exiv2 expat fam fbcon fbcondecor fbsplash ffmpeg fftw firefox fits flac fontconfig fortran ftp fuse garmin ggz gif glib glitz gmail gmp gnuplot gnutls gphoto2 gpm gps graphics gs gstreamer gtk hal hdaps hddtemp hibernate-script highlight history httpd iconv icq ieee1394 imagemagick imap inotify iproute2 irda isdnlog java javacomm javascript jingle jpeg jpeg2k kcal kde kdepim kerberos ksolver lapack laptop latex ldap libcaca libnotify lm_sensors logrotate mad midi mikmod mmx mmxext mng mp2 mp3 mp4 mp4live mpd mpeg mpeg2 mplayer mudflap musepack mysql ncurses nepomuk network_manager newspr newxkb nfs nls nova nowlistening nptl nptlonly nsplugin ntp office ogg omega openexr opengl openmp openvpn optimisememory oscar oss pam pcmcia pcre pdf perl pertty plasma plotutils png ppds pppd print profile pstricks publishers pygrub python qt-copy qt3 qt3support qt4 quicktime rar rdesktop readline real reflection reiser4 reiserfs resolvconf rewrite rpm rtc rtsp ruby samba sasl sbcl science sco_flowcontrol screen sdl sensord server session skins slang slp sms solver sound speex spell spl sqlite3 sse sse2 ssl subversion svg symlink sysfs taglib tcpd tetex tga theora threads threadsonly tidy tiff toolbar tpctl transcode translator truetype truetype-fonts type1-fonts unicode unzip usb userlocales utempter vcd vidix visualization vnc vorbis webpresence wifi win32codecs winbind winpopup wma wmf wxwindows x264 x86 xanim xattr xcb xcomposite xft xine xinerama xml xorg xpm xprint xscreensaver xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard evdev mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="radeon r200"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alexey Shvetsov archtester gentoo-dev 2008-01-19 10:26:51 UTC
Created attachment 141285 [details]
build.log
Comment 2 Bo Ørsted Andresen (RETIRED) gentoo-dev 2008-01-19 11:09:54 UTC
Please run LC_ALL=C emerge --oneshot kde-base/kalzium:kde-4 and attach a new build.log with error messages in english..
Comment 3 Alexey Shvetsov archtester gentoo-dev 2008-01-19 20:01:47 UTC
Created attachment 141326 [details]
build.log

build.log
Comment 4 Wulf Krueger (RETIRED) gentoo-dev 2008-01-20 02:18:44 UTC
Fixed in CVS.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2008-01-20 12:48:00 UTC
*** Bug 206761 has been marked as a duplicate of this bug. ***
Comment 6 Alexey Shvetsov archtester gentoo-dev 2008-01-20 13:01:59 UTC
still fails to build but because of dev-lang/ocaml-3.10.1
see bug #206761
Comment 7 Wulf Krueger (RETIRED) gentoo-dev 2008-01-20 17:47:10 UTC
Alexis, any idea why dev-lang/ocaml-3.10.1 (with ocamlopt) fails to compile the ocaml solver (see below) while 3.09.3-r2 works just fine?

File "chem.ml", line 54, characters 43-54:
Warning Y: unused variable nb_elements.
Corrupted compiled interface /usr/lib64/ocaml/facile/facile.cmi
make: *** [chem.cmx] Error 2

Comment 8 Alexis Ballier gentoo-dev 2008-01-20 17:52:22 UTC
(In reply to comment #7)
> Alexis, any idea why dev-lang/ocaml-3.10.1 (with ocamlopt) fails to compile the
> ocaml solver (see below) while 3.09.3-r2 works just fine?
> 
> File "chem.ml", line 54, characters 43-54:
> Warning Y: unused variable nb_elements.
> Corrupted compiled interface /usr/lib64/ocaml/facile/facile.cmi
> make: *** [chem.cmx] Error 2

This looks like ocaml has been upgraded without rebuilding ocaml packages.
Just try 'ocaml-rebuild.sh -f' as root (if using portage), there is a warning at the end of ocaml ebuild about that; compiled code is usually not compatible from one version to another.
Comment 9 Alexey Shvetsov archtester gentoo-dev 2008-01-20 17:56:44 UTC
Thanks =)
It works =)
Comment 10 Wulf Krueger (RETIRED) gentoo-dev 2008-01-20 18:50:00 UTC
Alexis, thank you very much! Marking this bug fixed as the original issue was really a bug. The newer issue isn't, though.