As per my limited testing of keyctl from the sys-apps/keyutils package, it works without any problems on the AMD64 arch, and should probably get KEYWORDS=amd64 or KEYWORDS=~amd64.
Created attachment 102708 [details, diff] multilib patch for keyutils Two problems with this, it's not multilib-strict without the attached patch, and while compiling it the first time I ran into this: cc -Wall -march=k8 -O2 -pipe -o request-key request-key.c -L. -lkeyutils -Wl,-rpath, /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lkeyutils collect2: ld returned 1 exit status make: *** [keyctl] Error 1 make: *** Waiting for unfinished jobs.... /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lkeyutils collect2: ld returned 1 exit status make: *** [request-key] Error 1 >>> Source compiled. The problem disappeared when recompiling it, but comes up again after unmerging and emerging keyutils again.
I cannot reproduce your error. The patch is nearly correct, but the pkg installs files into two lib dirs: LIBDIR="/$(get_libdir)" USRLIBDIR="/usr/$(get_libdir)" Anyway thanks, ~amd64 added