Opened 4 years ago

Last modified 4 years ago

#60666 assigned defect

VLC @3.0.8: error: The document “(null)” requires Xcode 8.0 or later

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: RJVB (René Bertin)
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc: cooljeanius (Eric Gallager)
Port: VLC

Description

VLC fails to build at least on Yosemite:

/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_multimedia_VLC/VLC/work/vlc-3.0.8/modules/gui/macosx/UI/About.xib: error: The document “(null)” requires Xcode 8.0 or later.
    Recovery Suggestion: This version does not support documents saved in the Xcode 8 format. Open this document with Xcode 8.0 or later.

The latest version of Xcode that is compatible with Yosemite is 7.2.1.

The port should error out early (using known_fail yes and a pre-fetch block advising the user of the problem) on systems that can't build it.

Change History (2)

comment:1 Changed 4 years ago by RJVB (René Bertin)

If "3.current" no longer builds on 10.10 there are 2 options:

  • ship an earlier 3.x for 10.10 (but which?)
  • use the "fix" also used for 10.9 and earlier:
diff --git a/multimedia/VLC/Portfile b/multimedia/VLC/Portfile
index 8bed6fa85961eeaa67d332b2117ff540be743cf3..721a2ea19ed9c562a5a9044dad1384c73a1a4fe7 100644
--- a/multimedia/VLC/Portfile
+++ b/multimedia/VLC/Portfile
@@ -38,7 +38,7 @@ subport lib${name} {
 }
 
 if {${subport} eq ${name}} {
-    if {${os.platform} eq "darwin" && ${os.major} < 14} {
+    if {${os.platform} eq "darwin" && ${os.major} < 15} {
         replaced_by VLC2
         PortGroup   obsolete 1.0
         # given the Portfile design it's easier to shunt the entire patch phase

comment:2 Changed 4 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.