I suspect I don't know enough to load g++-6 and possibly it is too risky. In any
case it doesn't want to load and there seem to be dependencies that can't
be found.

The section in tmt in newmat that is throwing the exception is testing exceptions. These
are thrown and caught and the program checks that the correct one is caught.

I suspect g++-6 is not tracking exceptions correctly but it is possible the
standards committee has changed the rules.

I suggest you check it again in a few weeks and if there is still a problem you'll
have to tell me how to load g++6.


At 04:54 PM 22-01-16, Martin Michlmayr wrote:
Package: newmat
Version: 1.10.4-5
Severity: normal
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-unknown

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Unfortunately, it's not clear from the log why the build failed.
It's possible there's a bug in this package or in GCC.  It's also
possible I reported a non-issue, although I tried to avoid that.
I apologize in advance if this is the case.

If you have some time to look into this issue, that'd be great.  If
not, I can re-test the package with GCC 6 in a few weeks time.

You can find a snapshot of GCC 6 in experimental.  To build with
GCC 6, you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> All elements are zero
> terminate called after throwing an instance of 'NEWMAT::ProgramException'
>
>   * Eighteenth test of Matrix package
>   * Matrix test program
> debian/rules:45: recipe for target 'build-stamp' failed
> make: *** [build-stamp] Aborted
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> --------------------------------------------------------------------------------

--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

Reply via email to