Mailing List Archive

emerge-wrapper: ARCH is not set... Are you missing the <profile>
Hi,

It has been a while since I last checked that.

When trying to run the wrapper, I get:

* ARCH is not set... Are you missing the '/usr/arm-unknown-linux-
* gnueabi/etc/portage/make.profile' symlink? Is the symlink correct? Is
* your portage tree complete?

I first thought that the problem is the location of the symlink of
make.profile, so I moved it from etc to etc/portage, but problem remained.

If I enforce ARCH, it seems to be OK:

ARCH="arm" USE="-cxx -python -zlib -client"
/usr/bin/emerge-arm-unknown-linux-gnueabi sys-devel/gdb

I cross-emerge does set the correct make.conf.

CHOST=arm-unknown-linux-gnueabi
CBUILD=x86_64-pc-linux-gnu
ARCH=arm

So I am unsure why is it missing... I see in
/usr/lib/portage/pym/_emerge/Scheduler.py where it is checked, but unsure
why make.conf is not considered.

Any clue?
Thanks,
Alon

---

sys-devel/crossdev-20120913

# emerge-arm-unknown-linux-gnueabi --info
Portage 2.2.0_alpha175 (embedded, gcc-4.6.3, unavailable, 3.8.6-hardened
x86_64)
=================================================================
System uname: Linux-3.8.6-hardened-x86_64-Intel-R-_Core-TM-_i7-3520M_CPU_@
_2.90GHz-with-gentoo-2.2
KiB Mem: 12006504 total, 2676452 free
KiB Swap: 8388604 total, 8367540 free
Timestamp of tree: Sat, 18 May 2013 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash: 4.2_p45
dev-java/java-config: 2.1.12-r1
dev-lang/python: 2.7.3-r3, 3.2.3-r2
dev-util/cmake: 2.8.10.2-r2
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.11.8
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.11.6, 1.12.6
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 4.6.3
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc: 2.15-r3
Repositories: gentoo alonbl-local alon-barlev ovirt-overlay
ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -pipe -fomit-frame-pointer"
CHOST="arm-unknown-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt
/usr/share/maven-bin-3.0/conf /usr/share/polkit-1/actions
/usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d
/etc/fonts/fonts.conf /etc/gentoo-release /etc/revdep-rebuild
/etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-Os -pipe -fomit-frame-pointer"
DISTDIR="/var/gentoo/distfiles"
FCFLAGS="-Os -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified
distlocks ebuild-locks fixlafiles merge-sync news nodoc noinfo noman
parallel-fetch preserve-libs protect-owned sandbox sfperms strict
unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-Os -pipe"
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo
http://gentoo.mirrors.pair.com"
LANG="he_IL.UTF-8"
LDFLAGS=""
MAKEOPTS="-j6"
PKGDIR="/usr/arm-unknown-linux-gnueabi/packages/"
PORTAGE_CONFIGROOT="/usr/arm-unknown-linux-gnueabi/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --stats --human-readable
--timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/usr/arm-unknown-linux-gnueabi/tmp/"
PORTDIR="/var/gentoo/portage"
PORTDIR_OVERLAY="/usr/local/portage/local
/usr/local/portage/alon-barlev-overlay /usr/local/portage/ovirt-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="arm bindist kdrive make-symlinks minimal multicall zlib"
INPUT_DEVICES="evdev mouse keyboard tslib" KERNEL="linux" LINGUAS="en"
USERLAND="GNU" VIDEO_CARDS="fbdev"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL,
PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON