m-ab-s / media-autobuild_suite

This Windows Batchscript helps setup a Mingw-w64 compiler environment for building ffmpeg and other media tools under Windows.
GNU General Public License v3.0
1.49k stars 257 forks source link

ninja: fatal: CreateProcess: Access is denied. #2542

Closed slyfox1186 closed 4 months ago

slyfox1186 commented 8 months ago
        Starting 64bit compilation of video tools
11:50:45   Running git update for vpx...
11:50:46 vpx git  .......................................... [Up-to-date]
11:50:48   Running git update for aom...
11:50:49 ┌ aom git  .................................. [Recently updated]
11:50:49 ├ Running cmake...
11:51:13 ├ Running build...
Likely error (tail of the failed operation logfile):
[413/437] Building C object CMakeFiles/aomenc.dir/apps/aomenc.c.o
[414/437] Building CXX object CMakeFiles/aom_decoder_app_util.dir/common/webmdec.cc.o
[415/437] Building ASM_NASM object CMakeFiles/aom_dsp_encoder_sse2.dir/aom_dsp/x86/highbd_sad4d_sse2.asm.o
[416/437] Building CXX object CMakeFiles/svc_encoder_rtc.dir/examples/svc_encoder_rtc.cc.o
[417/437] Linking C static library libaom.a

CreateProcess failed. Command attempted:
"cmd.exe /C "cd . && H:\MAB\msys64\mingw64\bin\ccache.exe  g++ -D_FORTIFY_SOURCE=2 -fstack-protector-strong -mtune=generic -O2 -pipe -D__USE_MINGW_ANSI_STDIO=1 -O3 -DNDEBUG -D_WIN32_WINNT=0x0601 -D_CRT_SECURE_NO_WARNINGS -std=c++11 -Wall -Wdisabled-optimization -Wextra -Wextra-semi -Wfloat-conversion -Wformat=2 -Wlogical-op -Wpointer-arith -Wshadow -Wsign-compare -Wtype-limits -Wuninitialized -Wunused -Wvla -Wc++14-extensions -Wc++17-extensions -Wc++20-extensions -Wstack-usage=240000 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -fstack-protector-strong -mtune=generic -O2 -pipe -D__USE_MINGW_ANSI_STDIO=1 -static-libgcc -static-libstdc++ CMakeFiles/aom_common_app_util.dir/av1/arg_defs.c.o CMakeFiles/aom_common_app_util.dir/common/args_helper.c.o CMakeFiles/aom_common_app_util.dir/common/args.c.o CMakeFiles/aom_common_app_util.dir/common/av1_config.c.o CMakeFiles/aom_common_app_util.dir/common/md5_utils.c.o CMakeFiles/aom_common_app_util.dir/common/tools_common.c.o CMakeFiles/aom_common_app_util.dir/common/rawenc.c.o CMakeFiles/aom_common_app_util.dir/common/y4menc.c.o CMakeFiles/aom_common_app_util.dir/common/ivfdec.c.o CMakeFiles/aom_encoder_app_util.dir/common/ivfenc.c.o CMakeFiles/aom_encoder_app_util.dir/common/video_writer.c.o CMakeFiles/aom_encoder_app_util.dir/common/warnings.c.o CMakeFiles/aom_encoder_app_util.dir/common/y4minput.c.o CMakeFiles/aom_encoder_app_util.dir/examples/encoder_util.c.o CMakeFiles/aom_encoder_app_util.dir/common/webmenc.cc.o CMakeFiles/yuv.dir/third_party/libyuv/source/convert_argb.cc.o CMakeFiles/yuv.dir/third_party/libyuv/source/cpu_id.cc.o CMakeFiles/yuv.dir/third_party/libyuv/source/planar_functions.cc.o CMakeFiles/yuv.dir/third_party/libyuv/source/row_any.cc.o CMakeFiles/yuv.dir/third_party/libyuv/source/row_common.cc.o CMakeFiles/yuv.dir/third_party/libyuv/source/row_gcc.cc.o CMakeFiles/yuv.dir/third_party/libyuv/source/row_mips.cc.o CMakeFiles/yuv.dir/third_party/libyuv/source/row_neon.cc.o CMakeFiles/yuv.dir/third_party/libyuv/source/row_neon64.cc.o CMakeFiles/yuv.dir/third_party/libyuv/source/row_win.cc.o CMakeFiles/yuv.dir/third_party/libyuv/source/scale.cc.o CMakeFiles/yuv.dir/third_party/libyuv/source/scale_any.cc.o CMakeFiles/yuv.dir/third_party/libyuv/source/scale_common.cc.o CMakeFiles/yuv.dir/third_party/libyuv/source/scale_gcc.cc.o CMakeFiles/yuv.dir/third_party/libyuv/source/scale_mips.cc.o CMakeFiles/yuv.dir/third_party/libyuv/source/scale_neon.cc.o CMakeFiles/yuv.dir/third_party/libyuv/source/scale_neon64.cc.o CMakeFiles/yuv.dir/third_party/libyuv/source/scale_win.cc.o CMakeFiles/yuv.dir/third_party/libyuv/source/scale_uv.cc.o CMakeFiles/webm.dir/third_party/libwebm/common/hdr_util.cc.o CMakeFiles/webm.dir/third_party/libwebm/mkvmuxer/mkvmuxer.cc.o CMakeFiles/webm.dir/third_party/libwebm/mkvmuxer/mkvmuxerutil.cc.o CMakeFiles/webm.dir/third_party/libwebm/mkvmuxer/mkvwriter.cc.o CMakeFiles/webm.dir/third_party/libwebm/mkvparser/mkvparser.cc.o CMakeFiles/webm.dir/third_party/libwebm/mkvparser/mkvreader.cc.o CMakeFiles/noise_model.dir/examples/noise_model.c.o -o noise_model.exe -Wl,--out-implib,libnoise_model.dll.a -Wl,--major-image-version,0,--minor-image-version,0  libaom.a  -lmingwthrd  -lmingwthrd  -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd .""
ninja: fatal: CreateProcess: Access is denied.

build failed. Check H:/MAB/build/aom-git/build-64bit/ab-suite.build.log
This is required for other packages, so this script will exit.
11:51:33   Creating diagnostics file...

Attach H:\MAB\build\logs.zip to the GitHub issue.
Make sure the suite is up-to-date before reporting an issue. It might've been fixed already.

logs.zip

Biswa96 commented 8 months ago

Please make sure to exclude the m-ab-s directory in antivirus programs like Windows Defender.

slyfox1186 commented 8 months ago

I disabled the antivirus completely and got the same error.

1480c1 commented 4 months ago

I have not been able to reproduce your issue, I can only guess somehow maybe related to your file system or permissions