Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 190688

Summary: dev-lang/erlang-11.2.5-r2 make install phase failes with error about overwriting file
Product: Gentoo Linux Reporter: James Ausmus <james.ausmus>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to fix install overwrite

Description James Ausmus 2007-08-29 19:09:02 UTC
Fails with the following output:

<snip>
make[4]: Entering directory `/var/tmp/portage/dev-lang/erlang-11.2.5-r2/work/otp_src_R11B-5/lib/hipe/regalloc'
/usr/bin/install -c -d /var/tmp/portage/dev-lang/erlang-11.2.5-r2/image//usr/lib64/erlang/lib/hipe-3.6.3/ebin
/usr/bin/install -c -m 644 ../ebin/hipe_ig.beam ../ebin/hipe_ig_moves.beam ../ebin/hipe_moves.beam ../ebin/hipe_node_sets.beam ../ebin/hipe_spillcost.beam ../ebin/hipe_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_specific.beam ../ebin/hipe_sparc_specific_fp.beam ../ebin/hipe_ppc_specific.beam ../ebin/hipe_ppc_specific_fp.beam ../ebin/hipe_arm_specific.beam ../ebin/hipe_x86_specific.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/tmp/portage/dev-lang/erlang-11.2.5-r2/image//usr/lib64/erlang/lib/hipe-3.6.3/ebin
/usr/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.beam' 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'
<snip>


Reproducible: Always

Steps to Reproduce:
1.emerge =dev-lang/erlang-11.2.5-r2
2.
3.
Comment 1 James Ausmus 2007-08-29 19:29:53 UTC
OK - nevermind - feel free to smack me upside the head... :)

had the "hipe" USE flag set, and right at the beginning of the build, it says:

You enabled High performance Erlang. Be aware that this extension can break the compilation in many ways, especially on hardened systems. Don't cry, don't file bugs, just disable it!


Sorry for the noise...

-James
Comment 2 Jordan Patterson 2007-09-12 19:17:19 UTC
Created attachment 130759 [details, diff]
Patch to fix install overwrite

There was a duplicate entry in the Makefile.  Removing the entry allows erlang to compile normally with the hipe use flag.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-09-23 10:32:15 UTC
Dupe.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-09-23 10:32:24 UTC

*** This bug has been marked as a duplicate of bug 193452 ***