What's the right way to inherit multiple eclasses in an ebuild? From the documentation, it seems that "if multiple eclasses export the same function, the latest (inherited last) defined version wins".
I'd expect this to cause a problem if, for example, I inherit both foo and bar in my ebuild and both foo and bar use EXPORT_FUNCTIONS to export src_compile and src_install. I could also make things more complicated by wanting to do something extra in each of those steps.
Sure, I could define my own src_compile and src_install and manually call foo_src_compile and bar_src_compile. But that means that any time I import an eclass, I have to look through each of the inherited eclasses and write my own functions for each of the ones that they export. Is there a better way?