[erlang-questions] Unable to build R12B on Debian
Mikael Pettersson
mikpe@REDACTED
Mon Jan 14 14:46:25 CET 2008
Aaron Lee writes:
> Here's the complete log, it looks like there were some previous errors
> before the last one.
>
> cd erts/emulator && ERL_TOP=/home/aaron08544/software/otp_src_R12B-0 make
> generate depend
> make[1]: Entering directory
> `/home/.winkler/aaron08544/software/otp_src_R12B-0/erts/emulator'
Looks like $HOME is on NFS.
<snip; erts build seems to go ok>
> javac -d /home/aaron08544/software/otp_src_R12B-0/lib/jinterface/priv/
> OtpErlangShort.java
> make[4]: ***
> [/home/aaron08544/software/otp_src_R12B-0/lib/jinterface/priv/com/ericsson/otp/erlang/OtpErlangShort.class]
> Killed
Oh dear.
<snip>
> CLASSPATH=/home/aaron08544/software/otp_src_R12B-0/lib/jinterface/java_src/
> javac -d /home/aaron08544/software/otp_src_R12B-0/lib/jinterface/priv/
> OtpErlangShort.java
> CLASSPATH=/home/aaron08544/software/otp_src_R12B-0/lib/jinterface/java_src/
> javac -d /home/aaron08544/software/otp_src_R12B-0/lib/jinterface/priv/
> OtpErlangUInt.java
> CLASSPATH=/home/aaron08544/software/otp_src_R12B-0/lib/jinterface/java_src/
> javac -d /home/aaron08544/software/otp_src_R12B-0/lib/jinterface/priv/
> OtpErlangUShort.java
> make[4]: ***
> [/home/aaron08544/software/otp_src_R12B-0/lib/jinterface/priv/com/ericsson/otp/erlang/OtpErlangUShort.class]
> Killed
So javac isn't terminally broken, but sometimes gets killed.
<snip>
> erl -boot start_clean -noinput +B -eval
> 'release_handler:create_RELEASES("%ERL_ROOT%",
> "/home/aaron08544/software/otp_src_R12B-0/erts/start_scripts",
> "/home/aaron08544/software/otp_src_R12B-0/erts/start_scripts/start_sasl.rel",
> []), halt()')
> make[2]: *** [RELEASES.src] Error 139
> make[2]: Leaving directory
> `/home/.winkler/aaron08544/software/otp_src_R12B-0/erts/start_scripts'
> make[1]: *** [local_setup] Error 2
> make[1]: Leaving directory
> `/home/.winkler/aaron08544/software/otp_src_R12B-0/erts'
> make: *** [local_setup] Error 2
I suspect either NFS issues, like the external file system being full,
or an overloaded local machine which triggers the kernel's OOM killer.
Since lots of people manage to build Erlang on lots of systems,
including Debian, I suspect that the problem is with your machine(s),
not Erlang/OTP.
More information about the erlang-questions
mailing list