Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 687450 - sci-chemistry/ghemical-3.0.0 : project.h:210:14: error: friend declaration of bool ReadGPR_OLD(project&, std::istream&, bool, bool) specifies default arguments and isn t a definition [-fpermissive]
Summary: sci-chemistry/ghemical-3.0.0 : project.h:210:14: error: friend declaration of...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Chemistry-Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-05 17:02 UTC by Toralf Förster
Modified: 2019-07-10 21:51 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.81 KB, text/plain)
2019-06-05 17:02 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,1.63 KB, text/plain)
2019-06-05 17:02 UTC, Toralf Förster
Details
environment (environment,68.66 KB, text/plain)
2019-06-05 17:02 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.39 KB, application/x-bzip)
2019-06-05 17:02 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,10.40 KB, application/x-bzip)
2019-06-05 17:02 UTC, Toralf Förster
Details
sci-chemistry:ghemical-3.0.0:20190605-131648.log (sci-chemistry:ghemical-3.0.0:20190605-131648.log,21.64 KB, text/plain)
2019-06-05 17:02 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.55 KB, application/x-bzip)
2019-06-05 17:02 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-06-05 17:02:01 UTC
In file included from fileio.cpp:21:
project.h:210:14: error: friend declaration of ‘bool ReadGPR_OLD(project&, std::istream&, bool, bool)’ specifies default arguments and isn’t a definition [-fpermissive]
  210 |  friend bool ReadGPR_OLD(project &, istream &, bool, bool = false);  ///< this is for the very old version.
      |              ^~~~~~~~~~~
project.h:211:14: error: friend declaration of ‘bool ReadGPR_v100(project&, std::istream&, bool, bool)’ specifies default arguments and isn’t a definition [-fpermissive]

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-developer_20190531-121908

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.3.1
 [3] 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) *
Available Rust versions:
  [1]   rust-1.35.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.12.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpvO sci-chemistry/ghemical
[ebuild  N    ] sci-chemistry/ghemical-3.0.0  USE="-openbabel -seamonkey -threads"
Comment 1 Toralf Förster gentoo-dev 2019-06-05 17:02:03 UTC
Created attachment 578868 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-06-05 17:02:06 UTC
Created attachment 578870 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-06-05 17:02:09 UTC
Created attachment 578872 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-06-05 17:02:12 UTC
Created attachment 578874 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-06-05 17:02:14 UTC
Created attachment 578876 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-06-05 17:02:17 UTC
Created attachment 578878 [details]
sci-chemistry:ghemical-3.0.0:20190605-131648.log
Comment 7 Toralf Förster gentoo-dev 2019-06-05 17:02:19 UTC
Created attachment 578880 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2019-06-23 13:11:03 UTC
The bug has been closed via the following commit(s):

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

commit b2ab6a8f5354a899d9637574ee0eb7b4a43961a2
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2019-06-23 13:10:45 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2019-06-23 13:10:45 +0000

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

 sci-chemistry/ghemical/files/3.0.0-fix-gcc9.patch | 37 +++++++++++++++++++++++
 sci-chemistry/ghemical/ghemical-3.0.0.ebuild      |  5 ++-
 2 files changed, 41 insertions(+), 1 deletion(-)