Open pcanal opened 3 years ago
Does that still reproduce for you, I seem to be unable to reproduce...
The error messages seems harder to produce (however it is legitimate to issue a message, it bug is that the message is reversed). [Now] you need to make an effective modification to the io header:
pcanal@Viroflay:~/root_working/build/pristine-opt/src$ git diff
diff --git a/io/io/inc/TFile.h b/io/io/inc/TFile.h
index d5d6722e70..02d310f1cd 100644
--- a/io/io/inc/TFile.h
+++ b/io/io/inc/TFile.h
@@ -71,7 +71,8 @@ public:
enum ECacheAction { kDisconnect = 0, kDoNotDisconnect = 1 };
protected:
- Double_t fSumBuffer{0}; ///<Sum of buffer sizes of objects written so far
+int fnewmember;
+Double_t fSumBuffer{0}; ///<Sum of buffer sizes of objects written so far
Double_t fSum2Buffer{0}; ///<Sum of squares of buffer sizes of objects written so far
Long64_t fBytesWrite{0}; ///<Number of bytes written to this file
Long64_t fBytesRead{0}; ///<Number of bytes read from this file
and then (of course :) ) provoke an "intentionally" inconsistent built by doing a partial build:
ninja RIO
(otherwise ninja/make will correctly rebuild the pcm) and then:
pcanal@Viroflay:~/root_working/build/pristine-opt$ rb RIO && root.exe -b -l -q
[26/26] Linking CXX shared library lib/libRIO.so
<<< cling interactive line includer >>>: fatal error: module file '/home/pcanal/root_working/build/pristine-opt/lib/RIO.pcm' is out of date and needs to be rebuilt: module file out of date
<<< cling interactive line includer >>>: note: imported by module 'MathCore' in '/home/pcanal/root_working/build/pristine-opt/lib/MathCore.pcm'
Failed to load module MathCore
Failed to load module Hist
Failed to load module ROOTTMVASofie
input_line_4:2:2: error: unknown type name 'include'
#include "TError.h"
^
etc ....
Note that RIO.pcm is already the "newest" of the pcm so it can not be the one out of date :)
For the record, this issue is stil there as of 2022-11-10 acc8412782 as seen on https://root-forum.cern.ch/t/wsl-build-from-source-error-rint-pcm-is-out-of-date-cannot-read-module-signature/47564/23 where the message is:
<<< cling interactive line includer >>>: fatal error: module file '/home/neel/Desktop/Root/build/lib/Rint.pcm' is out of date and needs to be rebuilt: could not read module signature
<<< cling interactive line includer >>>: note: imported by module 'MathCore' in '/home/neel/Desktop/Root/build/lib/MathCore.pcm'
Error: Module 'MathCore.pcm' failed to load.
where as Rint.pcm
is actually the newer of the 2 files:
(base) neel@neel-ASUS-TUF-Gaming-A15-FA506QM-FA506QM:~/Desktop/Root/build$ ls -lart lib/Rint.pcm lib/MathCore.pcm
-rw-rw-r-- 1 neel neel 11538356 Nov 9 23:43 lib/MathCore.pcm
-rw-rw-r-- 1 neel neel 428436 Nov 9 23:58 lib/Rint.pcm
Hi,
After touch a header file in
io/io/inc
and running onlyninja RIO
then runningroot.exe -b -l -q
I get:This seems "reversed and indeed:
Maybe either:
Cheers, Philippe.
PS Full error message: