[erlang-questions] jinterface is attempting to build even on --without-javac

Motiejus Jakštys <>
Sat Jan 25 23:28:00 CET 2014


Dear List,

I am building R16B on armv7hl and want to skip building jinterface. I
pass `--without-javac` to ./configure, but it still attempts to build
it and fails with an error:

=== Leaving application sasl
make[2]: Leaving directory `/home/abuild/rpmbuild/BUILD/otp_src_R16B/lib/sasl'
make[2]: Entering directory
`/home/abuild/rpmbuild/BUILD/otp_src_R16B/lib/jinterface'
=== Entering application jinterface
make[3]: Entering directory
`/home/abuild/rpmbuild/BUILD/otp_src_R16B/lib/jinterface/java_src'
make[4]: Entering directory
`/home/abuild/rpmbuild/BUILD/otp_src_R16B/lib/jinterface/java_src/com/ericsson/otp/erlang'
if [ ! -d "/home/abuild/rpmbuild/BUILD/otp_src_R16B/lib/jinterface/priv/"
];then mkdir "/home/abuild/rpmbuild/BUILD/otp_src_R16B/lib/jinterface/priv/";
fi
CLASSPATH=/home/abuild/rpmbuild/BUILD/otp_src_R16B/lib/jinterface/java_src/
  -d /home/abuild/rpmbuild/BUILD/otp_src_R16B/lib/jinterface/priv/
OtpAuthException.java
/bin/sh: -d: command not found
CLASSPATH=/home/abuild/rpmbuild/BUILD/otp_src_R16B/lib/jinterface/java_src/
  -d /home/abuild/rpmbuild/BUILD/otp_src_R16B/lib/jinterface/priv/
OtpErlangDecodeException.java
make[4]: *** [/home/abuild/rpmbuild/BUILD/otp_src_R16B/lib/jinterface/priv/com/ericsson/otp/erlang/OtpAuthException.class]
Error 127
make[4]: *** Waiting for unfinished jobs....
/bin/sh: -d: command not found
make[4]: *** [/home/abuild/rpmbuild/BUILD/otp_src_R16B/lib/jinterface/priv/com/ericsson/otp/erlang/OtpErlangDecodeException.class]
Error 127
make[4]: Leaving directory
`/home/abuild/rpmbuild/BUILD/otp_src_R16B/lib/jinterface/java_src/com/ericsson/otp/erlang'
make[3]: *** [opt] Error 2
make[3]: Leaving directory
`/home/abuild/rpmbuild/BUILD/otp_src_R16B/lib/jinterface/java_src'
make[2]: *** [opt] Error 2
make[2]: Leaving directory
`/home/abuild/rpmbuild/BUILD/otp_src_R16B/lib/jinterface'
make[1]: *** [opt] Error 2
make[1]: Leaving directory `/home/abuild/rpmbuild/BUILD/otp_src_R16B/lib'
make: *** [tertiary_bootstrap_build] Error 2

How should I properly disable jinterface?

Full build log: http://m.jakstys.lt/jinterface_build_failure.txt
Full build tree:
https://build.merproject.org/package/files?package=erlang&project=home%3Amotiejus%3Abranches%3Ahome%3Asledge%3Asandbox

Regards,
Motiejus



More information about the erlang-questions mailing list