[MacPorts] #68973: ffmpeg6 @6.1.1 build failure: error: 'viewport' undeclared (first use in this function) (was: ffmpeg6 @6.1 build failure: error: 'viewport' undeclared (first use in this function))

MacPorts noreply at macports.org
Fri Mar 15 14:48:59 UTC 2024


#68973: ffmpeg6 @6.1.1 build failure: error: 'viewport' undeclared (first use in
this function)
---------------------------+-------------------------------------------
  Reporter:  barracuda156  |      Owner:  mascguy
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.9.1
Resolution:                |   Keywords:  powerpc, leopard, snowleopard
      Port:  ffmpeg6       |
---------------------------+-------------------------------------------
Changes (by barracuda156):

 * version:  2.8.1 => 2.9.1


Old description:

> {{{
> libavcodec/librsvgdec.c: In function 'librsvg_decode_frame':
> libavcodec/librsvgdec.c:93:5: error: 'viewport' undeclared (first use in
> this function)
>    93 |     viewport.width = dimensions.width;
>       |     ^~~~~~~~
> libavcodec/librsvgdec.c:93:5: note: each undeclared identifier is
> reported only once for each function it appears in
> gmake: *** [ffbuild/common.mak:81: libavcodec/librsvgdec.o] Error 1
> gmake: *** Waiting for unfinished jobs....
> }}}

New description:

 {{{
 /opt/local/bin/gcc-mp-13 -I. -I./ -isystem/opt/local/include/LegacySupport
 -I/opt/local/include -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64
 -D_LARGEFILE_SOURCE -DPIC -DZLIB_CONST -DHAVE_AV_CONFIG_H
 -DBUILDING_avcodec -pipe -Os -DHAVE_LRINTF -Wno-deprecated-declarations
 -I/opt/local/include -arch ppc   -std=c11 -fomit-frame-pointer -fPIC
 -maltivec -mabi=altivec    -pthread  -I/opt/local/include/p11-kit-1
 -I/opt/local/include/harfbuzz -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/fribidi
 -I/opt/local/include/freetype2 -I/opt/local/include/libpng16
 -I/opt/local/include/libxml2 -I/opt/local/include/freetype2
 -I/opt/local/include/libpng16    -I/opt/local/include/freetype2
 -I/opt/local/include/libpng16 -I/opt/local/include/freetype2
 -I/opt/local/include/libpng16 -I/opt/local/include/fribidi
 -I/opt/local/include/openjpeg-2.5 -I/opt/local/include/opus
 -I/opt/local/include/opus -I/opt/local/include/librsvg-2.0
 -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/cairo
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2
 -I/opt/local/include/libpng16   -DEB_DLL -I/opt/local/include/svt-av1
 -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-
 bool-operation -Wno-char-subscripts -O3 -fno-math-errno -fno-signed-zeros
 -fno-tree-vectorize -Werror=format-security -Werror=implicit-function-
 declaration -Werror=return-type -Werror=vla -Wformat -fdiagnostics-
 color=auto -Wno-maybe-uninitialized   -MMD -MF libavcodec/libsvtav1.d -MT
 libavcodec/libsvtav1.o -c -o libavcodec/libsvtav1.o libavcodec/libsvtav1.c
 libavcodec/librsvgdec.c: In function 'librsvg_decode_frame':
 libavcodec/librsvgdec.c:93:5: error: 'viewport' undeclared (first use in
 this function)
    93 |     viewport.width = dimensions.width;
       |     ^~~~~~~~
 libavcodec/librsvgdec.c:93:5: note: each undeclared identifier is reported
 only once for each function it appears in
 gmake: *** [ffbuild/common.mak:81: libavcodec/librsvgdec.o] Error 1
 gmake: *** Waiting for unfinished jobs....
 }}}

 This is perhaps we got outdated `librsvg` on systems without Rust?

--

-- 
Ticket URL: <https://trac.macports.org/ticket/68973#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list