Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Aug 2019 20:21:53 +0000
From:      bugzilla-noreply@freebsd.org
To:        multimedia@FreeBSD.org
Subject:   [Bug 239828] multimedia/ffmpeg: build with MYSOFA=on fails
Message-ID:  <bug-239828-12827@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239828

            Bug ID: 239828
           Summary: multimedia/ffmpeg: build with MYSOFA=3Don fails
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: multimedia@FreeBSD.org
          Reporter: xxjack12xx@gmail.com
             Flags: maintainer-feedback?(multimedia@FreeBSD.org)
          Assignee: multimedia@FreeBSD.org

When MYSOFA is enabled, build fails with following:

cc -I. -I./ -DLIBICONV_PLUG -isystem /usr/local/include -D_ISOC99_SOURCE
-D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -DPIC -DZLIB_CONST
-DHAVE_AV_CONFIG_H -DBUILDING_avfilter -O2 -pipe -march=3Divybridge=20
-DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing    -std=3Dc11 -fomit-frame-pointer -fPIC -pthread=20
-I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include
-I/usr/local/include/lilv-0 -I/usr/local/include -I/usr/local/include/serd-0
-I/usr/local/include/sord-0 -I/usr/local/include/sratom-0 -I/usr/local/incl=
ude
-I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/freetype2
-I/usr/local/include/libpng16 -I/usr/local/include/fribidi -I/usr/local/inc=
lude
-I/usr/local/include/libxml2 -I/usr/local/include/freetype2
-I/usr/local/include/libpng16 -I/usr/local/include/bs2b -I/usr/local/include
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-I/usr/local/include/libdrm -I/usr/local/include -I/usr/local/include
-I/usr/local/include/freetype2 -I/usr/local/include/libpng16
-I/usr/local/include/freetype2 -I/usr/local/include/libpng16
-I/usr/local/include/fribidi -I/usr/local/include -I/usr/local/include
-I/usr/local/include -I/usr/local/include -I/usr/local/include/lensfun
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include -I/usr/local/include -I/usr/local/include/openjpeg-2.3
-I/usr/local/include -I/usr/local/include/opus -I/usr/local/include/opus
-I/usr/local/include -D_REENTRANT -I/usr/local/include/librsvg-2.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include -I/usr/local/include/gdk-pixbuf-2.0
-I/usr/local/include/cairo -I/usr/local/include/pixman-1
-I/usr/local/include/freetype2 -I/usr/local/include/libpng16
-I/usr/local/include/libdrm -D_THREAD_SAFE -pthread -I/usr/local/include
-I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include
-I/usr/local/include/svt-hevc -I/usr/local/include
-I/usr/local/include/leptonica -I/usr/local/include -I/usr/local/include
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-I/usr/local/include/pgm-5.2 -I/usr/local/include -I/usr/local/include/libx=
ml2
-I/usr/local/include -I/usr/local/include/vapoursynth -I/usr/local/include
-I/usr/local/include/python3.6m -I/usr/local/include -I/usr/local/include/a=
lsa
-I/usr/local/include -I/usr/local/include -I/usr/local/include -pthread
-I/usr/local/include -pthread -I/usr/local/include -pthread
-I/usr/local/include -pthread -I/usr/local/include -I/usr/local/include
-I/usr/local/include -Wdeclaration-after-statement -Wall
-Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings
-Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast
-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-alignmen=
t=3D16
-Qunused-arguments -Werror=3Dimplicit-function-declaration
-Werror=3Dmissing-prototypes -Werror=3Dreturn-type -I/usr/local/include/SDL2
-I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -MMD -MF
libavfilter/af_superequalizer.d -MT libavfilter/af_superequalizer.o -c -o
libavfilter/af_superequalizer.o libavfilter/af_superequalizer.c
cc -I. -I./ -DLIBICONV_PLUG -isystem /usr/local/include -D_ISOC99_SOURCE
-D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -DPIC -DZLIB_CONST
-DHAVE_AV_CONFIG_H -DBUILDING_avfilter -O2 -pipe -march=3Divybridge=20
-DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing    -std=3Dc11 -fomit-frame-pointer -fPIC -pthread=20
-I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include
-I/usr/local/include/lilv-0 -I/usr/local/include -I/usr/local/include/serd-0
-I/usr/local/include/sord-0 -I/usr/local/include/sratom-0 -I/usr/local/incl=
ude
-I/usr/local/include/harfbuzz -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include -I/usr/local/include/freetype2
-I/usr/local/include/libpng16 -I/usr/local/include/fribidi -I/usr/local/inc=
lude
-I/usr/local/include/libxml2 -I/usr/local/include/freetype2
-I/usr/local/include/libpng16 -I/usr/local/include/bs2b -I/usr/local/include
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-I/usr/local/include/libdrm -I/usr/local/include -I/usr/local/include
-I/usr/local/include/freetype2 -I/usr/local/include/libpng16
-I/usr/local/include/freetype2 -I/usr/local/include/libpng16
-I/usr/local/include/fribidi -I/usr/local/include -I/usr/local/include
-I/usr/local/include -I/usr/local/include -I/usr/local/include/lensfun
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include -I/usr/local/include -I/usr/local/include/openjpeg-2.3
-I/usr/local/include -I/usr/local/include/opus -I/usr/local/include/opus
-I/usr/local/include -D_REENTRANT -I/usr/local/include/librsvg-2.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include -I/usr/local/include/gdk-pixbuf-2.0
-I/usr/local/include/cairo -I/usr/local/include/pixman-1
-I/usr/local/include/freetype2 -I/usr/local/include/libpng16
-I/usr/local/include/libdrm -D_THREAD_SAFE -pthread -I/usr/local/include
-I/usr/local/include/samba4 -I/usr/local/include -I/usr/local/include
-I/usr/local/include/svt-hevc -I/usr/local/include
-I/usr/local/include/leptonica -I/usr/local/include -I/usr/local/include
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-I/usr/local/include/pgm-5.2 -I/usr/local/include -I/usr/local/include/libx=
ml2
-I/usr/local/include -I/usr/local/include/vapoursynth -I/usr/local/include
-I/usr/local/include/python3.6m -I/usr/local/include -I/usr/local/include/a=
lsa
-I/usr/local/include -I/usr/local/include -I/usr/local/include -pthread
-I/usr/local/include -pthread -I/usr/local/include -pthread
-I/usr/local/include -pthread -I/usr/local/include -I/usr/local/include
-I/usr/local/include -Wdeclaration-after-statement -Wall
-Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings
-Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast
-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-alignmen=
t=3D16
-Qunused-arguments -Werror=3Dimplicit-function-declaration
-Werror=3Dmissing-prototypes -Werror=3Dreturn-type -I/usr/local/include/SDL2
-I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -MMD -MF
libavfilter/af_surround.d -MT libavfilter/af_surround.o -c -o
libavfilter/af_surround.o libavfilter/af_surround.c
libavfilter/af_sofalizer.c:166:32: error: implicit declaration of function
'mysofa_neighborhood_init_withstepdefine' is
      invalid in C99 [-Werror,-Wimplicit-function-declaration]
        s->sofa.neighborhood =3D
mysofa_neighborhood_init_withstepdefine(s->sofa.hrtf,
                               ^
libavfilter/af_sofalizer.c:166:32: warning: this function declaration is no=
t a
prototype [-Wstrict-prototypes]
libavfilter/af_sofalizer.c:166:30: warning: incompatible integer to pointer
conversion assigning to
      'struct MYSOFA_NEIGHBORHOOD *' from 'int' [-Wint-conversion]
        s->sofa.neighborhood =3D
mysofa_neighborhood_init_withstepdefine(s->sofa.hrtf,
                             ^
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings and 1 error generated.
gmake[2]: *** [ffbuild/common.mak:59: libavfilter/af_sofalizer.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory
'/usr/obj/usr/ports/multimedia/ffmpeg/work/ffmpeg-4.2'
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/multimedia/ffmpeg
*** Error code 1

Stop.
make: stopped in /usr/ports/multimedia/ffmpeg

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239828-12827>