[MacPorts] #44662: mpv @0.5.0: You manually enabled the feature 'cocoa', but the autodetection check failed.
#44662: mpv @0.5.0: You manually enabled the feature 'cocoa', but the autodetection check failed. --------------------------+--------------------- Reporter: ryandesign@… | Owner: ionic@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: | Port: mpv --------------------------+--------------------- On the Snow Leopard buildslave mpv fails to configure: {{{ Checking for Cocoa : no You manually enabled the feature 'cocoa', but the autodetection check failed. Command failed: cd "/opt/local/var/macports/build/_opt_mports_dports_multimedia_mpv/mpv/work/mpv-0.5.0" && /opt/local/bin/python2.7 ./waf configure --prefix=/opt/local --prefix=/opt/local --nocache --enable-manpage-build --enable-libass --enable-coreaudio --enable-cocoa --enable-corevideo --disable-pdf-build --enable-macosx-bundle --disable-debug-build --disable-libsmbclient --disable-lirc --enable-dvdread --enable-dvdnav --disable-cdda --disable- enca --enable-mpg123 --disable-pulse --disable-portaudio --disable-jack --disable-openal --enable-gl-cocoa --disable-x11 --disable-xss --disable- xext --disable-xv --disable-gl-x11 --disable-xinerama --disable-xf86vm --disable-xf86xk --disable-caca --disable-jpeg --disable-tv --enable-vda- hwaccel --enable-vda-gl --enable-lua --lua=52 --enable-libass-osd }}} -- Ticket URL: <https://trac.macports.org/ticket/44662> MacPorts <http://www.macports.org/> Ports system for OS X
#44662: mpv @0.5.0: You manually enabled the feature 'cocoa', but the autodetection check failed. ---------------------------+--------------------- Reporter: ryandesign@… | Owner: ionic@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: mpv | ---------------------------+--------------------- Comment (by ionic@…): I suppose there is no way to check the logs, as the bot cleans the workdir after failure? -- Ticket URL: <https://trac.macports.org/ticket/44662#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#44662: mpv @0.5.0: You manually enabled the feature 'cocoa', but the autodetection check failed. ---------------------------+--------------------- Reporter: ryandesign@… | Owner: ionic@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: mpv | ---------------------------+--------------------- Comment (by ryandesign@…): Correct, and the buildslaves' filesystems are not accessible to us in any case. We would have to try to build it ourselves on a Snow Leopard machine. Which I've done, and I'm attaching the main.log and config.log from that. The reason why the cocoa test fails seems to be: {{{ .../mpv-0.5.0/osdep/macosx_compat.h:44:18: error: missing binary operator before token "(" }}} Line 44 of macosx_compat.h is: {{{ #if __has_feature(objc_bool) }}} -- Ticket URL: <https://trac.macports.org/ticket/44662#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#44662: mpv @0.5.0: You manually enabled the feature 'cocoa', but the autodetection check failed. ---------------------------+--------------------- Reporter: ryandesign@… | Owner: ionic@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: mpv | ---------------------------+--------------------- Comment (by ionic@…): More like {{{ /Volumes/Data/macports/snowleopard/var/macports/build/_Volumes_Data_macports_dports_multimedia_mpv/mpv/work/mpv-0.5.0/osdep/macosx_compat.h:44:5: warning: "__has_feature" is not defined }}} `__has_feature` is only available in clang. Seems like I have to blacklist `*gcc*` and prefer `clang-3.4` (any other clang may do as well, but if no clang is available, prefer 3.4 for now.) -- Ticket URL: <https://trac.macports.org/ticket/44662#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#44662: mpv @0.5.0: You manually enabled the feature 'cocoa', but the autodetection check failed. ---------------------------+--------------------- Reporter: ryandesign@… | Owner: ionic@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: mpv | ---------------------------+--------------------- Comment (by ionic@…): If possible, please apply this before #45302 to see whether the SL build bot finishes successfully. -- Ticket URL: <https://trac.macports.org/ticket/44662#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#44662: mpv @0.5.0: You manually enabled the feature 'cocoa', but the autodetection check failed. ---------------------------+--------------------- Reporter: ryandesign@… | Owner: ionic@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: fixed | Keywords: Port: mpv | ---------------------------+--------------------- Changes (by cal@…): * status: new => closed * resolution: => fixed Comment: r126688. -- Ticket URL: <https://trac.macports.org/ticket/44662#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#44662: mpv @0.5.0: You manually enabled the feature 'cocoa', but the autodetection check failed. ---------------------------+--------------------- Reporter: ryandesign@… | Owner: ionic@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: fixed | Keywords: Port: mpv | ---------------------------+--------------------- Comment (by ionic@…): Just using `clang` is not enough. The `cocoa` interface will only work 10.6 if `ARCLite` is available within `Xcode`. Unfortunately, `ARCLite` is only available in `Xcode 4.2`, which was a paid update at that time and can even retrospectively only be downloaded by paid OS X developers ($99/a.) We can neither put this burden on the buildbots, nor 10.6 users. The latest, freely-available `Xcode` version for 10.6 is 3.2.6, which does not support `ARCLite`. Two options now: - disable the `cocoa` output on 10.6 and force the `x11` output (does this really make sense?) - completely disable `mpv` on 10.6 and below. -- Ticket URL: <https://trac.macports.org/ticket/44662#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts