Re: Xcode8 build breakage for qt5

Jack Howarth <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <CAP5Ds0DAFcgLf0h8LaOw9pCOXGUGTY-FaYuD0dR47xsO1LPp_w@mail.gmail.com>
Hanspeter,
        Building through the qt5 dependencies for wireshark, only qt5-base
requires this fix. I also compared...

ls /Applications/Xcode.app/Contents/Developer/usr/bin/xc*

for Xcode 7.3 which shows...

xcdevice xcrun xcsbuildd xcsdeviced xcsgenerator xctest
xcodebuild xcsbridge xcscontrol xcsdiagnose xcssecurity

to Xcode 8 GM which only shows....

xcdevice xcodebuild xcsbridge xcscontrol xcsdiagnose xcsgenerator
xcssecurity xctest

so xcrun has definitely been deprecated out of the app itself in favor to
the system copy in /usr/bin .
         Jack


On Fri, Sep 9, 2016 at 12:18 PM, Jack Howarth <[email protected]>
wrote:

> 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.