#!/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.
================ /usr/i686-pc-linux-gnu/etc/make.conf =============
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
ARCH="i686"
CFLAGS="-O3 -pipe -msse2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j17"
USE="-ipv6 -directfb -fbcon -cups -qt -kde -fortran -aiglx -3dfx -sdl -opengl -fbdev -ldap -svg -jpeg2k mmx mmxext sse2 usb dri fam hal dbus samba automount nptl nptlonly X xorg gpm gtk gtk+ gtk2 gnome alsa nls unicode slang ssl pam glibc-omitfp png jpeg gif wav ogg mp3 mpeg midi bzip2 7zip"
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="i810"
LCD_DEVICES=""
#ALSA_CARDS="cm8738"
FEATURES="parallel-fetch ccache"
CCACHE_SIZE="1G"
LINGUAS="en uk ru"
#PORTDIR_OVERLAY=/usr/local/portage