[FFmpeg-trac] #7874(undetermined:new): FFmpeg failed to build due to af_astats.c: Assertion failed: Nerrors with VS2017 on windows

FFmpeg trac at avcodec.org
Mon Apr 29 11:51:58 EEST 2019


#7874: FFmpeg failed to build due to af_astats.c: Assertion failed: Nerrors with
VS2017 on windows
-------------------------------------+-------------------------------------
             Reporter:  KarenHuang   |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 FFmpeg failed to build due to af_astats.c: Assertion failed: Nerrors with
 VS2017 on Windows. This issue can be first reproduced from master revision
 1e01f66. Could you please help take a look at this? Thank you!


 Steps to reproduce:
  1.git clone ​​https://github.com/FFmpeg/FFmpeg.git D:\FFmpeg\src
  2.Open a VS 2017 x86 prompt and browse to D:\FFmpeg
  3.set FFMPEG_TARGET=i386
  4.set FFMPEG_SRC_PATH=D:\FFmpeg/src
  5.set FFMPEG_FATE_PATH=../fate-suite/
  6.set PATH=D:\FFmpeg\tools;%PATH%
  7.set MSYS2_PATH_TYPE=inherit
  8..\tools\msys32\usr\bin\sh.exe --login -i -c "/D/ffmpeg/tools/build.sh"


 Actual result:
 D:\FFmpeg\src\libavfilter\af_astats.c(522): Assertion failed: Nerrors > 0,
 file d:\agent\_work\4\s\src\vctools\Compiler\CxxFE\sl\p1\c\trees.c, line
 10891 [when compiling libavfilter/af_astats.c]

   c1!assertfe()+0x106
       d:\agent\_work\4\s\src\vctools\Compiler\CxxFE\sl\p1\c\debug.c Line
 308
   c1!tyty_type()+0xa0a
       d:\agent\_work\4\s\src\vctools\Compiler\CxxFE\sl\p1\c\trees.c Line
 10891
   c1!tytr_type()+0x9b
       d:\agent\_work\4\s\src\vctools\Compiler\CxxFE\sl\p1\c\trees.c Line
 10325
   c1!InternalBinaryTree()+0x6d1
       d:\agent\_work\4\s\src\vctools\Compiler\CxxFE\sl\p1\c\trees.c Line
 6577
   c1!PrimaryParser::Parse()+0x3375
       d:\agent\_work\4\s\src\vctools\Compiler\CxxFE\sl\p1\cansi\grammar.y
 Line 2547
   c1!main_compile()+0x89b
       d:\agent\_work\4\s\src\vctools\Compiler\CxxFE\sl\p1\c\main.c Line
 3635

 make: *** [ffbuild/common.mak:60: libavfilter/af_astats.o] Error 2
 make: *** Waiting for unfinished jobs....

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7874>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list