microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
22.8k stars 6.3k forks source link

[ffmpeg] Build error on arm64-android #36852

Closed stolen-programmer closed 3 months ago

stolen-programmer commented 6 months ago

Package: ffmpeg[avcodec,avdevice,avfilter,avformat,core,ffmpeg,ffprobe,gpl,postproc,srt,swresample,swscale]:arm64-android@6.1.1

Host Environment

To Reproduce

vcpkg install ffmpeg[ffmpeg,ffprobe,postproc,srt]:arm64-android Failure logs

-- Using cached ffmpeg-ffmpeg-n6.1.1.tar.gz.
-- Cleaning sources at /home/juvenile/repos/vcpkg/buildtrees/ffmpeg/src/n6.1.1-bf510528a2.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/juvenile/repos/vcpkg/downloads/ffmpeg-ffmpeg-n6.1.1.tar.gz
-- Applying patch 0001-create-lib-libraries.patch
-- Applying patch 0002-fix-msvc-link.patch
-- Applying patch 0003-fix-windowsinclude.patch
-- Applying patch 0004-fix-debug-build.patch
-- Applying patch 0005-fix-nasm.patch
-- Applying patch 0006-fix-StaticFeatures.patch
-- Applying patch 0007-fix-lib-naming.patch
-- Applying patch 0009-Fix-fdk-detection.patch
-- Applying patch 0011-Fix-x265-detection.patch
-- Applying patch 0012-Fix-ssl-110-detection.patch
-- Applying patch 0013-define-WINVER.patch
-- Applying patch 0015-Fix-xml2-detection.patch
-- Applying patch 0020-fix-aarch64-libswscale.patch
-- Applying patch 0022-fix-iconv.patch
-- Using source at /home/juvenile/repos/vcpkg/buildtrees/ffmpeg/src/n6.1.1-bf510528a2.clean
-- Getting CMake variables for arm64-android
-- Building Options: --enable-pic --disable-doc --enable-debug --enable-runtime-cpudetect --disable-autodetect --target-os=android --enable-jni --enable-mediacodec --cc=clang --cxx=clang++ --nm=llvm-nm --ar='aarch64-linux-android-ar' --ranlib=aarch64-linux-android-ranlib --enable-gpl --enable-ffmpeg --disable-ffplay --enable-ffprobe --enable-avcodec --enable-avdevice --enable-avformat --enable-avfilter --enable-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 --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 --enable-libsrt --disable-libmfx --enable-cross-compile --pkg-config-flags=--static
-- Building Release Options: --enable-optimizations --extra-ldflags=-L"/home/juvenile/repos/vcpkg/installed/arm64-android/lib"
-- Building ffmpeg for Release
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
    Command failed: /usr/bin/bash ./build.sh
    Working Directory: /home/juvenile/repos/vcpkg/buildtrees/ffmpeg/arm64-android-rel
    Error code: 2
    See logs for more information:
      /home/juvenile/repos/vcpkg/buildtrees/ffmpeg/build-arm64-android-rel-config.log
      /home/juvenile/repos/vcpkg/buildtrees/ffmpeg/build-arm64-android-rel-out.log
      /home/juvenile/repos/vcpkg/buildtrees/ffmpeg/build-arm64-android-rel-err.log

Call Stack (most recent call first):
  ports/ffmpeg/portfile.cmake:596 (vcpkg_execute_required_process)
  scripts/ports.cmake:170 (include)
/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/build-arm64-android-rel-err.log ``` src/libavformat/fitsdec.c:175:26: warning: result of comparison of constant 9223372036854775807 with expression of type 'unsigned int' is always true [-Wtautological-constant-out-of-range-compare] av_assert0(avbuf.len <= INT64_MAX && size <= INT64_MAX); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/libavutil/avassert.h:41:11: note: expanded from macro 'av_assert0' if (!(cond)) { \ ^~~~ 1 warning generated. src/libavformat/ip.c:113:52: warning: suggest braces around initialization of subobject [-Wmissing-braces] struct sockaddr_storage source_addr = {0}; ^ {} 1 warning generated. src/libavformat/rtsp.c:719:41: warning: suggest braces around initialization of subobject [-Wmissing-braces] SDPParseState sdp_parse_state = { { 0 } }, *s1 = &sdp_parse_state; ^ {} 1 warning generated. src/libavcodec/dvdec.c:154:52: warning: suggest braces around initialization of subobject [-Wmissing-braces] VLCElem vlc_buf[FF_ARRAY_ELEMS(dv_rl_vlc)] = { 0 }; ^ {} 1 warning generated. src/libavcodec/hevc_cabac.c:37:21: warning: variable 'num_bins_in_se' is not needed and will not be emitted [-Wunneeded-internal-declaration] static const int8_t num_bins_in_se[] = { ^ 1 warning generated. src/libavcodec/mediacodec_wrapper.c:338:22: warning: unused variable 'MPEG4ProfileSimpleFace' [-Wunused-variable] static const int MPEG4ProfileSimpleFace = 0x40; ^ 1 warning generated. src/libavcodec/mpeg12.c:72:28: warning: suggest braces around initialization of subobject [-Wmissing-braces] VLCElem table[680] = { 0 }; ^ {} 1 warning generated. src/libavcodec/pcm-dvdenc.c:60:5: warning: variable 'quant' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] default: ^~~~~~~ src/libavcodec/pcm-dvdenc.c:64:41: note: uninitialized use occurs here avctx->bits_per_coded_sample = 16 + quant * 4; ^~~~~ src/libavcodec/pcm-dvdenc.c:38:14: note: initialize the variable 'quant' to silence this warning int quant, freq, frame_size; ^ = 0 1 warning generated. src/libavcodec/qoidec.c:32:30: warning: suggest braces around initialization of subobject [-Wmissing-braces] uint8_t index[64][4] = { 0 }; ^ {} 1 warning generated. src/libavcodec/qoienc.c:34:30: warning: suggest braces around initialization of subobject [-Wmissing-braces] uint8_t index[64][4] = { 0 }; ^ {} 1 warning generated. src/libavcodec/rl.c:82:29: warning: suggest braces around initialization of subobject [-Wmissing-braces] VLCElem table[1500] = { 0 }; ^ {} 1 warning generated. src/libavfilter/dnn/dnn_backend_common.c:94:11: warning: unused variable 'status' [-Wunused-variable] void *status = 0; ^ src/libavfilter/dnn/dnn_backend_common.c:114:11: warning: unused variable 'status' [-Wunused-variable] void *status = 0; ^ src/libavfilter/dnn/dnn_backend_common.c:80:14: warning: unused function 'async_thread_routine' [-Wunused-function] static void *async_thread_routine(void *args) ^ 3 warnings generated. src/fftools/ffmpeg_filter.c:1867:9: warning: variable 'fr' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if (ofilter->type == AVMEDIA_TYPE_AUDIO) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/fftools/ffmpeg_filter.c:1913:26: note: uninitialized use occurs here fps->framerate = fr; ^~ src/fftools/ffmpeg_filter.c:1867:5: note: remove the 'if' if its condition is always false if (ofilter->type == AVMEDIA_TYPE_AUDIO) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/fftools/ffmpeg_filter.c:1847:5: note: variable 'fr' is declared here AVRational fr; ^ 1 warning generated. strip: Unable to recognise the format of the input file `ffmpeg_g' make: *** [/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/src/n6.1.1-bf510528a2.clean/Makefile:125:ffmpeg] 错误 1 make: *** 正在等待未完成的任务.... ```
/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/build-arm64-android-rel-config.log ``` # /home/juvenile/repos/vcpkg/buildtrees/ffmpeg/src/n6.1.1-bf510528a2.clean/configure --prefix=/home/juvenile/repos/vcpkg/packages/ffmpeg_arm64-android --enable-pic --disable-doc --enable-debug --enable-runtime-cpudetect --disable-autodetect --target-os=android --enable-jni --enable-mediacodec --cc=clang --cxx=clang++ --nm=llvm-nm --ar=aarch64-linux-android-ar --ranlib=aarch64-linux-android-ranlib --enable-gpl --enable-ffmpeg --disable-ffplay --enable-ffprobe --enable-avcodec --enable-avdevice --enable-avformat --enable-avfilter --enable-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 --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 --enable-libsrt --disable-libmfx --enable-cross-compile --pkg-config-flags=--static --enable-optimizations --extra-ldflags=-L/home/juvenile/repos/vcpkg/installed/arm64-android/lib --arch=arm64 --disable-asm --disable-x86asm ALL_COMPONENTS=' aac_adtstoasc_bsf av1_frame_merge_bsf av1_frame_split_bsf av1_metadata_bsf chomp_bsf dump_extradata_bsf dca_core_bsf dts2pts_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 media100_to_mjpegb_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 vvc_metadata_bsf vvc_mp4toannexb_bsf evc_frame_merge_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 dirac_decoder dnxhd_decoder dpx_decoder dsicinvideo_decoder dvaudio_decoder dvvideo_decoder dxa_decoder dxtory_decoder dxv_decoder eacmv_decoder eamad_decoder eatgq_decoder eatgv_decoder eatqi_decoder eightbps_decoder eightsvx_exp_decoder eightsvx_fib_decoder escape124_decoder escape130_decoder exr_decoder ffv1_decoder ffvhuff_decoder fic_decoder fits_decoder flashsv_decoder flashsv2_decoder flic_decoder flv_decoder fmvc_decoder fourxm_decoder fraps_decoder frwu_decoder g2m_decoder gdv_decoder gem_decoder gif_decoder h261_decoder h263_decoder h263i_decoder h263p_decoder h263_v4l2m2m_decoder h264_decoder h264_crystalhd_decoder h264_v4l2m2m_decoder h264_mediacodec_decoder h264_mmal_decoder h264_qsv_decoder h264_rkmpp_decoder hap_decoder hevc_decoder hevc_qsv_decoder hevc_rkmpp_decoder hevc_v4l2m2m_decoder hnm4_video_decoder hq_hqa_decoder hqx_decoder huffyuv_decoder hymt_decoder idcin_decoder iff_ilbm_decoder imm4_decoder imm5_decoder indeo2_decoder indeo3_decoder indeo4_decoder indeo5_decoder interplay_video_decoder ipu_decoder jpeg2000_decoder jpegls_decoder jv_decoder kgv1_decoder kmvc_decoder lagarith_decoder loco_decoder lscr_decoder m101_decoder magicyuv_decoder mdec_decoder media100_decoder mimic_decoder mjpeg_decoder mjpegb_decoder mmvideo_decoder mobiclip_decoder motionpixels_decoder mpeg1video_decoder mpeg2video_decoder mpeg4_decoder mpeg4_crystalhd_decoder mpeg4_v4l2m2m_decoder mpeg4_mmal_decoder mpegvideo_decoder mpeg1_v4l2m2m_decoder mpeg2_mmal_decoder mpeg2_crystalhd_decoder mpeg2_v4l2m2m_decoder mpeg2_qsv_decoder mpeg2_mediacodec_decoder msa1_decoder mscc_decoder msmpeg4v1_decoder msmpeg4v2_decoder msmpeg4v3_decoder msmpeg4_crystalhd_decoder msp2_decoder msrle_decoder mss1_decoder mss2_decoder msvideo1_decoder mszh_decoder mts2_decoder mv30_decoder mvc1_decoder mvc2_decoder mvdv_decoder mvha_decoder mwsc_decoder mxpeg_decoder notchlc_decoder nuv_decoder paf_video_decoder pam_decoder pbm_decoder pcx_decoder pdv_decoder pfm_decoder pgm_decoder pgmyuv_decoder pgx_decoder phm_decoder photocd_decoder pictor_decoder pixlet_decoder png_decoder ppm_decoder prores_decoder prosumer_decoder psd_decoder ptx_decoder qdraw_decoder qoi_decoder qpeg_decoder qtrle_decoder r10k_decoder r210_decoder rasc_decoder rawvideo_decoder rka_decoder rl2_decoder roq_decoder rpza_decoder rscc_decoder rtv1_decoder rv10_decoder rv20_decoder rv30_decoder rv40_decoder s302m_decoder sanm_decoder scpr_decoder screenpresso_decoder sga_decoder sgi_decoder sgirle_decoder sheervideo_decoder simbiosis_imx_decoder smacker_decoder smc_decoder smvjpeg_decoder snow_decoder sp5x_decoder speedhq_decoder speex_decoder srgc_decoder sunrast_decoder svq1_decoder svq3_decoder targa_decoder targa_y216_decoder tdsc_decoder theora_decoder thp_decoder tiertexseqvideo_decoder tiff_decoder tmv_decoder truemotion1_decoder truemotion2_decoder truemotion2rt_decoder tscc_decoder tscc2_decoder txd_decoder ulti_decoder utvideo_decoder v210_decoder v210x_decoder v308_decoder v408_decoder v410_decoder vb_decoder vbn_decoder vble_decoder vc1_decoder vc1_crystalhd_decoder vc1image_decoder vc1_mmal_decoder vc1_qsv_decoder vc1_v4l2m2m_decoder vcr1_decoder vmdvideo_decoder vmix_decoder vmnc_decoder vp3_decoder vp4_decoder vp5_decoder vp6_decoder vp6a_decoder vp6f_decoder vp7_decoder vp8_decoder vp8_rkmpp_decoder vp8_v4l2m2m_decoder vp9_decoder vp9_rkmpp_decoder vp9_v4l2m2m_decoder vqa_decoder vqc_decoder wbmp_decoder webp_decoder wcmv_decoder wrapped_avframe_decoder wmv1_decoder wmv2_decoder wmv3_decoder wmv3_crystalhd_decoder wmv3image_decoder wnv1_decoder xan_wc3_decoder xan_wc4_decoder xbm_decoder xface_decoder xl_decoder xpm_decoder xwd_decoder y41p_decoder ylc_decoder yop_decoder yuv4_decoder zero12v_decoder zerocodec_decoder zlib_decoder zmbv_decoder aac_decoder aac_fixed_decoder aac_latm_decoder ac3_decoder ac3_fixed_decoder acelp_kelvin_decoder alac_decoder als_decoder amrnb_decoder amrwb_decoder apac_decoder ape_decoder aptx_decoder aptx_hd_decoder atrac1_decoder atrac3_decoder atrac3al_decoder atrac3p_decoder atrac3pal_decoder atrac9_decoder binkaudio_dct_decoder binkaudio_rdft_decoder bmv_audio_decoder bonk_decoder cook_decoder dca_decoder dfpwm_decoder dolby_e_decoder dsd_lsbf_decoder dsd_msbf_decoder dsd_lsbf_planar_decoder dsd_msbf_planar_decoder dsicinaudio_decoder dss_sp_decoder dst_decoder eac3_decoder evrc_decoder fastaudio_decoder ffwavesynth_decoder flac_decoder ftr_decoder g723_1_decoder g729_decoder gsm_decoder gsm_ms_decoder hca_decoder hcom_decoder hdr_decoder iac_decoder ilbc_decoder imc_decoder interplay_acm_decoder mace3_decoder mace6_decoder metasound_decoder misc4_decoder mlp_decoder mp1_decoder mp1float_decoder mp2_decoder mp2float_decoder mp3float_decoder mp3_decoder mp3adufloat_decoder mp3adu_decoder mp3on4float_decoder mp3on4_decoder mpc7_decoder mpc8_decoder msnsiren_decoder nellymoser_decoder on2avc_decoder opus_decoder osq_decoder paf_audio_decoder qcelp_decoder qdm2_decoder qdmc_decoder ra_144_decoder ra_288_decoder ralf_decoder sbc_decoder shorten_decoder sipr_decoder siren_decoder smackaud_decoder sonic_decoder tak_decoder truehd_decoder truespeech_decoder tta_decoder twinvq_decoder vmdaudio_decoder vorbis_decoder wavarc_decoder wavpack_decoder wmalossless_decoder wmapro_decoder wmav1_decoder wmav2_decoder wmavoice_decoder ws_snd1_decoder xma1_decoder xma2_decoder pcm_alaw_decoder pcm_bluray_decoder pcm_dvd_decoder pcm_f16le_decoder pcm_f24le_decoder pcm_f32be_decoder pcm_f32le_decoder pcm_f64be_decoder pcm_f64le_decoder pcm_lxf_decoder pcm_mulaw_decoder pcm_s8_decoder pcm_s8_planar_decoder pcm_s16be_decoder pcm_s16be_planar_decoder pcm_s16le_decoder pcm_s16le_planar_decoder pcm_s24be_decoder pcm_s24daud_decoder pcm_s24le_decoder pcm_s24le_planar_decoder pcm_s32be_decoder pcm_s32le_decoder pcm_s32le_planar_decoder pcm_s64be_decoder pcm_s64le_decoder pcm_sga_decoder pcm_u8_decoder pcm_u16be_decoder pcm_u16le_decoder pcm_u24be_decoder pcm_u24le_decoder pcm_u32be_decoder pcm_u32le_decoder pcm_vidc_decoder cbd2_dpcm_decoder derf_dpcm_decoder gremlin_dpcm_decoder interplay_dpcm_decoder roq_dpcm_decoder sdx2_dpcm_decoder sol_dpcm_decoder xan_dpcm_decoder wady_dpcm_decoder adpcm_4xm_decoder adpcm_adx_decoder adpcm_afc_decoder adpcm_agm_decoder adpcm_aica_decoder adpcm_argo_decoder adpcm_ct_decoder adpcm_dtk_decoder adpcm_ea_decoder adpcm_ea_maxis_xa_decoder adpcm_ea_r1_decoder adpcm_ea_r2_decoder adpcm_ea_r3_decoder adpcm_ea_xas_decoder adpcm_g722_decoder adpcm_g726_decoder adpcm_g726le_decoder adpcm_ima_acorn_decoder adpcm_ima_amv_decoder adpcm_ima_alp_decoder adpcm_ima_apc_decoder adpcm_ima_apm_decoder adpcm_ima_cunning_decoder adpcm_ima_dat4_decoder adpcm_ima_dk3_decoder adpcm_ima_dk4_decoder adpcm_ima_ea_eacs_decoder adpcm_ima_ea_sead_decoder adpcm_ima_iss_decoder adpcm_ima_moflex_decoder adpcm_ima_mtf_decoder adpcm_ima_oki_decoder adpcm_ima_qt_decoder adpcm_ima_rad_decoder adpcm_ima_ssi_decoder adpcm_ima_smjpeg_decoder adpcm_ima_wav_decoder adpcm_ima_ws_decoder adpcm_ms_decoder adpcm_mtaf_decoder adpcm_psx_decoder adpcm_sbpro_2_decoder adpcm_sbpro_3_decoder adpcm_sbpro_4_decoder adpcm_swf_decoder adpcm_thp_decoder adpcm_thp_le_decoder adpcm_vima_decoder adpcm_xa_decoder adpcm_xmd_decoder adpcm_yamaha_decoder adpcm_zork_decoder ssa_decoder ass_decoder ccaption_decoder dvbsub_decoder dvdsub_decoder jacosub_decoder microdvd_decoder movtext_decoder mpl2_decoder pgssub_decoder pjs_decoder realtext_decoder sami_decoder srt_decoder stl_decoder subrip_decoder subviewer_decoder subviewer1_decoder text_decoder vplayer_decoder webvtt_decoder xsub_decoder aac_at_decoder ac3_at_decoder adpcm_ima_qt_at_decoder alac_at_decoder amr_nb_at_decoder eac3_at_decoder gsm_ms_at_decoder ilbc_at_decoder mp1_at_decoder mp2_at_decoder mp3_at_decoder pcm_alaw_at_decoder pcm_mulaw_at_decoder qdmc_at_decoder qdm2_at_decoder libaribcaption_decoder libaribb24_decoder libcelt_decoder libcodec2_decoder libdav1d_decoder libdavs2_decoder libfdk_aac_decoder libgsm_decoder libgsm_ms_decoder libilbc_decoder libjxl_decoder libopencore_amrnb_decoder libopencore_amrwb_decoder libopus_decoder librsvg_decoder libspeex_decoder libuavs3d_decoder libvorbis_decoder libvpx_vp8_decoder libvpx_vp9_decoder libzvbi_teletext_decoder bintext_decoder xbin_decoder idf_decoder libaom_av1_decoder av1_decoder av1_cuvid_decoder av1_mediacodec_decoder av1_qsv_decoder libopenh264_decoder h264_cuvid_decoder hevc_cuvid_decoder hevc_mediacodec_decoder mjpeg_cuvid_decoder mjpeg_qsv_decoder mpeg1_cuvid_decoder mpeg2_cuvid_decoder mpeg4_cuvid_decoder mpeg4_mediacodec_decoder vc1_cuvid_decoder vp8_cuvid_decoder vp8_mediacodec_decoder vp8_qsv_decoder vp9_cuvid_decoder vp9_mediacodec_decoder vp9_qsv_decoder vnull_decoder anull_decoder a64multi_encoder a64multi5_encoder alias_pix_encoder amv_encoder apng_encoder asv1_encoder asv2_encoder avrp_encoder avui_encoder ayuv_encoder bitpacked_encoder bmp_encoder cfhd_encoder cinepak_encoder cljr_encoder comfortnoise_encoder dnxhd_encoder dpx_encoder dvvideo_encoder exr_encoder ffv1_encoder ffvhuff_encoder fits_encoder flashsv_encoder flashsv2_encoder ... Skipped 17563 lines ... END /tmp/ffconf.YA70aX9t/test.c clang -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod -DPIC @/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/arm64-android-rel/cflags.rsp -std=c11 -fPIE -fomit-frame-pointer -fPIC -pthread -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include/srt -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-char-subscripts -Wl,--warn-common -c -o /tmp/ffconf.YA70aX9t/test.o /tmp/ffconf.YA70aX9t/test.c clang: warning: -Wl,--warn-common: 'linker' input unused [-Wunused-command-line-argument] clang @/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/arm64-android-rel/ldflags.rsp -L/home/juvenile/repos/vcpkg/installed/arm64-android/lib -Wl,--as-needed -Wl,-z,noexecstack -fPIE -pie -Wl,--warn-common -o /tmp/ffconf.YA70aX9t/test /tmp/ffconf.YA70aX9t/test.o check_ldflags -Wl,-rpath-link=:libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil test_ldflags -Wl,-rpath-link=:libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil test_ld cc -Wl,-rpath-link=:libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil test_cc -Wl,-rpath-link=:libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil BEGIN /tmp/ffconf.YA70aX9t/test.c 1 int main(void){ return 0; } END /tmp/ffconf.YA70aX9t/test.c clang -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod -DPIC @/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/arm64-android-rel/cflags.rsp -std=c11 -fPIE -fomit-frame-pointer -fPIC -pthread -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include/srt -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-char-subscripts -Wl,-rpath-link=:libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil -c -o /tmp/ffconf.YA70aX9t/test.o /tmp/ffconf.YA70aX9t/test.c clang: warning: -Wl,-rpath-link=:libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil: 'linker' input unused [-Wunused-command-line-argument] clang @/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/arm64-android-rel/ldflags.rsp -L/home/juvenile/repos/vcpkg/installed/arm64-android/lib -Wl,--as-needed -Wl,-z,noexecstack -Wl,--warn-common -fPIE -pie -Wl,-rpath-link=:libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil -o /tmp/ffconf.YA70aX9t/test /tmp/ffconf.YA70aX9t/test.o test_ldflags -Wl,-Bsymbolic test_ld cc -Wl,-Bsymbolic test_cc -Wl,-Bsymbolic BEGIN /tmp/ffconf.YA70aX9t/test.c 1 int main(void){ return 0; } END /tmp/ffconf.YA70aX9t/test.c clang -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod -DPIC @/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/arm64-android-rel/cflags.rsp -std=c11 -fPIE -fomit-frame-pointer -fPIC -pthread -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include/srt -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-char-subscripts -Wl,-Bsymbolic -c -o /tmp/ffconf.YA70aX9t/test.o /tmp/ffconf.YA70aX9t/test.c clang: warning: -Wl,-Bsymbolic: 'linker' input unused [-Wunused-command-line-argument] clang @/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/arm64-android-rel/ldflags.rsp -L/home/juvenile/repos/vcpkg/installed/arm64-android/lib -Wl,--as-needed -Wl,-z,noexecstack -Wl,--warn-common -Wl,-rpath-link=:libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil -fPIE -pie -Wl,-Bsymbolic -o /tmp/ffconf.YA70aX9t/test /tmp/ffconf.YA70aX9t/test.o check_stripflags -x test_stripflags -x test_cc BEGIN /tmp/ffconf.YA70aX9t/test.c 1 int main(void) { return 0; } END /tmp/ffconf.YA70aX9t/test.c clang -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod -DPIC @/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/arm64-android-rel/cflags.rsp -std=c11 -fPIE -fomit-frame-pointer -fPIC -pthread -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include/srt -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-char-subscripts -c -o /tmp/ffconf.YA70aX9t/test.o /tmp/ffconf.YA70aX9t/test.c strip -x /tmp/ffconf.YA70aX9t/test.o strip: Unable to recognise the format of the input file `/tmp/ffconf.YA70aX9t/test.o' check_ld cc proper_dce test_ld cc test_cc BEGIN /tmp/ffconf.YA70aX9t/test.c 1 extern const int array[512]; 2 static inline int func(void) { return array[0]; } 3 int main(void) { return 0; } END /tmp/ffconf.YA70aX9t/test.c clang -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod -DPIC @/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/arm64-android-rel/cflags.rsp -std=c11 -fPIE -fomit-frame-pointer -fPIC -pthread -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include/srt -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-char-subscripts -c -o /tmp/ffconf.YA70aX9t/test.o /tmp/ffconf.YA70aX9t/test.c /tmp/ffconf.YA70aX9t/test.c:2:19: warning: unused function 'func' [-Wunused-function] static inline int func(void) { return array[0]; } ^ 1 warning generated. clang @/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/arm64-android-rel/ldflags.rsp -L/home/juvenile/repos/vcpkg/installed/arm64-android/lib -Wl,--as-needed -Wl,-z,noexecstack -Wl,--warn-common -Wl,-rpath-link=:libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil -fPIE -pie -o /tmp/ffconf.YA70aX9t/test /tmp/ffconf.YA70aX9t/test.o test_ldflags -Wl,--version-script,/tmp/ffconf.YA70aX9t/test.ver test_ld cc -Wl,--version-script,/tmp/ffconf.YA70aX9t/test.ver test_cc -Wl,--version-script,/tmp/ffconf.YA70aX9t/test.ver BEGIN /tmp/ffconf.YA70aX9t/test.c 1 int main(void){ return 0; } END /tmp/ffconf.YA70aX9t/test.c clang -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod -DPIC @/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/arm64-android-rel/cflags.rsp -std=c11 -fPIE -fomit-frame-pointer -fPIC -pthread -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include/srt -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-char-subscripts -Wl,--version-script,/tmp/ffconf.YA70aX9t/test.ver -c -o /tmp/ffconf.YA70aX9t/test.o /tmp/ffconf.YA70aX9t/test.c clang: warning: -Wl,--version-script,/tmp/ffconf.YA70aX9t/test.ver: 'linker' input unused [-Wunused-command-line-argument] clang @/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/arm64-android-rel/ldflags.rsp -L/home/juvenile/repos/vcpkg/installed/arm64-android/lib -Wl,--as-needed -Wl,-z,noexecstack -Wl,--warn-common -Wl,-rpath-link=:libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil -fPIE -pie -Wl,--version-script,/tmp/ffconf.YA70aX9t/test.ver -o /tmp/ffconf.YA70aX9t/test /tmp/ffconf.YA70aX9t/test.o test_cc BEGIN /tmp/ffconf.YA70aX9t/test.c 1 void ff_foo(void) __asm__ ("av_foo@VERSION"); 2 void ff_foo(void) { __asm__(""); } END /tmp/ffconf.YA70aX9t/test.c clang -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod -DPIC @/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/arm64-android-rel/cflags.rsp -std=c11 -fPIE -fomit-frame-pointer -fPIC -pthread -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include/srt -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-char-subscripts -c -o /tmp/ffconf.YA70aX9t/test.o /tmp/ffconf.YA70aX9t/test.c test_cc BEGIN /tmp/ffconf.YA70aX9t/test.c 1 __asm__(".symver ff_foo,av_foo@VERSION"); 2 void ff_foo(void) {} END /tmp/ffconf.YA70aX9t/test.c clang -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod -DPIC @/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/arm64-android-rel/cflags.rsp -std=c11 -fPIE -fomit-frame-pointer -fPIC -pthread -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include/srt -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-char-subscripts -c -o /tmp/ffconf.YA70aX9t/test.o /tmp/ffconf.YA70aX9t/test.c /tmp/ffconf.YA70aX9t/test.c:2:6: warning: no previous prototype for function 'ff_foo' [-Wmissing-prototypes] void ff_foo(void) {} ^ /tmp/ffconf.YA70aX9t/test.c:2:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void ff_foo(void) {} ^ static 1 warning generated. check_cflags -O3 test_cflags -O3 test_cc -O3 BEGIN /tmp/ffconf.YA70aX9t/test.c 1 int x; END /tmp/ffconf.YA70aX9t/test.c clang -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod -DPIC @/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/arm64-android-rel/cflags.rsp -std=c11 -fPIE -fomit-frame-pointer -fPIC -pthread -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include/srt -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-char-subscripts -O3 -c -o /tmp/ffconf.YA70aX9t/test.o /tmp/ffconf.YA70aX9t/test.c check_cflags -fno-math-errno test_cflags -fno-math-errno test_cc -fno-math-errno BEGIN /tmp/ffconf.YA70aX9t/test.c 1 int x; END /tmp/ffconf.YA70aX9t/test.c clang -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod -DPIC @/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/arm64-android-rel/cflags.rsp -std=c11 -fPIE -fomit-frame-pointer -fPIC -pthread -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include/srt -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-char-subscripts -O3 -fno-math-errno -c -o /tmp/ffconf.YA70aX9t/test.o /tmp/ffconf.YA70aX9t/test.c check_cflags -fno-signed-zeros test_cflags -fno-signed-zeros test_cc -fno-signed-zeros BEGIN /tmp/ffconf.YA70aX9t/test.c 1 int x; END /tmp/ffconf.YA70aX9t/test.c clang -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod -DPIC @/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/arm64-android-rel/cflags.rsp -std=c11 -fPIE -fomit-frame-pointer -fPIC -pthread -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include/srt -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-char-subscripts -O3 -fno-math-errno -fno-signed-zeros -c -o /tmp/ffconf.YA70aX9t/test.o /tmp/ffconf.YA70aX9t/test.c test_cc -mno-red-zone BEGIN /tmp/ffconf.YA70aX9t/test.c 1 int x; END /tmp/ffconf.YA70aX9t/test.c clang -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod -DPIC @/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/arm64-android-rel/cflags.rsp -std=c11 -fPIE -fomit-frame-pointer -fPIC -pthread -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include/srt -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-char-subscripts -O3 -fno-math-errno -fno-signed-zeros -mno-red-zone -c -o /tmp/ffconf.YA70aX9t/test.o /tmp/ffconf.YA70aX9t/test.c check_cflags -mllvm -stack-alignment=16 test_cflags -mllvm -stack-alignment=16 test_cc -mllvm -stack-alignment=16 BEGIN /tmp/ffconf.YA70aX9t/test.c 1 int x; END /tmp/ffconf.YA70aX9t/test.c clang -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod -DPIC @/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/arm64-android-rel/cflags.rsp -std=c11 -fPIE -fomit-frame-pointer -fPIC -pthread -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include/srt -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-char-subscripts -O3 -fno-math-errno -fno-signed-zeros -mllvm -stack-alignment=16 -c -o /tmp/ffconf.YA70aX9t/test.o /tmp/ffconf.YA70aX9t/test.c clang (LLVM option parsing): Unknown command line argument '-stack-alignment=16'. Try: 'clang (LLVM option parsing) --help' clang (LLVM option parsing): Did you mean ' --start-after=16'? check_cflags -mstack-alignment=16 test_cflags -mstack-alignment=16 test_cc -mstack-alignment=16 BEGIN /tmp/ffconf.YA70aX9t/test.c 1 int x; END /tmp/ffconf.YA70aX9t/test.c clang -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod -DPIC @/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/arm64-android-rel/cflags.rsp -std=c11 -fPIE -fomit-frame-pointer -fPIC -pthread -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include/srt -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-char-subscripts -O3 -fno-math-errno -fno-signed-zeros -mstack-alignment=16 -c -o /tmp/ffconf.YA70aX9t/test.o /tmp/ffconf.YA70aX9t/test.c check_cflags -Qunused-arguments test_cflags -Qunused-arguments test_cc -Qunused-arguments BEGIN /tmp/ffconf.YA70aX9t/test.c 1 int x; END /tmp/ffconf.YA70aX9t/test.c clang -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod -DPIC @/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/arm64-android-rel/cflags.rsp -std=c11 -fPIE -fomit-frame-pointer -fPIC -pthread -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include/srt -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-char-subscripts -O3 -fno-math-errno -fno-signed-zeros -mstack-alignment=16 -Qunused-arguments -c -o /tmp/ffconf.YA70aX9t/test.o /tmp/ffconf.YA70aX9t/test.c check_cflags -Werror=implicit-function-declaration test_cflags -Werror=implicit-function-declaration test_cc -Werror=implicit-function-declaration BEGIN /tmp/ffconf.YA70aX9t/test.c 1 int x; END /tmp/ffconf.YA70aX9t/test.c clang -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod -DPIC @/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/arm64-android-rel/cflags.rsp -std=c11 -fPIE -fomit-frame-pointer -fPIC -pthread -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include/srt -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-char-subscripts -O3 -fno-math-errno -fno-signed-zeros -mstack-alignment=16 -Qunused-arguments -Werror=implicit-function-declaration -c -o /tmp/ffconf.YA70aX9t/test.o /tmp/ffconf.YA70aX9t/test.c check_cflags -Werror=missing-prototypes test_cflags -Werror=missing-prototypes test_cc -Werror=missing-prototypes BEGIN /tmp/ffconf.YA70aX9t/test.c 1 int x; END /tmp/ffconf.YA70aX9t/test.c clang -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod -DPIC @/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/arm64-android-rel/cflags.rsp -std=c11 -fPIE -fomit-frame-pointer -fPIC -pthread -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include/srt -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-char-subscripts -O3 -fno-math-errno -fno-signed-zeros -mstack-alignment=16 -Qunused-arguments -Werror=implicit-function-declaration -Werror=missing-prototypes -c -o /tmp/ffconf.YA70aX9t/test.o /tmp/ffconf.YA70aX9t/test.c check_cflags -Werror=return-type test_cflags -Werror=return-type test_cc -Werror=return-type BEGIN /tmp/ffconf.YA70aX9t/test.c 1 int x; END /tmp/ffconf.YA70aX9t/test.c clang -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod -DPIC @/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/arm64-android-rel/cflags.rsp -std=c11 -fPIE -fomit-frame-pointer -fPIC -pthread -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include/srt -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-char-subscripts -O3 -fno-math-errno -fno-signed-zeros -mstack-alignment=16 -Qunused-arguments -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -c -o /tmp/ffconf.YA70aX9t/test.o /tmp/ffconf.YA70aX9t/test.c check_ldflags -Qunused-arguments test_ldflags -Qunused-arguments test_ld cc -Qunused-arguments test_cc -Qunused-arguments BEGIN /tmp/ffconf.YA70aX9t/test.c 1 int main(void){ return 0; } END /tmp/ffconf.YA70aX9t/test.c clang -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod -DPIC @/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/arm64-android-rel/cflags.rsp -std=c11 -fPIE -fomit-frame-pointer -fPIC -pthread -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include/srt -I/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../include -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -Wno-char-subscripts -O3 -fno-math-errno -fno-signed-zeros -mstack-alignment=16 -Qunused-arguments -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Qunused-arguments -c -o /tmp/ffconf.YA70aX9t/test.o /tmp/ffconf.YA70aX9t/test.c clang @/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/arm64-android-rel/ldflags.rsp -L/home/juvenile/repos/vcpkg/installed/arm64-android/lib -Wl,--as-needed -Wl,-z,noexecstack -Wl,--warn-common -Wl,-rpath-link=:libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil -fPIE -pie -Qunused-arguments -o /tmp/ffconf.YA70aX9t/test /tmp/ffconf.YA70aX9t/test.o ```
/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/build-arm64-android-rel-out.log ``` BUILD_ARCH=arm64 OPTION_VARIABLE=OPTIONS_arm64 === CONFIGURING === install prefix /home/juvenile/repos/vcpkg/packages/ffmpeg_arm64-android source path /home/juvenile/repos/vcpkg/buildtrees/ffmpeg/src/n6.1.1-bf510528a2.clean C compiler clang C library bionic host C compiler gcc host C library glibc ARCH c (generic) big-endian no runtime cpu detection yes debug symbols yes strip symbols yes optimize for size no optimizations yes static yes shared no postprocessing support yes network support yes threading support pthreads safe bitstream reader yes texi2html enabled no perl enabled yes pod2man enabled yes makeinfo enabled no makeinfo supports HTML no xmllint enabled no External libraries: jni libsrt mediacodec External libraries providing hardware acceleration: Libraries: avcodec avformat swresample avdevice avutil swscale avfilter postproc Programs: ffmpeg ffprobe Enabled decoders: aac ffv1 pcx aac_fixed ffvhuff pfm aac_latm ffwavesynth pgm aasc fic pgmyuv ac3 fits pgssub ac3_fixed flac pgx acelp_kelvin flic phm adpcm_4xm flv photocd adpcm_adx fmvc pictor adpcm_afc fourxm pixlet adpcm_agm fraps pjs adpcm_aica frwu ppm adpcm_argo ftr prores adpcm_ct g723_1 prosumer adpcm_dtk g729 psd adpcm_ea gdv ptx adpcm_ea_maxis_xa gem qcelp adpcm_ea_r1 gif qdm2 adpcm_ea_r2 gremlin_dpcm qdmc adpcm_ea_r3 gsm qdraw adpcm_ea_xas gsm_ms qoi adpcm_g722 h261 qpeg adpcm_g726 h263 qtrle adpcm_g726le h263i r10k adpcm_ima_acorn h263p r210 adpcm_ima_alp h264 ra_144 adpcm_ima_amv h264_mediacodec ra_288 adpcm_ima_apc hap ralf adpcm_ima_apm hca rawvideo adpcm_ima_cunning hcom realtext adpcm_ima_dat4 hdr rka adpcm_ima_dk3 hevc rl2 adpcm_ima_dk4 hevc_mediacodec roq adpcm_ima_ea_eacs hnm4_video roq_dpcm adpcm_ima_ea_sead hq_hqa rpza adpcm_ima_iss hqx rtv1 adpcm_ima_moflex huffyuv rv10 adpcm_ima_mtf hymt rv20 adpcm_ima_oki iac rv30 adpcm_ima_qt idcin rv40 adpcm_ima_rad idf s302m adpcm_ima_smjpeg iff_ilbm sami adpcm_ima_ssi ilbc sanm adpcm_ima_wav imc sbc adpcm_ima_ws imm4 scpr adpcm_ms imm5 sdx2_dpcm adpcm_mtaf indeo2 sga adpcm_psx indeo3 sgi adpcm_sbpro_2 indeo4 sgirle adpcm_sbpro_3 indeo5 sheervideo adpcm_sbpro_4 interplay_acm shorten adpcm_swf interplay_dpcm simbiosis_imx adpcm_thp interplay_video sipr adpcm_thp_le ipu siren adpcm_vima jacosub smackaud adpcm_xa jpeg2000 smacker adpcm_xmd jpegls smc adpcm_yamaha jv smvjpeg adpcm_zork kgv1 snow agm kmvc sol_dpcm aic lagarith sonic alac loco sp5x alias_pix m101 speedhq als mace3 speex amrnb mace6 srt amrwb magicyuv ssa amv mdec stl anm media100 subrip ansi metasound subviewer anull microdvd subviewer1 apac mimic sunrast ape misc4 svq1 aptx mjpeg svq3 aptx_hd mjpegb tak arbc mlp targa argo mmvideo targa_y216 ass mobiclip text asv1 motionpixels theora asv2 movtext thp atrac1 mp1 tiertexseqvideo atrac3 mp1float tiff atrac3al mp2 tmv atrac3p mp2float truehd atrac3pal mp3 truemotion1 atrac9 mp3adu truemotion2 aura mp3adufloat truemotion2rt aura2 mp3float truespeech av1 mp3on4 tscc2 av1_mediacodec mp3on4float tta avrn mpc7 twinvq avrp mpc8 txd avs mpeg1video ulti avui mpeg2_mediacodec utvideo ayuv mpeg2video v210 bethsoftvid mpeg4 v210x bfi mpeg4_mediacodec v308 bink mpegvideo v408 binkaudio_dct mpl2 v410 binkaudio_rdft msa1 vb bintext msmpeg4v1 vble bitpacked msmpeg4v2 vbn ... Skipped 2523 lines ... aarch64-linux-android-ranlib -D libavfilter/libavfilter.a rm -f libavutil/libavutil.a aarch64-linux-android-ar rcD libavutil/libavutil.a libavutil/../compat/strtod.o libavutil/adler32.o libavutil/aes.o libavutil/aes_ctr.o libavutil/ambient_viewing_environment.o libavutil/audio_fifo.o libavutil/avsscanf.o libavutil/avstring.o libavutil/base64.o libavutil/blowfish.o libavutil/bprint.o libavutil/buffer.o libavutil/camellia.o libavutil/cast5.o libavutil/channel_layout.o libavutil/cpu.o libavutil/crc.o libavutil/csp.o libavutil/des.o libavutil/detection_bbox.o libavutil/dict.o libavutil/display.o libavutil/dovi_meta.o libavutil/downmix_info.o libavutil/encryption_info.o libavutil/error.o libavutil/eval.o libavutil/executor.o libavutil/fifo.o libavutil/file.o libavutil/file_open.o libavutil/film_grain_params.o libavutil/fixed_dsp.o libavutil/float_dsp.o libavutil/frame.o libavutil/hash.o libavutil/hdr_dynamic_metadata.o libavutil/hdr_dynamic_vivid_metadata.o libavutil/hmac.o libavutil/hwcontext.o libavutil/hwcontext_mediacodec.o libavutil/hwcontext_stub.o libavutil/imgutils.o libavutil/integer.o libavutil/intmath.o libavutil/lfg.o libavutil/lls.o libavutil/log.o libavutil/log2_tab.o libavutil/lzo.o libavutil/mastering_display_metadata.o libavutil/mathematics.o libavutil/md5.o libavutil/mem.o libavutil/murmur3.o libavutil/opt.o libavutil/parseutils.o libavutil/pixdesc.o libavutil/pixelutils.o libavutil/random_seed.o libavutil/rational.o libavutil/rc4.o libavutil/reverse.o libavutil/ripemd.o libavutil/samplefmt.o libavutil/sha.o libavutil/sha512.o libavutil/slicethread.o libavutil/spherical.o libavutil/stereo3d.o libavutil/tea.o libavutil/threadmessage.o libavutil/time.o libavutil/timecode.o libavutil/tree.o libavutil/twofish.o libavutil/tx.o libavutil/tx_double.o libavutil/tx_float.o libavutil/tx_int32.o libavutil/utils.o libavutil/uuid.o libavutil/version.o libavutil/video_enc_params.o libavutil/video_hint.o libavutil/xga_font_data.o libavutil/xtea.o aarch64-linux-android-ranlib -D libavutil/libavutil.a clang -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavutil -Llibpostproc -Llibswscale -Llibswresample @/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/arm64-android-rel/ldflags.rsp -L/home/juvenile/repos/vcpkg/installed/arm64-android/lib -Wl,--as-needed -Wl,-z,noexecstack -Wl,--warn-common -Wl,-rpath-link=:libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil -Qunused-arguments -fPIE -pie -o ffmpeg_g fftools/ffmpeg_dec.o fftools/ffmpeg_demux.o fftools/ffmpeg_enc.o fftools/ffmpeg_filter.o fftools/ffmpeg_hw.o fftools/ffmpeg_mux.o fftools/ffmpeg_mux_init.o fftools/ffmpeg_opt.o fftools/objpool.o fftools/sync_queue.o fftools/thread_queue.o fftools/cmdutils.o fftools/opt_common.o fftools/ffmpeg.o -lavdevice -lavfilter -lavformat -lavcodec -lpostproc -lswresample -lswscale -lavutil -lm -latomic -pthread -lm -latomic -lm -latomic -L/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../lib -lsrt -pthread -lc++ -lm -lgcc -ldl -lc -lgcc -ldl -lssl -lcrypto -ldl -pthread -pthread -lm -latomic -landroid -lm -latomic -lm -latomic -lm -latomic -pthread -lm -latomic -landroid clang -Llibavcodec -Llibavdevice -Llibavfilter -Llibavformat -Llibavutil -Llibpostproc -Llibswscale -Llibswresample @/home/juvenile/repos/vcpkg/buildtrees/ffmpeg/arm64-android-rel/ldflags.rsp -L/home/juvenile/repos/vcpkg/installed/arm64-android/lib -Wl,--as-needed -Wl,-z,noexecstack -Wl,--warn-common -Wl,-rpath-link=:libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil -Qunused-arguments -fPIE -pie -o ffprobe_g fftools/cmdutils.o fftools/opt_common.o fftools/ffprobe.o -lavdevice -lavfilter -lavformat -lavcodec -lpostproc -lswresample -lswscale -lavutil -lm -latomic -pthread -lm -latomic -lm -latomic -L/home/juvenile/repos/vcpkg/installed/arm64-android/lib/pkgconfig/../../lib -lsrt -pthread -lc++ -lm -lgcc -ldl -lc -lgcc -ldl -lssl -lcrypto -ldl -pthread -pthread -lm -latomic -landroid -lm -latomic -lm -latomic -lm -latomic -pthread -lm -latomic -landroid strip -o ffmpeg ffmpeg_g ```
stolen-programmer commented 6 months ago

I modified portfile.cmake and compiled it successfully

set(OPTIONS "${OPTIONS} --strip=aarch64-linux-android-strip.exe")
jimwang118 commented 6 months ago

I modified portfile.cmake and compiled it successfully

set(OPTIONS "${OPTIONS} --strip=aarch64-linux-android-strip.exe")

May I ask which line did you add this sentence? Is it behind the (VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Android") judgment?

stolen-programmer commented 6 months ago

我修改了portfile.cmake并成功编译了它

set(OPTIONS "${OPTIONS} --strip=aarch64-linux-android-strip.exe")

请问这句话是哪一行写的?是判决的幕后黑手吗?(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Android")

ports\ffmpeg\portfile.cmake


set(FFMPEG_PKGCONFIG_MODULES libavutil)
# 162 line
set(OPTIONS "${OPTIONS} --strip=aarch64-linux-android-strip.exe")

if("nonfree" IN_LIST FEATURES)
    set(OPTIONS "${OPTIONS} --enable-nonfree")
endif()
stolen-programmer commented 6 months ago

I didn't think too much about the temporary configuration added

jimwang118 commented 6 months ago

I tested it on the Android environment built on Ubuntu. After adding the options you mentioned, the following error occurred.

make: aarch64-linux-android-strip.exe: Command not found
make: *** [/home/vzhli17/jim/vcpkg/buildtrees/ffmpeg/src/n6.1.1-bf510528a2.clean/Makefile:125: ffmpeg] Error 127
stolen-programmer commented 6 months ago

忘了说了 这个是Windows上的 你需要去掉.exe aarch64-linux-android-strip

我在 Ubuntu 上构建的 Android 环境中对其进行了测试。添加您提到的选项后,发生了以下错误。

make: aarch64-linux-android-strip.exe: Command not found
make: *** [/home/vzhli17/jim/vcpkg/buildtrees/ffmpeg/src/n6.1.1-bf510528a2.clean/Makefile:125: ffmpeg] Error 127
dg0yt commented 6 months ago

Which Android toolchain (NDK) do you use?

jimwang118 commented 6 months ago

Which Android toolchain (NDK) do you use?

The NDK I use is r25c.

jimwang118 commented 6 months ago

忘了说了 这个是Windows上的 你需要去掉.exe aarch64-linux-android-strip

After removing the suffix on Android, the same error still occurs.

stolen-programmer commented 6 months ago

忘了说了 这个是Windows上的 你需要去掉.exe aarch64-linux-android-strip

After removing the suffix on Android, the same error still occurs.

你可能需要确定一下 你的工具链中是否真的有这个可执行文件
我在deepin上是有这个文件的 目前我在deepin和Windows上都编译成功

stolen-programmer commented 6 months ago

ndk 25.1.8937393 里面没有 aarch64-linux-android-strip

有个llvm-strip 软链到 llvm-objcopy 我用的 r21

Which Android toolchain (NDK) do you use?

The NDK I use is r25c.

stolen-programmer commented 6 months ago

image

image

dg0yt commented 3 months ago

Port ffmpeg still doesn't use the established maintainer functions. Basically it should use VCPKG_DETECTED_CMAKE_STRIP or : as vcpkg_configure_make does.