The offending files are: /usr/lib/libncurses++.a /usr/lib/libncurses++w.a Reproducible: Always
USE=-static-libs does not mean "no library archives are ever installed". it means "if both a shared and static library are available, do not install the static library". in the case of ncurses, the C++ bindings are only provided in static form. hence USE=-static-libs makes no sense to disable them.