#!/bin/bash CBUILD=$(portageq envvar CHOST) if [ -z "$SYSROOT" ]; then SYSROOT="/usr/i686-pc-linux-gnu" export SYSROOT fi CHOST="i686-pc-linux-gnu" CTARGET="i686-pc-linux-gnu" PORTAGE_CONFIGROOT="$SYSROOT" if [[ "$1" == "--root" ]] ; then ROOT="$2" shift 2 else ROOT="$SYSROOT" fi export CBUILD PORTAGE_CONFIGROOT ROOT CTARGET CHOST echo $CBUILD $PORTAGE_CONFIGROOT $ROOT $CTARGET $CHOST emerge $* === Error === eagle i686-pc-linux-gnu # ./xmerge -vp mozilla-firefox-bin gnome openoffice x86_64-pc-linux-gnu /usr/i686-pc-linux-gnu/ /usr/i686-pc-linux-gnu/ i686-pc-linux-gnu i686-pc-linux-gnu These are the packages that would be merged, in order: Calculating dependencies \ !!! All ebuilds that could satisfy "~sys-libs/com_err-1.40.2" have been masked. !!! One of the following masked packages is required to complete your request: - sys-libs/com_err-1.40.2 (masked by: ~amd64 keyword) For more information, see MASKED PACKAGES section in the emerge man page or refer to the Gentoo Handbook. (dependency required by "sys-fs/e2fsprogs-1.40.2" [ebuild]) eagle i686-pc-linux-gnu #