alopez1327 opened a new issue #16753: fail to build using docker
URL: https://github.com/apache/incubator-mxnet/issues/16753
 
 
   ## Description
   Tried building library using docker through the command: _python3 
ci/build.py -p armv7_ but compilation failed because it seems docker is pulling 
some binaries from and old repository (jessie). Tried running the same code 
with --force-yes with the same result.
   
   Also tried to compile directly on Raspberry pi, but it fails because of 
insufficient VM, even after I increased it to 4096M. I'll move to 
cross-compilation next.
   
   ### Error Message
   WARNING: The following packages cannot be authenticated!
     autoconf
   E: There are problems and -y was used without --force-yes
   The command '/bin/sh -c /work/deb_ubuntu_ccache.sh' returned a non-zero 
code: 100
   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 100.
   
   ## To Reproduce
   Just run python3 ci/build.py -p armv7
   
   ### Steps to reproduce
   (Paste the commands you ran that produced the error.)
   
   1. Just run python3 ci/build.py -p armv7
   
   ## What have you tried to solve it?
   
   1. Added --force-yes when installing autoconf
   2. Added https package just in case authentication was due to https site
   3. Realized that autoconf may not be available because jessie distribution 
may be too old?
   
   ## Environment
   
   We recommend using our script for collecting the diagnositc information. Run 
the following command and paste the outputs below:
   ```
   curl --retry 10 -s 
https://raw.githubusercontent.com/dmlc/gluon-nlp/master/tools/diagnose.py | 
python
   
   # paste outputs here
   ```
   ----------Python Info----------
   Version      : 3.7.5
   Compiler     : Clang 11.0.0 (clang-1100.0.33.12)
   Build        : ('default', 'Nov  2 2019 10:02:20')
   Arch         : ('64bit', '')
   ------------Pip Info-----------
   Version      : 19.3.1
   Directory    : /Volumes/External/pyenv/tvmenv/lib/python3.7/site-packages/pip
   ----------MXNet Info-----------
   Version      : 1.4.1
   Directory    : 
/Volumes/External/pyenv/tvmenv/lib/python3.7/site-packages/mxnet
   An error occured trying to import mxnet.
   This is very likely due to missing missing or incompatible library files.
   Traceback (most recent call last):
     File "<stdin>", line 122, in check_mxnet
   AttributeError: module 'mxnet.util' has no attribute 'get_gpu_count'
   
   ----------System Info----------
   Platform     : Darwin-19.0.0-x86_64-i386-64bit
   system       : Darwin
   node         : Catalyst-RD.local
   release      : 19.0.0
   version      : Darwin Kernel Version 19.0.0: Thu Oct 17 16:17:15 PDT 2019; 
root:xnu-6153.41.3~29/RELEASE_X86_64
   ----------Hardware Info----------
   machine      : x86_64
   processor    : i386
   b'machdep.cpu.brand_string: Intel(R) Core(TM) i7-4850HQ CPU @ 2.30GHz'
   b'machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE 
MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 PCLMULQDQ 
DTES64 MON DSCPL VMX SMX EST TM2 SSSE3 FMA CX16 TPR PDCM SSE4.1 SSE4.2 x2APIC 
MOVBE POPCNT AES PCID XSAVE OSXSAVE SEGLIM64 TSCTMR AVX1.0 RDRAND F16C'
   b'machdep.cpu.leaf7_features: RDWRFSGS TSC_THREAD_OFFSET BMI1 AVX2 SMEP BMI2 
ERMS INVPCID FPU_CSDS MDCLEAR IBRS STIBP L1DF SSBD'
   b'machdep.cpu.extfeatures: SYSCALL XD 1GBPAGE EM64T LAHF LZCNT RDTSCP TSCI'
   ----------Network Test----------
   Setting timeout: 10
   Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0310 
sec, LOAD: 0.4920 sec.
   Timing for GluonNLP GitHub: https://github.com/dmlc/gluon-nlp, DNS: 0.0005 
sec, LOAD: 0.5698 sec.
   Timing for GluonNLP: http://gluon-nlp.mxnet.io, DNS: 0.0007 sec, LOAD: 
0.0289 sec.
   Timing for D2L: http://d2l.ai, DNS: 0.0008 sec, LOAD: 0.3076 sec.
   Timing for D2L (zh-cn): http://zh.d2l.ai, DNS: 0.0006 sec, LOAD: 0.1726 sec.
   Timing for FashionMNIST: 
https://repo.mxnet.io/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, 
DNS: 0.0007 sec, LOAD: 0.3055 sec.
   Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0089 sec, LOAD: 
1.1580 sec.
   Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.0005 sec, 
LOAD: 0.1895 sec.

----------------------------------------------------------------
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