After rebuilding paludis-2.4.0 patched or paludis-9999 from git with gcc-5.3 when running cave fix-linkage the follow error appears: $ sudo cave fix-linkage Searching: 11 directories, 220545 filesterminate called after throwing an instance of 'std::ios_base::failure' what(): basic_ios::clear
Should be fixed in current snapshot.
This bug is not fixed. It appears to be a gcc bug. see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53984 I worked around it by building paludis with clang.
It is not marked as resolved in paludis bugtracker - http://paludis.exherbo.org/trac/ticket/1345
The problem was gone after GCC patching as discribed at http://paludis.exherbo.org/trac/ticket/1335
First of all, this is the following gcc bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66145 It is only fixed in gcc 7. @Cddr: Can you please upload the patch for gcc you are using? Is it possible, that your patch may break other things?
Created attachment 489114 [details, diff] patch This is the patch that fixes the cave fix-linkage command on gcc5.3 and gcc6
The suggested patch works for me. Thank you Harris.
Paludis has been removed from the tee.