-
Notifications
You must be signed in to change notification settings - Fork 518
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
Tell me what is the problem with the release build? #2924
Comments
I don't quite know since you've only included the error and none of the project configuration, but I note:
That's the extent of what I Can figure out from the trace. There's little to do extra with this information, besides saying cowlib usually builds fine, so I'm suspecting something weird with your environment. Is there any chance you're on a virtual machine sharing a filesystem with a Windows system? These tend to have real weird filesystem bugs with symlinks. |
`cat /etc/os-release VERSION="20241014"ID="opensuse-tumbleweed" CPE 2.3 format, boo#1217921CPE_NAME="cpe:2.3:o:opensuse:tumbleweed:20241014:::::::*" |
if I run the build a second time, everything will be assembled, but I can't do that in CI |
What's the rebar.config file like? I haven't been able to replicate it for releases with newer versions when calling it as
|
|
Aside from getting the expected warning ( |
Pre-Check
===> Fetching cowlib v2.12.1
===> Making request to get package cowlib from repo hexpm
===> Version cached at /home/oper/.cache/rebar3/hex/hexpm/packages/cowlib-2.12.1.tar is up to date, reusing it
===> sh info:
cwd: "/home/oper/Programs/project/123"
cmd: rm -rf /home/oper/Programs/project/123/_build/default/lib/cowlib
===> opts: [{use_stdout,false},abort_on_error]
===> Port Cmd: rm -rf /home/oper/Programs/project/123/_build/default/lib/cowlib
Port Opts: [exit_status,
{line,16384},
use_stdio,stderr_to_stdout,hide,eof,binary]
===> Moving checkout "/tmp/.tmp_dir983864185500" to "/home/oper/Programs/project/123/_build/default/lib/cowlib"
===> sh info:
cwd: "/home/oper/Programs/project/123"
cmd: mv /tmp/.tmp_dir983864185500 /home/oper/Programs/project/123/_build/default/lib/cowlib
===> opts: [{use_stdout,false},abort_on_error]
===> Port Cmd: mv /tmp/.tmp_dir983864185500 /home/oper/Programs/project/123/_build/default/lib/cowlib
Port Opts: [exit_status,
{line,16384},
use_stdio,stderr_to_stdout,hide,eof,binary]
===> Linking _build/default/lib/cowlib to build/123/lib/cowlib
===> Uncaught error in rebar_core. Run with DIAGNOSTIC=1 to see stacktrace or consult rebar3.crashdump
===> Uncaught error: {badmatch,error}
===> Stack trace to the error location:
[{rebar_prv_install_deps,update_seen_dep,9,
[{file,"/home/runner/work/rebar3/rebar3/src/rebar_prv_install_deps.erl"},
{line,278}]},
{lists,foldl,3,[{file,"lists.erl"},{line,1267}]},
{rebar_prv_install_deps,handle_profile_level,7,
[{file,"/home/runner/work/rebar3/rebar3/src/rebar_prv_install_deps.erl"},
{line,183}]},
{rebar_prv_install_deps,do,1,
[{file,"/home/runner/work/rebar3/rebar3/src/rebar_prv_install_deps.erl"},
{line,82}]},
{rebar_core,do,2,
[{file,"/home/runner/work/rebar3/rebar3/src/rebar_core.erl"},
{line,155}]},
{rebar_prv_do,do_task,5,
[{file,"/home/runner/work/rebar3/rebar3/src/rebar_prv_do.erl"},
{line,75}]},
{rebar_core,do,2,
[{file,"/home/runner/work/rebar3/rebar3/src/rebar_core.erl"},
{line,155}]},
{rebar3,run_aux,2,
[{file,"/home/runner/work/rebar3/rebar3/src/rebar3.erl"},
{line,182}]}]
===> When submitting a bug report, please include the output of
rebar3 report "your command"
make: *** [Makefile:79: release] Error 1
Environment
[/quote]
...
DEBUG=1 rebar3
The text was updated successfully, but these errors were encountered: