alopez1327 commented on issue #16753: fail to build using docker
URL: 
https://github.com/apache/incubator-mxnet/issues/16753#issuecomment-551216461
 
 
   Tried to fix the error by adding:
   _apt update && apt-key update && apt install -y --no-install-recommends_
   
   to deb.ubuntu.ccache.sh before autoconf is installed. That sort of worked 
but now it seems that asciidoc was not installed because:
   
   /usr/bin/gcc -std=gnu99 -g -O2 -Wall -W -Werror -o ccache src/main.o 
src/args.o src/ccache.o src/cleanup.o src/compopt.o src/conf.o src/counters.o 
src/execute.o src/exitfn.o src/hash.o src/hashutil.o src/language.o 
src/lockfile.o src/manifest.o src/mdfour.o src/stats.o src/unify.o src/util.o 
src/version.o src/getopt_long.o src/hashtable.o src/hashtable_itr.o 
src/murmurhashneutral2.o src/snprintf.o   -lm  -lz
   + make install
   asciidoc -a revnumber=3.4.2 -d manpage -b docbook -o - doc/MANUAL.adoc | \
     perl -pe 's!<literal>(.*?)</literal>!<emphasis 
role="strong">\1</emphasis>!g' >doc/MANUAL.xml
   **/bin/sh: 1: asciidoc: not found**
   a2x --doctype manpage --format manpage doc/MANUAL.xml
   make: **a2x: Command not found**
   dev.mk:175: recipe for target 'doc/ccache.1' failed
   make: *** [doc/ccache.1] Error 127
   The command '/bin/sh -c /work/deb_ubuntu_ccache.sh' returned a non-zero 
code: 2
   Traceback (most recent call last):
     File "ci/build.py", line 454, in <module>
       sys.exit(main())
     File "ci/build.py", line 364, in main
       num_retries=args.docker_build_retries, no_cache=args.no_cache)
     File "ci/build.py", line 116, in build_docker
       run_cmd()
     File "/Volumes/External/mxnet/ci/util.py", line 81, in f_retry
       return f(*args, **kwargs)
     File "ci/build.py", line 114, in run_cmd
       check_call(cmd)
     File 
"/usr/local/Cellar/python/3.7.5/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py",
 line 363, in check_call
       raise CalledProcessError(retcode, cmd)
   subprocess.CalledProcessError: Command '['docker', 'build', '-f', 
'docker/Dockerfile.build.armv7', '--build-arg', 'USER_ID=501', '--build-arg', 
'GROUP_ID=20', '--cache-from', 'mxnetci/build.armv7', '-t', 
'mxnetci/build.armv7', 'docker']' returned non-zero exit status 2.
   (docker) alopez@Catalyst-RD>

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to