Package: notmuch
Version: 0.18.1-1
Severity: normal
Moving the arm64-specific issue from bug 756085 which is about the emacs23-24
transition
Notmuch fails to build (against emacs24) on arm64 because one test fails:
T380-atomicity: Testing atomicity
PASS "notmuch new" is idempotent under arbitrary aborts
FAIL detected 0>10 abort points
test 0 -gt 10
This test uses gdb and a batch strict to set breakpoints for atomicity testing.
The actual failure from gdb is:
gdb -batch -x /home/buildd/packages/modified/notmuch-0.18.1/test/atomicity.gdb
notmuch
Breakpoint 1 at 0x4092d4
Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
/home/buildd/packages/modified/notmuch-0.18.1/test/atomicity.gdb:54: Error in
sourced command file:
Unexpected error setting hardware debug registers
It turns out that this is an issue in the kernel, breaking ptrace. Detailed in:
https://bugs.launchpad.net/gdb-linaro/+bug/1205391
So if this is rebuilt on a machine with a new-enough kernel it should
work fine. I will test this and report back as soon as I have such a
machine.
This probably means that we should _not_ disable the gdb test on arm64
as this should be fine on the iofficial buildds being set up now.
How to reproduce
----------------
The test can be rerun by running
test/T380-atomicity.sh
And some output appears in
test/tmp.T380-atomicity
in the top-level source directory
/home/buildd/packages/modified/notmuch-0.18.1, do:
test/T380-atomicity.sh (to set up the mail excample files)
MAIL_DIR=/home/buildd/packages/modified/notmuch-0.18.1/test/tmp.T380-atomicity
export MAIL_DIR
NOTMUCH_CONFIG=/home/buildd/packages/modified/notmuch-0.18.1/test/tmp.T380-atomicity/notmuch-config
export NOTMUCH_CONFIG
gdb -batch -x /home/buildd/packages/modified/notmuch-0.18.1/test/atomicity.gdb
notmuch
or to run manually:
gdb notmuch
then enter the commands from test/atomicity.gdb file
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]