Eix prefixes all tools' names with ${CHOST} when cross-compiling, so it creates broken symlinks to eix and fails to remove eix-functions.sh in src_install. make[2]: Leaving directory '/usr/x86_64-multilib-linux-gnu/tmp/portage/app-portage/eix-0.35.2/work/eix-0.35.2' make[1]: Leaving directory '/usr/x86_64-multilib-linux-gnu/tmp/portage/app-portage/eix-0.35.2/work/eix-0.35.2' rm: cannot remove '/usr/x86_64-multilib-linux-gnu/tmp/portage/app-portage/eix-0.35.2/image/usr/bin/eix-functions.sh': No such file or directory * ERROR: app-portage/eix-0.35.2::gentoo failed (install phase): * (no error message) * * Call stack: * ebuild.sh, line 127: Called src_install * environment, line 2129: Called die * The specific snippet of code: * rm -r "${ED}"/usr/bin/eix-functions.sh || die * List of files in ${ED}"/usr/bin: /usr/x86_64-multilib-linux-gnu/tmp/portage/app-portage/eix-0.35.2/image/usr/bin # ls -la total 1640 drwxr-xr-x 2 root root 4096 Sep 27 19:03 . drwxr-xr-x 5 root root 4096 Sep 27 19:03 .. lrwxrwxrwx 1 root root 3 Sep 27 19:03 eix-diff -> eix lrwxrwxrwx 1 root root 3 Sep 27 19:03 eix-drop-permissions -> eix lrwxrwxrwx 1 root root 3 Sep 27 19:03 eix-header -> eix lrwxrwxrwx 1 root root 3 Sep 27 19:03 eix-update -> eix lrwxrwxrwx 1 root root 3 Sep 27 19:03 masked-packages -> eix lrwxrwxrwx 1 root root 3 Sep 27 19:03 versionsort -> eix -rwxr-xr-x 1 root root 1590560 Sep 27 19:03 x86_64-multilib-linux-gnu-eix -rwxr-xr-x 1 root root 543 Sep 27 19:03 x86_64-multilib-linux-gnu-eix-etcat -rwxr-xr-x 1 root root 40 Sep 27 19:03 x86_64-multilib-linux-gnu-eix-functions.sh -rwxr-xr-x 1 root root 3659 Sep 27 19:03 x86_64-multilib-linux-gnu-eix-installed -rwxr-xr-x 1 root root 8501 Sep 27 19:03 x86_64-multilib-linux-gnu-eix-installed-after -rwxr-xr-x 1 root root 3911 Sep 27 19:03 x86_64-multilib-linux-gnu-eix-layman -rwxr-xr-x 1 root root 1188 Sep 27 19:03 x86_64-multilib-linux-gnu-eix-postsync -rwxr-xr-x 1 root root 11709 Sep 27 19:03 x86_64-multilib-linux-gnu-eix-remote -rwxr-xr-x 1 root root 18464 Sep 27 19:03 x86_64-multilib-linux-gnu-eix-sync -rwxr-xr-x 1 root root 11285 Sep 27 19:03 x86_64-multilib-linux-gnu-eix-test-obsolete
Created attachment 741735 [details] Build log
Created attachment 741738 [details] cross-emerge --info
I have no experience with cross-compiling. It sounds to me as if not prefixing with ${CHOST} would be the right thing to do. I guess that this happens automatically by some autoconf magic, or is something else reliable for this prefixing? What is the "correct" way how to suppress it?