xchammer icon indicating copy to clipboard operation
xchammer copied to clipboard

ditto: can't get real path for source 'tulsi-aspects'

Open BalestraPatrick opened this issue 5 years ago • 2 comments

Hello!

I am trying to play with xchammer. I followed the only documentation that I found in the repo, cloned it and ran make install. The compilation of the project and its dependencies works as expected, but ends up failing with ditto: can't get real path for source 'tulsi-aspects'. You can see the last part of the log here:

...
Compile Swift Module 'Commandant' (9 sources)
Compile Swift Module 'AEXML' (5 sources)
Compile CYaml src/emitter.c
Compile CYaml src/api.c
Compile Swift Module 'Yams' (16 sources)
Compile Swift Module 'xcproj' (61 sources)
Archiving /Users/balestrapatrick/Downloads/xchammer-master/.build/x86_64-apple-macosx10.10/release/libTulsiGenerator.a
Compile Swift Module 'ProjectSpec' (25 sources)
Compile Swift Module 'XcodeGenKit' (8 sources)
Compile Swift Module 'XCHammer' (20 sources)
Linking ./.build/x86_64-apple-macosx10.10/release/XCHammer
# Install bundle resources
# Install Tulsi resources
# Tulsi utilizes NSBundle heavily. All assets need to exist at the root of
# this directory in order for NSBundle and Tulsi's searching logic to work
# in the context of our custom release package.
ditto: can't get real path for source 'tulsi-aspects'
make: *** [build-impl] Error 1

Any idea what's wrong? I have Tulsi installed, and from what I can understand the Makefile tries to reference tulsi-aspects which is unsuccessful on my machine (not sure exactly what tulsi-aspects is and couldn't find many information about it).

Thank you! 👍

BalestraPatrick avatar Feb 03 '19 16:02 BalestraPatrick

Hey @BalestraPatrick - sorry to hear for the breakage. It looks like there is a bug in our swift package manager based build. Simply put, we rely on non code dependencies from TulsiGenerator.framework ( Bazel aspects ) which need to be built and bundled out of band in the Makefile.

I'll put up a PR for this here in a few minutes.

jerrymarino avatar Feb 05 '19 19:02 jerrymarino

Hey @jerrymarino! Thanks for the quick PR, appreciate it 💯

BalestraPatrick avatar Feb 05 '19 19:02 BalestraPatrick