Does not work on !x86 architectures

Bug #1781905 reported by Marcin Juszkiewicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LOCI
New
Undecided
Unassigned

Bug Description

During image build 'scripts/pip_install.sh' is run. It calls 'pip' with '--binary-only' switch. But pypi provides binaries ONLY for x86 platforms...

At Linaro we plan to use LOCI on aarch64 (arm64) platform. So '--binary-only' switch would need to be handled some way. Probably adding if/else check to make sure that on non-x86 we install all required packages to build Python modules and to remove them after build of those.

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

+ /opt/loci/scripts/pip_install.sh cryptography pymysql python-memcached uwsgi
+ packages='cryptography pymysql python-memcached uwsgi'
+ pip install --no-cache-dir --only-binary :all: --no-compile -c /tmp/wheels/upper-constraints.txt --find-links /tmp/wheels/ cryptography pymysql python-memcached uwsgi
Ignoring asyncio: markers 'python_version == "3.4"' don't match your environment
Ignoring asyncio: markers 'python_version == "3.5"' don't match your environment
Ignoring dnspython3: markers 'python_version == "3.4"' don't match your environment
Ignoring dnspython3: markers 'python_version == "3.5"' don't match your environment
Ignoring mypy: markers 'python_version == "3.4"' don't match your environment
Ignoring mypy: markers 'python_version == "3.5"' don't match your environment
Ignoring jeepney: markers 'python_version == "3.4"' don't match your environment
Ignoring jeepney: markers 'python_version == "3.5"' don't match your environment
Ignoring SecretStorage: markers 'python_version == "3.4"' don't match your environment
Ignoring SecretStorage: markers 'python_version == "3.5"' don't match your environment
Ignoring Django: markers 'python_version == "3.4"' don't match your environment
Ignoring Django: markers 'python_version == "3.5"' don't match your environment
Ignoring cmd2: markers 'python_version == "3.4"' don't match your environment
Ignoring cmd2: markers 'python_version == "3.5"' don't match your environment
Ignoring typed-ast: markers 'python_version == "3.4"' don't match your environment
Ignoring typed-ast: markers 'python_version == "3.5"' don't match your environment
Ignoring pyldap: markers 'python_version == "3.4"' don't match your environment
Ignoring pyldap: markers 'python_version == "3.5"' don't match your environment
Looking in links: /tmp/wheels/
Collecting cryptography===2.2.2 (from -c /tmp/wheels/upper-constraints.txt (line 162))
  Could not find a version that satisfies the requirement cryptography===2.2.2 (from -c /tmp/wheels/upper-constraints.txt (line 162)) (from versions: )
No matching distribution found for cryptography===2.2.2 (from -c /tmp/wheels/upper-constraints.txt (line 162))
The command '/bin/sh -c /opt/loci/scripts/install.sh' returned a non-zero code: 1

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.