Hi @adrian_sev ,
I’m not sure what the cause might be, but I think support for Fedora 34 is not quite there yet. @Axel will be able to comment with more authority (when he’s back next week).
i do not understand what is going on (as i see no cache written down) but it would be nice if this can be reduced … on a sata ssd i have to wait for a few good minutes for most times i rebuild
Seeing ccache in your output is quite suspicious. I guess that’s what’s slowing things down. We should probably file a bug with Fedora to build without ccache. It looks like that gets recorded as the compiler, which ROOT then uses to figure out which include paths it needs to check for headers at startup.
no, this is my build, and of course i use ccache as not to lose 30mins for each build!! i do not know what is the command intention but i wonder what would do g++ faster that it’s invocation through ccache when ccache have all object files cached … if there is an operation that goes faster directly to g++ than through ccache than it would be a bug in ccache
This means that only when you use gcc/g++ you actually get the list of includes as intended, and the list is empty when the compiler is set to ccache. This may cause unnecessary searches later on. I think that in ROOT we need to make sure that we never set the compiler to ccache, because that is broken. If you break the comment at the first pipe, you get:
@adrian_sev Could you please file an issue in our repository, attaching the files CMakeCache.txt and recmake_initial.sh from your build of ROOT? Thank you.
well, it seems that this in an heisenbug as i cannot reproduce it again if it happens again i will try to make it always reproductible before reporting it … Thank you!