Skip to content

Install source to docker Failed  #1828

@fengmao31

Description

@fengmao31

canan is installed in ./installUbuntuDeps.sh
but it still has problem in the next steps.

Step 15/23 : RUN ./installErizo.sh -dfEAcs &&     ./../nuve/installNuve.sh &&     ./installBasicExample.sh
 ---> Running in 429d111d5b5a
Compiling using 2 threads
Installing erizo...
Exporting package recipe
IncludePathsGenerator/0.1@lynckia/includes: A new conanfile.py version was exported
IncludePathsGenerator/0.1@lynckia/includes: Folder: /root/.conan/data/IncludePathsGenerator/0.1/lynckia/includes/export
IncludePathsGenerator/0.1@lynckia/includes: Exported revision: 94464cd966699e7072aa31f13183f203
WARN: Remotes registry file missing, creating default one in /root/.conan/remotes.json
[HOOK - attribute_checker.py] pre_export(): WARN: Conanfile doesn't have 'description'. It is recommended to add it as attribute
Auto detecting your dev setup to initialize the default profile (/root/.conan/profiles/default)
Found gcc 10
gcc>=5, using the major as version

************************* WARNING: GCC OLD ABI COMPATIBILITY ***********************
 
Conan detected a GCC version > 5 but has adjusted the 'compiler.libcxx' setting to
'libstdc++' for backwards compatibility.
Your compiler is likely using the new CXX11 ABI by default (libstdc++11).

If you want Conan to use the new ABI for the default profile, run:

    $ conan profile update settings.compiler.libcxx=libstdc++11 default

Or edit '/root/.conan/profiles/default' and set compiler.libcxx=libstdc++11

************************************************************************************



Default settings
	os=Linux
	os_build=Linux
	arch=x86_64
	arch_build=x86_64
	compiler=gcc
	compiler.version=10
	compiler.libcxx=libstdc++
	build_type=Release
*** You can change them in /root/.conan/profiles/default ***
*** Or override with -s compiler='other' -s ...s***


Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=10
os=Linux
os_build=Linux
[options]
[build_requires]
[env]

boost/1.76.0: Not found in local cache, looking in remotes...
boost/1.76.0: Trying with 'conancenter'...
Downloading conanmanifest.txt
Downloading conanfile.py
Downloading conan_export.tgz
boost/1.76.0: Downloaded recipe revision 0
zlib/1.2.12: Not found in local cache, looking in remotes...
zlib/1.2.12: Trying with 'conancenter'...
Downloading conanmanifest.txt
Downloading conanfile.py
Downloading conan_export.tgz
zlib/1.2.12: Downloaded recipe revision 0
bzip2/1.0.8: Not found in local cache, looking in remotes...
bzip2/1.0.8: Trying with 'conancenter'...
Downloading conanmanifest.txt
Downloading conanfile.py
Downloading conan_export.tgz
bzip2/1.0.8: Downloaded recipe revision 0
libbacktrace/cci.20210118: Not found in local cache, looking in remotes...
libbacktrace/cci.20210118: Trying with 'conancenter'...
Downloading conanmanifest.txt
Downloading conanfile.py
Downloading conan_export.tgz
libbacktrace/cci.20210118: Downloaded recipe revision 0
apr/1.7.0: Not found in local cache, looking in remotes...
apr/1.7.0: Trying with 'conancenter'...
Downloading conanmanifest.txt
Downloading conanfile.py
Downloading conan_export.tgz
apr/1.7.0: Downloaded recipe revision 0
apr-util/1.6.1: Not found in local cache, looking in remotes...
apr-util/1.6.1: Trying with 'conancenter'...
Downloading conanmanifest.txt
Downloading conanfile.py
Downloading conan_export.tgz
apr-util/1.6.1: Downloaded recipe revision 0
libiconv/1.16: Not found in local cache, looking in remotes...
libiconv/1.16: Trying with 'conancenter'...
Downloading conanmanifest.txt
Downloading conanfile.py
Downloading conan_export.tgz
libiconv/1.16: Downloaded recipe revision 0
expat/2.4.1: Not found in local cache, looking in remotes...
expat/2.4.1: Trying with 'conancenter'...
Downloading conanmanifest.txt
Downloading conanfile.py
Downloading conan_export.tgz
expat/2.4.1: Downloaded recipe revision 0
ERROR: expat/2.4.1: Cannot load recipe.
Error loading conanfile at '/root/.conan/data/expat/2.4.1/_/_/export/conanfile.py': Unable to load conanfile in /root/.conan/data/expat/2.4.1/_/_/export/conanfile.py
  File "/usr/lib/python3.8/imp.py", line 171, in load_source
    module = _load(spec)
  File "<frozen importlib._bootstrap>", line 702, in _load
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 848, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/root/.conan/data/expat/2.4.1/_/_/export/conanfile.py", line 3, in <module>
    from conan.tools.files import apply_conandata_patches, collect_libs, copy, rmdir
ImportError: cannot import name 'rmdir' from 'conan.tools.files' (/usr/local/lib/python3.8/dist-packages/conan/tools/files/__init__.py)

The command '/bin/sh -c ./installErizo.sh -dfEAcs &&     ./../nuve/installNuve.sh &&     ./installBasicExample.sh' returned a non-zero code: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions