#!/bin/bash
if [ -z "$SYSROOT" ]; then
SYSROOT="/usr/i686-pc-linux-gnu"
export SYSROOT
fi
CTARGET="i686-pc-linux-gnu"
CBUILD=$(portageq envvar CHOST)
PORTAGE_CONFIGROOT="$SYSROOT"
if [[ "$1" == "--root" ]] ; then
ROOT="$2"
shift 2
else
ROOT="$SYSROOT"
fi
export CBUILD PORTAGE_CONFIGROOT ROOT
emerge $*
================ Error =====================
eagle i686-pc-linux-gnu # ./xmerge -vp mozilla-firefox-bin gnome openoffice
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.