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

Bug 686484

Summary: sci-mathematics/gfan-0.5-r1 : polyhedralfan.h:77:24: error: friend declaration of PolyhedralFan refinement(const PolyhedralFan&, const PolyhedralFan&, int, bool) specifies default arguments and isn t a definition [-fpermissive]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Science Mathematics related packages <sci-mathematics>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=685044
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
sci-mathematics:gfan-0.5-r1:20190521-103607.log
temp.tbz2

Description Toralf Förster gentoo-dev 2019-05-21 17:23:39 UTC
x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -DGMPRATIONAL -Wuninitialized        -c printer.cpp
In file included from printer.cpp:4:
polyhedralfan.h:77:24: error: friend declaration of ‘PolyhedralFan refinement(const PolyhedralFan&, const PolyhedralFan&, int, bool)’ specifies default arguments and isn’t a definition [-fpermissive]
   77 |   friend PolyhedralFan refinement(const PolyhedralFan &a, const PolyhedralFan &b, int cutOffDimension=-1, bool allowASingleConeOfCutOffDimension=false);
      |                        ^~~~~~~~~~
make: *** [Makefile:436: printer.o] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-hardened_libressl_20190516-182320

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

  Please see the tracker bug for details.

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

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.34.2
  [2]   rust-1.34.2 *
java-config:
The following VMs are available for generation-2:


emerge -qpvO sci-mathematics/gfan
[ebuild  N    ] sci-mathematics/gfan-0.5-r1
Comment 1 Toralf Förster gentoo-dev 2019-05-21 17:23:42 UTC
Created attachment 577462 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-05-21 17:23:45 UTC
Created attachment 577464 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-05-21 17:23:48 UTC
Created attachment 577466 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-05-21 17:23:50 UTC
Created attachment 577468 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-05-21 17:23:53 UTC
Created attachment 577470 [details]
sci-mathematics:gfan-0.5-r1:20190521-103607.log
Comment 6 Toralf Förster gentoo-dev 2019-05-21 17:23:56 UTC
Created attachment 577472 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2019-06-22 21:07:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07e2fbfa818eaa409bc74f90e7c09ced0736b5ec

commit 07e2fbfa818eaa409bc74f90e7c09ced0736b5ec
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2019-06-22 21:06:57 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2019-06-22 21:06:57 +0000

    sci-mathematics/gfan: Fix building against GCC 9
    
    Closes: https://bugs.gentoo.org/686484
    Package-Manager: Portage-2.3.67, Repoman-2.3.15
    Signed-off-by: David Seifert <soap@gentoo.org>

 sci-mathematics/gfan/files/gfan-0.5-fix-gcc9.patch | 68 ++++++++++++++++++++++
 sci-mathematics/gfan/gfan-0.5-r1.ebuild            |  1 +
 2 files changed, 69 insertions(+)