Build otp_src_R16B02-basho5 on Heroku

Christopher Meiklejohn cmeiklejohn at basho.com
Tue Feb 3 16:30:30 EST 2015


> On Feb 3, 2015, at 7:45 AM, Corentin Jechoux <corentin.jechoux.pro at gmail.com> wrote:
> 
> Hello,
> 
> I try to build Basho's Erlang version on Heroku server.
> 
> The commands used are 
> ./configure
> make
> 
> However I face an issue :
> 
> cd lib && \
>           ERL_TOP=/app/otp_src_R16B02-basho5 PATH=/app/otp_src_R16B02-basho5/bootstrap/bin:"${PATH}" \
>                 make opt SECONDARY_BOOTSTRAP=true
> make[1]: Entering directory `/app/otp_src_R16B02-basho5/lib'
> make[2]: Entering directory `/app/otp_src_R16B02-basho5/lib/hipe'
> Makefile:71: warning: overriding commands for target `clean'
> /app/otp_src_R16B02-basho5/make/otp_subdir.mk:28 <http://otp_subdir.mk:28/>: warning: ignoring old commands for target `clean'
> === Entering application hipe
> make[3]: Entering directory `/app/otp_src_R16B02-basho5/lib/hipe/rtl'
> erlc -W  +debug_info +inline +warn_unused_import +warn_exported_vars -o../ebin hipe_rtl.erl
> /app/otp_src_R16B02-basho5/lib/hipe/rtl/../ebin/hipe_rtl.bea#: error writing file
> make[3]: *** [../ebin/hipe_rtl.beam] Error 1
> make[3]: Leaving directory `/app/otp_src_R16B02-basho5/lib/hipe/rtl'
> make[2]: *** [opt] Error 2
> make[2]: Leaving directory `/app/otp_src_R16B02-basho5/lib/hipe'
> make[1]: *** [opt] Error 2
> make[1]: Leaving directory `/app/otp_src_R16B02-basho5/lib'
> make: *** [secondary_bootstrap_build] Error 2
> 

Heroku’s dyno's provide a read-only filesystem.  There are two locations that provide ephemeral storage, specifically documented here [1], where you need to compile Erlang.

Thanks,
- Chris

[1] https://devcenter.heroku.com/articles/read-only-filesystem

Christopher Meiklejohn
Senior Software Engineer
Basho Technologies, Inc.
cmeiklejohn at basho.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20150203/e0cc1ee2/attachment-0002.html>


More information about the riak-users mailing list