Last active
May 9, 2017 18:04
-
-
Save matiasgarciaisaia/55b9031f93bbf55903603b2428834338 to your computer and use it in GitHub Desktop.
`bundle omnibus build llvm` with LLVM 3.8 fails health check due to libLTO.so depending on libtinfo.so.5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ bundle exec omnibus build llvm | |
[CLI] I | 2017-05-09T17:31:54+00:00 | Using config from 'omnibus.rb' | |
Building llvm ... | |
[Software: llvm] I | 2017-05-09T17:31:54+00:00 | Resolving manifest entry for llvm | |
[Licensing] W | 2017-05-09T17:31:55+00:00 | Project 'llvm' does not contain licensing information. | |
[Licensing] W | 2017-05-09T17:31:55+00:00 | Software 'llvm' does not contain licensing information. | |
[Software: llvm] I | 2017-05-09T17:31:55+00:00 | Could not restore from cache | |
[NetFetcher: llvm] I | 2017-05-09T17:31:55+00:00 | Cleaning project directory `/var/cache/omnibus/src/llvm' | |
[NetFetcher: llvm] I | 2017-05-09T17:31:55+00:00 | Extracting `/var/cache/omnibus/cache/llvm-3.8.1.src.tar.xz' to `/var/cache/omnibus/src/llvm' | |
[Builder: llvm] I | 2017-05-09T17:31:57+00:00 | Starting build | |
[Builder: llvm] I | 2017-05-09T17:31:57+00:00 | mkdir `build': 0.0003s | |
[Builder: llvm] I | 2017-05-09T17:31:57+00:00 | Environment: | |
[Builder: llvm] I | 2017-05-09T17:31:57+00:00 | CFLAGS="-I/opt/llvm/embedded/include -O2" | |
[Builder: llvm] I | 2017-05-09T17:31:57+00:00 | CPPFLAGS="-I/opt/llvm/embedded/include -O2" | |
[Builder: llvm] I | 2017-05-09T17:31:57+00:00 | CXXFLAGS="-I/opt/llvm/embedded/include -O2" | |
[Builder: llvm] I | 2017-05-09T17:31:57+00:00 | LDFLAGS="-Wl,-rpath,/opt/llvm/embedded/lib -L/opt/llvm/embedded/lib" | |
[Builder: llvm] I | 2017-05-09T17:31:57+00:00 | LD_RUN_PATH="/opt/llvm/embedded/lib" | |
[Builder: llvm] I | 2017-05-09T17:31:57+00:00 | PATH="/opt/llvm/bin:/opt/llvm/embedded/bin:/usr/local/rvm/gems/ruby-2.4.0/bin:/usr/local/rvm/gems/ruby-2.4.0@global/bin:/usr/local/rvm/rubies/ruby-2.4.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/local/rvm/bin" | |
[Builder: llvm] I | 2017-05-09T17:31:57+00:00 | PKG_CONFIG_PATH="/opt/llvm/embedded/lib/pkgconfig" | |
[Builder: llvm] I | 2017-05-09T17:31:57+00:00 | $ cmake -DLLVM_TARGETS_TO_BUILD=host -DCMAKE_BUILD_TYPE=MinSizeRel -DLLVM_BUILD_TOOLS=OFF -DLLVM_ENABLE_ZLIB=OFF -DCMAKE_INSTALL_PREFIX=/opt/llvm /var/cache/omnibus/src/llvm/llvm-3.8.1.src | |
[Builder: llvm] I | 2017-05-09T17:32:07+00:00 | Execute: `cmake -DLLVM_TARGETS_TO_BUILD=host -DCMAKE_BUILD_TYPE=MinSizeRel -DLLVM_BUILD_TOOLS=OFF -DLLVM_ENABLE_ZLIB=OFF -DCMAKE_INSTALL_PREFIX=/opt/llvm /var/cache/omnibus/src/llvm/llvm-3.8.1.src': 9.8081s | |
[Builder: llvm] I | 2017-05-09T17:32:07+00:00 | Environment: | |
[Builder: llvm] I | 2017-05-09T17:32:07+00:00 | CFLAGS="-I/opt/llvm/embedded/include -O2" | |
[Builder: llvm] I | 2017-05-09T17:32:07+00:00 | CPPFLAGS="-I/opt/llvm/embedded/include -O2" | |
[Builder: llvm] I | 2017-05-09T17:32:07+00:00 | CXXFLAGS="-I/opt/llvm/embedded/include -O2" | |
[Builder: llvm] I | 2017-05-09T17:32:07+00:00 | LDFLAGS="-Wl,-rpath,/opt/llvm/embedded/lib -L/opt/llvm/embedded/lib" | |
[Builder: llvm] I | 2017-05-09T17:32:07+00:00 | LD_RUN_PATH="/opt/llvm/embedded/lib" | |
[Builder: llvm] I | 2017-05-09T17:32:07+00:00 | PATH="/opt/llvm/bin:/opt/llvm/embedded/bin:/usr/local/rvm/gems/ruby-2.4.0/bin:/usr/local/rvm/gems/ruby-2.4.0@global/bin:/usr/local/rvm/rubies/ruby-2.4.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/local/rvm/bin" | |
[Builder: llvm] I | 2017-05-09T17:32:07+00:00 | PKG_CONFIG_PATH="/opt/llvm/embedded/lib/pkgconfig" | |
[Builder: llvm] I | 2017-05-09T17:32:07+00:00 | $ cmake --build . -- -j9 | |
[Builder: llvm] I | 2017-05-09T17:40:51+00:00 | Execute: `cmake --build . -- -j9': 523.6569s | |
[Builder: llvm] I | 2017-05-09T17:40:51+00:00 | Environment: | |
[Builder: llvm] I | 2017-05-09T17:40:51+00:00 | CFLAGS="-I/opt/llvm/embedded/include -O2" | |
[Builder: llvm] I | 2017-05-09T17:40:51+00:00 | CPPFLAGS="-I/opt/llvm/embedded/include -O2" | |
[Builder: llvm] I | 2017-05-09T17:40:51+00:00 | CXXFLAGS="-I/opt/llvm/embedded/include -O2" | |
[Builder: llvm] I | 2017-05-09T17:40:51+00:00 | LDFLAGS="-Wl,-rpath,/opt/llvm/embedded/lib -L/opt/llvm/embedded/lib" | |
[Builder: llvm] I | 2017-05-09T17:40:51+00:00 | LD_RUN_PATH="/opt/llvm/embedded/lib" | |
[Builder: llvm] I | 2017-05-09T17:40:51+00:00 | PATH="/opt/llvm/bin:/opt/llvm/embedded/bin:/usr/local/rvm/gems/ruby-2.4.0/bin:/usr/local/rvm/gems/ruby-2.4.0@global/bin:/usr/local/rvm/rubies/ruby-2.4.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/local/rvm/bin" | |
[Builder: llvm] I | 2017-05-09T17:40:51+00:00 | PKG_CONFIG_PATH="/opt/llvm/embedded/lib/pkgconfig" | |
[Builder: llvm] I | 2017-05-09T17:40:51+00:00 | $ cmake --build . --target install | |
[Builder: llvm] I | 2017-05-09T17:40:53+00:00 | Execute: `cmake --build . --target install': 1.9228s | |
[Builder: llvm] I | 2017-05-09T17:40:53+00:00 | Build llvm: 535.3908s | |
[Builder: llvm] I | 2017-05-09T17:40:53+00:00 | Finished build | |
[Licensing] W | 2017-05-09T17:40:53+00:00 | Software 'llvm' is not supported project type for transitive dependency license collection. See https://github.com/chef/license_scout for the list of supported languages and dependency managers. If this project does not have any transitive dependencies, consider setting 'skip_transitive_dependency_licensing' to 'true' in order to correct this error. | |
[Software: llvm] I | 2017-05-09T17:40:54+00:00 | Dirtied the cache | |
[BuildVersionDSL] I | 2017-05-09T17:40:54+00:00 | Build Version is set to '3.8.1+20170509174054' | |
[Project: llvm] I | 2017-05-09T17:40:54+00:00 | Building version manifest | |
pedump not found - windows health checks disabled | |
[HealthCheck] I | 2017-05-09T17:40:54+00:00 | Running health on llvm | |
[HealthCheck] E | 2017-05-09T17:40:55+00:00 | Failed! | |
[HealthCheck] E | 2017-05-09T17:40:55+00:00 | The following libraries have unsafe or unmet dependencies: | |
[HealthCheck] E | 2017-05-09T17:40:55+00:00 | The following binaries have unsafe or unmet dependencies: | |
--> /opt/llvm/lib/libLTO.so | |
--> /opt/llvm/bin/llvm-tblgen | |
[HealthCheck] E | 2017-05-09T17:40:55+00:00 | The following libraries cannot be guaranteed to be on target systems: | |
--> /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007fdb132fa000) | |
--> /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007fc273044000) | |
[HealthCheck] E | 2017-05-09T17:40:55+00:00 | The precise failures were: | |
--> /opt/llvm/lib/libLTO.so | |
DEPENDS ON: libtinfo.so.5 | |
COUNT: 1 | |
PROVIDED BY: /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007fdb132fa000) | |
FAILED BECAUSE: Unsafe dependency | |
--> /opt/llvm/bin/llvm-tblgen | |
DEPENDS ON: libtinfo.so.5 | |
COUNT: 1 | |
PROVIDED BY: /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007fc273044000) | |
FAILED BECAUSE: Unsafe dependency | |
[HealthCheck] I | 2017-05-09T17:40:55+00:00 | Health check time: 0.2253s | |
The health check failed! Please see above for important information. | |
/usr/local/rvm/gems/ruby-2.4.0/gems/omnibus-5.5.0/lib/omnibus/health_check.rb:339:in `block in run!' | |
/usr/local/rvm/gems/ruby-2.4.0/gems/omnibus-5.5.0/lib/omnibus/instrumentation.rb:23:in `measure' | |
/usr/local/rvm/gems/ruby-2.4.0/gems/omnibus-5.5.0/lib/omnibus/health_check.rb:239:in `run!' | |
/usr/local/rvm/gems/ruby-2.4.0/gems/omnibus-5.5.0/lib/omnibus/health_check.rb:207:in `run!' | |
/usr/local/rvm/gems/ruby-2.4.0/gems/omnibus-5.5.0/lib/omnibus/project.rb:1083:in `build' | |
/usr/local/rvm/gems/ruby-2.4.0/gems/omnibus-5.5.0/lib/omnibus/cli.rb:84:in `build' | |
/usr/local/rvm/gems/ruby-2.4.0/gems/thor-0.19.4/lib/thor/command.rb:27:in `run' | |
/usr/local/rvm/gems/ruby-2.4.0/gems/thor-0.19.4/lib/thor/invocation.rb:126:in `invoke_command' | |
/usr/local/rvm/gems/ruby-2.4.0/gems/thor-0.19.4/lib/thor.rb:369:in `dispatch' | |
/usr/local/rvm/gems/ruby-2.4.0/gems/omnibus-5.5.0/lib/omnibus/cli/base.rb:33:in `dispatch' | |
/usr/local/rvm/gems/ruby-2.4.0/gems/thor-0.19.4/lib/thor/base.rb:444:in `start' | |
/usr/local/rvm/gems/ruby-2.4.0/gems/omnibus-5.5.0/lib/omnibus/cli.rb:42:in `execute!' | |
/usr/local/rvm/gems/ruby-2.4.0/gems/omnibus-5.5.0/bin/omnibus:16:in `<top (required)>' | |
/usr/local/rvm/gems/ruby-2.4.0/bin/omnibus:23:in `load' | |
/usr/local/rvm/gems/ruby-2.4.0/bin/omnibus:23:in `<main>' | |
/usr/local/rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:in `eval' | |
/usr/local/rvm/gems/ruby-2.4.0/bin/ruby_executable_hooks:15:in `<main>' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ldd llvm-3.8.1-1/lib/libLTO.so | |
lib/libLTO.so: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.15' not found (required by lib/libLTO.so) | |
lib/libLTO.so: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by lib/libLTO.so) | |
lib/libLTO.so: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by lib/libLTO.so) | |
linux-vdso.so.1 => (0x00007ffdd64a6000) | |
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f742184e000) | |
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f7421632000) | |
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f742132a000) | |
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f74210a8000) | |
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f7420e92000) | |
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7420b04000) | |
/lib64/ld-linux-x86-64.so.2 (0x00007f7422989000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment