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

Bug 686048

Summary: dev-lang/yap-6.3.3-r1 : ./SolverTypes.h:122:20: error: friend declaration of Clause* Clause_new(const V&, bool) specifies default arguments and isn t a definition [-fpermissive]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Prolog project <prolog>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=690980
https://bugs.gentoo.org/show_bug.cgi?id=685044
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-lang:yap-6.3.3-r1:20190515-172506.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2019-05-15 17:53:41 UTC
In file included from ./Solver.h:29,
                 from ./Solver.C:20:
./SolverTypes.h:122:20: error: friend declaration of ‘Clause* Clause_new(const V&, bool)’ specifies default arguments and isn’t a definition [-fpermissive]
  122 |     friend Clause* Clause_new(const V& ps, bool learnt = false);
      |                    ^~~~~~~~~~
In file included from ./Solver.h:29,

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib_libressl_20190510-225704

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

  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-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.1 *
  [2]   rust-1.34.2
java-config:
The following VMs are available for generation-2:


emerge -qpvO dev-lang/yap
[ebuild  N    ] dev-lang/yap-6.3.3-r1  USE="readline -R -debug -doc -examples -gmp -java -mpi -mysql -odbc -static -threads"
Comment 1 Toralf Förster gentoo-dev 2019-05-15 17:53:44 UTC
Created attachment 576782 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-05-15 17:53:47 UTC
Created attachment 576784 [details]
dev-lang:yap-6.3.3-r1:20190515-172506.log
Comment 3 Toralf Förster gentoo-dev 2019-05-15 17:53:50 UTC
Created attachment 576786 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-05-15 17:53:53 UTC
Created attachment 576788 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-05-15 17:53:55 UTC
Created attachment 576790 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-05-15 17:53:58 UTC
Created attachment 576792 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-05-15 17:54:01 UTC
Created attachment 576794 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2019-06-23 20:44:00 UTC
The bug has been closed via the following commit(s):

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

commit 32f1d8c31b170487e5f39e402ac3fbf4cb929771
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2019-06-23 20:43:43 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2019-06-23 20:43:43 +0000

    dev-lang/yap: Fix building against GCC 9
    
    Closes: https://bugs.gentoo.org/686048
    Package-Manager: Portage-2.3.67, Repoman-2.3.15
    Signed-off-by: David Seifert <soap@gentoo.org>

 dev-lang/yap/files/yap-6.3.3-fix-gcc9.patch | 27 +++++++++++++++++++++++++++
 dev-lang/yap/yap-6.3.3-r1.ebuild            |  5 ++++-
 2 files changed, 31 insertions(+), 1 deletion(-)