Fail to build snap python3 distutils project

Bug #1507357 reported by Björn Tillenius
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
High
Björn Tillenius

Bug Description

I created a simple hello world python3 project, using distutils. Building a snap for it failed will the following error:

Building hello
py3versions -i
python3 /home/ubuntu/snapcraft-test/parts/hello/build/tmp62lgq3op install --install-layout=deb --prefix=/home/ubuntu/snapcraft-test/parts/hello/install/usr
running install
Checking .pth file support in /home/ubuntu/snapcraft-test/parts/hello/install/usr/lib/python3/dist-packages/
usr/bin/python3 -E -c pass
unable to execute 'usr/bin/python3': No such file or directory
error: command 'usr/bin/python3' failed with exit status 1
Failed doing build for hello!

Revision history for this message
Leo Arias (elopio) wrote :
Changed in snapcraft:
status: New → Invalid
Changed in snapcraft:
status: Invalid → Triaged
Changed in snapcraft:
importance: Undecided → High
assignee: nobody → Björn Tillenius (bjornt)
milestone: none → 0.5
status: Triaged → Fix Committed
Revision history for this message
Leo Arias (elopio) wrote :

Fixed in https://github.com/ubuntu-core/snapcraft/pull/98, with unit tests for the changes.

Changed in snapcraft:
status: Fix Committed → Fix Released
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.