Snapcraft fails to strip go binaries on arm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Critical
|
Kyle Fazzari |
Bug Description
This is the snapcraft part
```
mdns-publisher:
plugin: go
go-packages: [github.
```
and this is the result when bulding for arm on Launchpad
```
Stripping mdns-publisher
Command '['/bin/sh', '/tmp/tmpoey0zv3q', 'ldd', b'/build/owncloud-
snap/snap/
Traceback (most recent call last):
File "/usr/share/
builder.build()
File "/usr/share/
["snapcraft"], path=os.
File "/usr/share/
self.
File "/usr/share/
"/usr/
File "/usr/lib/
raise CalledProcessEr
CalledProcessError: Command '['/usr/bin/sudo', '/usr/sbin/chroot', '/home/
```
Works fine when compiling locally on amd64
description: | updated |
affects: | snappy → snapcraft |
Changed in snapcraft: | |
status: | Confirmed → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Kyle Fazzari (kyrofa) |
milestone: | none → 2.8 |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
I can confirm that this is not a builder issue as it managed to build an amd64 image just fine.