Well, I finished the full rebuild, but I seemed to have come across a
lot of the same problems again.


(1) First, building everything via the package.sh, I hit some error I
think connected to xctest or maybe swiftpm:

========
+ /home/pi/Source/SWIFTARM/package-swift/swiftpm/Utilities/bootstrap
--swiftc=/home/pi/Source/SWIFTARM/package-swift/build/buildbot_linux/swift-linux-armv7/bin/swiftc
--sbt=/home/pi/Source/SWIFTARM/package-swift/build/buildbot_linux/llbuild-linux-armv7/bin/swift-build-tool
--build=/home/pi/Source/SWIFTARM/package-swift/build/buildbot_linux/swiftpm-linux-armv7
--foundation=/home/pi/Source/SWIFTARM/package-swift/build/buildbot_linux/foundation-linux-armv7/Foundation
--libdispatch-source-dir=/home/pi/Source/SWIFTARM/package-swift/swift-corelibs-libdispatch
--libdispatch-build-dir=/home/pi/Source/SWIFTARM/package-swift/build/buildbot_linux/libdispatch-linux-armv7
--xctest=/home/pi/Source/SWIFTARM/package-swift/build/buildbot_linux/xctest-linux-armv7
*** Error in 
`/home/pi/Source/SWIFTARM/package-swift/build/buildbot_linux/llbuild-linux-armv7/bin/swift-build-tool./swift/utils/build-script:
fatal error: command terminated with a non-zero exit status 1,
aborting
cp: cannot create directory
‘/home/pi/Source/SWIFTARM/package-swift/install/usr/lib/swift’: No
such file or directory
cp: cannot create regular file
‘/home/pi/Source/SWIFTARM/package-swift/install/usr/lib/swift/linux/armv7/’:
No such file or directory
cp: cannot create regular file
‘/home/pi/Source/SWIFTARM/package-swift/install/usr/lib/swift/linux/armv7/’:
No such file or directory
cp: cannot create regular file
‘/home/pi/Source/SWIFTARM/package-swift/install/usr/lib/swift/linux/’:
No such file or directory
cp: cannot create regular file
‘/home/pi/Source/SWIFTARM/package-swift/install/usr/lib/swift/linux’:
No such file or directory

===========



(2) Removing those from the build, I then return to the installing
lldb/python2.7 error I mentioned before.

===============
-- Installing: 
/home/pi/Source/SWIFTARM/package-swift/install/usr/include/lldb/Utility/AnsiTerminal.h
-- Installing: 
/home/pi/Source/SWIFTARM/package-swift/install/usr/include/lldb/lldb-forward.h
CMake Error at scripts/cmake_install.cmake:36 (file):
  file INSTALL cannot find
  
"/home/pi/Source/SWIFTARM/package-swift/build/buildbot_linux/lldb-linux-armv7/lib/python2.7".
Call Stack (most recent call first):
  cmake_install.cmake:42 (include)

===============



(3) Finally, removing lldb from the build and using the created Swift
compiler, I can build and run trivial test programs, but I get that
irgen::CallEmission assertion failure on my less trivial programs.

https://bugs.swift.org/browse/SR-2706


I actually don't need xctest and lldb right now, but this one is a
blocker for me.

Thanks,
Eric
_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev

Reply via email to