Bug 218900

Summary: lang/swift: Missing lang/libobjc2 dependency and Makefile warning fixes
Product: Ports & Packages Reporter: Lacey Powers <lacey.leanne>
Component: Individual Port(s)Assignee: Rene Ladan <rene>
Status: Closed Feedback Timeout    
Severity: Affects Some People CC: fnoyanisi, rene, swills, theraven, w.schwarzenfeld
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219189
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225660
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231989
Attachments:
Description Flags
Makefile patch adding lang/libobjc2 as a build dep and warnings fixes none

Description Lacey Powers 2017-04-27 02:48:29 UTC
Created attachment 182114 [details]
Makefile patch adding lang/libobjc2 as a build dep and warnings fixes

Hi,

I was trying out the updated lang/swift port on FreeBSD 11.0-RELEASE-p9, and was trying to build from complete scratch and ran into build issues resulting from not having lang/libobjc2 installed.

Once I added that, I could build without failing, though there were the following warnings related to ncurses and execinfo that came up.

Attached is a patch to fix the warnings and the missing libobjc2.so build dependency.

Thanks again for getting this working. I'm looking forward to experimenting further with Swift. =)
Comment 1 Walter Schwarzenfeld 2018-01-10 03:41:44 UTC
Maintainer feedback?
Comment 2 David Chisnall freebsd_committer freebsd_triage 2018-01-10 10:12:29 UTC
Why does Swift need libobjc2 to build?  The Swift / ObjC interop isn't implemented for non-Apple runtimes yet.
Comment 3 Walter Schwarzenfeld 2019-08-04 18:40:12 UTC
Port is expired: EXPIRATION_DATE=        2019-05-08.
Comment 4 Rene Ladan freebsd_committer freebsd_triage 2019-08-11 20:55:27 UTC
The port does not build in a 12.0-amd64 poudriere with binutils and objc added. Perhaps it is time to remove this port?
Comment 5 Rene Ladan freebsd_committer freebsd_triage 2019-08-11 20:56:29 UTC
*** Bug 225660 has been marked as a duplicate of this bug. ***
Comment 6 Rene Ladan freebsd_committer freebsd_triage 2019-08-27 18:44:38 UTC
Expired port removed.