Bug 2960

Summary: bake issues with bindings toolchain installation
Product: bake Reporter: Tom Henderson <tomh>
Component: bakeconf.xmlAssignee: Tom Henderson <tomh>
Status: ASSIGNED ---    
Severity: normal CC: ns-bugs, tommaso.pecorella
Priority: P3    
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://www.nsnam.org/bugzilla/show_bug.cgi?id=2977
Attachments: notes from Tommaso
config.log

Description Tom Henderson 2018-07-22 17:52:39 EDT
This is to track and remember the issues found by Tommaso recently in trying to set up a VM using bake:

http://mailman.isi.edu/pipermail/ns-developers/2018-May/014481.html
Comment 1 Tom Henderson 2018-07-22 17:54:20 EDT
Created attachment 3150 [details]
notes from Tommaso
Comment 2 Tom Henderson 2018-07-22 17:54:52 EDT
Created attachment 3151 [details]
config.log
Comment 3 Tom Henderson 2018-09-04 00:47:40 EDT
bake as of changeset 423:0eb3789eef50 has resolved many issues, but source build of castxml is presently failing on Fedora 28 with the following error:

$ bake.py configure -e castxml
$ bake.py download
$ bake.py build -vvv

...

 cmake /home/buildslave/ns-3-allinone/bake/source/castxml -DCMAKE_INSTALL_PREFIX:PATH=/home/buildslave/ns-3-allinone/bake/build dir=/home/buildslave/ns-3-allinone/bake/source/castxml/objdir
CMake Error at /usr/lib64/cmake/llvm/LLVM-Config.cmake:175 (message):
  Target X86 is not in the set of libraries.
Call Stack (most recent call first):
  src/CMakeLists.txt:48 (llvm_map_components_to_libnames)


However, this problem is not encountered in my buildslaves running Fedora 26, Ubuntu 16.04, Ubuntu 14.04.
Comment 4 Tom Henderson 2018-09-04 09:33:09 EDT
> 
> However, this problem is not encountered in my buildslaves running Fedora
> 26, Ubuntu 16.04, Ubuntu 14.04.

I was able to resolve this issue by installing llvm static libraries package; will update the installation notes about this.


I will leave open this bug until the MacOS installation is cleaned up.