swiftlang / swift

The Swift Programming Language
https://swift.org
Apache License 2.0
67.66k stars 10.38k forks source link

[SR-4635] BuildScript does not check valgrind presense on Linux #47212

Open swift-ci opened 7 years ago

swift-ci commented 7 years ago
Previous ID SR-4635
Radar None
Original Reporter Vladislav (JIRA User)
Type Bug

Attachment: Download

Environment Linux ved-hp-gentoo 4.9.16-gentoo \#1 SMP Tue Apr 11 19:15:59 MSK 2017 x86_64 Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz GenuineIntel GNU/Linux
Additional Detail from JIRA | | | |------------------|-----------------| |Votes | 0 | |Component/s | Project Infrastructure | |Labels | Bug, BuildScript, Linux | |Assignee | None | |Priority | Medium | md5: b22341ef517ebedc48c9d7d77c3925e3

Issue Description:

Today after fresh checkout I try to compile Swift on Gentoo and got the error that vavlgind/valgrind.h not found during llvm build stage. I believe that buildscript shold check existense of all required packages.

belkadan commented 7 years ago

valgrind is not required to build Swift or LLVM. Are you specifically requesting to build with valgrind? If not, it's possible you have some of the valgrind content present (which the build system detects) but not all of it.

swift-ci commented 7 years ago

Comment by Vladislav Dembskiy (JIRA)

May be it is a side effect. Today I did unmerge valgrind and tried to repeat build using standard command:
utils/build-script --preset=buildbot_linux install_destdir=/mnt/swift/gentoo installable_package=/mnt/swift/gentoo/swift-gentoo.tar.gz &> swift-build.log

Please, see the log file attached. The same error.