2018-11-08 17:13:24 |
Alberto Donato |
bug |
|
|
added bug |
2018-11-08 17:14:38 |
Alberto Donato |
description |
Building python packages that have C modules fails with snapcraft as C headers are not found.
This is a sample snaps that fails building on Bionic:
name: test
version: 1.0
summary: test
description: test
grade: stable
confinement: strict
base: core18
apps:
uwsgi:
command: uwsgi
parts:
uwsgi:
plugin: python
source: .
python-packages:
- uWSGI
build-packages:
- python3-dev
stage-packages:
- libpython3.6
exporting C_INCLUDE_PATH=/usr/include/python3.6 makes it work.
Tested with both stable (2.43.1) and candidate (3.0) snaps.
Also, removing the core18 base and using libpython3.5 when building on xenial shows the same issue |
Building python packages that have C modules fails with snapcraft as C headers are not found.
This is a sample snap that fails building on Bionic:
name: test
version: 1.0
summary: test
description: test
grade: stable
confinement: strict
base: core18
apps:
uwsgi:
command: uwsgi
parts:
uwsgi:
plugin: python
source: .
python-packages:
- uWSGI
build-packages:
- python3-dev
stage-packages:
- libpython3.6
exporting C_INCLUDE_PATH=/usr/include/python3.6 makes it work.
Tested with both stable (2.43.1) and candidate (3.0) snaps.
Also, removing the core18 base and using libpython3.5 when building on xenial shows the same issue |
|
2018-11-08 17:14:58 |
Alberto Donato |
description |
Building python packages that have C modules fails with snapcraft as C headers are not found.
This is a sample snap that fails building on Bionic:
name: test
version: 1.0
summary: test
description: test
grade: stable
confinement: strict
base: core18
apps:
uwsgi:
command: uwsgi
parts:
uwsgi:
plugin: python
source: .
python-packages:
- uWSGI
build-packages:
- python3-dev
stage-packages:
- libpython3.6
exporting C_INCLUDE_PATH=/usr/include/python3.6 makes it work.
Tested with both stable (2.43.1) and candidate (3.0) snaps.
Also, removing the core18 base and using libpython3.5 when building on xenial shows the same issue |
Building python packages that have C modules fails with snapcraft as C headers are not found.
This is a sample snap that fails building on Bionic:
name: test
version: 1.0
summary: test
description: test
grade: stable
confinement: strict
base: core18
apps:
uwsgi:
command: uwsgi
parts:
uwsgi:
plugin: python
source: .
python-packages:
- uWSGI
build-packages:
- python3-dev
stage-packages:
- libpython3.6
exporting C_INCLUDE_PATH=/usr/include/python3.6 makes it work.
Tested with both stable (2.43.1) and candidate (3.0) snaps.
Also, removing the core18 base and using libpython3.5 when building on xenial shows the same issue |
|
2018-12-04 12:18:17 |
Alberto Donato |
description |
Building python packages that have C modules fails with snapcraft as C headers are not found.
This is a sample snap that fails building on Bionic:
name: test
version: 1.0
summary: test
description: test
grade: stable
confinement: strict
base: core18
apps:
uwsgi:
command: uwsgi
parts:
uwsgi:
plugin: python
source: .
python-packages:
- uWSGI
build-packages:
- python3-dev
stage-packages:
- libpython3.6
exporting C_INCLUDE_PATH=/usr/include/python3.6 makes it work.
Tested with both stable (2.43.1) and candidate (3.0) snaps.
Also, removing the core18 base and using libpython3.5 when building on xenial shows the same issue |
Building python packages that have C modules fails with snapcraft as C headers are not found.
This is a sample snap that fails building on Bionic:
name: test
version: '1.0'
summary: test
description: test
grade: stable
confinement: strict
base: core18
apps:
uwsgi:
command: uwsgi
parts:
uwsgi:
plugin: python
source: .
python-packages:
- uWSGI
build-packages:
- python3-dev
stage-packages:
- libpython3.6
exporting C_INCLUDE_PATH=/usr/include/python3.6 makes it work.
Tested with both stable (2.43.1) and candidate (3.0) snaps.
Also, removing the core18 base and using libpython3.5 when building on xenial shows the same issue |
|
2019-07-26 12:54:54 |
Kyle Nitzsche |
bug |
|
|
added subscriber Kyle Nitzsche |