microsoft / vcpkg

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

[ffmpeg] Build failure #9949

Closed fawdlstty closed 4 years ago

fawdlstty commented 4 years ago

Host Environment

To Reproduce Steps to reproduce the behavior: vcpkg install ffmpeg[ffmpeg,ffplay,nonfree,avresample]:x86-windows-static

Failure logs

Computing installation plan...
The following packages will be built and installed:
    ffmpeg[avresample,core,ffmpeg,ffplay,nonfree]:x86-windows-static
Starting package 1/1: ffmpeg:x86-windows-static
Building package ffmpeg[avresample,core,ffmpeg,ffplay,nonfree]:x86-windows-static...
Warning: abi keys are missing values:
    zlib

-- Using community triplet x86-windows-static. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: D:\GitHub\vcpkg\triplets\community\x86-windows-static.cmake
-- Using cached D:/GitHub/vcpkg/downloads/ffmpeg-ffmpeg-n4.2.tar.gz
-- Using source at D:/GitHub/vcpkg/buildtrees/ffmpeg/src/n4.2-b7812eeecc
-- Acquiring MSYS Packages...
-- Acquiring MSYS Packages... OK
-- Building Options: --enable-asm --enable-yasm --disable-doc --enable-debug --enable-runtime-cpudetect --enable-nonfree --disable-openssl --enable-ffmpeg --enable-ffplay --disable-ffprobe --disable-libvpx --disable-libx264 --disable-opencl --disable-lzma --disable-bzlib --enable-avresample  --extra-cflags=-DHAVE_UNISTD_H=0
-- Building Release Options:  --extra-cflags=-MT --extra-cxxflags=-MT
-- Building ffmpeg for Release
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:72 (message):
    Command failed: D:/GitHub/vcpkg/downloads/tools/msys2/msys64/usr/bin/bash.exe --noprofile --norc D:/GitHub/vcpkg/ports/ffmpeg\build.sh D:/GitHub/vcpkg/buildtrees/ffmpeg/x86-windows-static-rel D:/GitHub/vcpkg/buildtrees/ffmpeg/src/n4.2-b7812eeecc D:/GitHub/vcpkg/packages/ffmpeg_x86-windows-static "--enable-asm --enable-yasm --disable-doc --enable-debug --enable-runtime-cpudetect --enable-nonfree --disable-openssl --enable-ffmpeg --enable-ffplay --disable-ffprobe --disable-libvpx --disable-libx264 --disable-opencl --disable-lzma --disable-bzlib --enable-avresample  --extra-cflags=-DHAVE_UNISTD_H=0  --extra-cflags=-MT --extra-cxxflags=-MT"
    Working Directory: D:/GitHub/vcpkg/buildtrees/ffmpeg/x86-windows-static-rel
    Error code: 127
    See logs for more information:
      D:\GitHub\vcpkg\buildtrees\ffmpeg\build-x86-windows-static-rel-out.log

Call Stack (most recent call first):
  ports/ffmpeg/portfile.cmake:193 (vcpkg_execute_required_process)
  scripts/ports.cmake:90 (include)

Error: Building package ffmpeg:x86-windows-static failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: ffmpeg:x86-windows-static
  Vcpkg version: 2020.02.04-nohash

Additionally, attach any relevant sections from the log files above.

Additional context build-x86-windows-static-rel-out.log:

=== CONFIGURING ===
install prefix            /d/GitHub/vcpkg/packages/ffmpeg_x86-windows-static
source path               /d/GitHub/vcpkg/buildtrees/ffmpeg/src/n4.2-b7812eeecc
C compiler                cl.exe
C library                 msvcrt
ARCH                      x86 (generic)
big-endian                no
runtime cpu detection     yes
standalone assembly       yes
x86 assembler             yasm
MMX enabled               yes
MMXEXT enabled            yes
3DNow! enabled            yes
3DNow! extended enabled   yes
SSE enabled               yes
SSSE3 enabled             yes
AESNI enabled             yes
AVX enabled               yes
AVX2 enabled              yes
AVX-512 enabled           yes
XOP enabled               yes
FMA3 enabled              yes
FMA4 enabled              yes
i686 features enabled     yes
CMOV is fast              no
EBX available             no
EBP available             no
debug symbols             yes
strip symbols             no
optimize for size         no
optimizations             yes
static                    yes
shared                    no
postprocessing support    no
network support           yes
threading support         w32threads
safe bitstream reader     yes
texi2html enabled         no
perl enabled              no
pod2man enabled           no
makeinfo enabled          no
makeinfo supports HTML    no

External libraries:
schannel

External libraries providing hardware acceleration:
d3d11va                 dxva2

Libraries:
avcodec                 avformat                swresample
avdevice                avresample              swscale
avfilter                avutil

Programs:
ffmpeg

Enabled decoders:
aac                     ffwavesynth             pcx
aac_fixed               fic                     pgm
aac_latm                fits                    pgmyuv
aasc                    flac                    pgssub
ac3                     flic                    pictor
ac3_fixed               flv                     pixlet
adpcm_4xm               fmvc                    pjs
adpcm_adx               fourxm                  ppm
adpcm_afc               fraps                   prores
adpcm_agm               frwu                    prosumer
adpcm_aica              g723_1                  psd
adpcm_ct                g729                    ptx
adpcm_dtk               gdv                     qcelp
adpcm_ea                gif                     qdm2
adpcm_ea_maxis_xa       gremlin_dpcm            qdmc
adpcm_ea_r1             gsm                     qdraw
adpcm_ea_r2             gsm_ms                  qpeg
adpcm_ea_r3             h261                    qtrle
adpcm_ea_xas            h263                    r10k
adpcm_g722              h263i                   r210
adpcm_g726              h263p                   ra_144
adpcm_g726le            h264                    ra_288
adpcm_ima_amv           hap                     ralf
adpcm_ima_apc           hcom                    rawvideo
adpcm_ima_dat4          hevc                    realtext
adpcm_ima_dk3           hnm4_video              rl2
adpcm_ima_dk4           hq_hqa                  roq
adpcm_ima_ea_eacs       hqx                     roq_dpcm
adpcm_ima_ea_sead       huffyuv                 rpza
adpcm_ima_iss           hymt                    rv10
adpcm_ima_oki           iac                     rv20
adpcm_ima_qt            idcin                   rv30
adpcm_ima_rad           idf                     rv40
adpcm_ima_smjpeg        iff_ilbm                s302m
adpcm_ima_wav           ilbc                    sami
adpcm_ima_ws            imc                     sanm
adpcm_ms                imm4                    sbc
adpcm_mtaf              indeo2                  scpr
adpcm_psx               indeo3                  sdx2_dpcm
adpcm_sbpro_2           indeo4                  sgi
adpcm_sbpro_3           indeo5                  sgirle
adpcm_sbpro_4           interplay_acm           sheervideo
adpcm_swf               interplay_dpcm          shorten
adpcm_thp               interplay_video         sipr
adpcm_thp_le            jacosub                 smackaud
adpcm_vima              jpeg2000                smacker
adpcm_xa                jpegls                  smc
adpcm_yamaha            jv                      smvjpeg
agm                     kgv1                    snow
aic                     kmvc                    sol_dpcm
alac                    lagarith                sonic
alias_pix               loco                    sp5x
als                     m101                    speedhq
amrnb                   mace3                   srt
amrwb                   mace6                   ssa
amv                     magicyuv                stl
anm                     mdec                    subrip
ansi                    metasound               subviewer
ape                     microdvd                subviewer1
aptx                    mimic                   sunrast
aptx_hd                 mjpeg                   svq1
arbc                    mjpegb                  svq3
ass                     mlp                     tak
asv1                    mmvideo                 targa
asv2                    motionpixels            targa_y216
atrac1                  movtext                 text
atrac3                  mp1                     theora
atrac3al                mp1float                thp
atrac3p                 mp2                     tiertexseqvideo
atrac3pal               mp2float                tiff
atrac9                  mp3                     tmv
aura                    mp3adu                  truehd
aura2                   mp3adufloat             truemotion1
avrn                    mp3float                truemotion2
avrp                    mp3on4                  truemotion2rt
avs                     mp3on4float             truespeech
avui                    mpc7                    tscc2
ayuv                    mpc8                    tta
bethsoftvid             mpeg1video              twinvq
bfi                     mpeg2video              txd
bink                    mpeg4                   ulti
binkaudio_dct           mpegvideo               utvideo
binkaudio_rdft          mpl2                    v210
bintext                 msa1                    v210x
bitpacked               msmpeg4v1               v308
bmp                     msmpeg4v2               v408
bmv_audio               msmpeg4v3               v410
bmv_video               msrle                   vb
brender_pix             mss1                    vble
c93                     mss2                    vc1
cavs                    msvideo1                vc1image
ccaption                mszh                    vcr1
cdgraphics              mts2                    vmdaudio
cdxl                    mvc1                    vmdvideo
cfhd                    mvc2                    vmnc
cinepak                 mxpeg                   vorbis
clearvideo              nellymoser              vp3
cljr                    nuv                     vp4
cllc                    on2avc                  vp5
comfortnoise            opus                    vp6
cook                    paf_audio               vp6a
cpia                    paf_video               vp6f
cscd                    pam                     vp7
cyuv                    pbm                     vp8
dca                     pcm_alaw                vp9
dds                     pcm_bluray              vplayer
dfa                     pcm_dvd                 vqa
dirac                   pcm_f16le               wavpack
dnxhd                   pcm_f24le               webp
dolby_e                 pcm_f32be               webvtt
dpx                     pcm_f32le               wmalossless
dsd_lsbf                pcm_f64be               wmapro
dsd_lsbf_planar         pcm_f64le               wmav1
dsd_msbf                pcm_lxf                 wmav2
dsd_msbf_planar         pcm_mulaw               wmavoice
dsicinaudio             pcm_s16be               wmv1
dsicinvideo             pcm_s16be_planar        wmv2
dss_sp                  pcm_s16le               wmv3
dst                     pcm_s16le_planar        wmv3image
dvaudio                 pcm_s24be               wnv1
dvbsub                  pcm_s24daud             wrapped_avframe
dvdsub                  pcm_s24le               ws_snd1
dvvideo                 pcm_s24le_planar        xan_dpcm
dxtory                  pcm_s32be               xan_wc3
dxv                     pcm_s32le               xan_wc4
eac3                    pcm_s32le_planar        xbin
eacmv                   pcm_s64be               xbm
eamad                   pcm_s64le               xface
eatgq                   pcm_s8                  xl
eatgv                   pcm_s8_planar           xma1
eatqi                   pcm_u16be               xma2
eightbps                pcm_u16le               xpm
eightsvx_exp            pcm_u24be               xsub
eightsvx_fib            pcm_u24le               xwd
escape124               pcm_u32be               y41p
escape130               pcm_u32le               ylc
evrc                    pcm_u8                  yop
ffv1                    pcm_vidc                yuv4
ffvhuff                 pcm_zork                zero12v

Enabled encoders:
a64multi                magicyuv                prores
a64multi5               mjpeg                   prores_aw
aac                     mlp                     prores_ks
ac3                     movtext                 qtrle
ac3_fixed               mp2                     r10k
adpcm_adx               mp2fixed                r210
adpcm_g722              mpeg1video              ra_144
adpcm_g726              mpeg2video              rawvideo
adpcm_g726le            mpeg4                   roq
adpcm_ima_qt            msmpeg4v2               roq_dpcm
adpcm_ima_wav           msmpeg4v3               rv10
adpcm_ms                msvideo1                rv20
adpcm_swf               nellymoser              s302m
adpcm_yamaha            opus                    sbc
alac                    pam                     sgi
alias_pix               pbm                     snow
amv                     pcm_alaw                sonic
aptx                    pcm_dvd                 sonic_ls
aptx_hd                 pcm_f32be               srt
ass                     pcm_f32le               ssa
asv1                    pcm_f64be               subrip
asv2                    pcm_f64le               sunrast
avrp                    pcm_mulaw               svq1
avui                    pcm_s16be               targa
ayuv                    pcm_s16be_planar        text
bmp                     pcm_s16le               tiff
cinepak                 pcm_s16le_planar        truehd
cljr                    pcm_s24be               tta
comfortnoise            pcm_s24daud             utvideo
dca                     pcm_s24le               v210
dnxhd                   pcm_s24le_planar        v308
dpx                     pcm_s32be               v408
dvbsub                  pcm_s32le               v410
dvdsub                  pcm_s32le_planar        vc2
dvvideo                 pcm_s64be               vorbis
eac3                    pcm_s64le               wavpack
ffv1                    pcm_s8                  webvtt
ffvhuff                 pcm_s8_planar           wmav1
fits                    pcm_u16be               wmav2
flac                    pcm_u16le               wmv1
flv                     pcm_u24be               wmv2
g723_1                  pcm_u24le               wrapped_avframe
gif                     pcm_u32be               xbm
h261                    pcm_u32le               xface
h263                    pcm_u8                  xsub
h263p                   pcm_vidc                xwd
huffyuv                 pcx                     y41p
jpeg2000                pgm                     yuv4
jpegls                  pgmyuv
ljpeg                   ppm

Enabled hwaccels:
h264_d3d11va            mpeg2_d3d11va           vp9_d3d11va
h264_d3d11va2           mpeg2_d3d11va2          vp9_d3d11va2
h264_dxva2              mpeg2_dxva2             vp9_dxva2
hevc_d3d11va            vc1_d3d11va             wmv3_d3d11va
hevc_d3d11va2           vc1_d3d11va2            wmv3_d3d11va2
hevc_dxva2              vc1_dxva2               wmv3_dxva2

Enabled parsers:
aac                     dvd_nav                 mpegvideo
aac_latm                dvdsub                  opus
ac3                     flac                    png
adx                     g723_1                  pnm
av1                     g729                    rv30
avs2                    gif                     rv40
bmp                     gsm                     sbc
cavsvideo               h261                    sipr
cook                    h263                    tak
dca                     h264                    vc1
dirac                   hevc                    vorbis
dnxhd                   mjpeg                   vp3
dpx                     mlp                     vp8
dvaudio                 mpeg4video              vp9
dvbsub                  mpegaudio               xma

Enabled demuxers:
aa                      iff                     pcm_s8
aac                     ifv                     pcm_u16be
ac3                     ilbc                    pcm_u16le
acm                     image2                  pcm_u24be
act                     image2_alias_pix        pcm_u24le
adf                     image2_brender_pix      pcm_u32be
adp                     image2pipe              pcm_u32le
ads                     image_bmp_pipe          pcm_u8
adx                     image_dds_pipe          pcm_vidc
aea                     image_dpx_pipe          pjs
afc                     image_exr_pipe          pmp
aiff                    image_gif_pipe          pva
aix                     image_j2k_pipe          pvf
amr                     image_jpeg_pipe         qcp
amrnb                   image_jpegls_pipe       r3d
amrwb                   image_pam_pipe          rawvideo
anm                     image_pbm_pipe          realtext
apc                     image_pcx_pipe          redspark
ape                     image_pgm_pipe          rl2
apng                    image_pgmyuv_pipe       rm
aptx                    image_pictor_pipe       roq
aptx_hd                 image_png_pipe          rpl
aqtitle                 image_ppm_pipe          rsd
asf                     image_psd_pipe          rso
asf_o                   image_qdraw_pipe        rtp
ass                     image_sgi_pipe          rtsp
ast                     image_sunrast_pipe      s337m
au                      image_svg_pipe          sami
avi                     image_tiff_pipe         sap
avr                     image_webp_pipe         sbc
avs                     image_xpm_pipe          sbg
avs2                    image_xwd_pipe          scc
bethsoftvid             ingenient               sdp
bfi                     ipmovie                 sdr2
bfstm                   ircam                   sds
bink                    iss                     sdx
bintext                 iv8                     segafilm
bit                     ivf                     ser
bmv                     ivr                     shorten
boa                     jacosub                 siff
brstm                   jv                      sln
c93                     kux                     smacker
caf                     live_flv                smjpeg
cavsvideo               lmlm4                   smush
cdg                     loas                    sol
cdxl                    lrc                     sox
cine                    lvf                     spdif
codec2                  lxf                     srt
codec2raw               m4v                     stl
concat                  matroska                str
data                    mgsts                   subviewer
daud                    microdvd                subviewer1
dcstr                   mjpeg                   sup
dfa                     mjpeg_2000              svag
dhav                    mlp                     swf
dirac                   mlv                     tak
dnxhd                   mm                      tedcaptions
dsf                     mmf                     thp
dsicin                  mov                     threedostr
dss                     mp3                     tiertexseq
dts                     mpc                     tmv
dtshd                   mpc8                    truehd
dv                      mpegps                  tta
dvbsub                  mpegts                  tty
dvbtxt                  mpegtsraw               txd
dxa                     mpegvideo               ty
ea                      mpjpeg                  v210
ea_cdata                mpl2                    v210x
eac3                    mpsub                   vag
epaf                    msf                     vc1
ffmetadata              msnwc_tcp               vc1t
filmstrip               mtaf                    vividas
fits                    mtv                     vivo
flac                    musx                    vmd
flic                    mv                      vobsub
flv                     mvi                     voc
fourxm                  mxf                     vpk
frm                     mxg                     vplayer
fsb                     nc                      vqf
g722                    nistsphere              w64
g723_1                  nsp                     wav
g726                    nsv                     wc3
g726le                  nut                     webm_dash_manifest
g729                    nuv                     webvtt
gdv                     ogg                     wsaud
genh                    oma                     wsd
gif                     paf                     wsvqa
gsm                     pcm_alaw                wtv
gxf                     pcm_f32be               wv
h261                    pcm_f32le               wve
h263                    pcm_f64be               xa
h264                    pcm_f64le               xbin
hcom                    pcm_mulaw               xmv
hevc                    pcm_s16be               xvag
hls                     pcm_s16le               xwma
hnm                     pcm_s24be               yop
ico                     pcm_s24le               yuv4mpegpipe
idcin                   pcm_s32be
idf                     pcm_s32le

Enabled muxers:
a64                     hevc                    pcm_s24le
ac3                     hls                     pcm_s32be
adts                    ico                     pcm_s32le
adx                     ilbc                    pcm_s8
aiff                    image2                  pcm_u16be
amr                     image2pipe              pcm_u16le
apng                    ipod                    pcm_u24be
aptx                    ircam                   pcm_u24le
aptx_hd                 ismv                    pcm_u32be
asf                     ivf                     pcm_u32le
asf_stream              jacosub                 pcm_u8
ass                     latm                    pcm_vidc
ast                     lrc                     psp
au                      m4v                     rawvideo
avi                     matroska                rm
avm2                    matroska_audio          roq
avs2                    md5                     rso
bit                     microdvd                rtp
caf                     mjpeg                   rtp_mpegts
cavsvideo               mkvtimestamp_v2         rtsp
codec2                  mlp                     sap
codec2raw               mmf                     sbc
crc                     mov                     scc
dash                    mp2                     segafilm
data                    mp3                     segment
daud                    mp4                     singlejpeg
dirac                   mpeg1system             smjpeg
dnxhd                   mpeg1vcd                smoothstreaming
dts                     mpeg1video              sox
dv                      mpeg2dvd                spdif
eac3                    mpeg2svcd               spx
f4v                     mpeg2video              srt
ffmetadata              mpeg2vob                stream_segment
fifo                    mpegts                  sup
fifo_test               mpjpeg                  swf
filmstrip               mxf                     tee
fits                    mxf_d10                 tg2
flac                    mxf_opatom              tgp
flv                     null                    truehd
framecrc                nut                     tta
framehash               oga                     uncodedframecrc
framemd5                ogg                     vc1
g722                    ogv                     vc1t
g723_1                  oma                     voc
g726                    opus                    w64
g726le                  pcm_alaw                wav
gif                     pcm_f32be               webm
gsm                     pcm_f32le               webm_chunk
gxf                     pcm_f64be               webm_dash_manifest
h261                    pcm_f64le               webp
h263                    pcm_mulaw               webvtt
h264                    pcm_s16be               wtv
hash                    pcm_s16le               wv
hds                     pcm_s24be               yuv4mpegpipe

Enabled protocols:
async                   httpproxy               rtmpts
cache                   https                   rtp
concat                  icecast                 srtp
crypto                  md5                     subfile
data                    mmsh                    tcp
ffrtmphttp              mmst                    tee
file                    pipe                    tls
ftp                     prompeg                 udp
gopher                  rtmp                    udplite
hls                     rtmps
http                    rtmpt

Enabled filters:
abench                  dcshift                 pad
abitscope               dctdnoiz                pal100bars
acompressor             deband                  pal75bars
acontrast               deblock                 palettegen
acopy                   decimate                paletteuse
acrossfade              deconvolve              pan
acrossover              dedot                   perms
acrusher                deesser                 pixdesctest
acue                    deflate                 pixscope
adeclick                deflicker               premultiply
adeclip                 dejudder                prewitt
adelay                  derain                  pseudocolor
aderivative             deshake                 psnr
adrawgraph              despill                 qp
aecho                   detelecine              random
aemphasis               dilation                readeia608
aeval                   displace                readvitc
aevalsrc                doubleweave             realtime
afade                   drawbox                 remap
afftdn                  drawgraph               removegrain
afftfilt                drawgrid                removelogo
afifo                   drmeter                 replaygain
afir                    dynaudnorm              resample
aformat                 earwax                  reverse
agate                   ebur128                 rgbashift
agraphmonitor           edgedetect              rgbtestsrc
ahistogram              elbg                    roberts
aiir                    entropy                 rotate
aintegral               equalizer               scale
ainterleave             erosion                 scale2ref
alimiter                extractplanes           select
allpass                 extrastereo             selectivecolor
allrgb                  fade                    sendcmd
allyuv                  fftdnoiz                separatefields
aloop                   fftfilt                 setdar
alphaextract            field                   setfield
alphamerge              fieldhint               setparams
amerge                  fieldmatch              setpts
ametadata               fieldorder              setrange
amix                    fifo                    setsar
amovie                  fillborders             settb
amplify                 firequalizer            showcqt
amultiply               flanger                 showfreqs
anequalizer             floodfill               showinfo
anlmdn                  format                  showpalette
anoisesrc               fps                     showspatial
anull                   framepack               showspectrum
anullsink               framerate               showspectrumpic
anullsrc                framestep               showvolume
apad                    freezedetect            showwaves
aperms                  gblur                   showwavespic
aphasemeter             gradfun                 shuffleframes
aphaser                 graphmonitor            shuffleplanes
apulsator               greyedge                sidechaincompress
arealtime               haas                    sidechaingate
aresample               haldclut                sidedata
areverse                haldclutsrc             signalstats
aselect                 hdcd                    silencedetect
asendcmd                headphone               silenceremove
asetnsamples            hflip                   sinc
asetpts                 highpass                sine
asetrate                highshelf               smptebars
asettb                  hilbert                 smptehdbars
ashowinfo               histogram               sobel
asidedata               hqx                     spectrumsynth
asoftclip               hstack                  split
asplit                  hue                     sr
astats                  hwdownload              ssim
astreamselect           hwmap                   stereotools
atadenoise              hwupload                stereowiden
atempo                  hysteresis              streamselect
atrim                   idet                    superequalizer
avectorscope            il                      surround
avgblur                 inflate                 swaprect
bandpass                interleave              swapuv
bandreject              join                    tblend
bass                    lagfun                  telecine
bbox                    lenscorrection          testsrc
bench                   life                    testsrc2
biquad                  limiter                 threshold
bitplanenoise           loop                    thumbnail
blackdetect             loudnorm                tile
blend                   lowpass                 tlut2
bm3d                    lowshelf                tmix
bwdif                   lumakey                 tonemap
cellauto                lut                     tpad
channelmap              lut1d                   transpose
channelsplit            lut2                    treble
chorus                  lut3d                   tremolo
chromahold              lutrgb                  trim
chromakey               lutyuv                  unpremultiply
chromashift             mandelbrot              unsharp
ciescope                maskedclamp             vectorscope
codecview               maskedmerge             vflip
color                   maskfun                 vfrdet
colorbalance            mcompand                vibrance
colorchannelmixer       mergeplanes             vibrato
colorhold               mestimate               vignette
colorkey                metadata                vmafmotion
colorlevels             midequalizer            volume
colorspace              minterpolate            volumedetect
compand                 mix                     vstack
compensationdelay       movie                   w3fdif
concat                  negate                  waveform
convolution             nlmeans                 weave
convolve                noformat                xbr
copy                    noise                   xmedian
crop                    normalize               xstack
crossfeed               null                    yadif
crystalizer             nullsink                yuvtestsrc
cue                     nullsrc                 zoompan
curves                  oscilloscope
datascope               overlay

Enabled bsfs:
aac_adtstoasc           h264_redundant_pps      noise
av1_frame_split         hapqa_extract           null
av1_metadata            hevc_metadata           prores_metadata
chomp                   hevc_mp4toannexb        remove_extradata
dca_core                imx_dump_header         text2movsub
dump_extradata          mjpeg2jpeg              trace_headers
eac3_core               mjpega_dump_header      truehd_core
extract_extradata       mov2textsub             vp9_metadata
filter_units            mp3_header_decompress   vp9_raw_reorder
h264_metadata           mpeg2_metadata          vp9_superframe
h264_mp4toannexb        mpeg4_unpack_bframes    vp9_superframe_split

Enabled indevs:
dshow                   lavfi
gdigrab                 vfwcap

Enabled outdevs:

License: nonfree and unredistributable

WARNING: The --enable-yasm option is only provided for compatibility and will be
 removed in the future. Use --enable-x86asm / --disable-x86asm instead.
WARNING: Building with deprecated library libavresample
=== BUILDING ===
fawdlstty commented 4 years ago

vcpkg install ffmpeg[ffmpeg,ffplay,nonfree,avresample]:x86-windows-static failed、 vcpkg install x264:x86-windows-static failed、 …… What's happening?

fawdlstty commented 4 years ago

run vcpkg install x264:x86-windows-static log:

Computing installation plan...
The following packages will be built and installed:
    x264[core]:x86-windows-static
Starting package 1/1: x264:x86-windows-static
Building package x264[core]:x86-windows-static...
-- Using community triplet x86-windows-static. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: D:\GitHub\vcpkg\triplets\community\x86-windows-static.cmake
-- Using cached D:/GitHub/vcpkg/downloads/mirror-x264-303c484ec828ed0d8bfe743500e70314d026c3bd.tar.gz
-- Using source at D:/GitHub/vcpkg/buildtrees/x264/src/14d026c3bd-bca2ebf740
-- Using generator make
-- Acquiring MSYS Packages...
-- Acquiring MSYS Packages... OK
-- Configuring x86-windows-static-dbg
-- Configuring x86-windows-static-rel
-- Acquiring MSYS Packages...
-- Acquiring MSYS Packages... OK
-- Building x86-windows-static-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:136 (message):
    Command failed: D:/GitHub/vcpkg/downloads/tools/msys2/msys64/usr/bin/bash.exe --noprofile --norc -c "make -j" 9
    Working Directory: D:/GitHub/vcpkg/buildtrees/x264/x86-windows-static-dbg
    See logs for more information:

Call Stack (most recent call first):
  scripts/cmake/vcpkg_build_make.cmake:124 (vcpkg_execute_build_process)
  scripts/cmake/vcpkg_install_make.cmake:24 (vcpkg_build_make)
  ports/x264/portfile.cmake:29 (vcpkg_install_make)
  scripts/ports.cmake:90 (include)

Error: Building package x264:x86-windows-static failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: x264:x86-windows-static
  Vcpkg version: 2020.02.04-nohash

Additionally, attach any relevant sections from the log files above.

run failed command:

D:\GitHub\vcpkg\buildtrees\x264\x86-windows-static-dbg>D:/GitHub/vcpkg/downloads/tools/msys2/msys64/usr/bin/bash.exe --noprofile --norc -c "make -j" 9
cat ../src/14d026c3bd-bca2ebf740/common/opencl/x264-cl.h ../src/14d026c3bd-bca2ebf740/common/opencl/bidir.cl ../src/14d026c3bd-bca2ebf740/common/opencl/downscale.cl ../src/14d026c3bd-bca2ebf740/common/opencl/intra.cl ../src/14d026c3bd-bca2ebf740/common/opencl/motionsearch.cl ../src/14d026c3bd-bca2ebf740/common/opencl/subpel.cl ../src/14d026c3bd-bca2ebf740/common/opencl/weightp.cl | ../src/14d026c3bd-bca2ebf740/tools/cltostr.sh common/oclobj.h
dependency file generation...
rc.exe -DDEBUG -nologo -I. -I../src/14d026c3bd-bca2ebf740/extras -fox264res.o ../src/14d026c3bd-bca2ebf740/x264res.rc
make: rc.exe: Command not found
cl -D_DEBUG -O1 -Z7 -DWIN32 -D_WINDOWS -W3 -MP -D_DEBUG -MTd -Z7 -Ob0 -Od -RTC1 -I. -I../src/14d026c3bd-bca2ebf740 -nologo -GS- -DHAVE_STRING_H -I../src/14d026c3bd-bca2ebf740/extras  -c ../src/14d026c3bd-bca2ebf740/x264.c -Fox264.o
make: *** [x264res.o] Error 127
make: *** Waiting for unfinished jobs....
cl: 命令行 warning D9025 :正在重写“/O1”(用“/Od”)
x264.c
../src/14d026c3bd-bca2ebf740/x264.c(35): fatal error C1083: 无法打开包括文件: “windows.h”: No such file or directory
make: *** [x264.o] Error 2

D:\GitHub\vcpkg\buildtrees\x264\x86-windows-static-dbg>
fawdlstty commented 4 years ago

It looks like my environment configuration problem, but I'm not sure exactly where it is. Do I have the latest version of vs2017community and vs2019community installed

NancyLi1013 commented 4 years ago

Hi @fawdlstty thanks for posting this issue. Could you please try to remove msys2from D:/GitHub/vcpkg/downloads/tools/msys2 and try to build it again? Also we suggest use English package in Visual Studio.

fawdlstty commented 4 years ago

Let me describe the situation: both of my visual studio versions contain English language packages, and I also installed ffmpeg with VCPKG a few months ago.I updated VCPKG and recompiled it these days, both of these projects failed.Recent changes to the computer include: updating visual studio, updating VCPKG

fawdlstty commented 4 years ago

Could you please try to remove msys2 from D:/GitHub/vcpkg/downloads/tools/msys2 and try to build it again?


D:\GitHub\vcpkg\buildtrees\x264\x86-windows-static-dbg>vcpkg install ffmpeg[ffmpeg,ffserver,ffplay,ffprobe,bzip2,x264,nonfree,avresample]:x86-windows-static
Your feedback is important to improve Vcpkg! Please take 3 minutes to complete our survey by running: vcpkg contact --survey
Computing installation plan...
The following packages will be built and installed:
ffmpeg[avresample,bzip2,core,ffmpeg,ffplay,ffprobe,ffserver,gpl,nonfree,x264]:x86-windows-static
Starting package 1/1: ffmpeg:x86-windows-static
Building package ffmpeg[avresample,bzip2,core,ffmpeg,ffplay,ffprobe,ffserver,gpl,nonfree,x264]:x86-windows-static...
Warning: abi keys are missing values:
bzip2
zlib

-- Using community triplet x86-windows-static. This triplet configuration is not guaranteed to succeed. -- [COMMUNITY] Loading triplet configuration from: D:\GitHub\vcpkg\triplets\community\x86-windows-static.cmake -- Using cached D:/GitHub/vcpkg/downloads/ffmpeg-ffmpeg-n4.2.tar.gz -- Extracting source D:/GitHub/vcpkg/downloads/ffmpeg-ffmpeg-n4.2.tar.gz -- Applying patch 0001-create-lib-libraries.patch -- Applying patch 0002-detect-openssl.patch -- Applying patch 0003-fix-windowsinclude.patch -- Applying patch 0004-fix-debug-build.patch -- Applying patch 0005-fix-libvpx-linking.patch -- Using source at D:/GitHub/vcpkg/buildtrees/ffmpeg/src/n4.2-b7812eeecc -- Acquiring MSYS Packages... -- Acquiring MSYS Packages... OK -- Building Options: --enable-asm --enable-yasm --disable-doc --enable-debug --enable-runtime-cpudetect --enable-nonfree --enable-gpl --disable-openssl --enable-ffmpeg --enable-ffplay --enable-ffprobe --disable-libvpx --enable-libx264 --disable-opencl --disable-lzma --enable-bzlib --enable-avresample --extra-cflags=-DHAVE_UNISTD_H=0 -- Building Release Options: --extra-cflags=-MT --extra-cxxflags=-MT -- Building ffmpeg for Release -- Building Debug Options: --debug --extra-cflags=-MTd --extra-cxxflags=-MTd -- Building ffmpeg for Debug -- Installing: D:/GitHub/vcpkg/packages/ffmpeg_x86-windows-static/share/ffmpeg/copyright -- Performing post-build validation There should be no bin\ directory in a static build, but D:\GitHub\vcpkg\packages\ffmpeg_x86-windows-static\bin is present. There should be no debug\bin\ directory in a static build, but D:\GitHub\vcpkg\packages\ffmpeg_x86-windows-static\debug\bin is present. If the creation of bin\ and/or debug\bin\ cannot be disabled, use this in the portfile to remove them

if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
    file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
endif()

There should be no empty directories in D:\GitHub\vcpkg\packages\ffmpeg_x86-windows-static The following empty directories were found:

D:/GitHub/vcpkg/packages/ffmpeg_x86-windows-static/bin
D:/GitHub/vcpkg/packages/ffmpeg_x86-windows-static/debug/bin

If a directory should be populated but is not, this might indicate an error in the portfile. If the directories are not needed and their creation cannot be disabled, use something like this in the portfile to remove them:

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/a/dir ${CURRENT_PACKAGES_DIR}/some/other/dir)

Found 2 error(s). Please correct the portfile: D:\GitHub\vcpkg\ports\ffmpeg\portfile.cmake -- Performing post-build validation done Error: Building package ffmpeg:x86-windows-static failed with: POST_BUILD_CHECKS_FAILED Please ensure you're using the latest portfiles with .\vcpkg update, then submit an issue at https://github.com/Microsoft/vcpkg/issues including: Package: ffmpeg:x86-windows-static Vcpkg version: 2020.02.04-nohash

Additionally, attach any relevant sections from the log files above.

fawdlstty commented 4 years ago

x264:x86-windows-static has install success

NancyLi1013 commented 4 years ago

Thanks for your update. As for the issue on ffmpeg, I will fix it later. If you need to use it now, please add this code toportfile.cmake and build it agiain.

 if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
        file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
 endif()
nirzaf commented 4 years ago

Thanks for your update. As for the issue on ffmpeg, I will fix it later. If you need to use it now, please add this code toportfile.cmake and build it agiain.

 if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
        file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/debug/bin)
 endif()

image

I have added those lines inside the file following file "vcpkg\ports\ffmpeg\portfile.cmake" at end of the file as shown in the above screenshot, still, that problem exists, may I know have I done it correctly or something wrong in the approach?

image

NancyLi1013 commented 4 years ago

Hi @nirzaf

Since the path you build contains spaces. Please try to clone vcpkg to a directory without spaces and build it again.

nirzaf commented 4 years ago

Thanks for your response @NancyLi1013 but still I got the same output
image

NancyLi1013 commented 4 years ago

Please check if you have access to this URL first. https://www.tortall.net/projects/yasm/snapshots/v1.3.0.6.g1962/yasm-1.3.0.6.g1962.exe

nirzaf commented 4 years ago

@NancyLi1013 I download it separately, when I click it, it was popping a window & disappeared within a fraction of second, moreover that link doesn't work always in this link, you are able to download that file

NancyLi1013 commented 4 years ago

It might be something wrong with your network. Please put the attachment (yasm-1.3.0.6.g1962.exe) to c:/vcpkg/vcpkg/downloads/ folder and try to build it again.

yasm.zip

NancyLi1013 commented 4 years ago

This issue has been fixed. Please try to update vcpkg and build it again.