Opened 6 years ago
Last modified 16 months ago
#57234 closed defect
Some ports are failing to build due to new build system in Xcode 10 — at Version 13
Reported by: | mf2k (Frank Schima) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | xcode10 | Cc: | michaellass (Michael Lass), radarhere (Andrew Murray) |
Port: | BGHUDAppKit cotvnc gimp-app macports-notifier MacVim pinentry-mac terminal-notifier unison VLC xhyve |
Description (last modified by mf2k (Frank Schima))
Xcode 9 introduced a new build system but it was not the default. Xcode 10 has made it the default.
This is an example of a failure message usually seen.
:info:build Details: Failed to create workspace arena at <DVTFilePath:0x7f9ad0459500:'/Users/macports/Library/Developer/Xcode/DerivedData/pinentry-mac-asqmjqvkuvyzkeaduqaryxjqemdk'>: Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “pinentry-mac-asqmjqvkuvyzkeaduqaryxjqemdk” in the folder “DerivedData”." UserInfo={NSFilePath=/Users/macports/Library/Developer/Xcode/DerivedData/pinentry-mac-asqmjqvkuvyzkeaduqaryxjqemdk, NSUnderlyingError=0x7f9ad02c4190 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}} 75 :info:build Object: <IDEWorkspaceArena: 0x7f9ad01ea080> 76 :info:build Method: -createWorkspaceArenaFolderIfNecessary 77 :info:build Thread: <NSThread: 0x7f9acb617690>{number = 1, name = main} 78 :info:build Please file a bug at https://bugreport.apple.com with this warning message and any useful information you can provide.
This ticket will track ports that are affected by it. It is a work in progress so feel free to add/remove ports and improve my description of it.
port | maintainer | status |
---|---|---|
BGHUDAppKit | https://github.com/macports/macports-ports/pull/2720 | |
cotvnc | #57174 | |
gimp-app | #2718 | |
macports-notifier | #57209 | |
pinentry-mac | @Ionic | #57178 |
terminal-notifier | @raimue,openmaintainer | #57210 |
VLC | @RJVB,openmaintainer | #57260 |
xhyve | @jeremyhu | #57223 |
Change History (13)
comment:1 Changed 6 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:2 Changed 6 years ago by mf2k (Frank Schima)
Summary: | Some ports are failing at staging due to new build system in Xcode 10 → Some ports are failing to build due to new build system in Xcode 10 |
---|
comment:3 Changed 6 years ago by michaellass (Michael Lass)
Cc: | michaellass added |
---|
comment:4 Changed 6 years ago by radarhere (Andrew Murray)
Cc: | radarhere added |
---|
comment:5 Changed 6 years ago by amake (Aaron Madlon-Kay)
Description: | modified (diff) |
---|
comment:6 Changed 6 years ago by michaellass (Michael Lass)
comment:8 Changed 6 years ago by Aaron Madlon-Kay <amake@…>
comment:9 follow-up: 11 Changed 6 years ago by pmetzger (Perry E. Metzger)
BTW note that the kludge for this is really only needed for destroot. Typically if the build itself fails and is fixed by this, it means that the include statements in the sources are incorrectly using angle brackets instead of double quotes.
comment:10 Changed 6 years ago by kencu (Ken)
I would worry that using the new build system for the build and then the old build system for the destroot might truly be leading into totally unknown territory. Seems logical to me to use one or the other throughout.
comment:11 Changed 6 years ago by kencu (Ken)
Replying to pmetzger:
it means that the include statements in the sources are incorrectly using angle brackets instead of double quotes.
This behaviour seems to have changed in Xcode10. I am unable to find any documentation about exactly what is different about the CPP search path handling anywhere on the web so far (if that is what this is about). I would appreciate any information anyone knows about this.
comment:12 Changed 6 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Port: | BGHUDAppKit VLC added |
comment:13 Changed 6 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Port: | gimp-app added |
BGHUDAppKit is also affected. A workaround was proposed as #2720.