Thank you for your response Bartek. The issue is solved thanks to your advice.
However, I keep facing another error after running './build/package.py 
https://gerrit.onap.org/r/oom --application-repository_reference guilin 
--output-dir /tmp/packages --resources-directory /tmp/resources' command. I 
went through all pre-requisite steps and was successful. I tried to build 
package for both of 'frankfurt' and 'guilin' but both are failing for the same 
reason.
I attach the error message because it is too long.


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#23061): https://lists.onap.org/g/onap-discuss/message/23061
Mute This Topic: https://lists.onap.org/mt/81360759/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


[root@master-node onap-offline]# ./build/package.py 
https://gerrit.onap.org/r/oom --application-repository_reference guilin 
--output-dir /tmp/packages --resources-directory /tmp/resources
Cloning https://gerrit.onap.org/r/oom with refspec guilin
No patch file provided, skipping patching
Generating package.info file
Building offline installer
Sending build context to Docker daemon  25.09kB
Step 1/10 : FROM alpine:3.8
 ---> c8bccc0af957
Step 2/10 : ARG ansible_version=2.7.8
 ---> Using cache
 ---> d2a16584c0ff
Step 3/10 : LABEL ansible_version=$ansible_version vendor=Samsung
 ---> Using cache
 ---> dd2b7a5df700
Step 4/10 : RUN apk --no-cache update && apk --no-cache --update add --virtual 
build-dependencies   gcc   make   musl-dev   libffi-dev   openssl-dev   
python3-dev && apk add --no-cache   python3   py3-pip   openssh-client   
openssl   py3-openssl   openssh   sshpass && pip3 install --upgrade pip && pip3 
install   ansible==$ansible_version   jmespath   netaddr   jsonpointer && apk 
del build-dependencies && rm -rf /var/cache/apk/* && rm -rf /root/.cache
 ---> Running in 2bb1c3b0e6f9
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
v3.8.5-66-gccbd6a8ae7 [http://dl-cdn.alpinelinux.org/alpine/v3.8/main]
v3.8.5-66-gccbd6a8ae7 [http://dl-cdn.alpinelinux.org/alpine/v3.8/community]
OK: 9563 distinct packages available
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
(1/31) Installing binutils (2.30-r6)
(2/31) Installing gmp (6.1.2-r1)
(3/31) Installing isl (0.18-r0)
(4/31) Installing libgomp (6.4.0-r9)
(5/31) Installing libatomic (6.4.0-r9)
(6/31) Installing pkgconf (1.5.3-r0)
(7/31) Installing libgcc (6.4.0-r9)
(8/31) Installing mpfr3 (3.1.5-r1)
(9/31) Installing mpc1 (1.0.3-r1)
(10/31) Installing libstdc++ (6.4.0-r9)
(11/31) Installing gcc (6.4.0-r9)
(12/31) Installing make (4.2.1-r2)
(13/31) Installing musl-dev (1.1.19-r11)
(14/31) Installing libffi (3.2.1-r4)
(15/31) Installing libffi-dev (3.2.1-r4)
(16/31) Installing zlib-dev (1.2.11-r1)
(17/31) Installing libcrypto1.0 (1.0.2u-r0)
(18/31) Installing libssl1.0 (1.0.2u-r0)
(19/31) Installing openssl-dev (1.0.2u-r0)
(20/31) Installing libbz2 (1.0.6-r7)
(21/31) Installing expat (2.2.8-r0)
(22/31) Installing gdbm (1.13-r1)
(23/31) Installing xz-libs (5.2.4-r0)
(24/31) Installing ncurses-terminfo-base (6.1_p20180818-r1)
(25/31) Installing ncurses-terminfo (6.1_p20180818-r1)
(26/31) Installing ncurses-libs (6.1_p20180818-r1)
(27/31) Installing readline (7.0.003-r0)
(28/31) Installing sqlite-libs (3.25.3-r4)
(29/31) Installing python3 (3.6.9-r1)
(30/31) Installing python3-dev (3.6.9-r1)
(31/31) Installing build-dependencies (0)
Executing busybox-1.28.4-r3.trigger
OK: 210 MiB in 44 packages
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/main/x86_64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.8/community/x86_64/APKINDEX.tar.gz
(1/15) Installing openssh-keygen (7.7_p1-r4)
(2/15) Installing openssh-client (7.7_p1-r4)
(3/15) Installing openssh-sftp-server (7.7_p1-r4)
(4/15) Installing openssh-server-common (7.7_p1-r4)
(5/15) Installing openssh-server (7.7_p1-r4)
(6/15) Installing openssh (7.7_p1-r4)
(7/15) Installing openssl (1.0.2u-r0)
(8/15) Installing py3-cparser (2.18-r0)
(9/15) Installing py3-cffi (1.10.0-r0)
(10/15) Installing py3-idna (2.7-r0)
(11/15) Installing py3-asn1crypto (0.24.0-r0)
(12/15) Installing py3-six (1.12.0-r0)
(13/15) Installing py3-cryptography (2.1.4-r1)
(14/15) Installing py3-openssl (17.5.0-r0)
(15/15) Installing sshpass (1.06-r0)
Executing busybox-1.28.4-r3.trigger
OK: 221 MiB in 59 packages
Collecting pip
  Downloading 
https://files.pythonhosted.org/packages/fe/ef/60d7ba03b5c442309ef42e7d69959f73aacccd0d86008362a681c4698e83/pip-21.0.1-py3-none-any.whl
 (1.5MB)
Installing collected packages: pip
  Found existing installation: pip 18.1
    Uninstalling pip-18.1:
      Successfully uninstalled pip-18.1
Successfully installed pip-21.0.1
Collecting ansible==2.7.8
  Downloading ansible-2.7.8.tar.gz (11.8 MB)
Collecting jmespath
  Downloading jmespath-0.10.0-py2.py3-none-any.whl (24 kB)
Collecting netaddr
  Downloading netaddr-0.8.0-py2.py3-none-any.whl (1.9 MB)
Collecting jsonpointer
  Downloading jsonpointer-2.1-py2.py3-none-any.whl (7.4 kB)
Collecting jinja2
  Downloading Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
Collecting PyYAML
  Downloading PyYAML-5.4.1.tar.gz (175 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
    Preparing wheel metadata: started
    Preparing wheel metadata: finished with status 'done'
Collecting paramiko
  Downloading paramiko-2.7.2-py2.py3-none-any.whl (206 kB)
Requirement already satisfied: cryptography in /usr/lib/python3.6/site-packages 
(from ansible==2.7.8) (2.1.4)
Requirement already satisfied: setuptools in /usr/lib/python3.6/site-packages 
(from ansible==2.7.8) (40.6.2)
Collecting importlib-resources
  Downloading importlib_resources-5.1.2-py3-none-any.whl (25 kB)
Requirement already satisfied: idna>=2.1 in /usr/lib/python3.6/site-packages 
(from cryptography->ansible==2.7.8) (2.7)
Requirement already satisfied: asn1crypto>=0.21.0 in 
/usr/lib/python3.6/site-packages (from cryptography->ansible==2.7.8) (0.24.0)
Requirement already satisfied: six>=1.4.1 in /usr/lib/python3.6/site-packages 
(from cryptography->ansible==2.7.8) (1.12.0)
Requirement already satisfied: cffi>=1.7 in /usr/lib/python3.6/site-packages 
(from cryptography->ansible==2.7.8) (1.10.0)
Requirement already satisfied: pycparser in /usr/lib/python3.6/site-packages 
(from cffi>=1.7->cryptography->ansible==2.7.8) (2.18)
Collecting zipp>=0.4
  Downloading zipp-3.4.1-py3-none-any.whl (5.2 kB)
Collecting MarkupSafe>=0.23
  Downloading MarkupSafe-1.1.1.tar.gz (19 kB)
Collecting cryptography
  Downloading cryptography-3.4.6.tar.gz (546 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
    Preparing wheel metadata: started
    Preparing wheel metadata: finished with status 'done'
Collecting bcrypt>=3.1.3
  Downloading bcrypt-3.2.0.tar.gz (42 kB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
    Preparing wheel metadata: started
    Preparing wheel metadata: finished with status 'done'
Collecting pynacl>=1.0.1
  Downloading PyNaCl-1.4.0.tar.gz (3.4 MB)
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
    Preparing wheel metadata: started
    Preparing wheel metadata: finished with status 'done'
Collecting cffi>=1.7
  Using cached cffi-1.14.5.tar.gz (475 kB)
Using legacy 'setup.py install' for ansible, since package 'wheel' is not 
installed.
Using legacy 'setup.py install' for MarkupSafe, since package 'wheel' is not 
installed.
Using legacy 'setup.py install' for cffi, since package 'wheel' is not 
installed.
Building wheels for collected packages: bcrypt, cryptography, pynacl, PyYAML
  Building wheel for bcrypt (PEP 517): started
  Building wheel for bcrypt (PEP 517): finished with status 'done'
  Created wheel for bcrypt: filename=bcrypt-3.2.0-cp36-cp36m-linux_x86_64.whl 
size=52939 
sha256=eb387d1cc02c6d67a67ee93cadb679fc3474a13dcd9c2d96e561a1b499227009
  Stored in directory: 
/root/.cache/pip/wheels/68/5c/9a/f440abb2f1c39b8ba19c4629127d3d8e30250d3a7a7c0dbe01
  Building wheel for cryptography (PEP 517): started
  Building wheel for cryptography (PEP 517): finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /usr/bin/python3.6 
/usr/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py build_wheel 
/tmp/tmpnfoopawh
       cwd: 
/tmp/pip-install-9ltkdi8_/cryptography_537c958f9a214c0ba442c7c3eb4f62cc
  Complete output (161 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.6
  creating build/lib.linux-x86_64-3.6/cryptography
  copying src/cryptography/__about__.py -> 
build/lib.linux-x86_64-3.6/cryptography
  copying src/cryptography/__init__.py -> 
build/lib.linux-x86_64-3.6/cryptography
  copying src/cryptography/exceptions.py -> 
build/lib.linux-x86_64-3.6/cryptography
  copying src/cryptography/fernet.py -> build/lib.linux-x86_64-3.6/cryptography
  copying src/cryptography/utils.py -> build/lib.linux-x86_64-3.6/cryptography
  creating build/lib.linux-x86_64-3.6/cryptography/hazmat
  copying src/cryptography/hazmat/__init__.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat
  copying src/cryptography/hazmat/_der.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat
  copying src/cryptography/hazmat/_oid.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat
  copying src/cryptography/hazmat/_types.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat
  creating build/lib.linux-x86_64-3.6/cryptography/x509
  copying src/cryptography/x509/__init__.py -> 
build/lib.linux-x86_64-3.6/cryptography/x509
  copying src/cryptography/x509/base.py -> 
build/lib.linux-x86_64-3.6/cryptography/x509
  copying src/cryptography/x509/certificate_transparency.py -> 
build/lib.linux-x86_64-3.6/cryptography/x509
  copying src/cryptography/x509/extensions.py -> 
build/lib.linux-x86_64-3.6/cryptography/x509
  copying src/cryptography/x509/general_name.py -> 
build/lib.linux-x86_64-3.6/cryptography/x509
  copying src/cryptography/x509/name.py -> 
build/lib.linux-x86_64-3.6/cryptography/x509
  copying src/cryptography/x509/ocsp.py -> 
build/lib.linux-x86_64-3.6/cryptography/x509
  copying src/cryptography/x509/oid.py -> 
build/lib.linux-x86_64-3.6/cryptography/x509
  creating build/lib.linux-x86_64-3.6/cryptography/hazmat/backends
  copying src/cryptography/hazmat/backends/__init__.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/backends
  copying src/cryptography/hazmat/backends/interfaces.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/backends
  creating build/lib.linux-x86_64-3.6/cryptography/hazmat/bindings
  copying src/cryptography/hazmat/bindings/__init__.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/bindings
  creating build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/__init__.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/_asymmetric.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/_cipheralgorithm.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/_serialization.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/cmac.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/constant_time.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/hashes.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/hmac.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/keywrap.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/padding.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives
  copying src/cryptography/hazmat/primitives/poly1305.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives
  creating build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/__init__.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/aead.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/backend.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ciphers.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/cmac.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/dh.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/dsa.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ec.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ed25519.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ed448.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/hashes.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/hmac.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/ocsp.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/poly1305.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/rsa.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/utils.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/x25519.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/x448.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
  copying src/cryptography/hazmat/backends/openssl/x509.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/backends/openssl
  creating build/lib.linux-x86_64-3.6/cryptography/hazmat/bindings/openssl
  copying src/cryptography/hazmat/bindings/openssl/__init__.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/bindings/openssl
  copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/bindings/openssl
  copying src/cryptography/hazmat/bindings/openssl/binding.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/bindings/openssl
  creating build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/ed25519.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/ed448.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/x25519.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/asymmetric
  copying src/cryptography/hazmat/primitives/asymmetric/x448.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/asymmetric
  creating build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/aead.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/base.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/ciphers
  copying src/cryptography/hazmat/primitives/ciphers/modes.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/ciphers
  creating build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/__init__.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/scrypt.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/kdf
  copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/kdf
  creating 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/__init__.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/base.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/pkcs12.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/pkcs7.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/serialization
  copying src/cryptography/hazmat/primitives/serialization/ssh.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/serialization
  creating build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/totp.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/twofactor
  copying src/cryptography/hazmat/primitives/twofactor/utils.py -> 
build/lib.linux-x86_64-3.6/cryptography/hazmat/primitives/twofactor
  running egg_info
  writing src/cryptography.egg-info/PKG-INFO
  writing dependency_links to src/cryptography.egg-info/dependency_links.txt
  writing requirements to src/cryptography.egg-info/requires.txt
  writing top-level names to src/cryptography.egg-info/top_level.txt
  reading manifest file 'src/cryptography.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  no previously-included directories found matching 'docs/_build'
  warning: no previously-included files found matching 'vectors'
  warning: no previously-included files matching '*' found under directory 
'vectors'
  warning: no previously-included files matching '*' found under directory 
'.github'
  warning: no previously-included files found matching 'release.py'
  warning: no previously-included files found matching '.coveragerc'
  warning: no previously-included files found matching 'codecov.yml'
  warning: no previously-included files found matching '.readthedocs.yml'
  warning: no previously-included files found matching 'dev-requirements.txt'
  warning: no previously-included files found matching 'tox.ini'
  warning: no previously-included files found matching 'mypy.ini'
  warning: no previously-included files matching '*' found under directory 
'.zuul.d'
  warning: no previously-included files matching '*' found under directory 
'.zuul.playbooks'
  writing manifest file 'src/cryptography.egg-info/SOURCES.txt'
  copying src/cryptography/py.typed -> build/lib.linux-x86_64-3.6/cryptography
  running build_ext
  generating cffi module 'build/temp.linux-x86_64-3.6/_padding.c'
  creating build/temp.linux-x86_64-3.6
  generating cffi module 'build/temp.linux-x86_64-3.6/_openssl.c'
  running build_rust

      =============================DEBUG ASSISTANCE=============================
      If you are seeing a compilation error please try the following steps to
      successfully install cryptography:
      1) Upgrade to the latest pip and try again. This will fix errors for most
         users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
      2) Read https://cryptography.io/en/latest/installation.html for specific
         instructions for your platform.
      3) Check our frequently asked questions for more information:
         https://cryptography.io/en/latest/faq.html
      4) Ensure you have a recent Rust toolchain installed:
         https://cryptography.io/en/latest/installation.html#rust
      5) If you are experiencing issues with Rust for *this release only* you 
may
         set the environment variable `CRYPTOGRAPHY_DONT_BUILD_RUST=1`.
      =============================DEBUG ASSISTANCE=============================

  error: can't find Rust compiler

  If you are using an outdated pip version, it is possible a prebuilt wheel is 
available for this package but pip is not able to install from it. Installing 
from the wheel would avoid the need for a Rust compiler.

  To update pip, run:

      pip install --upgrade pip

  and then retry package installation.

  If you did intend to build this package from source, try installing a Rust 
compiler from your system package manager and ensure it is on the PATH during 
installation. Alternatively, rustup (available at https://rustup.rs) is the 
recommended way to download and update the Rust compiler toolchain.

  This package requires Rust >=1.41.0.
  ----------------------------------------
  ERROR: Failed building wheel for cryptography
  Building wheel for pynacl (PEP 517): started
  Building wheel for pynacl (PEP 517): still running...
  Building wheel for pynacl (PEP 517): finished with status 'done'
  Created wheel for pynacl: filename=PyNaCl-1.4.0-cp36-cp36m-linux_x86_64.whl 
size=655147 
sha256=d1cb1dcce08205e5f9744b958c28c04dff2aef032dcd2943686ba7851e2c9f17
  Stored in directory: 
/root/.cache/pip/wheels/5e/c8/ac/59174038758859f6bf8e75199935da3f63cd20124c968500d2
  Building wheel for PyYAML (PEP 517): started
  Building wheel for PyYAML (PEP 517): finished with status 'done'
  Created wheel for PyYAML: filename=PyYAML-5.4.1-cp36-cp36m-linux_x86_64.whl 
size=45642 
sha256=c9488e17f8f0d7e118928b4fd046936e7c3aa05ed582f578ae8d1bca53495efd
  Stored in directory: 
/root/.cache/pip/wheels/30/79/82/cda01fa314a0e1a1c485aacf0a374bde74d8975bc82900afff
Successfully built bcrypt pynacl PyYAML
Failed to build cryptography
ERROR: Could not build wheels for cryptography which use PEP 517 and cannot be 
installed directly
The command '/bin/sh -c apk --no-cache update && apk --no-cache --update add 
--virtual build-dependencies   gcc   make   musl-dev   libffi-dev   openssl-dev 
  python3-dev && apk add --no-cache   python3   py3-pip   openssh-client   
openssl   py3-openssl   openssh   sshpass && pip3 install --upgrade pip && pip3 
install   ansible==$ansible_version   jmespath   netaddr   jsonpointer && apk 
del build-dependencies && rm -rf /var/cache/apk/* && rm -rf /root/.cache' 
returned a non-zero code: 1
Traceback (most recent call last):
  File "./build/package.py", line 334, in <module>
    run_cli()
  File "./build/package.py", line 330, in run_cli
    args.add_metadata)
  File "./build/package.py", line 226, in build_offline_deliverables
    installer_build.check_returncode()
  File "/usr/lib64/python3.6/subprocess.py", line 389, in check_returncode
    self.stderr)
subprocess.CalledProcessError: Command 
'/tmp/onap-offline/ansible/docker/build_ansible_image.sh' returned non-zero 
exit status 1.

Reply via email to