Bug#798248: pulseaudio FTBFS on Alpha because of volume-test failure in test suite.
Michael Cree
mcree at orcon.net.nz
Mon Sep 7 10:37:47 UTC 2015
Source: pulseaudio
Version: 6.0-5
Severity: important
Justification: fails to build from source but built in the past.
User: debian-alpha at lists.debian.org
Usertags: alpha
Pulseaudio FTBFS on alpha due to the volume-test test failing. From
the build log [1]:
FAIL: volume-test
=================
Running suite(s): Volume
Attenuation of sample 1 against 32767: -90.3087 dB
Smallest possible attenuation > 0 applied to 32767: 0
0%: Checks: 1, Failures: 0, Errors: 1
tests/volume-test.c:107:E:volume:volume_test:0: (after this point) Received signal 8 (Floating point exception)
FAIL volume-test (exit status: 1)
This test fails because of the addition of two infinities is
attempted when compiling volume-test with -ffast-math and on Alpha
any attempt at using a non-finite number when compiled with
-ffast-math results in a floating-point exception. As the gcc
manual states, using infinities in floating-point arithmetic with
-ffast-math may result in incorrect operation!
For volume-test to work on Alpha one of the two following conditions
must be met:
1) Do not compile volume-test with -ffast-math so that infinities are
supported properly.
2) Don't use infinities in the test suite! (The infinities occur
because a zero volume is converted to dB, i.e. -infinity dB, then
two volumes, both of -infinity dB, are added. Boom!)
Cheers
Michael.
[1] https://buildd.debian.org/status/fetch.php?pkg=pulseaudio&arch=alpha&ver=6.0-5&stamp=1438647901
More information about the pkg-pulseaudio-devel
mailing list