The net-im/skypeforlinux ebuilds explicitly download and install the x86_64 RPM of Skype for Linux, however, the dependencies are not defined as being of that ABI. That results in the package being broken at runtime on the x32 ABI, since the x32 versions of the dependencies are pulled in instead of the x86_64 ones, causing library not found errors. The old (x86) net-im/skype ebuilds declared the dependency ABI explicitly with [abi_x86_32(-)], so there was no issue with those.
I don't know the right way to do this: 1. use MULTILIB_COMPAT=( abi_x86_64 ) and add [${MULTILIB_USEDEP}] to relevant dependencies 2. don't set MULTILIB_COMPAT and just add [abi_x86_64] to dependencies
I am honestly stumped. My blessing on whoever can fix this the cleanest. I will ask a couple of questions though: 1. Can skypeforlinux work on both x86 and amd64 archs?
There is only x86_64 RPM available and in official FAQ they say "We are only building Skype for Linux Alpha for a 64-bit system, as this is a first version and we want to see how people react to it. There may be a 32-bit version in the future." so I think the answer is "no".
Then shouldn't we just arch-mask x86 for skypeforlinux?
I think Karol's first solution is correct — it's pretty much the design intended by the eclass design. Karol, could you submit a PR so Raymond can review it by the code? ;-)
Here is my PR: https://github.com/gentoo/gentoo/pull/4687
I got sidetracked by real life and depression for awhile, plus family drama. My apologies for being lazy. I checked the PR itself on github and I'm not sure if anything actually got merged or not. Since you're now co-pmaint for this package can you go ahead and let me know if the changes in question have been merged? If they have, I can close this bug as resolved.
My mistake, it did get merged. Marking resolved, and note to self to lern2github.