[fink:package-submissions] #4984 fix launch build for 10.13 SDK changes
Alexander Hansen via Fink-tracker <[email protected]>
| Newsgroups | gmane.os.apple.fink.tracker |
|---|---|
| Message-ID | </p/fink/package-submissions/4984/49fb7b47bea51562c94e16fe299b31a4478e3583.package-submissions@fink.p.sourceforge.net> |
It doesn't build for me with 10.12 / Xcode 9.
...
~~~
Ld launch normal x86_64
cd /sw/src/fink.build/launch-1.1-1005/launch-1.1
export MACOSX_DEPLOYMENT_TARGET=10.7
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -L/sw/src/fink.build/launch-1.1-1005/launch-1.1 -F/sw/src/fink.build/launch-1.1-1005/launch-1.1 -filelist /sw/src/fink.build/launch-1.1-1005/launch-1.1/launch.build/launch.build/Objects-normal/x86_64/launch.LinkFileList -mmacosx-version-min=10.7 -Xlinker -object_path_lto -Xlinker /sw/src/fink.build/launch-1.1-1005/launch-1.1/launch.build/launch.build/Objects-normal/x86_64/launch_lto.o -Xlinker -no_deduplicate -framework CoreFoundation -framework ApplicationServices -framework Carbon -framework Security -Xlinker -dependency_info -Xlinker /sw/src/fink.build/launch-1.1-1005/la
unch-1.1/launch.build/launch.build/Objects-normal/x86_64/launch_dependency_info.dat -o /sw/src/fink.build/launch-1.1-1005/launch-1.1/launch
Undefined symbols for architecture x86_64:
"_check", referenced from:
_printPathFromURL in main.o
_printInfoFromURL in main.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
** BUILD FAILED **
~~~
---
** [package-submissions:#4984] fix launch build for 10.13 SDK changes**
**Status:** open
**Group:** Undergoing_Validation
**Created:** Sat Aug 26, 2017 03:27 PM UTC by Jack Howarth
**Last Updated:** Tue Sep 19, 2017 08:08 PM UTC
**Owner:** Ben Hines
The attached launch-1.1-1005 packaging fixes the build of the launch package to handle the SDK changes in AssertMacros.h with the following info file changes...
~~~
Index: launch.info
===================================================================
RCS file: /cvsroot/fink/dists/10.9-libcxx/stable/main/finkinfo/utils/launch.info,v
retrieving revision 1.1
diff -u -r1.1 launch.info
--- launch.info 10 Sep 2015 20:56:57 -0000 1.1
+++ launch.info 26 Aug 2017 15:25:08 -0000
@@ -1,6 +1,6 @@
Package: launch
Version: 1.1
-Revision: 1004
+Revision: 1005
BuildDepends: xcode.app
Source: http://web.sabi.net/nriley/software/%n-%v.tar.gz
Source-MD5: bcd5179d5b519248a717aa73f3819e00
@@ -10,6 +10,7 @@
perl -ni -e 'print unless /SDKROOT/' launch.xcodeproj/project.pbxproj
perl -pi -e 's/i386/x86_64/' launch.xcodeproj/project.pbxproj
if [ `uname -r | cut -d . -f 1` -ge 12 ] ; then perl -pi -e 's/.*kCGErrorApplicationRequiresNewerSystem.*//' main.c ; fi
+if [ `uname -r | cut -d . -f 1` -ge 17 ] ; then perl -pi -e 's/check\(url/__Check\(url/g' main.c ; fi
<<
CompileScript: <<
#!/bin/csh -efv
~~~
Tested on 10.13 with 'fink -m'.
---
Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/fink/package-submissions/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/fink/admin/package-submissions/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fink-tracker mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.tracker