Building O2 fails at Autotools v1.5.0

I am new to using O2, I am trying to compile and it keeps failing at autotools with

DEBUG:O2:autotools:0: + [[ /root/alice/sw/TARS/slc7_x86-64/store/5c/5c202de6a96c13bc01d350d51d7200b25fa46f27/autotools-v1.5.0-2.slc7_x86-64.tar.gz == ‘’ ]]
DEBUG:O2:autotools:0: + rm -rf /root/alice/sw/BUILD/5c202de6a96c13bc01d350d51d7200b25fa46f27/log
DEBUG:O2:autotools:0: + mkdir -p /root/alice/sw/TMP/5c202de6a96c13bc01d350d51d7200b25fa46f27
DEBUG:O2:autotools:0: + gzip -dc /root/alice/sw/TARS/slc7_x86-64/store/5c/5c202de6a96c13bc01d350d51d7200b25fa46f27/autotools-v1.5.0-2.slc7_x86-64.tar.gz
DEBUG:O2:autotools:0: + tar --ignore-failed-read -C /root/alice/sw/TMP/5c202de6a96c13bc01d350d51d7200b25fa46f27 -x
DEBUG:O2:autotools:0:
DEBUG:O2:autotools:0: gzip: /root/alice/sw/TARS/slc7_x86-64/store/5c/5c202de6a96c13bc01d350d51d7200b25fa46f27/autotools-v1.5.0-2.slc7_x86-64.tar.gz: unexpected end of file
DEBUG:O2:autotools:0: tar: Unexpected EOF in archive
DEBUG:O2:autotools:0: tar: Unexpected EOF in archive
DEBUG:O2:autotools:0: tar: Error is not recoverable: exiting now
DEBUG:O2:autotools:0:
ERROR:O2:autotools:0: Error while executing /root/alice/sw/SPECS/slc7_x86-64/autotools/v1.5.0-2/build.sh

Thanks for any help,
Tokozani

Can you try removing /root/alice/sw/TARS/slc7_x86-64/store/5c/5c202de6a96c13bc01d350d51d7200b25fa46f27/autotools-v1.5.0-2.slc7_x86-64.tar.gz

and try again? BTW, I would avoid building as root.

hello Tokazani,
I also got an ERROR while building autotools.
It looks different from yours however I ask you please : could you find a solution for your problem? If yes, maybe it can help me also…
Gianluigi Boca

Hi all
I am new to O2 and trying to build it on my laptop, I already have Aliroot build on it. I am getting the following error
2020-12-22@14:20:21:DEBUG:O2:autotools:0: ++ make -j 4
2020-12-22@14:20:21:DEBUG:O2:autotools:0: GEN bin/automake
2020-12-22@14:20:21:DEBUG:O2:autotools:0: GEN bin/aclocal
2020-12-22@14:20:21:DEBUG:O2:autotools:0: GEN t/ax/shell-no-trail-bslash
2020-12-22@14:20:21:DEBUG:O2:autotools:0: GEN t/ax/cc-no-c-o
2020-12-22@14:20:21:DEBUG:O2:autotools:0: GEN runtest
2020-12-22@14:20:21:DEBUG:O2:autotools:0: GEN doc/aclocal.1
2020-12-22@14:20:21:DEBUG:O2:autotools:0: GEN doc/automake.1
2020-12-22@14:20:21:DEBUG:O2:autotools:0: GEN lib/Automake/Config.pm
2020-12-22@14:20:21:DEBUG:O2:autotools:0: GEN t/ax/test-defs.sh
2020-12-22@14:20:21:DEBUG:O2:autotools:0: GEN doc/automake-1.15.1
2020-12-22@14:20:21:DEBUG:O2:autotools:0: GEN doc/aclocal-1.15.1
2020-12-22@14:20:21:DEBUG:O2:autotools:0: help2man: can’t get --help' info from automake-1.15 2020-12-22@14:20:21:DEBUG:O2:autotools:0: Try –no-discard-stderr’ if option outputs to stderr
2020-12-22@14:20:21:DEBUG:O2:autotools:0: Makefile:3687: recipe for target ‘doc/automake-1.15.1’ failed
2020-12-22@14:20:21:DEBUG:O2:autotools:0: make: *** [doc/automake-1.15.1] Error 255
2020-12-22@14:20:21:DEBUG:O2:autotools:0: make: *** Waiting for unfinished jobs…
2020-12-22@14:20:21:ERROR:O2:autotools:0: Error while executing /home/vivek/alice/sw/SPECS/ubuntu1804_x86-64/autotools/v1.5.0-1/build.sh on `vivek’.
2020-12-22@14:20:21:ERROR:O2:autotools:0: Log can be found in /home/vivek/alice/sw/BUILD/autotools-latest/log
2020-12-22@14:20:21:ERROR:O2:autotools:0: Please upload it to CERNBox/Dropbox if you intend to request support.
2020-12-22@14:20:21:ERROR:O2:autotools:0: Build directory is /home/vivek/alice/sw/BUILD/autotools-latest/autotools.

How do I proceed?

Thanks in advance
Vivek