New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SCRAM has no knowledge on dictionary dependency #14473
Comments
A new Issue was created by @davidlt . @davidlange6, @smuzaffar, @Degano, @davidlt, @Dr15Jones can you please review it and eventually sign/assign? Thanks. cms-bot commands are listed here |
Our policy has been that if a DataFormats library depends, even just through headers, another DataFmats package then the BuildFile.xml file should reflect that. That would also allow scram to know about the dependencies. |
There is a idea for a fast checker script. I will explore that idea for the next week meeting. |
assign core |
New categories assigned: core @Dr15Jones,@smuzaffar you have been requested to review this Pull request/Issue and eventually sign? Thanks |
Combined output from a concept script: http://davidlt.web.cern.ch/davidlt/vault/combined_dict.log
There are additional interesting things, e.g. root map file without a dictionary (maybe different name?) and empty root map files (empty dictionaries?) We found one empty dictionary with Conditions with @smuzaffar today, but maybe there are more. |
|
Example.
Then:
Looks like |
/cc @slava77 |
@davidlt, great work. |
We can write a better tools (this was a concept). It runs very fast thus it could be added to PR tests. |
CC @mrodozov |
assign externals |
New categories assigned: externals @smuzaffar,@gudrutis,@mrodozov you have been requested to review this Pull request/Issue and eventually sign? Thanks |
no going to implement this, this will be fixed with CXXMODULES enabled |
Fixing a bug (#14452) revealed another issue with the build tool, i.e. SCRAM.
In the PR
edmWriteConfigs
is segfaulting when loadinglibDataFormatsEgammaTrackReco.so
dictionary. In the PR I changedDataFormats/GeometrySurface/interface/Surface.h
and where are 144 packages which depend onDataFormats/GeometrySurface
. The change breaks ABI by changing class layout due to multiple inheritance implementation in C++. Not all the packages have been rebuilt beforelibDataFormatsEgammaTrackReco.so
was used by SCRAM.ROOT (i.e. Cling) runs with auto load enabled. Cling new that missing piece in
libDataFormatsEgammaTrackReco.so
was provided bylibTrackingToolsPatternTools.so
due to rootmap files. So, it loaded it:At that time
libTrackingToolsPatternTools.so
was not yet rebuilt with new ABI changes.Here is what Cling actually needed from
libTrackingToolsPatternTools.so
:The text was updated successfully, but these errors were encountered: