Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 686484 - 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]
Summary: sci-mathematics/gfan-0.5-r1 : polyhedralfan.h:77:24: error: friend declaratio...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-21 17:23 UTC by Toralf Förster
Modified: 2019-07-29 08:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.81 KB, text/plain)
2019-05-21 17:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,341.21 KB, text/plain)
2019-05-21 17:23 UTC, Toralf Förster
Details
environment (environment,76.51 KB, text/plain)
2019-05-21 17:23 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.14 KB, application/x-bzip)
2019-05-21 17:23 UTC, Toralf Förster
Details
sci-mathematics:gfan-0.5-r1:20190521-103607.log (sci-mathematics:gfan-0.5-r1:20190521-103607.log,3.80 KB, text/plain)
2019-05-21 17:23 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,19.26 KB, application/x-bzip)
2019-05-21 17:23 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
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(+)