File: README.source

package info (click to toggle)
libunwind 1.8.1-0.2
  • links: PTS
  • area: main
  • in suites: sid
  • size: 7,360 kB
  • sloc: ansic: 42,395; sh: 5,215; asm: 2,172; makefile: 1,557; cpp: 122
file content (24 lines) | stat: -rw-r--r-- 838 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Building libunwind/amd64 on Ubuntu
----------------------------------

The libunwind test suite is executed during the amd64 build; the
run-coredump-unwind test intentionally creates a core dump during
execution; on systems where apport is installed, the default
core_pattern will try to push the core dump to apport.

If you are building in a (s)chroot using sbuild or pbuilder, this
will fail, the core dump will not be written to disk and the test
fails.

To work around this, set the core pattern to:

  sudo sysctl kernel.core_pattern=core

This will allow run-coredump-unwind test to correctly create the
core file it relies on to complete testing.

You can set it back to the apport default:

  sudo sysctl kernel.core_pattern="|/usr/share/apport/apport %p %s %c"

Note that this is not an issue on the official Launchpad buildds.