Closed minghaop closed 1 year ago
From the last lines of build-x64-windows-static-rel-config.log, it seems that it's trying to look for C:\c\Users\user1\AppData\Local\Temp\ffconf.iB8b45hK\test.o but instead it should be C:\Users\user1\AppData\Local\Temp\ffconf.iB8b45hK\test.o. No idea how to fix it locally though
I can't reproduce this issue in my side. I think you could try to remove below folders:
Local\Temp
vcpkg\buildtrees\ffmpeg
and run these commands"
git pull
.\bootstrap-vcpkg.bat
vcpkg install ffmpeg:x64-windows-static --binarysource=clear
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.
Package: ffmpeg[avcodec,avdevice,avfilter,avformat,core,swresample,swscale]:x64-windows-static -> 5.1.2#5
Host Environment
To Reproduce
vcpkg install ffmpeg:x64-windows-static
Failure logs
C:\vcpkg\buildtrees\ffmpeg\build-x64-windows-static-rel-config.log
``` # /c/vcpkg/buildtrees/ffmpeg/src/n5.1.2-f31542651f.clean/configure --prefix=/c/vcpkg/packages/ffmpeg_x64-windows-static --enable-pic --disable-doc --enable-debug --enable-runtime-cpudetect --disable-autodetect --pkg-config='C:/vcpkg/installed/x64-windows/tools/pkgconf/pkgconf.exe' --target-os=win32 --enable-w32threads --enable-d3d11va --enable-dxva2 --enable-mediafoundation --cc=cl.exe --cxx=cl.exe --windres=rc.exe --ld=link.exe --ar='ar-lib lib.exe' --disable-ffmpeg --disable-ffplay --disable-ffprobe --enable-avcodec --enable-avdevice --enable-avformat --enable-avfilter --disable-postproc --enable-swresample --enable-swscale --disable-alsa --disable-amf --disable-libaom --disable-libass --disable-avisynth --disable-bzlib --disable-libdav1d --disable-libfdk-aac --disable-libfontconfig --disable-libfreetype --disable-libfribidi --disable-iconv --disable-libilbc --disable-lzma --disable-libmp3lame --disable-libmodplug --disable-cuda --disable-nvenc --disable-nvdec --disable-cuvid --disable-ffnvcodec --disable-opencl --disable-opengl --disable-libopenh264 --disable-libopenjpeg --disable-libopenmpt --disable-openssl --enable-schannel --disable-libopus --disable-sdl2 --disable-libsnappy --disable-libsoxr --disable-libspeex --disable-libssh --disable-libtensorflow --disable-libtesseract --disable-libtheora --disable-libvorbis --disable-libvpx --disable-libwebp --disable-libx264 --disable-libx265 --disable-libxml2 --disable-zlib --disable-libsrt --disable-libmfx --enable-cross-compile --extra-cflags='-DHAVE_UNISTD_H=0' --pkg-config-flags=--static --enable-optimizations --arch=x86_64 --enable-asm --enable-x86asm ALLUSERSPROFILE='C:\ProgramData' ALL_COMPONENTS=' aac_adtstoasc_bsf av1_frame_merge_bsf av1_frame_split_bsf av1_metadata_bsf chomp_bsf dump_extradata_bsf dca_core_bsf dv_error_marker_bsf eac3_core_bsf extract_extradata_bsf filter_units_bsf h264_metadata_bsf h264_mp4toannexb_bsf h264_redundant_pps_bsf hapqa_extract_bsf hevc_metadata_bsf hevc_mp4toannexb_bsf imx_dump_header_bsf mjpeg2jpeg_bsf mjpega_dump_header_bsf mp3_header_decompress_bsf mpeg2_metadata_bsf mpeg4_unpack_bframes_bsf mov2textsub_bsf noise_bsf null_bsf opus_metadata_bsf pcm_rechunk_bsf pgs_frame_merge_bsf prores_metadata_bsf remove_extradata_bsf setts_bsf text2movsub_bsf trace_headers_bsf truehd_core_bsf vp9_metadata_bsf vp9_raw_reorder_bsf vp9_superframe_bsf vp9_superframe_split_bsf aasc_decoder aic_decoder alias_pix_decoder agm_decoder amv_decoder anm_decoder ansi_decoder apng_decoder arbc_decoder argo_decoder asv1_decoder asv2_decoder aura_decoder aura2_decoder avrp_decoder avrn_decoder avs_decoder avui_decoder ayuv_decoder bethsoftvid_decoder bfi_decoder bink_decoder bitpacked_decoder bmp_decoder bmv_video_decoder brender_pix_decoder c93_decoder cavs_decoder cdgraphics_decoder cdtoons_decoder cdxl_decoder cfhd_decoder cinepak_decoder clearvideo_decoder cljr_decoder cllc_decoder comfortnoise_decoder cpia_decoder cri_decoder cscd_decoder cyuv_decoder dds_decoder dfa_decoder ... Skipped 14445 lines ... transpose_vaapi_filter_deps='vaapi VAProcPipelineCaps_rotation_flags' transpose_vulkan_filter=yes transpose_vulkan_filter_deps='vulkan spirv_compiler' treble_filter=yes tremolo_filter=yes trim_filter=yes truehd_core_bsf=yes truehd_decoder=yes truehd_decoder_select=mlp_parser truehd_demuxer=yes truehd_demuxer_select=mlp_parser truehd_encoder=yes truehd_encoder_select='lpc audio_frame_queue' truehd_muxer=yes truemotion1_decoder=yes truemotion2_decoder=yes truemotion2_decoder_select=bswapdsp truemotion2rt_decoder=yes truespeech_decoder=yes truespeech_decoder_select=bswapdsp tscc2_decoder=yes tscc_decoder=yes tscc_decoder_select=inflate_wrapper tta_decoder=yes tta_demuxer=yes tta_encoder=yes tta_muxer=yes ttml_encoder=yes ttml_muxer=yes tty_demuxer=yes twinvq_decoder=yes twinvq_decoder_select='mdct lsp sinewin' txd_decoder=yes txd_decoder_select=texturedsp txd_demuxer=yes txtpages=yes txtpages_deps='perl makeinfo' ty_demuxer=yes udp_protocol=yes udp_protocol_select=network udplite_protocol=yes udplite_protocol_select=network ulti_decoder=yes uncodedframecrc_muxer=yes unix_protocol=yes unix_protocol_deps=sys_un_h unix_protocol_select=network unpremultiply_filter=yes unsharp_filter=yes unsharp_opencl_filter=yes unsharp_opencl_filter_deps=opencl untile_filter=yes uspp_filter=yes uspp_filter_deps='gpl avcodec' utvideo_decoder=yes utvideo_decoder_select='bswapdsp llviddsp' utvideo_encoder=yes utvideo_encoder_select='bswapdsp huffman llvidencdsp' v=avutil v210_decoder=yes v210_demuxer=yes v210_encoder=yes v210x_decoder=yes v210x_demuxer=yes v308_decoder=yes v308_encoder=yes v360_filter=yes v408_decoder=yes v408_encoder=yes v410_decoder=yes v410_encoder=yes v4l2_indev=yes v4l2_indev_deps_any='linux_videodev2_h sys_videoio_h' v4l2_indev_suggest=libv4l2 v4l2_m2m=no v4l2_m2m_deps='linux_videodev2_h sem_timedwait' v4l2_outdev=yes v4l2_outdev_deps_any='linux_videodev2_h sys_videoio_h' v4l2_outdev_suggest=libv4l2 vaapi=no vaapi_encode_deps=vaapi vaapi_encode_example=yes vaapi_encode_example_deps='avcodec avutil h264_vaapi_encoder' vaapi_transcode_example=yes vaapi_transcode_example_deps='avcodec avformat avutil h264_vaapi_encoder' vaapi_x11_deps=xlib_x11 vag_demuxer=yes vaguedenoiser_filter=yes vaguedenoiser_filter_deps=gpl valgrind_backtrace=yes valgrind_backtrace_conflict=optimizations valgrind_backtrace_deps=valgrind_valgrind_h value=no vapoursynth=no vapoursynth_demuxer=yes vapoursynth_demuxer_deps=vapoursynth var=v4l2_m2m varblur_filter=yes vb_decoder=yes vble_decoder=yes vble_decoder_select=llviddsp vbn_decoder=yes vbn_decoder_select=texturedsp vbn_encoder=yes vbn_encoder_select=texturedspenc vc1_crystalhd_decoder=yes vc1_crystalhd_decoder_select=crystalhd vc1_cuvid_decoder=yes vc1_cuvid_decoder_deps=cuvid vc1_d3d11va2_hwaccel=yes vc1_d3d11va2_hwaccel_deps=d3d11va vc1_d3d11va2_hwaccel_select=vc1_decoder vc1_d3d11va_hwaccel=yes vc1_d3d11va_hwaccel_deps=d3d11va vc1_d3d11va_hwaccel_select=vc1_decoder vc1_decoder=yes vc1_decoder_select='blockdsp h263_decoder h264qpel intrax8 mpegvideodec vc1dsp' vc1_demuxer=yes vc1_dxva2_hwaccel=yes vc1_dxva2_hwaccel_deps=dxva2 vc1_dxva2_hwaccel_select=vc1_decoder vc1_mmal_decoder=yes vc1_mmal_decoder_deps=mmal vc1_muxer=yes vc1_nvdec_hwaccel=yes vc1_nvdec_hwaccel_deps=nvdec vc1_nvdec_hwaccel_select=vc1_decoder vc1_parser=yes vc1_parser_select=vc1dsp vc1_qsv_decoder=yes vc1_qsv_decoder_select=qsvdec vc1_v4l2m2m_decoder=yes vc1_v4l2m2m_decoder_deps='v4l2_m2m vc1_v4l2_m2m' vc1_vaapi_hwaccel=yes vc1_vaapi_hwaccel_deps=vaapi vc1_vaapi_hwaccel_select=vc1_decoder vc1_vdpau_hwaccel=yes vc1_vdpau_hwaccel_deps=vdpau vc1_vdpau_hwaccel_select=vc1_decoder vc1dsp_select='h264chroma qpeldsp startcode' vc1image_decoder=yes vc1image_decoder_select=vc1_decoder vc1t_demuxer=yes vc1t_muxer=yes vc2_encoder=yes vcr1_decoder=yes vdpau=no vectorscope_filter=yes version_script=--version-script vflip_filter=yes vflip_vulkan_filter=yes vflip_vulkan_filter_deps='vulkan spirv_compiler' vfp=yes vfp_deps_any='aarch64 arm' vfp_inline_deps=inline_asm vfpv3=yes vfpv3_deps=vfp vfpv3_inline_deps=inline_asm vfrdet_filter=yes vfwcap_indev=yes vfwcap_indev_deps='vfw32 vfwcap_defines' vibrance_filter=yes vibrato_filter=yes videotoolbox=no videotoolbox_deps='corefoundation coremedia corevideo' videotoolbox_encoder_deps='videotoolbox VTCompressionSessionPrepareToEncodeFrames' videotoolbox_hwaccel_deps='videotoolbox pthreads' videotoolbox_hwaccel_extralibs='-framework QuartzCore' videotoolbox_suggest=coreservices vidstabdetect_filter=yes vidstabdetect_filter_deps=libvidstab vidstabtransform_filter=yes vidstabtransform_filter_deps=libvidstab vif_filter=yes vignette_filter=yes virtualbass_filter=yes vividas_demuxer=yes vivo_demuxer=yes vmafmotion_filter=yes vmd_demuxer=yes vmdaudio_decoder=yes vmdvideo_decoder=yes vmnc_decoder=yes vobsub_demuxer=yes vobsub_demuxer_select=mpegps_demuxer voc_demuxer=yes voc_muxer=yes volume_filter=yes volumedetect_filter=yes vorbis_decoder=yes vorbis_decoder_select=mdct vorbis_encoder=yes vorbis_encoder_select='audio_frame_queue mdct' vorbis_parser=yes vp3_decoder=yes vp3_decoder_select='hpeldsp vp3dsp videodsp' vp3_parser=yes vp4_decoder=yes vp4_decoder_select=vp3_decoder vp5_decoder=yes vp5_decoder_select='h264chroma hpeldsp videodsp vp3dsp vp56dsp' vp6_decoder=yes vp6_decoder_select='h264chroma hpeldsp huffman videodsp vp3dsp vp56dsp' vp6a_decoder=yes vp6a_decoder_select=vp6_decoder vp6f_decoder=yes vp6f_decoder_select=vp6_decoder vp7_decoder=yes vp7_decoder_select='h264pred videodsp vp8dsp' vp8_cuvid_decoder=yes vp8_cuvid_decoder_deps=cuvid vp8_decoder=yes vp8_decoder_select='h264pred videodsp vp8dsp' vp8_mediacodec_decoder=yes vp8_mediacodec_decoder_deps=mediacodec vp8_nvdec_hwaccel=yes vp8_nvdec_hwaccel_deps=nvdec vp8_nvdec_hwaccel_select=vp8_decoder vp8_parser=yes vp8_qsv_decoder=yes vp8_qsv_decoder_select=qsvdec vp8_rkmpp_decoder=yes vp8_rkmpp_decoder_deps=rkmpp vp8_v4l2m2m_decoder=yes vp8_v4l2m2m_decoder_deps='v4l2_m2m vp8_v4l2_m2m' vp8_v4l2m2m_encoder=yes vp8_v4l2m2m_encoder_deps='v4l2_m2m vp8_v4l2_m2m' vp8_vaapi_encoder=yes vp8_vaapi_encoder_deps=VAEncPictureParameterBufferVP8 vp8_vaapi_encoder_select=vaapi_encode vp8_vaapi_hwaccel=yes vp8_vaapi_hwaccel_deps=vaapi vp8_vaapi_hwaccel_select=vp8_decoder vp9_cuvid_decoder=yes vp9_cuvid_decoder_deps=cuvid vp9_d3d11va2_hwaccel=yes vp9_d3d11va2_hwaccel_deps='d3d11va DXVA_PicParams_VP9' vp9_d3d11va2_hwaccel_select=vp9_decoder vp9_d3d11va_hwaccel=yes vp9_d3d11va_hwaccel_deps='d3d11va DXVA_PicParams_VP9' vp9_d3d11va_hwaccel_select=vp9_decoder vp9_decoder=yes vp9_decoder_select='videodsp vp9_parser vp9_superframe_split_bsf' vp9_dxva2_hwaccel=yes vp9_dxva2_hwaccel_deps='dxva2 DXVA_PicParams_VP9' vp9_dxva2_hwaccel_select=vp9_decoder vp9_mediacodec_decoder=yes vp9_mediacodec_decoder_deps=mediacodec vp9_metadata_bsf=yes vp9_metadata_bsf_select=cbs_vp9 vp9_nvdec_hwaccel=yes vp9_nvdec_hwaccel_deps=nvdec vp9_nvdec_hwaccel_select=vp9_decoder vp9_parser=yes vp9_qsv_decoder=yes vp9_qsv_decoder_select=qsvdec vp9_qsv_encoder=yes vp9_qsv_encoder_deps='libmfx MFX_CODEC_VP9' vp9_qsv_encoder_select=qsvenc vp9_raw_reorder_bsf=yes vp9_rkmpp_decoder=yes vp9_rkmpp_decoder_deps=rkmpp vp9_superframe_bsf=yes vp9_superframe_split_bsf=yes vp9_v4l2m2m_decoder=yes vp9_v4l2m2m_decoder_deps='v4l2_m2m vp9_v4l2_m2m' vp9_vaapi_encoder=yes vp9_vaapi_encoder_deps=VAEncPictureParameterBufferVP9 vp9_vaapi_encoder_select=vaapi_encode vp9_vaapi_hwaccel=yes vp9_vaapi_hwaccel_deps='vaapi VADecPictureParameterBufferVP9_bit_depth' vp9_vaapi_hwaccel_select=vp9_decoder vp9_vdpau_hwaccel=yes vp9_vdpau_hwaccel_deps='vdpau VdpPictureInfoVP9' vp9_vdpau_hwaccel_select=vp9_decoder vp9_videotoolbox_hwaccel=yes vp9_videotoolbox_hwaccel_deps=videotoolbox vp9_videotoolbox_hwaccel_select=vp9_decoder vpk_demuxer=yes vplayer_decoder=yes vplayer_demuxer=yes vpp_qsv_filter=yes vpp_qsv_filter_deps=libmfx vpp_qsv_filter_select=qsvvpp vqa_decoder=yes vqf_demuxer=yes vsconsoleoutput=1 vstack_filter=yes vsx=yes vsx_deps=altivec vulkan=no vulkan_deps_any='libdl LoadLibrary' w32threads= w32threads_deps=atomics_native w32threads_requested=yes w3fdif_filter=yes w64_demuxer=yes w64_demuxer_select=wav_demuxer w64_muxer=yes w64_muxer_select=wav_muxer wav_demuxer=yes wav_demuxer_select=riffdec wav_muxer=yes wav_muxer_select=riffenc waveform_filter=yes wavpack_decoder=yes wavpack_encoder=yes wc3_demuxer=yes wcmv_decoder=yes wcmv_decoder_select=inflate_wrapper weave_filter=yes webm_chunk_muxer=yes webm_chunk_muxer_select=webm_muxer webm_dash_manifest_demuxer=yes webm_dash_manifest_demuxer_select=matroska_demuxer webm_dash_manifest_muxer=yes webm_muxer=yes webp_decoder=yes webp_decoder_select='vp8_decoder exif' webp_muxer=yes webp_parser=yes webvtt_decoder=yes webvtt_demuxer=yes webvtt_encoder=yes webvtt_muxer=yes windres=rc.exe windres_default=windres wmalossless_decoder=yes wmalossless_decoder_select=llauddsp wmapro_decoder=yes wmapro_decoder_select='mdct sinewin wma_freqs' wmav1_decoder=yes wmav1_decoder_select='mdct sinewin wma_freqs' wmav1_encoder=yes wmav1_encoder_select='mdct sinewin wma_freqs' wmav2_decoder=yes wmav2_decoder_select='mdct sinewin wma_freqs' wmav2_encoder=yes wmav2_encoder_select='mdct sinewin wma_freqs' wmavoice_decoder=yes wmavoice_decoder_select='lsp rdft dct mdct sinewin' wmv1_decoder=yes wmv1_decoder_select=h263_decoder wmv1_encoder=yes wmv1_encoder_select=h263_encoder wmv2_decoder=yes wmv2_decoder_select='blockdsp error_resilience h263_decoder idctdsp intrax8 videodsp wmv2dsp' wmv2_encoder=yes wmv2_encoder_select='h263_encoder wmv2dsp' wmv3_crystalhd_decoder=yes wmv3_crystalhd_decoder_select=crystalhd wmv3_d3d11va2_hwaccel=yes wmv3_d3d11va2_hwaccel_select=vc1_d3d11va2_hwaccel wmv3_d3d11va_hwaccel=yes wmv3_d3d11va_hwaccel_select=vc1_d3d11va_hwaccel wmv3_decoder=yes wmv3_decoder_select=vc1_decoder wmv3_dxva2_hwaccel=yes wmv3_dxva2_hwaccel_select=vc1_dxva2_hwaccel wmv3_nvdec_hwaccel=yes wmv3_nvdec_hwaccel_select=vc1_nvdec_hwaccel wmv3_vaapi_hwaccel=yes wmv3_vaapi_hwaccel_select=vc1_vaapi_hwaccel wmv3_vdpau_hwaccel=yes wmv3_vdpau_hwaccel_select=vc1_vdpau_hwaccel wmv3image_decoder=yes wmv3image_decoder_select=wmv3_decoder wnv1_decoder=yes wrapped_avframe_decoder=yes wrapped_avframe_encoder=yes ws_snd1_decoder=yes wsaud_demuxer=yes wsaud_muxer=yes wsd_demuxer=yes wsvqa_demuxer=yes wtv_demuxer=yes wtv_demuxer_select='mpegts_demuxer riffdec' wtv_muxer=yes wtv_muxer_select='mpegts_muxer riffenc' wv_demuxer=yes wv_muxer=yes wve_demuxer=yes x86_64_select=i686 x86_64_suggest=fast_cmov x86asm=yes x86asmexe_default=nasm xa_demuxer=yes xan_dpcm_decoder=yes xan_wc3_decoder=yes xan_wc4_decoder=yes xbin_decoder=yes xbin_demuxer=yes xbm_decoder=yes xbm_encoder=yes xbm_parser=yes xbr_filter=yes xcbgrab_indev=yes xcbgrab_indev_deps=libxcb xcbgrab_indev_suggest='libxcb_shm libxcb_shape libxcb_xfixes' xcorrelate_filter=yes xface_decoder=yes xface_encoder=yes xfade_filter=yes xfade_opencl_filter=yes xfade_opencl_filter_deps=opencl xl_decoder=yes xlib=no xma1_decoder=yes xma1_decoder_select=wmapro_decoder xma2_decoder=yes xma2_decoder_select=wmapro_decoder xma_parser=yes xmedian_filter=yes xmv_demuxer=yes xmv_demuxer_select=riffdec xop=yes xop_deps=avx xop_external_deps=avx_external xop_inline_deps=avx_inline xop_suggest='xop_external xop_inline' xpm_decoder=yes xstack_filter=yes xsub_decoder=yes xsub_encoder=yes xv_outdev=yes xv_outdev_deps='xlib_xv xlib_x11 xlib_xext' xvag_demuxer=yes xwd_decoder=yes xwd_encoder=yes xwma_demuxer=yes xwma_demuxer_select=riffdec y41p_decoder=yes y41p_encoder=yes yadif_cuda_filter=yes yadif_cuda_filter_deps=ffnvcodec yadif_cuda_filter_deps_any='cuda_nvcc cuda_llvm' yadif_filter=yes yadif_videotoolbox_filter=yes yadif_videotoolbox_filter_deps='metal corevideo videotoolbox' yaepblur_filter=yes ylc_decoder=yes ylc_decoder_select=bswapdsp yop_decoder=yes yop_demuxer=yes yuv4_decoder=yes yuv4_encoder=yes yuv4mpegpipe_demuxer=yes yuv4mpegpipe_muxer=yes yuvtestsrc_filter=yes zero12v_decoder=yes zerocodec_decoder=yes zerocodec_decoder_select=inflate_wrapper zlib=no zlib_decoder=yes zlib_decoder_select=inflate_wrapper zlib_encoder=yes zlib_encoder_select=deflate_wrapper zmbv_decoder=yes zmbv_decoder_select=inflate_wrapper zmbv_encoder=yes zmbv_encoder_select=deflate_wrapper zmq_filter=yes zmq_filter_deps=libzmq zoompan_filter=yes zoompan_filter_deps=swscale zscale_filter=yes zscale_filter_deps='libzimg const_nan' mktemp -u XXXXXX 96DJcv test_ld cc test_cc BEGIN /c/Users/user1/AppData/Local/Temp/ffconf.iB8b45hK/test.c 1 int main(void){ return 0; } END /c/Users/user1/AppData/Local/Temp/ffconf.iB8b45hK/test.c cl.exe @C:/vcpkg/buildtrees/ffmpeg/x64-windows-static-rel/cflags.rsp -nologo -DHAVE_UNISTD_H=0 -c -Fo/c/Users/user1/AppData/Local/Temp/ffconf.iB8b45hK/test.o /c/Users/user1/AppData/Local/Temp/ffconf.iB8b45hK/test.c test.c C:\Users\user1\AppData\Local\Temp\ffconf.iB8b45hK\test.c : fatal error C1083: Cannot open compiler generated file: 'C:\c\Users\user1\AppData\Local\Temp\ffconf.iB8b45hK\test.o': No such file or directory C compiler test failed. ```C:\vcpkg\buildtrees\ffmpeg\build-x64-windows-static-rel-out.log
``` BUILD_ARCH=x86_64 OPTION_VARIABLE=OPTIONS_x86_64 === CONFIGURING === cl.exe is unable to create an executable file. C compiler test failed. If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.libera.chat. Include the log file "ffbuild/config.log" produced by configure as this will help solve the problem. ```Additional context