From dev-return-4423-archive-asf-public=cust-asf.ponee.io@singa.apache.org Mon Mar 9 02:03:35 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 6B909180634 for ; Mon, 9 Mar 2020 03:03:35 +0100 (CET) Received: (qmail 8577 invoked by uid 500); 9 Mar 2020 02:03:34 -0000 Mailing-List: contact dev-help@singa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@singa.apache.org Delivered-To: mailing list dev@singa.apache.org Received: (qmail 8567 invoked by uid 99); 9 Mar 2020 02:03:34 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Mar 2020 02:03:34 +0000 From: GitBox To: dev@singa.apache.org Subject: [GitHub] [singa] chrishkchris removed a comment on issue #623: Some consultations using the conda build in singa/tool/conda/singa Message-ID: <158371941465.15382.12835058838826217996.gitbox@gitbox.apache.org> References: In-Reply-To: Date: Mon, 09 Mar 2020 02:03:34 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit chrishkchris removed a comment on issue #623: Some consultations using the conda build in singa/tool/conda/singa URL: https://github.com/apache/singa/issues/623#issuecomment-596298562 Sorry, I tried my anaconda environment is not okay, and then tried the docker environment in https://github.com/apache/singa/blob/master/tool/conda/docker/cuda10/Dockerfile is still not ok The error message is: ``` root@3c17fd6cb72e:~/dcsysh/singa/tool/conda/singa# export CUDA=10.0 root@3c17fd6cb72e:~/dcsysh/singa/tool/conda/singa# conda-build -c conda-forge . --python 3.6 No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.11 WARNING:conda_build.metadata:No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.11 Copying /root/dcsysh/singa to /root/miniconda/conda-bld/singa_1583682553831/work/ Adding in variants from internal_defaults INFO:conda_build.variants:Adding in variants from internal_defaults Adding in variants from /root/dcsysh/singa/tool/conda/singa/conda_build_config.yaml INFO:conda_build.variants:Adding in variants from /root/dcsysh/singa/tool/conda/singa/conda_build_config.yaml Adding in variants from config.variant INFO:conda_build.variants:Adding in variants from config.variant /root/miniconda/lib/python3.7/site-packages/conda_build/environ.py:427: UserWarning: The environment variable 'CUDA' is being passed through with value '10.0'. If you are splitting build and test phases with --no-test, please ensure that this value is also set similarly at test time. UserWarning Attempting to finalize metadata for singa INFO:conda_build.metadata:Attempting to finalize metadata for singa Collecting package metadata (repodata.json): ...working... done Solving environment: ...working... done Collecting package metadata (repodata.json): ...working... done Solving environment: ...working... done Collecting package metadata (repodata.json): ...working... done Solving environment: ...working... done Collecting package metadata (repodata.json): ...working... done Solving environment: ...working... done Adding .* to spec 'libopenblas 0.3.3' to ensure satisfiability. Please consider putting {{ var_name }}.* or some relational operator (>/=/<=) on this spec in meta.yaml, or if req is also a build req, using {{ pin_compatible() }} jinja2 function instead. See https://conda.io/docs/user-guide/tasks/build-packages/variants.html#pinning-at-the-variant-level WARNING:conda_build.utils:Adding .* to spec 'libopenblas 0.3.3' to ensure satisfiability. Please consider putting {{ var_name }}.* or some relational operator (>/=/<=) on this spec in meta.yaml, or if req is also a build req, using {{ pin_compatible() }} jinja2 function instead. See https://conda.io/docs/user-guide/tasks/build-packages/variants.html#pinning-at-the-variant-level WARNING conda_build.utils:ensure_valid_spec(1749): Adding .* to spec 'libopenblas 0.3.3' to ensure satisfiability. Please consider putting {{ var_name }}.* or some relational operator (>/=/<=) on this spec in meta.yaml, or if req is also a build req, using {{ pin_compatible() }} jinja2 function instead. See https://conda.io/docs/user-guide/tasks/build-packages/variants.html#pinning-at-the-variant-level Adding .* to spec 'libprotobuf 3.6.1' to ensure satisfiability. Please consider putting {{ var_name }}.* or some relational operator (>/=/<=) on this spec in meta.yaml, or if req is also a build req, using {{ pin_compatible() }} jinja2 function instead. See https://conda.io/docs/user-guide/tasks/build-packages/variants.html#pinning-at-the-variant-level WARNING:conda_build.utils:Adding .* to spec 'libprotobuf 3.6.1' to ensure satisfiability. Please consider putting {{ var_name }}.* or some relational operator (>/=/<=) on this spec in meta.yaml, or if req is also a build req, using {{ pin_compatible() }} jinja2 function instead. See https://conda.io/docs/user-guide/tasks/build-packages/variants.html#pinning-at-the-variant-level WARNING conda_build.utils:ensure_valid_spec(1749): Adding .* to spec 'libprotobuf 3.6.1' to ensure satisfiability. Please consider putting {{ var_name }}.* or some relational operator (>/=/<=) on this spec in meta.yaml, or if req is also a build req, using {{ pin_compatible() }} jinja2 function instead. See https://conda.io/docs/user-guide/tasks/build-packages/variants.html#pinning-at-the-variant-level BUILD START: ['singa-2.1.0.dev-cudnn7.3.1_cuda10.0_py36.tar.bz2'] Collecting package metadata (repodata.json): ...working... done Solving environment: ...working... done ## Package Plan ## environment location: /root/miniconda/conda-bld/singa_1583682553831/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl The following NEW packages will be INSTALLED: _libgcc_mutex: 0.1-conda_forge conda-forge _openmp_mutex: 4.5-0_gnu conda-forge blas: 1.1-openblas conda-forge ca-certificates: 2019.11.28-hecc5488_0 conda-forge certifi: 2019.11.28-py36_0 conda-forge cudatoolkit: 10.0.130-0 cudnn: 7.3.1-cuda10.0_0 glog: 0.3.5-hf484d3e_1001 conda-forge intel-openmp: 2018.0.3-0 ld_impl_linux-64: 2.33.1-h53a641e_8 conda-forge libffi: 3.2.1-he1b5a44_1006 conda-forge libgcc-ng: 9.2.0-h24d8f2e_2 conda-forge libgfortran-ng: 7.3.0-hdf63c60_5 conda-forge libgomp: 9.2.0-h24d8f2e_2 conda-forge libmklml: 2018.0.3-0 libprotobuf: 3.6.1-hdbcaa40_1001 conda-forge libstdcxx-ng: 9.2.0-hdf63c60_2 conda-forge mkl-dnn: 0.14-h6bb024c_0 ncurses: 6.1-hf484d3e_1002 conda-forge numpy: 1.16.0-py36_blas_openblash1522bff_1000 conda-forge [blas_openblas] openblas: 0.3.3-h9ac9557_1001 conda-forge openssl: 1.1.1d-h516909a_0 conda-forge pcre: 8.44-he1b5a44_0 conda-forge pip: 20.0.2-py_2 conda-forge protobuf: 3.6.1-py36hf484d3e_1001 conda-forge python: 3.6.10-h9d8adfe_1009_cpython conda-forge python_abi: 3.6-1_cp36m conda-forge readline: 8.0-hf8c457e_0 conda-forge setuptools: 45.3.0-py36_0 conda-forge six: 1.14.0-py36_0 conda-forge sqlite: 3.30.1-hcee41ef_0 conda-forge swig: 3.0.12-hf484d3e_1003 conda-forge tk: 8.6.10-hed695b0_0 conda-forge wheel: 0.34.2-py_1 conda-forge xz: 5.2.4-h14c3975_1001 conda-forge zlib: 1.2.11-h516909a_1006 conda-forge Preparing transaction: ...working... done Verifying transaction: ...working... done Executing transaction: ...working... done Collecting package metadata (repodata.json): ...working... done Solving environment: ...working... done Collecting package metadata (repodata.json): ...working... done Solving environment: ...working... done ## Package Plan ## environment location: /root/miniconda/conda-bld/singa_1583682553831/_build_env The following NEW packages will be INSTALLED: _libgcc_mutex: 0.1-conda_forge conda-forge _openmp_mutex: 4.5-0_gnu conda-forge binutils_impl_linux-64: 2.28.1-had2808c_3 binutils_linux-64: 5.4.0-had2808c_24 bzip2: 1.0.8-h516909a_2 conda-forge ca-certificates: 2019.11.28-hecc5488_0 conda-forge cmake: 3.16.4-h28c56e5_0 conda-forge expat: 2.2.9-he1b5a44_2 conda-forge gcc_impl_linux-64: 5.4.0-habb00fd_3 gcc_linux-64: 5.4.0-h98af8de_24 gxx_impl_linux-64: 5.4.0-hdf63c60_3 gxx_linux-64: 5.4.0-h98af8de_24 krb5: 1.16.4-h2fd8d38_0 conda-forge libcurl: 7.68.0-hda55be3_0 conda-forge libedit: 3.1.20170329-hf8c457e_1001 conda-forge libgcc-ng: 9.2.0-h24d8f2e_2 conda-forge libgomp: 9.2.0-h24d8f2e_2 conda-forge libssh2: 1.8.2-h22169c7_2 conda-forge libstdcxx-ng: 9.2.0-hdf63c60_2 conda-forge libuv: 1.34.0-h516909a_0 conda-forge make: 4.3-h516909a_0 conda-forge ncurses: 6.1-hf484d3e_1002 conda-forge openssl: 1.1.1d-h516909a_0 conda-forge rhash: 1.3.6-h14c3975_1001 conda-forge tk: 8.6.10-hed695b0_0 conda-forge xz: 5.2.4-h14c3975_1001 conda-forge zlib: 1.2.11-h516909a_1006 conda-forge Preparing transaction: ...working... done Verifying transaction: ...working... done Executing transaction: ...working... done source tree in: /root/miniconda/conda-bld/singa_1583682553831/work export PREFIX=/root/miniconda/conda-bld/singa_1583682553831/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl export BUILD_PREFIX=/root/miniconda/conda-bld/singa_1583682553831/_build_env export SRC_DIR=/root/miniconda/conda-bld/singa_1583682553831/work INFO: activate-binutils_linux-64.sh made the following environmental changes: +ADDR2LINE=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-addr2line +AR=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-ar +AS=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-as +CXXFILT=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-c++filt +ELFEDIT=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-elfedit +GPROF=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-gprof +HOST=x86_64-conda_cos6-linux-gnu +LD=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-ld +LD_GOLD=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-ld.gold +NM=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-nm +OBJCOPY=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-objcopy +OBJDUMP=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-objdump +RANLIB=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-ranlib +READELF=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-readelf +SIZE=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-size +STRINGS=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-strings +STRIP=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-strip INFO: activate-gcc_linux-64.sh made the following environmental changes: +CC=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-cc +CFLAGS=-march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -I$PREFIX/include -fdebug-prefix-map=${SRC_DIR}=/usr/local/src/conda/${PKG_NAME}-${PKG_VERSION} -fdebug-prefix-map=${PREFIX}=/usr/local/src/conda-prefix +CPP=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-cpp +CPPFLAGS=-DNDEBUG -D_FORTIFY_SOURCE=2 -O2 +DEBUG_CFLAGS=-march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-all -Og -g -Wall -Wextra -fvar-tracking-assignments -pipe -I$PREFIX/include -fdebug-prefix-map=${SRC_DIR}=/usr/local/src/conda/${PKG_NAME}-${PKG_VERSION} -fdebug-prefix-map=${PREFIX}=/usr/local/src/conda-prefix +DEBUG_CPPFLAGS=-D_DEBUG -D_FORTIFY_SOURCE=2 -Og +GCC=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-gcc +GCC_AR=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-gcc-ar +GCC_NM=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-gcc-nm +GCC_RANLIB=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-gcc-ranlib +LDFLAGS=-Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-rpath,$PREFIX/lib -L$PREFIX/lib +_PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_x86_64_conda_cos6_linux_gnu INFO: activate-gxx_linux-64.sh made the following environmental changes: +CXX=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-c++ +CXXFLAGS=-fvisibility-inlines-hidden -std=c++11 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -I$PREFIX/include -fdebug-prefix-map=${SRC_DIR}=/usr/local/src/conda/${PKG_NAME}-${PKG_VERSION} -fdebug-prefix-map=${PREFIX}=/usr/local/src/conda-prefix +DEBUG_CXXFLAGS=-fvisibility-inlines-hidden -std=c++11 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-all -Og -g -Wall -Wextra -fvar-tracking-assignments -pipe -I$PREFIX/include -fdebug-prefix-map=${SRC_DIR}=/usr/local/src/conda/${PKG_NAME}-${PKG_VERSION} -fdebug-prefix-map=${PREFIX}=/usr/local/src/conda-prefix +GXX=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-g++ mkdir: cannot create directory 'build': File exists Traceback (most recent call last): File "/root/miniconda/bin/conda-build", line 11, in sys.exit(main()) File "/root/miniconda/lib/python3.7/site-packages/conda_build/cli/main_build.py", line 469, in main execute(sys.argv[1:]) File "/root/miniconda/lib/python3.7/site-packages/conda_build/cli/main_build.py", line 460, in execute verify=args.verify, variants=args.variants) File "/root/miniconda/lib/python3.7/site-packages/conda_build/api.py", line 209, in build notest=notest, need_source_download=need_source_download, variants=variants) File "/root/miniconda/lib/python3.7/site-packages/conda_build/build.py", line 2344, in build_tree notest=notest, File "/root/miniconda/lib/python3.7/site-packages/conda_build/build.py", line 1492, in build cwd=src_dir, stats=build_stats) File "/root/miniconda/lib/python3.7/site-packages/conda_build/utils.py", line 398, in check_call_env return _func_defaulting_env_to_os_environ('call', *popenargs, **kwargs) File "/root/miniconda/lib/python3.7/site-packages/conda_build/utils.py", line 378, in _func_defaulting_env_to_os_environ raise subprocess.CalledProcessError(proc.returncode, _args) subprocess.CalledProcessError: Command '['/bin/bash', '-o', 'errexit', '/root/miniconda/conda-bld/singa_1583682553831/work/conda_build.sh']' returned non-zero exit status 1. ``` ---------------------------------------------------------------- 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: users@infra.apache.org With regards, Apache Git Services