Bug 167909 - dev-lang/erlang-11.2.3 fails to build on AMD64
Bug#: 167909 Product:  Gentoo Linux Version: unspecified Platform: AMD64
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: lang-misc@gentoo.org Reported By: levertond@googlemail.com
Component: Development
URL: 
Summary: dev-lang/erlang-11.2.3 fails to build on AMD64
Keywords:  
Status Whiteboard: 
Opened: 2007-02-21 19:30 0000
Description:   Opened: 2007-02-21 19:30 0000
The newest version of Erlang fails on AMD64 with

cd erts/emulator &&
ERL_TOP=/var/tmp/paludis/dev-lang/erlang-11.2.3/work/otp_src_R11B-3 make
generate depend
make[1]: Entering directory
`/var/tmp/paludis/dev-lang/erlang-11.2.3/work/otp_src_R11B-3/erts/emulator'
make -f x86_64-unknown-linux-gnu/Makefile generate
make[2]: Entering directory
`/var/tmp/paludis/dev-lang/erlang-11.2.3/work/otp_src_R11B-3/erts/emulator'
make[2]: x86_64-unknown-linux-gnu/Makefile: No such file or directory
make[2]: *** No rule to make target `x86_64-unknown-linux-gnu/Makefile'.  Stop.
make[2]: Leaving directory
`/var/tmp/paludis/dev-lang/erlang-11.2.3/work/otp_src_R11B-3/erts/emulator'
make[1]: *** [generate] Error 2
make[1]: Leaving directory
`/var/tmp/paludis/dev-lang/erlang-11.2.3/work/otp_src_R11B-3/erts/emulator'
make: *** [depend] Error 2

(note, "unknown" instead of "pc").  Adding back the

epatch "${FILESDIR}/${PN}-10.2.6-export-TARGET.patch"

line from the previous ebuild fixes it.

------- Comment #1 From Paul Taylor 2007-02-22 00:00:12 0000 -------
Confirmed; adding the patch also works for me.

------- Comment #2 From Mike McClurg 2007-02-22 06:58:37 0000 -------
Confirmed.

------- Comment #3 From Simon Stelling (RETIRED) 2007-02-22 10:28:59 0000 -------
patch is back

------- Comment #4 From Jakub Moc (RETIRED) 2007-02-22 18:50:57 0000 -------
*** Bug 168024 has been marked as a duplicate of this bug. ***