[MacPorts] #59393: VLC @3.0.7.1_4 - Compile error

MacPorts noreply at macports.org
Sat Oct 19 14:16:39 UTC 2019


#59393: VLC @3.0.7.1_4 - Compile error
---------------------+----------------------
 Reporter:  ccottap  |      Owner:  RJVB
     Type:  defect   |     Status:  assigned
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.6.1
 Keywords:           |       Port:  VLC
---------------------+----------------------
 I'm trying to install VLC +quartz-x11+svg and get a build error. The
 problem seems to be in the following section:

 {{{
 :info:build libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I. -I..
 -DMODULE_STRING=\"macosx\" -D__PLUGIN__ -I./access -I./codec -I../include
 -I../include -I/opt/local/include -D__unix__=1 -Wno-unknown-pragmas
 -I/opt/local/lib/live/liveMedia/
 include
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_VLC/VLC/work/vlc-3.0.7.1/contrib/include
 -fobjc-exceptions -fobjc-arc -pipe -Os
 -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk
 -arch x86_64 -D_INTL_REDIRECT_MACROS -std=gnu11 -Werror=partial-
 availability
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_VLC/VLC/work/vlc-3.0.7.1/contrib/include
 -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_VLC/VLC/work/vlc-3.0.7.1/contrib
 -F/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_VLC/VLC/work/vlc-3.0.7.1/contrib/Frameworks
 -fvisibility=hidden -O3 -funroll-loops -fomit-frame-pointer -MT gui/macosx
 /libmacosx_plugin_la-VLCPlaylistInfo.lo -MD -MP -MF gui/macosx/.deps
 /libmacosx_plugin_la-VLCPlaylistInfo.Tpo -c gui/macosx/VLCPlaylistInfo.m
 -fno-common -DPIC -o gui/macosx/.libs/libmacosx_plugin_la-
 VLCPlaylistInfo.o
 :info:build gui/macosx/VLCPlaylistInfo.m:402:16: error: multiple methods
 named 'value' found with mismatched result, parameter type or attributes
 :info:build         return [item value];
 :info:build                ^~~~~~~~~~~~
 :info:build
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadata.h:137:43:
 note: one possibility
 :info:build @property (nullable, readonly, retain) id value;
 :info:build                                           ^~~~~
 :info:build
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h:472:42:
 note: also found
 :info:build @property (nullable, readonly) NSString *value;
 :info:build                                          ^~~~~
 :info:build
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookie.h:327:38:
 note: also found
 :info:build @property (readonly, copy) NSString *value;
 :info:build                                      ^~~~~
 :info:build
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadata.h:151:33:
 note: also found
 :info:build @property (readonly, retain) id value;
 :info:build                                 ^~~~~
 :info:build
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSDictionaryController.h:25:33:
 note: also found
 :info:build @property (nullable, strong) id value;
 :info:build                                 ^~~~~
 :info:build
 /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSStepperTouchBarItem.h:35:18:
 note: also found
 :info:build @property double value;
 :info:build                  ^~~~~
 :info:build gui/macosx/VLCPlaylistInfo.h:110:33: note: also found
 :info:build @property (readwrite) NSString *value;
 :info:build                                 ^~~~~
 :info:build 1 error generated.
 :info:build make[4]: *** [gui/macosx/libmacosx_plugin_la-
 VLCPlaylistInfo.lo] Error 1
 :info:build make[4]: Target `all-am' not remade because of errors.
 :info:build make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_VLC/VLC/work/vlc-3.0.7.1/modules'
 :info:build make[3]: *** [all-recursive] Error 1
 :info:build make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsyn
 c.macports.org_macports_release_tarballs_ports_multimedia_VLC/VLC/work/vlc-3.0.7.1/modules'
 :info:build make[2]: *** [all] Error 2
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_VLC/VLC/work/vlc-3.0.7.1/modules'
 }}}

 OSX version: 10.15 (19A602)
 Xcode version: 11.0 (11A420a)

-- 
Ticket URL: <https://trac.macports.org/ticket/59393>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list