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

Bug 919494

Summary: sci-geosciences/opencpn-5.8.4 - /.../kml.cpp: error: no matching function for call to TiXmlText::TiXmlText(std::_cxx11::basic_stringstream<char>::_str
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Marc Schiffbauer <mschiff>
Status: CONFIRMED ---    
Severity: normal CC: csfore, sci-geosciences
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt

Description Toralf Förster gentoo-dev 2023-12-08 22:23:53 UTC
too long lines were shrinked:

  591 |   virtual bool RenderGLOverlayMultiCanvas(wxGLContext *pcontext,
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~
FAILED: CMakeFiles/opencpn.dir/src/kml.cpp.o 
/var/tmp/portage/sci-geosciences/opencpn-5.8.4/work/OpenCPN-Release_5.8.4/src/kml.cpp: In static member function static std::string Kml::PointPlacemark(TiXmlElement*, RoutePoint*):
/var/tmp/portage/sci-geosciences/opencpn-5.8.4/work/OpenCPN-Release_5.8.4/src/kml.cpp:463:59: error: no matching function for call to TiXmlText::TiXmlText(std::__cxx11::basic_stringstream<char>::__string_type)
  463 |   TiXmlText* pointText = new TiXmlText(pointCoordStr.str());
      |                                                           ^


  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-20231206-190509


gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 3df736bdba8760c2100b8f6a059e001abb4d22df
Author: Repository mirror & CI <>
Date:   Fri Dec 8 21:01:58 2023 +0000

    2023-12-08 21:01:57 UTC

emerge -qpvO sci-geosciences/opencpn
[ebuild  N    ] sci-geosciences/opencpn-5.8.4  USE="-doc -lzma"
Comment 1 Toralf Förster gentoo-dev 2023-12-08 22:23:54 UTC
Created attachment 878460 [details]
Comment 2 Toralf Förster gentoo-dev 2023-12-08 22:23:55 UTC
Created attachment 878461 [details]
Comment 3 Toralf Förster gentoo-dev 2023-12-08 22:23:57 UTC
Created attachment 878462 [details]
Comment 4 Toralf Förster gentoo-dev 2023-12-08 22:23:57 UTC
Created attachment 878463 [details]
Comment 5 Toralf Förster gentoo-dev 2023-12-08 22:23:58 UTC
Created attachment 878464 [details]
Comment 6 Toralf Förster gentoo-dev 2023-12-08 22:24:00 UTC
Created attachment 878465 [details]
Comment 7 Toralf Förster gentoo-dev 2023-12-08 22:24:01 UTC
Created attachment 878466 [details]
Comment 8 Toralf Förster gentoo-dev 2023-12-08 22:24:02 UTC
Created attachment 878467 [details]
Comment 9 Toralf Förster gentoo-dev 2023-12-08 22:24:03 UTC
Created attachment 878468 [details]
Comment 10 Christopher Fore 2023-12-09 18:24:26 UTC
I don't seem to be able to reproduce this on GCC 13 or 14, that function's in TinyXML so I wonder if it has something to do with that package.
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-09 19:08:52 UTC
(In reply to Christopher Fore from comment #10)

tried same USE flags as toralf did? (check top of build log)?
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-12-09 19:09:04 UTC
also, oops, this isn't w/ gcc-14...
Comment 13 Christopher Fore 2023-12-09 19:17:59 UTC
Yes, made sure to have the same USE flags after my first attempt.