Building package form source fails when deploying to xenial
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Charm |
Fix Released
|
High
|
Björn Tillenius |
Bug Description
The landscape charm allows you to supply a source tarball, from which a binary package will be build and installed.
This no longer works on xenial, with the following error in the log:
2016-06-27 08:59:59 INFO upgrade dpkg-buildpackage: full upload; Debian-native package (full source is included)
2016-06-27 08:59:59 INFO upgrade
2016-06-27 08:59:59 INFO upgrade Traceback (most recent call last):
2016-06-27 08:59:59 INFO upgrade File "/var/lib/
2016-06-27 08:59:59 INFO upgrade sys.exit(action())
2016-06-27 08:59:59 INFO upgrade File "/var/lib/
2016-06-27 08:59:59 INFO upgrade return_values = self._run()
2016-06-27 08:59:59 INFO upgrade File "/var/lib/
2016-06-27 08:59:59 INFO upgrade apt.set_
2016-06-27 08:59:59 INFO upgrade File "/var/lib/
2016-06-27 08:59:59 INFO upgrade if self._set_
2016-06-27 08:59:59 INFO upgrade File "/var/lib/
2016-06-27 08:59:59 INFO upgrade BUILD_LOCAL_
2016-06-27 08:59:59 INFO upgrade File "/usr/lib/
2016-06-27 08:59:59 INFO upgrade raise CalledProcessEr
2016-06-27 08:59:59 INFO upgrade subprocess.
2016-06-27 08:59:59 INFO upgrade dch -v 1000:$(
2016-06-27 08:59:59 INFO upgrade dpkg-buildpackage -us -uc &&
2016-06-27 08:59:59 INFO upgrade mv ../*.deb . &&
2016-06-27 08:59:59 INFO upgrade dpkg-scanpackages -m . /dev/null > Packages &&
2016-06-27 08:59:59 INFO upgrade cat Packages | bzip2 -9 > Packages.bz2 &&
2016-06-27 08:59:59 INFO upgrade cat Packages | gzip -9 > Packages.gz &&
2016-06-27 08:59:59 INFO upgrade dpkg-scansources . > Sources &&
2016-06-27 08:59:59 INFO upgrade cat Sources | bzip2 -9 > Sources.bz2 &&
2016-06-27 08:59:59 INFO upgrade cat Sources | gzip -9 > Sources.gz &&
2016-06-27 08:59:59 INFO upgrade apt-ftparchive release . > Release
2016-06-27 08:59:59 INFO upgrade ' returned non-zero exit status 255
Looking closer, it turns out it's the dpkg-scanpackages call that is failing:
root@juju-
/var/lib/
Related branches
- 🤖 Landscape Builder: Approve (test results)
- Francis Ginther (community): Approve
- Adam Collard (community): Approve
-
Diff: 217 lines (+41/-21)5 files modifieddev/deployer (+4/-2)
dev/ubuntu-deps (+6/-0)
lib/action.py (+1/-1)
lib/apt.py (+18/-8)
lib/tests/test_apt.py (+12/-10)
tags: | added: kanban |
Changed in landscape-charm: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Björn Tillenius (bjornt) |
tags: | removed: kanban |
tags: | added: xenial |
Changed in landscape-charm: | |
status: | In Progress → Fix Committed |
Changed in landscape-charm: | |
status: | Fix Committed → Fix Released |