Bug#666782: [openturns] Test 150: "Trapezoidal Factory" blocks build on i386 architectures

D. Barbier bouzim at gmail.com
Thu Apr 26 07:43:37 UTC 2012


tags 666782 patch
thanks

Le 19 avril 2012 11:54, D. Barbier <bouzim at gmail.com> a écrit :
> Le 1 avril 2012 21:50, Aron Xu a écrit :
>> Package: src:openturns
>> Version: 0.15-3
>>
>> After the upload of 0.15-3, which enables `make test` by dh_auto_test,
>> the package FTBFS on i386 and kfreebsd-i386. After some investigation
>> it was discovered that Test 150, "Trapezoidal Factory" hangs on i386
>> architectures (confirmed on i386 and kfreebsd-i386), thus make the
>> build process timed out and finally being terminated on buildd. There
>> are two obvious ways of resolving the problem:
>> 1. Disable test, as before.
>> 2. Patch the build system, to make it kill the test after some
>> reasonable timeout.
>>
>> Option 2 sounds more ideal, but needs more time to implement.
>>
>> Due to the nature of this package, I decided not to make an upload
>> (and press the buildds, especially architectures that are not so fast)
>> for changing a test option. I've made binary uploads for the two
>> archs, which was built (in pbuilder) and signed by me to the archive.
>> During the build I killed the process of  "Trapezoidal Factory" test
>> manually so the package can be produced. If there is a need of
>> rebuilding/updating this package, then we'd choose from the above two
>> options.
>
> Hello,
>
> Upstream workarounds this bug by compiling everything with
> -fno-cse-follow-jumps.    It would be nice to know which file gets
> miscompiled.

Hello,

I built openturns 0.15-3 on an old x86 laptop yesterday, here is the
result of my experiments:
  * TrapezoidalFactory test hanged too on my box
  * After recompiling lib/src/Base/Optim/Cobyla/algocobyla.c by adding
-fno-cse-follow-jumps, test does no more hang (hmmm, I forgot to check
that it passes then)
  * There are only 2 non-trivial C files, everything else is C++ (and
Fortran), so building with CFLAGS+=-fno-cse-follow-jumps is the
easiest solution
  * I looked again at upstream building instructions, and in fact this
is exactly what they suggest, they use this flag only for C files, not
C++.

So here is a patch.

Another point: mipsel failed on another buildd (phrixos) but this
machine is not listed at http://db.debian.org/machines.cgi so I do not
know how much RAM is available there.

Denis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trapezoidal-unblock.patch
Type: application/octet-stream
Size: 347 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20120426/a3342363/attachment-0001.obj>


More information about the debian-science-maintainers mailing list