media-autobuild_suite icon indicating copy to clipboard operation
media-autobuild_suite copied to clipboard

exit code 1 despite successful compilation

Open ReenigneArcher opened this issue 1 year ago • 3 comments

I am running this in a GitHub runner. It appears that compilation is successful, but exits with error code 1.

Here is the output of the latest run: https://github.com/LizardByte/ffmpeg-prebuilt/runs/7661588462?check_suite_focus=true#step:7:3951

There are a few patches applied to get it to run headless (without prompts), but I don't believe these are causing the exit code 1. (These worked fine previously.)

sed -i 's/do_prompt /echo /g' build/media-suite_helper.sh build/media-suite_compile.sh
sed -i 's/read.*yn/yn=y/g' build/media-suite_update.sh

ReenigneArcher avatar Aug 04 '22 14:08 ReenigneArcher

)
if %noMintty%==y (
    call :runBash compile.log /build/media-suite_compile.sh %compileArgs%
) else (
    if exist %build%\compile.log del %build%\compile.log
    start "compile" /I /LOW %CD%\msys64\usr\bin\mintty.exe -i /msys2.ico -t "media-autobuild_suite" ^
    --log 2>&1 %build%\compile.log /bin/env MSYSTEM=%MSYSTEM% MSYS2_PATH_TYPE=inherit ^
    /usr/bin/bash ^
    --login /build/media-suite_compile.sh %compileArgs%
)
color
exit /B %ERRORLEVEL%

I'm curious if color is "erroring" out, can you try removing that command and see again?

1480c1 avatar Aug 05 '22 04:08 1480c1

ping @ReenigneArcher

1480c1 avatar Sep 07 '22 02:09 1480c1

ping @ReenigneArcher

Sorry, I have not had a chance to dig into this further yet. It's not the easiest to modify and test in a github runner.

Edit: I'll spend some time this week and test it.

ReenigneArcher avatar Sep 07 '22 04:09 ReenigneArcher

I'm now compiling ffmpeg with a custom github workflow without the use of this tool, so closing now. Thank you.

ReenigneArcher avatar Nov 30 '22 16:11 ReenigneArcher