# Swift-llbuild: warning: ignoring broken symlink

**URL:** <https://forums.swift.org/t/swift-llbuild-warning-ignoring-broken-symlink/38057>\
**Category:** Using Swift\
**Tags:** llbuild, packagemanager, llvm\
**Created:** [June 30, 2020, 11:47pm UTC](https://forums.swift.org/t/swift-llbuild-warning-ignoring-broken-symlink/38057 "2020-06-30T23:47:13Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![rderik](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/rderik/32/5923_2.png) [@rderik](https://forums.swift.org/u/rderik)\
**Post date:** [June 30, 2020, 11:47pm UTC](https://forums.swift.org/t/swift-llbuild-warning-ignoring-broken-symlink/38057/1 "2020-06-30T23:47:13Z")

</div>

Hi everyone,

I'm getting a weird warning when using the SPM. When I build my Swift package (A very simple test package) I get the following warning:

```swift
'llbuild' /Users/derik/Desktop/ap/.build/checkouts/swift-llbuild: warning: ignoring broken symlink /Users/derik/Desktop/ap/.build/checkouts/swift-llbuild/lib/llvm/Demangle/include/llvm/Demangle/include/llvm....--clipped--

```

If I check the `.build` directory it has a symlink cycle:

```swift
ls -l .build/checkouts/swift-llbuild/lib/llvm/Demangle/include/ master * (06/30 17:42:01)
total 0
lrwxr-xr-x 1 derik staff 24B Jun 30 17:38 llvm@ -> ../../../../include/llvm

```

I've tried removing the `.build` directory to start a clean build, but still the same. The package runs without a problem but I would prefer to remove the warning.

Anyone has any idea why is this happening?

---

_[View the full topic](https://forums.swift.org/t/swift-llbuild-warning-ignoring-broken-symlink/38057)._
