Bug 219217 - lang/swift: Failed to import Glibc
Summary: lang/swift: Failed to import Glibc
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-11 10:49 UTC by Xin Wang
Modified: 2019-08-27 19:09 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xin Wang 2017-05-11 10:49:45 UTC
While trying to import Glibc, swiftc failed with following error:



<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "///usr/include/complex.h"
         ^
///usr/include/complex.h:32:10: error: 'sys/cdefs.h' file not found with <angled> include; use "quotes" instead
#include <sys/cdefs.h>
         ^
<module-includes>:2:10: note: in file included from <module-includes>:2:
#include "///usr/include/libutil.h"
         ^
///usr/include/libutil.h:42:10: error: 'sys/cdefs.h' file not found with <angled> include; use "quotes" instead
#include <sys/cdefs.h>
         ^
<module-includes>:2:10: note: in file included from <module-includes>:2:
#include "///usr/include/libutil.h"
         ^
///usr/include/libutil.h:43:10: error: 'sys/_types.h' file not found with <angled> include; use "quotes" instead
#include <sys/_types.h>
         ^
<module-includes>:2:10: note: in file included from <module-includes>:2:
#include "///usr/include/libutil.h"
         ^
///usr/include/libutil.h:43:10: note: in file included from ///usr/include/libutil.h:43:
#include <sys/_types.h>
         ^
///usr/include/sys/_types.h:32:10: error: 'sys/cdefs.h' file not found
#include <sys/cdefs.h>
         ^
<unknown>:0: error: could not build Objective-C module 'SwiftGlibc'



I'm using swift-3.1.1 in FreeBSD 11.0.
Comment 1 Walter Schwarzenfeld 2018-02-04 12:53:48 UTC
Feedback please!
Comment 2 Walter Schwarzenfeld 2019-08-04 18:36:02 UTC
Port is expired: EXPIRATION_DATE=        2019-05-08.
Comment 3 Rene Ladan freebsd_committer freebsd_triage 2019-08-27 19:08:58 UTC
Expired port removed.