-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Missing dependency when building roottest as part of ROOT. #9600
Copy link
Copy link
Closed
root-project/roottest
#810Labels
Description
When building from scratch I get:
[2/2614] Generating stl_makeproject_test.cxx, stl_makeproject_test.pcm
FAILED: roottest/root/meta/MakeProject/stl_makeproject_test.cxx roottest/root/meta/MakeProject/stl_makeproject_test.pcm
cd /home/pcanal/root_working/build/master-debug/roottest/root/meta/MakeProject && /usr/bin/cmake -E env LD_LIBRARY_PATH=/home/pcanal/root_working/build/master-debug/lib: ROOTIGNOREPREFIX=
1 /home/pcanal/root_working/build/master-debug/bin/rootcling -rootbuild -v2 -f stl_makeproject_test.cxx -cxxmodule -s /home/pcanal/root_working/build/master-debug/roottest/root/meta/MakeP
roject/stl_makeproject_test.so -excludePath /home/pcanal/root_working/code/root -excludePath /home/pcanal/root_working/build/master-debug -DClingWorkAroundMissingDynamicScope -DClingWorkA
roundUnnamedInclude -DClingWorkAroundMissingSmartInclude -DClingWorkAroundNoDotInclude -DClingWorkAroundMissingAutoLoadingForTemplates -DClingWorkAroundAutoParseUsingNamespace -DClingWork
AroundTClassUpdateDouble32 -DClingWorkAroundAutoParseDeclaration -DClingWorkAroundMissingUnloading -DClingWorkAroundBrokenUnnamedReturn -DClingWorkAroundUnnamedDetection2 -compilerI/usr/i
nclude/c++/9 -compilerI/usr/include/x86_64-linux-gnu/c++/9 -compilerI/usr/include/c++/9/backward -compilerI/usr/lib/gcc/x86_64-linux-gnu/9/include -compilerI/usr/local/include -compilerI/
usr/include/x86_64-linux-gnu -compilerI/usr/include -compilerI/usr/lib/gcc/x86_64-linux-gnu/9/include -compilerI/usr/local/include -compilerI/usr/include/x86_64-linux-gnu -compilerI/usr/i
nclude -I/home/pcanal/root_working/build/master-debug/include -I/home/pcanal/root_working/code/root/roottest -I/home/pcanal/root_working/code/root/roottest/root/meta/MakeProject -I/home/p
canal/root_working/build/master-debug/etc/cling /home/pcanal/root_working/code/root/roottest/root/meta/MakeProject/stl_makeproject_test.h /home/pcanal/root_working/code/root/roottest/root
/meta/MakeProject/stl_makeproject_test_linkdef.h
In file included from input_line_10:36:
/home/pcanal/root_working/code/root/roottest/root/meta/MakeProject/stl_makeproject_test.h:10:2: fatal error: module file '/home/pcanal/root_working/build/master-debug/lib/Imt.pcm' is out
of date and needs to be rebuilt: could not read module signature
#include "TH1D.h"
^
/home/pcanal/root_working/code/root/roottest/root/meta/MakeProject/stl_makeproject_test.h:10:2: note: imported by module 'MathCore' in '/home/pcanal/root_working/build/master-debug/rootte
st/root/meta/MakeProject/MathCore.pcm'
/home/pcanal/root_working/code/root/roottest/root/meta/MakeProject/stl_makeproject_test.h:10:2: note: imported by module 'Hist' in '/home/pcanal/root_working/build/master-debug/roottest/r
oot/meta/MakeProject/Hist.pcm'
Error: /home/pcanal/root_working/build/master-debug/bin/rootcling: compilation failure (/home/pcanal/root_working/build/master-debug/roottest/root/meta/MakeProject/stl_makeproject_testb1a
3e30369_dictUmbrella.h)
and indeed, libHist has not been build yet.
So it seem that roottest/root/meta/MakeProject/stl_makeproject_test.cxx is missing a dependency on libHist
Reactions are currently unavailable