when trying to upgrade my system, llvm-2.4 failed to compile. The end of the error log is following : llvm[3]: ======= Finished Linking Release-Asserts Executable llvmc2 llvm[3]: Installing Release-Asserts /var/tmp/portage/sys-devel/llvm-2.4/image//usr/bin/llvmc2 make[3]: Leaving directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/tools/llvmc2/driver' make[2]: Leaving directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/tools/llvmc2' make[1]: Leaving directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/tools' make[1]: Entering directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/docs' llvm[1]: Packaging HTML documentation llvm[1]: Installing HTML documentation llvm[1]: Building ocamldoc documentation make[2]: Entering directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml' make[3]: Entering directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/llvm' make[3]: Leaving directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/llvm' make[3]: Entering directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/llvm' llvm[3]: Compiling llvm.mli for Release-Asserts build llvm[3]: Documenting llvm.odoc make[3]: Leaving directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/llvm' make[3]: Entering directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/bitreader' make[3]: Leaving directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/bitreader' make[3]: Entering directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/bitreader' make[3]: *** No rule to make target `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/Release-Asserts//lib/ocaml/llvm.cmi', needed by `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/bitreader/Release-Asserts/llvm_bitreader.cmi'. Stop. make[3]: Leaving directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/bitreader' make[3]: Entering directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/bitwriter' make[3]: Leaving directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/bitwriter' make[3]: Entering directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/bitwriter' make[3]: *** No rule to make target `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/Release-Asserts//lib/ocaml/llvm.cmi', needed by `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/bitwriter/Release-Asserts/llvm_bitwriter.cmi'. Stop. make[3]: Leaving directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/bitwriter' make[3]: Entering directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/analysis' make[3]: Leaving directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/analysis' make[3]: Entering directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/analysis' make[3]: *** No rule to make target `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/Release-Asserts//lib/ocaml/llvm.cmi', needed by `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/analysis/Release-Asserts/llvm_analysis.cmi'. Stop. make[3]: Leaving directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/analysis' make[3]: Entering directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/target' make[3]: Leaving directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/target' make[3]: Entering directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/target' make[3]: *** No rule to make target `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/Release-Asserts//lib/ocaml/llvm.cmi', needed by `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/target/Release-Asserts/llvm_target.cmi'. Stop. make[3]: Leaving directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/target' make[3]: Entering directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/executionengine' make[3]: Leaving directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/executionengine' make[3]: Entering directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/executionengine' make[3]: *** No rule to make target `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/Release-Asserts//lib/ocaml/llvm.cmi', needed by `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/executionengine/Release-Asserts/llvm_executionengine.cmi'. Stop. make[3]: Leaving directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/executionengine' make[3]: Entering directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/transforms' make[4]: Entering directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/transforms/scalar' make[4]: Leaving directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/transforms/scalar' make[4]: Entering directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/transforms/scalar' make[4]: *** No rule to make target `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/Release-Asserts//lib/ocaml/llvm.cmi', needed by `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/transforms/scalar/Release-Asserts/llvm_scalar_opts.cmi'. Stop. make[4]: Leaving directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/transforms/scalar' make[3]: *** [ocamldoc] Error 2 make[3]: Leaving directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml/transforms' make[2]: *** [ocamldoc] Error 2 make[2]: Leaving directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/bindings/ocaml' make[1]: *** [regen-ocamldoc] Error 2 make[1]: Leaving directory `/var/tmp/portage/sys-devel/llvm-2.4/work/llvm-2.4/docs' make: *** [install] Error 1 Reproducible: Always Steps to Reproduce: 1. emerge \=sys-devel/llvm-2.4 2. 3. Portage 2.2_rc16 (default-linux/x86/2007.0/desktop, gcc-4.2.4, glibc-2.6.1-r0, 2.6.28-rc6-00007-ged31348 i686) ================================================================= System uname: Linux-2.6.28-rc6-00007-ged31348-i686-Intel-R-_Pentium-R-_M_processor_1.60GHz-with-glibc2.0 Timestamp of tree: Mon, 01 Dec 2008 07:15:01 +0000 app-shells/bash: 3.2_p48 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.5.2-r8 dev-util/cmake: 2.6.2 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.3.0-r1 sys-apps/sandbox: 1.2.18.1-r3 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.19 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe -ggdb" 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.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=pentium4 -O2 -pipe -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect distlocks metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="fr_BE.UTF-8" LC_ALL="fr_BE.UTF-8" LDFLAGS="-Wl,-z,now" LINGUAS="en en_GB en_US fr fr_BE" 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" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/cedric/devel/overlay /usr/local/portage/layman/gnustep /usr/local/portage/layman/sunrise" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac accessibility acl acpi alsa amazon asm audiofile avahi avi bash-completion berkdb bitmap-fonts bluetooth branding bzip2 cairo calendar cardbus cdinstall cdparanoia cdr cgi chm chroot cis cle266 clucene crypt css cups curl dbus dedicated dga disk-partition diskio divx dlloader dri dts dv dvb dvd dvdread eds encode enscript erandom expat extensions faad fam fame fbcon fbcondecor fbsplash ffmpeg firefox flac font-server gcj gd gif glibc-omitfp glitz gmedia gnome gnustep gphoto2 gpm graphviz grub gstreamer gtk hal hddtemp hibernate-script htmlhandbook icons iconv icq imap imlib innodb ipv6 irc irmc ithreads jabber java java5 jpeg jpeg2k kcal kde kdepim kdeprefix konqueror kqemu laptop lcms ldap libffi libnotify libwww live lm_sensors lzo mad madwifi maildir mdnsresponder-compat memlimit messenger midi mikmod mjpeg mmx mmxext mng modperl mozilla moznocompose moznoirc moznomail moznopango mozsvg mp3 mp4 mpeg mplayer mpm-worker msn musepack musicbrainz mysql mysqli ncurses netnetwork networkmanager nls no_wxgtk1 noamazon npp nptl nptlonly nsplugin obex objc ocamlopt offensive ogg oggvorbis on-the-fly-crypt openal openexr opengl pam pcmcia pcre pdf pdfkit pdflib pdo perl pg-intdatetime php pixmaps plasma png postgres python qt qt3 qt3support qt4 quicktime rdc rdesktop readline restrict-javascript rtc sdl session simplexml slp sndfile snmp soap speex spell sql sqlite sqlite3 srt sse sse2 ssl startup-notification subversion svg sysvipc texteffect theora threads tidy tiff truetype truetype-fonts type1-fonts unicode usb userlocales utempter v4l v4l2 vcd vdesktop vim-syntax visualization vorbiswddx webdav-neon widescreen wifi wmf wmp x86 xanim xcomposite xine xinerama xml xml2 xmlreader xmlrpc xmlwriter xorg xrandr xsl xulrunner xv xvid xvmc yv12 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 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 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 rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB en_US fr fr_BE" USERLAND="GNU" VIDEO_CARDS="radeon vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Don't CC maintainers on bugs you cannot assign.
hm, it seems i was wrong saying that it was in the comile section. It's in the install phase of the ebuild. * * ERROR: sys-devel/llvm-2.4 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 2125: Called die * The specific snippet of code: * make DESTDIR="${D}" install || die "make install failed"; * The die message: * make install failed
From bug #186279, you can try this: --- llvm-2.4.ebuild.orig 2008-12-09 13:16:06.000000000 +0100 +++ llvm-2.4.ebuild 2008-12-09 13:16:14.000000000 +0100 @@ -165,7 +165,7 @@ CONF_FLAGS="${CONF_FLAGS} --with-llvmgccdir=/dev/null" econf ${CONF_FLAGS} || die "econf failed" - emake tools-only || die "emake failed" + emake || die "emake failed" } src_install() This may fix the install problem for you
yes ! Many thanks ! Can we close the bug ?
Not yet, I still have to update the ebuild in gnustep overlay ;) As llvm in it is mostly just for Etoile compilation, I'll probably update it to run emake, we'll see in the other bug what will be used in the end if llvm enters portage
Changed in llvm ebuild in gnustep overlay, no visible difference between both make commands, and languagekit still compiles with it Thanks for the report!