[MacPorts] #59499: gstreamer010-gst-plugins-good @0.10.31_12 (gnome) Failed to build on Catalina

MacPorts noreply at macports.org
Mon Oct 28 23:11:59 UTC 2019


#59499: gstreamer010-gst-plugins-good @0.10.31_12 (gnome) Failed to build on
Catalina
-------------------------------------------------+-------------------------
  Reporter:  s0nik42                             |      Owner:  (none)
      Type:  defect                              |     Status:  new
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:  2.6.2
Resolution:                                      |   Keywords:  haspatch
      Port:  gstreamer010-gst-plugins-good,      |
  libxml2, icu                                   |
-------------------------------------------------+-------------------------
Changes (by jmroot):

 * cc: ryandesign (added)
 * port:  gstreamer010-gst-plugins-good => gstreamer010-gst-plugins-good,
     libxml2, icu


Comment:

 The failing command seems to be
 {{{
 :info:build libtool: compile:  /usr/bin/clang++ -DHAVE_CONFIG_H -I.
 -I../.. -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
 -D_REENTRANT -I/opt/local/include/gstreamer-0.10
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include/libxml2 -I../../gst-libs -D_REENTRANT
 -I/opt/local/include/gstreamer-0.10 -I/opt/local/include/glib-2.0
 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/libxml2
 -DG_THREADS_MANDATORY -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -Wall
 -Wmissing-declarations -Wredundant-decls -Wwrite-strings -Winit-self
 -Wmissing-include-dirs -Waddress -Wno-multichar -g
 -I/opt/local/include/taglib -Wno-attributes -pipe -Os -stdlib=libc++
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch
 x86_64 -MT libgsttaglib_la-gstid3v2mux.lo -MD -MP -MF .deps
 /libgsttaglib_la-gstid3v2mux.Tpo -c gstid3v2mux.cc  -fno-common -DPIC -o
 .libs/libgsttaglib_la-gstid3v2mux.o
 }}}
 and the error involves the libxml2 headers
 {{{
 :info:build In file included from gstid3v2mux.cc:51:
 :info:build In file included from ./gstid3v2mux.h:24:
 :info:build In file included from ./gsttaglibmux.h:24:
 :info:build In file included from
 /opt/local/include/gstreamer-0.10/gst/gst.h:35:
 :info:build In file included from
 /opt/local/include/gstreamer-0.10/gst/gstbin.h:27:
 :info:build In file included from
 /opt/local/include/gstreamer-0.10/gst/gstelement.h:55:
 :info:build In file included from
 /opt/local/include/gstreamer-0.10/gst/gstconfig.h:200:
 :info:build In file included from
 /opt/local/include/libxml2/libxml/parser.h:810:
 :info:build In file included from
 /opt/local/include/libxml2/libxml/encoding.h:31:
 :info:build In file included from /opt/local/include/unicode/ucnv.h:53:
 :info:build In file included from /opt/local/include/unicode/uenum.h:23:
 :info:build /opt/local/include/unicode/localpointer.h:71:51: warning:
 deleted function definitions are a C++11 extension [-Wc++11-extensions]
 :info:build     static void* U_EXPORT2 operator new(size_t) = delete;
 :info:build                                                   ^
 :info:build /opt/local/include/unicode/localpointer.h:72:53: warning:
 deleted function definitions are a C++11 extension [-Wc++11-extensions]
 :info:build     static void* U_EXPORT2 operator new[](size_t) = delete;
 :info:build                                                     ^
 :info:build /opt/local/include/unicode/localpointer.h:74:58: warning:
 deleted function definitions are a C++11 extension [-Wc++11-extensions]
 :info:build     static void* U_EXPORT2 operator new(size_t, void*) =
 delete;
 :info:build                                                          ^
 :info:build /opt/local/include/unicode/localpointer.h:224:34: warning:
 rvalue references are a C++11 extension [-Wc++11-extensions]
 :info:build     LocalPointer(LocalPointer<T> &&src) U_NOEXCEPT :
 LocalPointerBase<T>(src.ptr) {
 :info:build                                  ^
 :info:build /opt/local/include/unicode/localpointer.h:224:40: error:
 expected ';' at end of declaration list
 :info:build     LocalPointer(LocalPointer<T> &&src) U_NOEXCEPT :
 LocalPointerBase<T>(src.ptr) {
 :info:build                                        ^
 :info:build                                        ;
 :info:build /opt/local/include/unicode/localpointer.h:405:30: warning:
 rvalue references are a C++11 extension [-Wc++11-extensions]
 :info:build     LocalArray(LocalArray<T> &&src) U_NOEXCEPT :
 LocalPointerBase<T>(src.ptr) {
 :info:build                              ^
 :info:build /opt/local/include/unicode/localpointer.h:405:36: error:
 expected ';' at end of declaration list
 :info:build     LocalArray(LocalArray<T> &&src) U_NOEXCEPT :
 LocalPointerBase<T>(src.ptr) {
 :info:build                                    ^
 :info:build                                    ;
 }}}
 The icu headers' use of C++11 seems to be leaking in to something that is
 not trying to use icu at all, but just llibxml2's C API.

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


More information about the macports-tickets mailing list