[MacPorts] #71780: gstreamer1-gst-plugins-bad: Build failure char [256]' is not assignable

MacPorts noreply at macports.org
Tue Jan 7 14:10:38 UTC 2025


#71780: gstreamer1-gst-plugins-bad: Build failure char [256]' is not assignable
-----------------------------------------+--------------------------------
  Reporter:  christophecvr               |      Owner:  (none)
      Type:  defect                      |     Status:  new
  Priority:  Normal                      |  Milestone:
 Component:  ports                       |    Version:  2.10.99
Resolution:                              |   Keywords:  gstreamer1 plugins
      Port:  gstreamer1-gst-plugins-bad  |
-----------------------------------------+--------------------------------
Description changed by christophecvr:

Old description:

> Laster version \
> version             1.24.9 \
> revision            1
>
> Does not build anymore on :
>
> MacbookPro intel i7 \
> Macos 10.15 \
> Xcode 12.4 \
> Clang 12 \
> Command line tools 12.4 \
>
> Extract build log:
>

> {{{
> FAILED: ext/x265/libgstx265.dylib.p/gstx265enc.c.o
> /usr/bin/clang -Iext/x265/libgstx265.dylib.p -Iext/x265 -I../gst-plugins-
> bad-1.24.9/ext/x265 -I. -I../gst-plugins-bad-1.24.9
> -I/opt/local/include/gstreamer-1.0 -I/opt/local/include/orc-0.4
> -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
> -I/opt/local/include -fdiagnostics-color=always -Wall -Winvalid-pch -O2
> -g -fvisibility=hidden -fno-strict-aliasing -DG_DISABLE_CAST_CHECKS
> -Wmissing-prototypes -Wold-style-definition -Wmissing-declarations
> -Wredundant-decls -Wwrite-strings -Wformat -Wformat-security -Winit-self
> -Wmissing-include-dirs -Waddress -Wno-multichar -Wvla -Wpointer-arith
> -pipe -Os -std=c11 -funroll-loops -fstrict-aliasing
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch
> x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
> -DHAVE_CONFIG_H -MD -MQ ext/x265/libgstx265.dylib.p/gstx265enc.c.o -MF
> ext/x265/libgstx265.dylib.p/gstx265enc.c.o.d -o
> ext/x265/libgstx265.dylib.p/gstx265enc.c.o -c ../gst-plugins-
> bad-1.24.9/ext/x265/gstx265enc.c
> ../gst-plugins-bad-1.24.9/ext/x265/gstx265enc.c:951:54: error: array type
> 'char [256]' is not assignable
>       encoder->x265param.masteringDisplayColorVolume =
>       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
> 1 error generated.
> }}}

New description:

 Laster version \\
 version             1.24.9 \\
 revision            1

 Does not build anymore on :

 MacbookPro intel i7 \\
 Macos 10.15 \\
 Xcode 12.4 \\
 Clang 12 \\
 Command line tools 12.4 \\

 Extract build log:


 {{{
 FAILED: ext/x265/libgstx265.dylib.p/gstx265enc.c.o
 /usr/bin/clang -Iext/x265/libgstx265.dylib.p -Iext/x265 -I../gst-plugins-
 bad-1.24.9/ext/x265 -I. -I../gst-plugins-bad-1.24.9
 -I/opt/local/include/gstreamer-1.0 -I/opt/local/include/orc-0.4
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include -fdiagnostics-color=always -Wall -Winvalid-pch -O2 -g
 -fvisibility=hidden -fno-strict-aliasing -DG_DISABLE_CAST_CHECKS
 -Wmissing-prototypes -Wold-style-definition -Wmissing-declarations
 -Wredundant-decls -Wwrite-strings -Wformat -Wformat-security -Winit-self
 -Wmissing-include-dirs -Waddress -Wno-multichar -Wvla -Wpointer-arith
 -pipe -Os -std=c11 -funroll-loops -fstrict-aliasing
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch
 x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
 -DHAVE_CONFIG_H -MD -MQ ext/x265/libgstx265.dylib.p/gstx265enc.c.o -MF
 ext/x265/libgstx265.dylib.p/gstx265enc.c.o.d -o
 ext/x265/libgstx265.dylib.p/gstx265enc.c.o -c ../gst-plugins-
 bad-1.24.9/ext/x265/gstx265enc.c
 ../gst-plugins-bad-1.24.9/ext/x265/gstx265enc.c:951:54: error: array type
 'char [256]' is not assignable
       encoder->x265param.masteringDisplayColorVolume =
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
 1 error generated.
 }}}

--

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


More information about the macports-tickets mailing list