[swift-dev] Ubuntu 14.04 Swift master build failure

Michael Gottesman mgottesman at apple.com
Tue Jun 28 23:22:44 CDT 2016


For 14.04, you need to upgrade your CMake. Since we are going to be updating to 3.4.3, I would suggest just doing that.

Michael

> On Jun 28, 2016, at 7:59 PM, Joseph Bell <joe at iachieved.it> wrote:
> 
> On 14.04 I can reproduce this, which is also referenced in https://bugs.swift.org/browse/SR-1923 <https://bugs.swift.org/browse/SR-1923>.
> 
> CMake Error at cmake/modules/SwiftSharedCMakeConfig.cmake:134 (include):
>   include could not find load file:
> 
>     ClangTargets
> Call Stack (most recent call first):
>   cmake/modules/SwiftSharedCMakeConfig.cmake:186 (swift_common_standalone_build_config_clang)
>   CMakeLists.txt:362 (swift_common_standalone_build_config)
> 
> 
> CMake Error at CMakeLists.txt:368 (message):
>   Clang is missing from llvm/tools subdirectory.
> 
> 
> -- Configuring incomplete, errors occurred!
> See also "/home/josephbell/package-swift-3.0/build/buildbot_linux/swift-linux-x86_64/CMakeFiles/CMakeOutput.log".
> ./swift/utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting
> ./swift/utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting
> 
> Since around Friday of last week (6/17) I've failed to be able to able to build on 14.04 (always something to do with Cmake).  I have been able to consistently build on 15.10 and 16.04.
> 
> On Sat, Jun 25, 2016 at 5:42 PM, Dmitri Gribenko <gribozavr at gmail.com <mailto:gribozavr at gmail.com>> wrote:
> + Michael, who has been working on CMake changes.
> 
> On Sat, Jun 25, 2016 at 10:14 AM, Joseph Bell via swift-dev
> <swift-dev at swift.org <mailto:swift-dev at swift.org>> wrote:
> > Confirmed that I can reproduce this on my system (x86_64 Ubuntu14.04) :
> > build 1585 failed
> > https://ci.swift.org/job/oss-swift-package-linux-ubuntu-14_04/1585/ <https://ci.swift.org/job/oss-swift-package-linux-ubuntu-14_04/1585/> with
> >
> > CMake Error at cmake/modules/SwiftSharedCMakeConfig.cmake:134 (include):
> >   include could not find load file:
> >
> >     ClangTargets
> > Call Stack (most recent call first):
> >   cmake/modules/SwiftSharedCMakeConfig.cmake:186
> > (swift_common_standalone_build_config_clang)
> >   CMakeLists.txt:358 (swift_common_standalone_build_config)
> >
> >
> > CMake Error at CMakeLists.txt:364 (message):
> >   Clang is missing from llvm/tools subdirectory.
> >
> >
> >
> > 4 commits from mgottesman
> > https://ci.swift.org/job/oss-swift-package-linux-ubuntu-14_04/1585/changes#detail <https://ci.swift.org/job/oss-swift-package-linux-ubuntu-14_04/1585/changes#detail>
> >
> > Joe
> >
> >
> >
> > --
> > Joseph Bell
> > http://dev.iachieved.it/iachievedit/ <http://dev.iachieved.it/iachievedit/>
> > @iachievedit
> >
> > _______________________________________________
> > swift-dev mailing list
> > swift-dev at swift.org <mailto:swift-dev at swift.org>
> > https://lists.swift.org/mailman/listinfo/swift-dev <https://lists.swift.org/mailman/listinfo/swift-dev>
> >
> 
> 
> 
> --
> main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
> (j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com <mailto:gribozavr at gmail.com>>*/
> 
> 
> 
> -- 
> Joseph Bell
> http://dev.iachieved.it/iachievedit/ <http://dev.iachieved.it/iachievedit/>
> @iachievedit

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160628/44271385/attachment.html>


More information about the swift-dev mailing list