Xcode8 build breakage for qt5

Jack Howarth <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <CAP5Ds0Btiu3KPqKJG7YTaE_uy6id5SqQ1QuNhPtEEPq213+WQA@mail.gmail.com>
Hanspeter,
        I seem to have stumbled across a behavioral change in xcrun for
Xcode 8 on 10.10 which breaks the qt5-mac-qtbase-5.6.0-1 build.

$ /usr/bin/xcrun -find xcrun
xcrun: error: unable to find utility "xcrun", not a developer tool or in
PATH

fortunately this can be fixed with...

diff -u -r1.7 qt5-qtbase.info
--- qt5-qtbase.info 18 Apr 2016 14:30:16 -0000 1.7
+++ qt5-qtbase.info 9 Sep 2016 16:02:37 -0000
@@ -55,6 +55,7 @@
 PatchScript: <<
  #!/bin/sh -ev
  . %p/sbin/fink-buildenv-helper.sh
+ perl -pi -e 's|find xcrun|find /usr/bin/xcrun|g' configure
mkspecs/features/mac/default_pre.prf
  unset X11_BASE_DIR
  unset X11_INCLUDE_DIR
  unset X11_LIBRARY_DIR

since...

$ /usr/bin/xcrun -find /usr/bin/xcrun
/usr/bin/xcrun

still works. I would note that I am using Xcode 8 GM with Xcode GM beta 6
on 10.10 (since Apple has failed to post the GM for the CLI).

          Jack

------------------------------------------------------------------------------

_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.