root@miriel /home/mnagl # emerge -uaDNv world These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] kde-base/kalzium-4.2.2 USE="editor plasma solver* -debug -doc -kdeprefix -test" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Emerging (1 of 1) kde-base/kalzium-4.2.2 [...] [ 60%] Building CXX object kalzium/libavogadro-kalzium/src/tools/CMakeFiles/drawtool.dir/insertfragmentdialog.o [ 60%] Building CXX object kalzium/libavogadro-kalzium/src/tools/CMakeFiles/navigatetool.dir/qrc_navigatetool.o Linking CXX shared library ../../../../lib/libnavigatetool.so [ 60%] Building CXX object kalzium/compoundviewer/CMakeFiles/compoundviewer.dir/kalziumglpart.o [ 60%] Built target navigatetool [ 60%] Building CXX object kalzium/libavogadro-kalzium/src/tools/CMakeFiles/drawtool.dir/qrc_drawtool.o Linking CXX shared library ../../../../lib/libdrawtool.so [ 60%] Built target drawtool Linking CXX shared library ../../lib/libcompoundviewer.so [ 60%] Built target compoundviewer [ 61%] [ 61%] [ 62%] Generating chemset.cmi Generating parser.cmi Generating datastruct.cmi File "/var/tmp/portage/kde-base/kalzium-4.2.2/work/kalzium-4.2.2/kalzium/src/solver/parser.mli", line 15, characters 48-65: Unbound type constructor Chemset.listitems make[2]: *** [kalzium/src/parser.cmi] Fehler 2 make[2]: *** Warte auf noch nicht beendete Prozesse... make[1]: *** [kalzium/src/CMakeFiles/kalzium.dir/all] Fehler 2 make: *** [all] Fehler 2 * * ERROR: kde-base/kalzium-4.2.2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3823: Called kde4-meta_src_compile * environment, line 2939: Called kde4-base_src_compile * environment, line 2672: Called cmake-utils_src_compile * environment, line 1007: Called cmake-utils_src_make * environment, line 1086: Called die * The specific snippet of code: * emake "$@" || die "Make failed!"; * The die message: * Make failed! * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/kde-base/kalzium-4.2.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-base/kalzium-4.2.2/temp/environment'. * >>> Failed to emerge kde-base/kalzium-4.2.2, Log file: >>> '/var/tmp/portage/kde-base/kalzium-4.2.2/temp/build.log' Reproducible: Always Steps to Reproduce: 1. USE="solver" emerge =kde-base/kalzium-4.2.2 Actual Results: * ERROR: kde-base/kalzium-4.2.2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3823: Called kde4-meta_src_compile * environment, line 2939: Called kde4-base_src_compile * environment, line 2672: Called cmake-utils_src_compile * environment, line 1007: Called cmake-utils_src_make * environment, line 1086: Called die * The specific snippet of code: * emake "$@" || die "Make failed!"; * The die message: * Make failed! * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/kde-base/kalzium-4.2.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-base/kalzium-4.2.2/temp/environment'. * >>> Failed to emerge kde-base/kalzium-4.2.2, Log file: >>> '/var/tmp/portage/kde-base/kalzium-4.2.2/temp/build.log' Expected Results: emerge success 1 root@miriel /home/mnagl # emerge --info Portage 2.1.6.7 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r2 x86_64) ================================================================= System uname: Linux-2.6.28-gentoo-r2-x86_64-Intel-R-_Core-TM-2_CPU_6300_@_1.86GHz-with-glibc2.2.5 Timestamp of tree: Mon, 13 Apr 2009 08:45:02 +0000 distcc 3.0 x86_64-pc-linux-gnu [disabled] app-shells/bash: 3.2_p39 dev-java/java-config: 2.1.7 dev-lang/python: 2.5.2-r7 dev-util/cmake: 2.6.3-r1 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=nocona" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/fax /usr/share/config /var/lib/hsqldb /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active//etc/php/cli-php5/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 /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=nocona" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="de en ja" MAKEOPTS="-j3" 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="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acpi alsa amd64 anthy asf berkdb bluetooth bzip2 cairo captury chm cjk cli clucene consolekit corefonts cracklib crypt css cups cvs dbus djvu dri dts dv dvddvdr dvdread emovix encode exif fam fame fbcondecor ffmpeg firefox flac fontconfig fortran fuse gcj gdbm gi gif git glitz gnokii gphoto2 gpm gs gstreamer hal hdri htmlhandbook iconv id3tag ieee1394 imlib inotify ipod ipv6 isdnlog jack java java5 jbig jpeg jpeg2k kde kipi kpathsea ladspa latex lcms ldap libsamplerate lzo mad midi mjpeg mmx mng motif mp3 mpeg mplayer mudflap multilib musepack musicbrainz mysql ncurses nls npp nptl nptlonly nsplugin ogg openexr opengl openmp pam pcre pdf perl plasma png postscript ppds pppd ps python qt4 quicktime rdesktop readline recode redland reflection samba sasl scanner sdl semantic-desktop session smp sndfile soundtouch speex spell spl sse sse2 ssl subversion svg sysfs tcpd theora threads thumbnail tiff truetype twolame unicode usb vamp vcd vnc vorbis wavpack webkit wmf xcb xcomposite xine xml xorg xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emulmulaw 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en ja" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 188264 [details] build.log
Me 2: "solver" useflag kills kazium compile !
works with ocaml-3.10.2 and facile-1.1 around. Please try to update to those and report. If it will work i will update deps accordingly
(In reply to comment #3) > works with ocaml-3.10.2 and facile-1.1 around. > Please try to update to those and report. > If it will work i will update deps accordingly > Note to self: update also openbabel and eigen deps.
I had to edit my stupid cflags to get kalzium to compile: CFLAGS="-march=athlon64 -O2 -msse3 -pipe"# -fomit-frame-pointer -ftree-vectorize -ftree-loop-linear" CXXFLAGS="${CFLAGS}"# -fvisibility-inlines-hidden" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags" It`s been a while since some package complained so i forgot that i have them a little dangerous ;)
I'm sorry but it doesn't compile yet. It stop a little later: Installe packages: oot@miriel $ eix openbabel [I] sci-chemistry/openbabel Available versions: 2.0.2 (~)2.1.1 (~)2.2.0 (~)2.2.1 {doc} Installed versions: 2.2.1(20:52:24 11.03.2009)(-doc) Homepage: http://openbabel.sourceforge.net/ Description: interconverts file formats used in molecular modeling root@miriel $ eix eigen [I] dev-cpp/eigen Available versions: (0) 1.0.5 (2) (~)2.0.0 (~)2.0.1 Installed versions: 2.0.1(2)(09:48:02 15.04.2009) Homepage: http://eigen.tuxfamily.org/ Description: Lightweight C++ template library for vector and matrix math, a.k.a. linear algebra root@miriel $ eix dev-lang/ocaml [I] dev-lang/ocaml Available versions: 3.08.4 3.10.2 [M]~3.11.0 {X emacs gdbm latex ncurses ocamlopt tk xemacs} Installed versions: 3.10.2(09:47:49 15.03.2009)(X gdbm latex ncurses ocamlopt -emacs -tk -xemacs) Homepage: http://www.ocaml.org/ Description: Fast modern type-inferring functional programming language descended from the ML family root@miriel $ eix facile [I] dev-ml/facile Available versions: 1.1!m {ocamlopt} Installed versions: 1.1!m(20:53:26 11.03.2009)(ocamlopt) Homepage: http://www.recherche.enac.fr/log/facile/ Description: FaCiLe is a constraint programming library on integer and integer set finite domains written in OCaml. emerge error: [ 70%] [ 71%] Generating ui_isotopedialog.h Generating ui_exportdialog.h [ 72%] Generating prefs.h, prefs.cpp [ 73%] Generating chemset.cmx [ 73%] Built target drawtool [ 73%] [ 74%] [ 74%] Generating datastruct.cmx Generating parser.cmx Generating chem.cmx File "/var/tmp/portage/kde-base/kalzium-4.2.2/work/kalzium-4.2.2/kalzium/src/solver/chem.ml", line 54, characters 43-54: Warning Y: unused variable nb_elements. Corrupted compiled interface /usr/lib64/ocaml/facile/facile.cmi make[2]: *** [kalzium/src/chem.cmx] Fehler 2 make[2]: *** Warte auf noch nicht beendete Prozesse... make[1]: *** [kalzium/src/CMakeFiles/kalzium.dir/all] Fehler 2 make: *** [all] Fehler 2 * * ERROR: kde-base/kalzium-4.2.2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3824: Called kde4-meta_src_compile * environment, line 2940: Called kde4-base_src_compile * environment, line 2673: Called cmake-utils_src_compile * environment, line 1008: Called cmake-utils_src_make * environment, line 1087: Called die * The specific snippet of code: * emake "$@" || die "Make failed!"; * The die message: * Make failed! * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/kde-base/kalzium-4.2.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-base/kalzium-4.2.2/temp/environment'.
Created attachment 188652 [details] new build.log
(In reply to comment #5) > I had to edit my stupid cflags to get kalzium to compile: I can confirm that I had to remove "-fomit-frame-pointer" from CFLAGS to get past the error. I hit the above error with "-fomit-frame-pointer" and the following installed: [ebuild R ] dev-lang/ocaml-3.10.2 USE="X gdbm ncurses ocamlopt tk -emacs -latex -xemacs" 0 kB [ebuild R ] sci-chemistry/openbabel-2.2.1 USE="doc" 0 kB [ebuild R ] dev-cpp/eigen-2.0.1 0 kB [ebuild R ] dev-ml/facile-1.1 USE="ocamlopt" 0 kB
Reemerging those four packages solved the kalzium-compile-problems for me! Thanks! [ebuild R ] dev-lang/ocaml-3.10.2 [ebuild R ] sci-chemistry/openbabel-2.2.1 [ebuild R ] dev-cpp/eigen-2.0.1 [ebuild R ] dev-ml/facile-1.1
(In reply to comment #9) > Reemerging those four packages solved the kalzium-compile-problems for me! > Thanks! > > [ebuild R ] dev-lang/ocaml-3.10.2 > [ebuild R ] sci-chemistry/openbabel-2.2.1 > [ebuild R ] dev-cpp/eigen-2.0.1 > [ebuild R ] dev-ml/facile-1.1 > That did the trick even with "solver" enabled. I did not have to change my cflags: CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}" kind regards Bjoern
+1 Works for me. Thanks!
doesn't seem a bug to me, thus invalid