| Summary: | Erlang 11.2.5 fails to emerge with HIPE on, patch attached. | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Alexander T <spam> |
| Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | minor | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
*** This bug has been marked as a duplicate of bug 193452 *** |
erlang-11.2.5-r2 fais to emerge with USE flag "hipe" on installing stage with the following message: .... make[4]: Entering directory `/var/tmp/portage/dev-lang/erlang-11.2.5-r2/work/otp _src_R11B-5/lib/hipe/regalloc' /bin/install -c -d /var/tmp/portage/dev-lang/erlang-11.2.5-r2/image//usr/lib64/e rlang/lib/hipe-3.6.3/ebin /bin/install -c -m 644 ../ebin/hipe_ig.beam ../ebin/hipe_ig_moves.beam ../ebin/h ipe_moves.beam ../ebin/hipe_node_sets.beam ../ebin/hipe_spillcost.beam ../ebin/h ipe_reg_worklists.beam ../ebin/hipe_adj_list.beam ../ebin/hipe_temp_map.beam ../ ebin/hipe_optimistic_regalloc.beam ../ebin/hipe_coalescing_regalloc.beam ../ebin /hipe_optimistic_regalloc.beam ../ebin/hipe_graph_coloring_regalloc.beam ../ebin /hipe_regalloc_loop.beam ../ebin/hipe_ls_regalloc.beam ../ebin/hipe_sparc_specif ic.beam ../ebin/hipe_sparc_specific_fp.beam ../ebin/hipe_ppc_specific.beam ../eb in/hipe_ppc_specific_fp.beam ../ebin/hipe_arm_specific.beam ../ebin/hipe_x86_spe cific.beam ../ebin/hipe_x86_specific_x87.beam ../ebin/hipe_amd64_specific.beam . ./ebin/hipe_amd64_specific_sse2.beam ../ebin/hipe_amd64_specific_x87.beam /var/t mp/portage/dev-lang/erlang-11.2.5-r2/image//usr/lib64/erlang/lib/hipe-3.6.3/ebin /bin/install: will not overwrite just-created `/var/tmp/portage/dev-lang/erlang- 11.2.5-r2/image//usr/lib64/erlang/lib/hipe-3.6.3/ebin/hipe_optimistic_regalloc.b eam' with `../ebin/hipe_optimistic_regalloc.beam' make[4]: *** [release_spec] Error 1 make[4]: Leaving directory `/var/tmp/portage/dev-lang/erlang-11.2.5-r2/work/otp_ src_R11B-5/lib/hipe/regalloc' make[3]: *** [release] Error 2 make[3]: Leaving directory `/var/tmp/portage/dev-lang/erlang-11.2.5-r2/work/otp_src_R11B-5/lib/hipe/regalloc' make[2]: *** [release] Error 2 make[2]: Leaving directory `/var/tmp/portage/dev-lang/erlang-11.2.5-r2/work/otp_src_R11B-5/lib/hipe' make[1]: *** [release] Error 2 make[1]: Leaving directory `/var/tmp/portage/dev-lang/erlang-11.2.5-r2/work/otp_src_R11B-5/lib' make: *** [install.libs] Error 2 * * ERROR: dev-lang/erlang-11.2.5-r2 failed. * Call stack: * ebuild.sh, line 1654: Called dyn_install * ebuild.sh, line 1089: Called qa_call 'src_install' * ebuild.sh, line 44: Called src_install * erlang-11.2.5-r2.ebuild, line 98: Called die * * install failed The problem seems to be caused by the fact that in Makefile for hipe/regalloc the target "hipe_optimistic_regalloc" is listed twice. Therefore, the following patch has solved the problem and allowed to install it cleanly, so far it works OK with ejabberd-1.1.4: ====== diff -urN otp_src_R11B-5/lib/hipe/regalloc/Makefile otp_src_R11B-5.new/lib/hipe/regalloc/Makefile --- otp_src_R11B-5/lib/hipe/regalloc/Makefile 2007-06-11 15:56:03.000000000 +0300 +++ otp_src_R11B-5.new/lib/hipe/regalloc/Makefile 2007-09-22 15:44:40.000000000 +0300 @@ -43,7 +43,6 @@ hipe_temp_map \ hipe_optimistic_regalloc \ hipe_coalescing_regalloc \ - hipe_optimistic_regalloc \ hipe_graph_coloring_regalloc \ hipe_regalloc_loop \ hipe_ls_regalloc \ ====== Reproducible: Always Steps to Reproduce: Just emerge erlang-11.2.5-r2 with USE flag "hipe" Portage 2.1.3.9 (default-linux/amd64/2006.1/desktop, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r3-ndl-server x86_64) ================================================================= System uname: 2.6.22-gentoo-r3-ndl-server x86_64 AMD Sempron(tm) Processor 3200+ Timestamp of tree: Fri, 21 Sep 2007 20:00:02 +0000 app-shells/bash: 3.2_p17-r1 dev-lang/python: 2.5.1-r2 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.10-r4 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18 sys-devel/gcc-config: 1.4.0-r2 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.linux.org.ua/pub/Linux/Gentoo ftp://ftp.gentoo.org.ua" PKGDIR="/usr/portage/packages" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="alsa amd64 apache2 arts berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd dvdr eds emboss encode esd fam fortran gdbm gif gpm gstreamer hal iconv imap isdnlog jpeg ldap mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre perl png ppds pppd python readline reflection sdl session spell spl sqlite ssl tcpd truetype truetype-fonts type1-fonts unicode vhosts vorbis xml xorg 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS