Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERL-142: (19.0-rc1) escript appears to be broken for zipped-beam single executable format #3512

Closed
OTP-Maintainer opened this issue May 13, 2016 · 2 comments
Assignees
Labels
bug Issue is reported as a bug priority:medium team:VM Assigned to OTP team VM
Milestone

Comments

@OTP-Maintainer
Copy link

Original reporter: okeuday
Affected version: OTP-19.0
Fixed in version: OTP-19.0
Component: Not Specified
Migrated from: https://bugs.erlang.org/browse/ERL-142


I don't understand the source of the problem, but it is easy to reproduce:
{noformat}
git clone https://github.com/rebar/rebar.git
cd rebar
./bootstrap
./rebar help
{noformat}

The output produced is:

{noformat}
{"init terminating in do_boot",{load_failed,[lists,proc_lib,gen_event,kernel,supervisor,gen_server,filename,file_server,file,heart,ets,error_logger,erl_lint,erl_eval,code,application_controller,application_master,application,error_handler,file_io_server,gen,erl_parse,code_server]}}

Crash dump is being written to: erl_crash.dump...done
init terminating in do_boot ()
{noformat}

rebar3 also has a problem, but the bootstrap script just hangs, refusing to complete, with:
{noformat}
git clone https://github.com/erlang/rebar3.git
cd rebar3
./bootstrap
{noformat}

If this is a problem with my build of 19.0-rc1, please tell me, however, I have run the tests and everything appears to be fine.  Using the zip github creates for the tag at https://github.com/erlang/otp/archive/OTP-19.0-rc1.zip with typical installation options (on x86_64 Linux, using GNU Autoconf 2.68):
{noformat}
export ERL_TOP=`pwd`
./otp_build autoconf
./configure --enable-threads --enable-smp-support --enable-kernel-poll --disable-hipe --prefix=/home/user/installed --enable-dirty-schedulers
make && make install
{noformat}
@OTP-Maintainer
Copy link
Author

okeuday said:

I retried after using GNU autoconf 2.59 with a new installation, but received the same results with rebar2 and rebar3.

@OTP-Maintainer
Copy link
Author

bjorn said:

Here is a fix:

https://github.com/erlang/otp/pull/1055

We will run it a few days in our daily builds and then merge it if no problems are found.

@OTP-Maintainer OTP-Maintainer added bug Issue is reported as a bug team:VM Assigned to OTP team VM priority:medium labels Feb 10, 2021
@OTP-Maintainer OTP-Maintainer added this to the OTP-19.0 milestone Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is reported as a bug priority:medium team:VM Assigned to OTP team VM
Projects
None yet
Development

No branches or pull requests

2 participants