Xcode 9 new build system apparently can't build projects with yacc files

Originator:guillaume.algis
Number:rdar://32620465 Date Originated:2017-06-07
Status:Open Resolved:
Product:Xcode Product Version:9.0 beta (9M136h)
Classification:Other bug Reproducible:Always
 
Summary:
Attempting to compile a yacc file with the new build system gives the following error:

:-1: unable to build node: '/Users/guillaume/Library/Developer/Xcode/DerivedData/handlebars-objc-blvrdhklyuwfsvaoguraoztudiaj/Build/Intermediates.noindex/handlebars-objc.build/Debug-iphoneos/handlebars-objc-ios.build/DerivedSources/y.tab.m' (node is produced by multiple commands; e.g., '321a9906c518688d12e30aa6d5d35681c43725c1fcda5b640475d2ab40ecb77c:Rename /Users/guillaume/Library/Developer/Xcode/DerivedData/handlebars-objc-blvrdhklyuwfsvaoguraoztudiaj/Build/Intermediates.noindex/handlebars-objc.build/Debug-iphoneos/handlebars-objc-ios.build/DerivedSources/y.tab.c y.tab.m' and '321a9906c518688d12e30aa6d5d35681c43725c1fcda5b640475d2ab40ecb77c:Yacc /tmp/handlebars-objc/src/handlebars-objc/parser/handlebars-objc.ym')

Steps to Reproduce:
1. Clone the handlebars-objc project from https://github.com/Bertrand/handlebars-objc
2. Build with Xcode 9
3. Build is successful
4. Change the build system for the project to "New Build System (Preview)" (as described in https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/WhatsNewXcode/xcode_9/xcode_9.html)
5. Build the project again

Expected Results:
The projects builds successfully, same as with the old build system

Observed Results:
The projects failed to build with the error :

:-1: unable to build node: '/Users/guillaume/Library/Developer/Xcode/DerivedData/handlebars-objc-blvrdhklyuwfsvaoguraoztudiaj/Build/Intermediates.noindex/handlebars-objc.build/Debug-iphoneos/handlebars-objc-ios.build/DerivedSources/y.tab.m' (node is produced by multiple commands; e.g., '321a9906c518688d12e30aa6d5d35681c43725c1fcda5b640475d2ab40ecb77c:Rename /Users/guillaume/Library/Developer/Xcode/DerivedData/handlebars-objc-blvrdhklyuwfsvaoguraoztudiaj/Build/Intermediates.noindex/handlebars-objc.build/Debug-iphoneos/handlebars-objc-ios.build/DerivedSources/y.tab.c y.tab.m' and '321a9906c518688d12e30aa6d5d35681c43725c1fcda5b640475d2ab40ecb77c:Yacc /tmp/handlebars-objc/src/handlebars-objc/parser/handlebars-objc.ym')

Version:
Xcode Version 9.0 beta (9M136h)
macOS Version 10.12.4 (16E195)

Notes:


Configuration:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!