Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 May 2017 10:49:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 219217] lang/swift: Failed to import Glibc
Message-ID:  <bug-219217-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219217

            Bug ID: 219217
           Summary: lang/swift: Failed to import Glibc
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: swills@FreeBSD.org
          Reporter: dram.wang@gmail.com
          Assignee: swills@FreeBSD.org
             Flags: maintainer-feedback?(swills@FreeBSD.org)

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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-219217-13>