Ubuntu 14.04 Swift master build failure

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/ 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

Joe

···

--
Joseph Bell

@iachievedit

+ Michael, who has been working on CMake changes.

···

On Sat, Jun 25, 2016 at 10:14 AM, Joseph Bell via swift-dev <swift-dev@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/ 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

Joe

--
Joseph Bell
iAchieved.it – Thoughts from a Technology Leader
@iachievedit

_______________________________________________
swift-dev mailing list
swift-dev@swift.org
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@gmail.com>*/

On 14.04 I can reproduce this, which is also referenced in
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@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@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/ 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
>
> Joe
>
>
>
> --
> Joseph Bell
> http://dev.iachieved.it/iachievedit/
> @iachievedit
>
> _______________________________________________
> swift-dev mailing list
> swift-dev@swift.org
> 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@gmail.com>*/

--
Joseph Bell
http://dev.iachieved.it/iachievedit/
@iachievedit

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@iachieved.it> wrote:

On 14.04 I can reproduce this, which is also referenced in 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@gmail.com <mailto:gribozavr@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@swift.org <mailto:swift-dev@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/ 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
>
> Joe
>
>
>
> --
> Joseph Bell
> iAchieved.it – Thoughts from a Technology Leader
> @iachievedit
>
> _______________________________________________
> swift-dev mailing list
> swift-dev@swift.org <mailto:swift-dev@swift.org>
> 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@gmail.com <mailto:gribozavr@gmail.com>>*/

--
Joseph Bell
iAchieved.it – Thoughts from a Technology Leader
@iachievedit

CMake has been upgraded to 3.4.3 on Ubuntu 14.04 and it's now compiling
away; thanks for the tip Michael.

···

On Tue, Jun 28, 2016 at 11:22 PM, Michael Gottesman <mgottesman@apple.com> wrote:

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@iachieved.it> wrote:

On 14.04 I can reproduce this, which is also referenced in
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@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@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/
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
>
> Joe
>
>
>
> --
> Joseph Bell
> iAchieved.it – Thoughts from a Technology Leader
> @iachievedit
>
> _______________________________________________
> swift-dev mailing list
> swift-dev@swift.org
> 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@gmail.com>*/

--
Joseph Bell
iAchieved.it – Thoughts from a Technology Leader
@iachievedit

--
Joseph Bell
http://dev.iachieved.it/iachievedit/
@iachievedit

No worries. I actually sent out an email earlier this week with an RFC, but I sent it by mistake to swift-dev@$APPLE instead of swift-dev@swift.org.

Sorry about that!

Michael

···

On Jun 29, 2016, at 5:55 AM, Joseph Bell <joe@iachieved.it> wrote:

CMake has been upgraded to 3.4.3 on Ubuntu 14.04 and it's now compiling away; thanks for the tip Michael.

On Tue, Jun 28, 2016 at 11:22 PM, Michael Gottesman <mgottesman@apple.com <mailto:mgottesman@apple.com>> wrote:
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@iachieved.it <mailto:joe@iachieved.it>> wrote:

On 14.04 I can reproduce this, which is also referenced in 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@gmail.com <mailto:gribozavr@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@swift.org <mailto:swift-dev@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/ 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
>
> Joe
>
>
>
> --
> Joseph Bell
> iAchieved.it – Thoughts from a Technology Leader
> @iachievedit
>
> _______________________________________________
> swift-dev mailing list
> swift-dev@swift.org <mailto:swift-dev@swift.org>
> 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@gmail.com <mailto:gribozavr@gmail.com>>*/

--
Joseph Bell
iAchieved.it – Thoughts from a Technology Leader
@iachievedit

--
Joseph Bell
iAchieved.it – Thoughts from a Technology Leader
@iachievedit