snapcraft fails on s390x with utf8 error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
High
|
Sergio Schvezov |
Bug Description
with snapcraft 2.18 landing in xenial-updates last night the daily build of ubuntu-core started to fail reliably on the s390x architecture with the following traceback:
Staging livebuild
Priming livebuild
'utf-8' codec can't encode character '\udcc5' in position 87: surrogates not allowed
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/
Revoking proxy token...
a build log is at https:/
as https:/
this used to work well with snapcraft 2.17 and before.
Changed in snapcraft: | |
importance: | Undecided → High |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
El miércoles, 28 de septiembre de 2016 07h'40:20 ART, Oliver Grawert
<email address hidden> escribió:
> Public bug reported:
>
> with snapcraft 2.18 landing in xenial-updates last night the daily build
> of ubuntu-core started to fail reliably on the s390x architecture with
> the following traceback:
Can you run snapcraft with --debug?
> launchpad- buildd/ slavebin/ buildsnap" , line 191, in main launchpad- buildd/ slavebin/ buildsnap" , line 137, in build path.join( "/build" , self.name)) launchpad- buildd/ slavebin/ buildsnap" , line ["/bin/ sh", "-c", command], echo=echo) launchpad- buildd/ slavebin/ buildsnap" , line 66, in chroot python2. 7/subprocess. py", line 541, in check_call ror(retcode, cmd) buildd/ build-SNAPBUILD -5660/chroot- autobuild' , 'linux64', /launchpadlibra rian.net/ 287056073 snap_ubuntu_ xenial_ s390x_ubuntu- core_BUILDING. txt.gz /code.launchpad .net/~snappy- dev/+snap/ ubuntu- core
> Staging livebuild
> Priming livebuild
> 'utf-8' codec can't encode character '\udcc5' in position 87:
> surrogates not allowed
> Traceback (most recent call last):
> File "/usr/share/
> builder.build()
> File "/usr/share/
> ["snapcraft"], path=os.
> File "/usr/share/
> 88, in run_build_command
> self.chroot(
> File "/usr/share/
> "/usr/bin/sudo", "/usr/sbin/chroot", self.chroot_path] + args)
> File "/usr/lib/
> raise CalledProcessEr
> CalledProcessError: Command '['/usr/bin/sudo',
> '/usr/sbin/chroot',
> '/home/
> '/bin/sh', '-c', 'cd /build/ubuntu-core && snapcraft']' returned
> non-zero exit status 1
> Revoking proxy token...
>
> a build log is at https:/
> /buildlog_
>
> as https:/
> shows all other architectures build fine.
> this used to work well with snapcraft 2.17 and before.
Strange as we did not change any code paths here. --debug will clear this
up.
--
Enviado con Dekko desde mi dispositivo Ubuntu