nspluginwrapper ebuild has RDEP: app-emulation/emul-linux-x86-xlibs Please replace it with: || ( ( x11-libs/libXfoo[abi_x86_32] x11-libs/libXbar[abi_x86_32] ... ) app-emulation/emul-linux-x86-xlibs ) to support both emul-linux and split multilib packages. Thanks in advance.
Created attachment 383996 [details, diff] nspluginwrapper-1.4.4-r4.ebuild.diff Possible fix which also bumps EAPI to version 5.
1. Please use [-abi_x86_32(-)] on emul-linux-x86 deps, 2. Please use multilib-dep-fixor [1] to set versions of deps. As a side note, you probably may try to get the '-m32' flag using get_ABI_CFLAGS for x86. However, that's just a minor remark and I don't know how well that will work. [1]:https://bitbucket.org/mgorny/multilib-dep-fixor
Created attachment 384350 [details, diff] nspluginwrapper-1.4.4-r4.ebuild.diff (In reply to Michał Górny from comment #2) > 1. Please use [-abi_x86_32(-)] on emul-linux-x86 deps, Done. > 2. Please use multilib-dep-fixor [1] to set versions of deps. # multilib-dep-fixor.py Traceback (most recent call last): File "/usr/local/bin/multilib-dep-fixor.py", line 5, in <module> from gentoopm import get_package_manager ImportError: No module named gentoopm > As a side note, you probably may try to get the '-m32' flag using > get_ABI_CFLAGS for x86. However, that's just a minor remark and I don't know > how well that will work. > > [1]:https://bitbucket.org/mgorny/multilib-dep-fixor Dunno if this is the correct approach here since the -m32 flag gets set for 32bit LDFLAGS (LDFLAGS_32), not CFLAGS.
(In reply to Lars Wendler (Polynomial-C) from comment #3) > > 2. Please use multilib-dep-fixor [1] to set versions of deps. > > # multilib-dep-fixor.py > Traceback (most recent call last): > File "/usr/local/bin/multilib-dep-fixor.py", line 5, in <module> > from gentoopm import get_package_manager > ImportError: No module named gentoopm Suggested solution: emerge -1v gentoopm :). > > As a side note, you probably may try to get the '-m32' flag using > > get_ABI_CFLAGS for x86. However, that's just a minor remark and I don't know > > how well that will work. > > > > [1]:https://bitbucket.org/mgorny/multilib-dep-fixor > > Dunno if this is the correct approach here since the -m32 flag gets set for > 32bit LDFLAGS (LDFLAGS_32), not CFLAGS. Yes, it is. LDFLAGS are still compiler-formed flags, and multilib.eclass uses get_ABI_CFLAGS both for compiling and linking.
Created attachment 384352 [details, diff] nspluginwrapper-1.4.4-r4.ebuild.diff And here comes the patch with correct dependency versions.
Created attachment 384376 [details, diff] nspluginwrapper-1.4.4-r4.ebuild.diff Now with all suggestions from mgorny included. Please review.
Great work, thanks.
This has already been fixed in October 2014...