Xcodebuild Fails on Tunnelblick, Apparently Caused by Missing -I Flag

Steven Smith steve.t.smith at gmail.com
Tue Dec 31 12:32:05 UTC 2019


I’m trying to build Tunnelblick in MacPorts.

The xcodebuild command is failing to find a header file, Sparkle/SUUpdater.h, but this file is created by the build process. The logs show that the necessary flag -I is not being passed to clang , i.e., -I/path/to/the/right/header/dir. This comment has the full command from the logs: https://github.com/Tunnelblick/Tunnelblick/issues/592#issue-541983427

I believe that the issue is upstream in Tunnelblick’s Xcode project. However, I’m not certain, and neither I nor the upstream author @jkbullard have diagnosed the issue.

If any Xcode experts have some cycles to take a look, it would be nice to have a MacPorts-managed Tunnelblick built using recent Xcode and macOS versions.

See:

https://github.com/macports/macports-ports/pull/6051
https://github.com/Tunnelblick/Tunnelblick/issues/592
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20191231/a756f32d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3898 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20191231/a756f32d/attachment.bin>


More information about the macports-dev mailing list