I am trying to install Swift from sources on Gentoo. Yes, I know that it is officially unsupported but I hope that Swift community is interested to go beyond Ubuntu. I have running Swift on Kubuntu 16.04.1 but I am going to run it on Gentoo and on Linux From Scratch.
During running the script utils/build-script --preset=buildbot_linux install_destdir=$PWD/swift_inst installable_package=$PWD/swift-gentoo.tar.gz
on the output line [11/98] Compiling /home/vedg/swift-source/build/buildbot_linux/swift-linux-x86_64/stdlib/public/core/linux/x86_64/Swift.o
FAILED: cd /home/vedg/swift-source/build/buildbot_linux/swift-linux-x86_64/stdlib/public/core && /usr/bin/cmake -E make_directory /home/vedg/swift-source/build/buildbot_linux/swift-linux-x86_64/stdlib/public/core/linux/x86_64 && ... (long list of files)
I have got the strange error: File "/home/vedg/swift-source/swift/utils/line-directive", line 154
^
raise RuntimeError, "line not found"
SyntaxError: invalid syntax
_The symbol '^' is below the comma symbol. What is wrong? What additional information I have to provide? I have installed all dependentses indicated for Ubuntoo except of uuid-dev and libblockruntime-dev which does not exist in Gentoo. I did not change anything in the build scripts _
The text was updated successfully, but these errors were encountered:
Actually, I have found a workaround. Gentoo has two Python versions installed with Python 3.4.3 as default.
I did change default to Python 2.7.10 and the error is disappeared. Nevertheless, Python 3 should be supported.
The workaround is not good because later lldb build script creates
swift-source/build/buildbot_linux/lldb-linux-x86_64/lib64/python3.4
but final install script is looking for lib/python2.7 which does not exists.
Gentoo has been changed since the time issue has been created and currently there are other bugs in the build system. I created several other issues for them.
Additional Detail from JIRA
md5: 03bca5d6306666c1953c4cf8a4226fb2
Issue Description:
I am trying to install Swift from sources on Gentoo. Yes, I know that it is officially unsupported but I hope that Swift community is interested to go beyond Ubuntu. I have running Swift on Kubuntu 16.04.1 but I am going to run it on Gentoo and on Linux From Scratch.
During running the script utils/build-script --preset=buildbot_linux install_destdir=$PWD/swift_inst installable_package=$PWD/swift-gentoo.tar.gz
on the output line [11/98] Compiling /home/vedg/swift-source/build/buildbot_linux/swift-linux-x86_64/stdlib/public/core/linux/x86_64/Swift.o
FAILED: cd /home/vedg/swift-source/build/buildbot_linux/swift-linux-x86_64/stdlib/public/core && /usr/bin/cmake -E make_directory /home/vedg/swift-source/build/buildbot_linux/swift-linux-x86_64/stdlib/public/core/linux/x86_64 && ... (long list of files)
I have got the strange error: File "/home/vedg/swift-source/swift/utils/line-directive", line 154
^
raise RuntimeError, "line not found"
SyntaxError: invalid syntax
_The symbol '^' is below the comma symbol. What is wrong? What additional information I have to provide? I have installed all dependentses indicated for Ubuntoo except of uuid-dev and libblockruntime-dev which does not exist in Gentoo. I did not change anything in the build scripts _
The text was updated successfully, but these errors were encountered: