Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 664760 - media-libs/lastfmlib-0.4.0 : lastfmlib/.../stringoperations.h:62:22: error: could not convert ss.std::_cxx11::basic_stringstream<wchar_t>
Summary: media-libs/lastfmlib-0.4.0 : lastfmlib/.../stringoperations.h:62:22: error: c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-28 15:56 UTC by Toralf Förster
Modified: 2020-12-28 11:40 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.75 KB, text/plain)
2018-08-28 15:56 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,97.07 KB, text/plain)
2018-08-28 15:56 UTC, Toralf Förster
Details
environment (environment,15.11 KB, text/plain)
2018-08-28 15:56 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.01 KB, application/x-bzip)
2018-08-28 15:56 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.66 KB, application/x-bzip)
2018-08-28 15:56 UTC, Toralf Förster
Details
media-libs:lastfmlib-0.4.0:20180828-041914.log (media-libs:lastfmlib-0.4.0:20180828-041914.log,9.17 KB, text/plain)
2018-08-28 15:56 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,7.47 KB, application/x-bzip)
2018-08-28 15:56 UTC, Toralf Förster
Details
Build fix (remove-towstring.patch,414 bytes, patch)
2020-02-27 12:02 UTC, Steven Newbury
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-08-28 15:56:19 UTC
In file included from lastfmlib/lastfmclient.cpp:28:
lastfmlib/utils/stringoperations.h: In function ‘std::__cxx11::string StringOperations::toWstring(T&)’:
lastfmlib/utils/stringoperations.h:62:22: error: could not convert ‘ss.std::__cxx11::basic_stringstream<wchar_t>::str()’ from ‘basic_string<wchar_t>’ to ‘basic_string<char>’
         return ss.str();
                ~~~~~~^~
make[1]: *** [Makefile:513: liblastfmlib_la-lastfmclient.lo] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-hardened_abi32+64_20180825-153933

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *



emerge -qpv media-libs/lastfmlib
[ebuild  N    ] media-libs/lastfmlib-0.4.0  USE="-debug -syslog"
Comment 1 Toralf Förster gentoo-dev 2018-08-28 15:56:22 UTC
Created attachment 545272 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-08-28 15:56:25 UTC
Created attachment 545274 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-08-28 15:56:28 UTC
Created attachment 545276 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-08-28 15:56:31 UTC
Created attachment 545278 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-08-28 15:56:34 UTC
Created attachment 545280 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-08-28 15:56:37 UTC
Created attachment 545282 [details]
media-libs:lastfmlib-0.4.0:20180828-041914.log
Comment 7 Toralf Förster gentoo-dev 2018-08-28 15:56:40 UTC
Created attachment 545284 [details]
temp.tbz2
Comment 8 Steven Newbury 2020-02-27 12:02:25 UTC
Created attachment 616186 [details, diff]
Build fix

The failing template definition is never actually used the code as well as being broken, not to mention an implementation now part of the C++ standard string ops.

Just removing it fixes the build.
Comment 9 Agostino Sarubbo gentoo-dev 2020-10-26 11:19:38 UTC
Dear treecleaner@:

I'm still able to reproduce this issue right now.

Since it has not been fixed for a long time, I'd suggest to evaluate if it is the case to remove this package from the tree. Thanks
Comment 10 Ian Whyman (thev00d00) (RETIRED) gentoo-dev 2020-12-28 11:40:41 UTC
Thanks to Steven for the patch.

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