-
Type: Bug
-
Resolution: Cannot Reproduce
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Build
-
Labels:None
-
ALL
-
Dev Tools 2019-09-23
Running a command like the following on Ubuntu 18:
python buildscripts/scons.py --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars --link-model=static --allocator=system MONGO_VERSION='0.0.0' MONGO_GIT_HASH='unknown' --ssl --dbg --enable-free-mon=off VARIANT_DIR=ninja --icecream ~/mongo.linux/build.ninja mongod
Yields this unhelpful error:
scons: *** [build/ninja/mongo/util/libclock_sources.so] AttributeError `'str' object has no attribute 'append'' trying to evaluate `${TE MPFILE('$SHLINK -o $TARGET $SHLINKFLAGS $__SHLIBVERSIONFLAGS $__RPATH $SOURCES $_LIBDIRFLAGS $_LIBFLAGS', 'SHLINKCOMSTR')}' Failed on node: build/ninja/mongo/util/boost_assert_shim.os
Switching to --link-model=dynamic or --link-model=object fixes the issue. I haven't investigated further, I'm using "object" for now.