docker run -it --pull always -e SHELL -u root --cpus=64 --security-opt seccomp:unconfined -v /build:/build -v /ec/conf:/ec/conf -v /cvmfs:/cvmfs --network host gitlab-registry.cern.ch/sft/docker/alma9
mkdir /build/nlanggut/bitsPlayground1 && cd /build/nlanggut/bitsPlayground1
export PATH=/build/nlanggut/bitsPlayground1/bits/:$PATH
yum install -y bison flex python-yaml python-requests python-jinja2
git clone https://github.com/bitsorg/bits.git
git clone https://github.com/bitsorg/lcg.bits.git
cd lcg.bits
git submodule update --recursive --init
bits deps boost --outgraph graph.pdf
[root@lcgapp-alma9-physical lcg.bits]# bits deps boost --outgraph graph.pdf
ERROR: Default `alidist/ml.bits/defaults-release.sh' does not exists.
ERROR:
Traceback (most recent call last):
File "/build/nlanggut/bitsPlayground1/bits/bitsBuild", line 133, in <module>
doMain(args, parser)
File "/build/nlanggut/bitsPlayground1/bits/bitsBuild", line 70, in doMain
sys.exit(0 if doDeps(args, parser) else 1)
File "/build/nlanggut/bitsPlayground1/bits/bits_helpers/deps.py", line 18, in doDeps
(err, overrides, taps) = parseDefaults(args.disable, defaultsReader, debug)
File "/build/nlanggut/bitsPlayground1/bits/bits_helpers/utilities.py", line 556, in parseDefaults
defaultsMeta, defaultsBody = defaultsGetter()
File "/build/nlanggut/bitsPlayground1/bits/bits_helpers/deps.py", line 17, in <lambda>
defaultsReader = lambda: readDefaults(args.configDir, args.defaults, parser.error, args.architecture)
File "/build/nlanggut/bitsPlayground1/bits/bits_helpers/utilities.py", line 365, in readDefaults
if exists(xDefaults):
File "/usr/lib64/python3.9/genericpath.py", line 19, in exists
os.stat(path)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
This documents the creation of a build dependency graph. Creating a dependency graph is not possible in repos other than alidist at the moment, because bits is hardcoded to read defaults-release.sh in alidist.
To reproduce the error I got, do:
The error I got: