[mythtv-users] Gentoo 0.28.1-r1 ebuild issues - Exiv2?

rsh1k roland.sh1000 at gmail.com
Wed Nov 1 17:34:54 UTC 2017


On Tue, Oct 31, 2017 at 1:06 PM, Roger Siddons <dizygotheca at ntlworld.com>
wrote:

> No idea about Gentoo but those compilation errors indicate the package
> was compiled with a different GCC.
>
> I saw them briefly with exiv2 years ago on Ubuntu; it does seem
> susceptible for some reason.
>
> IIRC Myth 0.28 was the first C++11 release.
> Sounds like you need a more up-to-date package.
>
> Some related links that may get you going.
> https://stackoverflow.com/questions/33394934/converting-
> std-cxx11string-to-stdstring
> https://forums.gentoo.org/viewtopic-t-1048478-start-0.html
>
> exiv2 is only used for reading metadata from photos for the Gallery.
> I have a copy of an old patch (Jan 2016) that made exiv2 configurable.
> No idea if it still applies cleanly though.
>
>

Bingo! That was it!  Thanks Roger!

I followed the Gentoo docs for an ABI change, and that did the trick.  I
had to do a bit of a dance with the rebuilds, as the scripts wanted to
rebuild mythtv-0.27.6 and mythplugins-0.27.6 (for which ebuilds are no
longer available), as well as qtwebkit-4.8.7 (masked by the maintainers for
having "more holes in it than swiss cheese", but a dependency of MythTV
0.27.6).

In the end, I had to temporarily unmask qtwebkit via package.unmask, then I
ran this command:
   revdep-rebuild --library 'libstdc++.so.6' -- --exclude "gcc mythtv
mythplugins mythweb"
followed by
   emerge @preserved-rebuild


22 1/2 hours of compiling later, and my system is back up to date with a
successful install of MythTV 0.28.1-r1.   It crashes when playing back
video now, so I'll have to troubleshoot that later... but at least I know I
can build it now.

Thanks again to everyone for the help!   And thanks Roger for the tip on
the C++11 issues.  I can tell that this is something I will have to be more
aware of going forward, and not just for MythTV.

- Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20171101/d29d3606/attachment.html>


More information about the mythtv-users mailing list