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

Bug 686012

Summary: dev-cpp/commoncpp2-1.8.1-r4 : ../.../string.h:734:35: error: friend declaration of std::istream& getline(std::istream&, ost::String&, char, size_t) specifies default arguments and isn t a definition [-fpermissive]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
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
dev-cpp:commoncpp2-1.8.1-r4:20190515-070348.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2019-05-15 07:21:06 UTC
In file included from ../inc/cc++/thread.h:50,
                 from thread.cpp:41:
../inc/cc++/string.h:734:35: error: friend declaration of ‘std::istream& getline(std::istream&, ost::String&, char, size_t)’ specifies default arguments and isn’t a definition [-fpermissive]
  734 |     friend __EXPORT std::istream &getline(std::istream &is, String &str, char delim = '\n', size_t size = 0);
      |                                   ^~~~~~~
make[2]: *** [Makefile:708: thread.lo] Error 1

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

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

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

  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.1
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 dev-cpp/commoncpp2
[ebuild  N    ] dev-cpp/commoncpp2-1.8.1-r4  USE="ipv6 ssl -debug -doc -examples -gnutls -libressl -static-libs"
Comment 1 Toralf Förster gentoo-dev 2019-05-15 07:21:10 UTC
Created attachment 576756 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-05-15 07:21:13 UTC
Created attachment 576758 [details]
dev-cpp:commoncpp2-1.8.1-r4:20190515-070348.log
Comment 3 Toralf Förster gentoo-dev 2019-05-15 07:21:16 UTC
Created attachment 576760 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-05-15 07:21:18 UTC
Created attachment 576762 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-05-15 07:21:21 UTC
Created attachment 576764 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-05-15 07:21:24 UTC
Created attachment 576766 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-05-15 07:21:27 UTC
Created attachment 576768 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2019-06-22 09:48:49 UTC
The bug has been closed via the following commit(s):

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

commit 10e0e9358b88632b1cd64ecda26606d8f0565747
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2019-06-22 09:48:30 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2019-06-22 09:48:30 +0000

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

 dev-cpp/commoncpp2/commoncpp2-1.8.1-r4.ebuild |  1 +
 dev-cpp/commoncpp2/files/1.8.1-fix-gcc9.patch | 28 +++++++++++++++++++++++++++
 2 files changed, 29 insertions(+)