Building QualityControl@master: failed

I have been trying to rebuild QC and it keeps failing at this point. The log says:

[  3%] Generating G__QualityControl.cxx, ../lib/G__QualityControl_rdict.pcm, ../lib/libQualityControl.rootmap
In file included from input_line_11:63:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/unordered_map:407:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__hash_table:18:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:317:9: error: no member named 'signbit' in the global namespace
using ::signbit;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:318:9: error: no member named 'fpclassify' in the global namespace
using ::fpclassify;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:319:9: error: no member named 'isfinite' in the global namespace
using ::isfinite;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:320:9: error: no member named 'isinf' in the global namespace
using ::isinf;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:321:9: error: no member named 'isnan' in the global namespace
using ::isnan;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:322:9: error: no member named 'isnormal' in the global namespace
using ::isnormal;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:323:9: error: no member named 'isgreater' in the global namespace
using ::isgreater;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:324:9: error: no member named 'isgreaterequal' in the global namespace
using ::isgreaterequal;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:325:9: error: no member named 'isless' in the global namespace
using ::isless;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:326:9: error: no member named 'islessequal' in the global namespace
using ::islessequal;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:327:9: error: no member named 'islessgreater' in the global namespace
using ::islessgreater;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:328:9: error: no member named 'isunordered' in the global namespace
using ::isunordered;
      ~~^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:329:9: error: no member named 'isunordered' in the global namespace
using ::isunordered;
      ~~^
In file included from input_line_11:65:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Framework/DataProcessorSpec.h:13:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Framework/AlgorithmSpec.h:13:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Framework/ProcessingContext.h:13:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Framework/InputRecord.h:14:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Framework/DataRefUtils.h:14:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Framework/DataRefUtils.h:14:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Framework/TMessageSerializer.h:15:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/ROOT/v6-20-02-alice3-2/include/TList.h:25:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/ROOT/v6-20-02-alice3-2/include/TSeqCollection.h:25:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/ROOT/v6-20-02-alice3-2/include/TCollection.h:29:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/ROOT/v6-20-02-alice3-2/include/TString.h:26:
/Users/tokozanimtetwa/alice/sw/osx_x86-64/ROOT/v6-20-02-alice3-2/include/TMathBase.h:137:10: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
{ return std::abs(d); }
         ^
/Users/tokozanimtetwa/alice/sw/osx_x86-64/ROOT/v6-20-02-alice3-2/include/TMathBase.h:137:10: note: use function 'std::abs' instead
{ return std::abs(d); }
         ^~~~~~~~
         std::abs
/Users/tokozanimtetwa/alice/sw/osx_x86-64/ROOT/v6-20-02-alice3-2/include/TMathBase.h:137:10: note: include the header <cmath> or explicitly provide a declaration for 'std::abs'
/Users/tokozanimtetwa/alice/sw/osx_x86-64/ROOT/v6-20-02-alice3-2/include/TMathBase.h:140:10: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
{ return std::abs(d); }
         ^
/Users/tokozanimtetwa/alice/sw/osx_x86-64/ROOT/v6-20-02-alice3-2/include/TMathBase.h:140:10: note: use function 'std::abs' instead
{ return std::abs(d); }
         ^~~~~~~~
         std::abs
/Users/tokozanimtetwa/alice/sw/osx_x86-64/ROOT/v6-20-02-alice3-2/include/TMathBase.h:140:10: note: include the header <cmath> or explicitly provide a declaration for 'std::abs'
/Users/tokozanimtetwa/alice/sw/osx_x86-64/ROOT/v6-20-02-alice3-2/include/TMathBase.h:143:10: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
{ return std::abs(d); }
         ^
/Users/tokozanimtetwa/alice/sw/osx_x86-64/ROOT/v6-20-02-alice3-2/include/TMathBase.h:143:10: note: use function 'std::abs' instead
{ return std::abs(d); }
         ^~~~~~~~
         std::abs
/Users/tokozanimtetwa/alice/sw/osx_x86-64/ROOT/v6-20-02-alice3-2/include/TMathBase.h:143:10: note: include the header <cmath> or explicitly provide a declaration for 'std::abs'
/Users/tokozanimtetwa/alice/sw/osx_x86-64/ROOT/v6-20-02-alice3-2/include/TMathBase.h:153:18: error: expected unqualified-id
   { return std::signbit(a);  }
                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/math.h:170:5: note: expanded from macro 'signbit'
    ( sizeof(x) == sizeof(float)  ? __inline_signbitf((float)(x))        \
    ^
In file included from input_line_11:65:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Framework/DataProcessorSpec.h:13:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Framework/AlgorithmSpec.h:13:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Framework/ProcessingContext.h:13:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Framework/InputRecord.h:14:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Framework/DataRefUtils.h:14:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Framework/TMessageSerializer.h:15:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/ROOT/v6-20-02-alice3-2/include/TList.h:25:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/ROOT/v6-20-02-alice3-2/include/TSeqCollection.h:25:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/ROOT/v6-20-02-alice3-2/include/TCollection.h:29:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/ROOT/v6-20-02-alice3-2/include/TString.h:26:
/Users/tokozanimtetwa/alice/sw/osx_x86-64/ROOT/v6-20-02-alice3-2/include/TMathBase.h:156:18: error: expected unqualified-id
   { return std::signbit(a);  }
                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/math.h:170:5: note: expanded from macro 'signbit'
( sizeof(x) == sizeof(float)  ? __inline_signbitf((float)(x))        \
    ^
In file included from input_line_11:65:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Framework/DataProcessorSpec.h:13:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Framework/AlgorithmSpec.h:13:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Framework/ProcessingContext.h:13:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Framework/InputRecord.h:14:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Framework/DataRefUtils.h:14:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Framework/TMessageSerializer.h:15:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/ROOT/v6-20-02-alice3-2/include/TList.h:25:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/ROOT/v6-20-02-alice3-2/include/TSeqCollection.h:25:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/ROOT/v6-20-02-alice3-2/include/TCollection.h:29:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/ROOT/v6-20-02-alice3-2/include/TString.h:26:
/Users/tokozanimtetwa/alice/sw/osx_x86-64/ROOT/v6-20-02-alice3-2/include/TMathBase.h:159:18: error: expected unqualified-id
   { return std::signbit(a);  }
                 ^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/math.h:170:5: note: expanded from macro 'signbit'
    ( sizeof(x) == sizeof(float)  ? __inline_signbitf((float)(x))        \
    ^
In file included from input_line_11:65:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Framework/DataProcessorSpec.h:13:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Framework/AlgorithmSpec.h:13:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Framework/ProcessingContext.h:13:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Framework/InputRecord.h:14:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Framework/DataRefUtils.h:16:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Framework/DataSpecUtils.h:13:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Framework/OutputSpec.h:13:
/Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Headers/DataHeader.h:199:11: warning: array index 5 is past the end of the array (which contains 5 elements) [-Warray-bounds]
         (str[5 + pos] && sizeof(T) >= 8 ? ((T)str[6 + pos] << (sizeof(T) >= 8 ? 48 : 0) |
          ^   ~~~~~~~
/Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Headers/DataHeader.h:397:42: note: in instantiation of function template specialization 'o2::header::String2<unsigned int, 5, 0, false>' requested here
  static constexpr uint32_t sMagicString{String2<uint32_t>("O2O2")};
                                         ^
/Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Headers/DataHeader.h:186:21: note: array 'str' declared here
constexpr T String2(const char (&str)[N])
                    ^
/Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Headers/DataHeader.h:200:11: warning: array index 6 is past the end of the array (which contains 5 elements) [-Warray-bounds]
         (str[6 + pos] && sizeof(T) >= 8 ? ((T)str[7 + pos] << (sizeof(T) >= 8 ? 56 : 0))
          ^   ~~~~~~~
/Users/tokozanimtetwa/alice/sw/osx_x86-64/O2/v1.2.0-1/include/Headers/DataHeader.h:186:21: note: array 'str' declared here
constexpr T String2(const char (&str)[N])
                    ^
In file included from input_line_11:71:
In file included from /Users/tokozanimtetwa/alice/sw/SOURCES/QualityControl/master/0/Framework/include/QualityControl/QcInfoLogger.h:19:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/libInfoLogger/v1.3.9-1/include/InfoLogger/InfoLogger.hxx:24:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/boost/v1.72.0-alice1-1/include/boost/lexical_cast.hpp:32:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/boost/v1.72.0-alice1-1/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/boost/v1.72.0-alice1-1/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/boost/v1.72.0-alice1-1/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/boost/v1.72.0-alice1-1/include/boost/lexical_cast/detail/inf_nan.hpp:34:
/Users/tokozanimtetwa/alice/sw/osx_x86-64/boost/v1.72.0-alice1-1/include/boost/math/special_functions/sign.hpp:30:22: error: no member named 'signbit' in namespace 'std'
        return (std::signbit)(x) ? 1 : 0;
                ~~~~~^
In file included from input_line_11:71:
In file included from /Users/tokozanimtetwa/alice/sw/SOURCES/QualityControl/master/0/Framework/include/QualityControl/QcInfoLogger.h:19:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/libInfoLogger/v1.3.9-1/include/InfoLogger/InfoLogger.hxx:24:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/boost/v1.72.0-alice1-1/include/boost/lexical_cast.hpp:32:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/boost/v1.72.0-alice1-1/include/boost/lexical_cast/try_lexical_convert.hpp:44:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/boost/v1.72.0-alice1-1/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/boost/v1.72.0-alice1-1/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63:
In file included from /Users/tokozanimtetwa/alice/sw/osx_x86-64/boost/v1.72.0-alice1-1/include/boost/lexical_cast/detail/inf_nan.hpp:35:
/Users/tokozanimtetwa/alice/sw/osx_x86-64/boost/v1.72.0-alice1-1/include/boost/math/special_functions/fpclassify.hpp:155:17: error: no member named 'fpclassify' in namespace 'std'
   return (std::fpclassify)(t);
           ~~~~~^
/Users/tokozanimtetwa/alice/sw/osx_x86-64/boost/v1.72.0-alice1-1/include/boost/math/special_functions/fpclassify.hpp:314:22: error: no member named 'isfinite' in namespace 'std'
        return (std::isfinite)(x);
                ~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
Error: /Users/tokozanimtetwa/alice/sw/osx_x86-64/ROOT/v6-20-02-alice3-2/bin/rootcling: compilation failure (/Users/tokozanimtetwa/alice/sw/BUILD/dfb5ed66b5a8764c047d167676128aec27bd266d/QualityControl/Framework/G__QualityControl82d1d827c2_dictUmbrella.h)
Error copying file (if different) from "/Users/tokozanimtetwa/alice/sw/BUILD/dfb5ed66b5a8764c047d167676128aec27bd266d/QualityControl/Framework/G__QualityControl_rdict.pcm" to "/Users/tokozanimtetwa/alice/sw/BUILD/dfb5ed66b5a8764c047d167676128aec27bd266d/QualityControl/lib/G__QualityControl_rdict.pcm".
gmake[2]: *** [Framework/CMakeFiles/QualityControl.dir/build.make:95: Framework/G__QualityControl.cxx] Error 1
gmake[2]: Leaving directory '/Users/tokozanimtetwa/alice/sw/BUILD/dfb5ed66b5a8764c047d167676128aec27bd266d/QualityControl'
gmake[1]: *** [CMakeFiles/Makefile2:1358: Framework/CMakeFiles/QualityControl.dir/all] Error 2
gmake[1]: Leaving directory '/Users/tokozanimtetwa/alice/sw/BUILD/dfb5ed66b5a8764c047d167676128aec27bd266d/QualityControl'
gmake: *** [Makefile:158: all] Error 2

I would like to know what am I doing wrong when building it?

Dear Tokozani,

This is not an error I am familiar with.
Could you tell me how you updated your code (if you did) and what command you exactly issued ?

Thank you,
Barth

I was just rebuilding the whole thing after git pull —rebase qc, so the command used was "aliBuild build O2Suite --defaults o2 "

Assuming you are on Catalina, this error looks a lot like the one in Alibuild O2 failing at Ppconsul
I guess the same solution(s) (install curl from brew and/or remove 10.14 SDK) could be tried ?

Thank you Laurent, indeed it seems to be the same. Tokozani, could you give it a try ?