armhf builds failing for ppa:bladerf/bladerf (pandoc illegal instruction)

Asked by Rey Tucker

Greetings!

Sometime between 2016-01-28 and 2016-02-10, armhf builds for ppa:bladerf/bladerf started failing. It's dying when executing pandoc:

Generating HTML doc...
/«BUILDDIR»/bladerf-2016.01-rc1+1SNAPSHOT20160210201844/host/utilities/bladeRF-cli/src/cmd/doc/generate.bash: line 30: 11057 Illegal instruction (core dumped) pandoc --standalone --self-contained --toc -f markdown -t html5 -o cmd_help.html $1
Generating man page snippet...
/«BUILDDIR»/bladerf-2016.01-rc1+1SNAPSHOT20160210201844/host/utilities/bladeRF-cli/src/cmd/doc/generate.bash: line 33: 11059 Illegal instruction (core dumped) pandoc -f markdown -t man -o cmd_help.man $1
Generating text version...
/«BUILDDIR»/bladerf-2016.01-rc1+1SNAPSHOT20160210201844/host/utilities/bladeRF-cli/src/cmd/doc/generate.bash: line 36: 11061 Illegal instruction (core dumped) pandoc --ascii --columns=70 -f markdown -t plain -o cmd_help.txt $1

Last successful build: https://launchpad.net/~bladerf/+archive/ubuntu/bladerf-snapshots/+build/8910195
First failed build: https://launchpad.net/~bladerf/+archive/ubuntu/bladerf-snapshots/+build/8995718

This issue is affecting precise, trusty, and vivid. wily and xenial builds are fine.

Thanks! -rt

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
William Grant
Solved:
Last query:
Last reply:
Revision history for this message
Best William Grant (wgrant) said :
#1

We recently switched armhf PPA builds from qemu-user to our new 64-bit ARMv8 cloud. pandoc is using an ARMv6 instructions that was deprecated in ARMv7 and removed in ARMv8 (CP15DMB), so it can't run natively on an ARMv8 CPU. Linux has support for emulating the missing instruction, but it's not enabled in the kernel that we're using at the moment.

I've filed bug #1545542, and once I've talked to the kernel team about it I'll work out whether it makes sense for us to run a custom kernel to fix it sooner.

Revision history for this message
Rey Tucker (rtucker) said :
#2

Understood! In the meantime, I've put a workaround in place so our builds succeed (using pre-generated pandoc output).

I'll keep an eye on that bug for further details. Thanks! -rt

Revision history for this message
Rey Tucker (rtucker) said :
#3

Thanks William Grant, that solved my question.