Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 638596

Summary: app-accessibility/epos-2.5.37-r2 : matrix.cc:66:2: error: there are no arguments to assert that depend on a template parameter, so a declaration of assert must be available [-fpermissive]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Accessibility Team <accessibility>
Status: RESOLVED FIXED    
Severity: normal CC: plevine457
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/7760
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 617524    
Attachments: emerge-info.txt
app-accessibility:epos-2.5.37-r2:20171123-055632.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2017-11-23 19:00:15 UTC
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I./.. -w -DEPOS -ggdb -DBASE_DIR=/usr/share/epos -Werror=terminate -O2 -pipe -march=native -c matrix.cc  -fPIC -DPIC -o .libs/matrix.o
matrix.cc: In member function ‘void CMatrix<T>::multiplyByTransponed(const CMatrix<T>&, CMatrix<T>&)’:
matrix.cc:66:2: error: there are no arguments to ‘assert’ that depend on a template parameter, so a declaration of ‘assert’ must be available [-fpermissive]
  assert (cols == y.cols);
  ^~~~~~
matrix.cc:66:2: note: (if you use ‘-fpermissive’, G++ will accept your code, but allowing the use of an undeclared name is deprecated)

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop-plasma-systemd_test_20171118-222131

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
  [3]   pypy (fallback)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv app-accessibility/epos
[ebuild  N    ] app-accessibility/epos-2.5.37-r2
Comment 1 Toralf Förster gentoo-dev 2017-11-23 19:00:18 UTC
Created attachment 505958 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-11-23 19:00:21 UTC
Created attachment 505960 [details]
app-accessibility:epos-2.5.37-r2:20171123-055632.log
Comment 3 Toralf Förster gentoo-dev 2017-11-23 19:00:24 UTC
Created attachment 505962 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-11-23 19:00:27 UTC
Created attachment 505964 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-11-23 19:00:30 UTC
Created attachment 505966 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-11-23 19:00:33 UTC
Created attachment 505968 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-11-23 19:00:36 UTC
Created attachment 505970 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2018-04-04 21:09:52 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fbdb72214f4e64288c4abe4b4bc6fb9eee760a7

commit 8fbdb72214f4e64288c4abe4b4bc6fb9eee760a7
Author:     Peter Levine <plevine457@gmail.com>
AuthorDate: 2018-03-31 08:48:54 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-04-04 21:09:32 +0000

    app-accessibility/epos: Fix building with GCC-7
    
    Bug: https://bugs.gentoo.org/638596
    Closes: https://bugs.gentoo.org/638596
    Closes: https://github.com/gentoo/gentoo/pull/7760
    Package-Manager: Portage-2.3.16, Repoman-2.3.6
    Closes: https://github.com/gentoo/gentoo/pull/7760

 app-accessibility/epos/epos-2.5.37-r2.ebuild       |  1 +
 .../epos/files/epos-2.5.37-gcc7.patch              | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fbdb72214f4e64288c4abe4b4bc6fb9eee760a7

commit 8fbdb72214f4e64288c4abe4b4bc6fb9eee760a7
Author:     Peter Levine <plevine457@gmail.com>
AuthorDate: 2018-03-31 08:48:54 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-04-04 21:09:32 +0000

    app-accessibility/epos: Fix building with GCC-7
    
    Bug: https://bugs.gentoo.org/638596
    Closes: https://bugs.gentoo.org/638596
    Closes: https://github.com/gentoo/gentoo/pull/7760
    Package-Manager: Portage-2.3.16, Repoman-2.3.6
    Closes: https://github.com/gentoo/gentoo/pull/7760

 app-accessibility/epos/epos-2.5.37-r2.ebuild       |  1 +
 .../epos/files/epos-2.5.37-gcc7.patch              | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+)}