From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 29DF913877A for ; Mon, 4 Aug 2014 00:58:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8A936E09CD; Mon, 4 Aug 2014 00:58:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E44D8E09CB for ; Mon, 4 Aug 2014 00:58:47 +0000 (UTC) Received: from mail-ie0-f181.google.com (mail-ie0-f181.google.com [209.85.223.181]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id 03C0233E1C2 for ; Mon, 4 Aug 2014 00:58:46 +0000 (UTC) Received: by mail-ie0-f181.google.com with SMTP id rp18so8818515iec.12 for ; Sun, 03 Aug 2014 17:58:45 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@lists.gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 X-Received: by 10.50.61.148 with SMTP id p20mr31372440igr.44.1407113925188; Sun, 03 Aug 2014 17:58:45 -0700 (PDT) Received: by 10.64.65.99 with HTTP; Sun, 3 Aug 2014 17:58:45 -0700 (PDT) Date: Sun, 3 Aug 2014 20:58:45 -0400 Message-ID: Subject: [gentoo-embedded] crossdev ARCH variable From: Mike Gilbert To: gentoo-embedded@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 07409627-fb20-41fd-800e-db3a3c3d18a7 X-Archives-Hash: 15ce27f0e471c34a8b235e4231e72e30 I'm wondering how the ARCH variable is supposed to be set by crossdev; it doesn't seem to be working at the moment. I can see that crossdev sets ARCH in make.conf. It also sets the profile to embedded. The embedded profile contains this in make.defaults: PROFILE_ONLY_VARS="ARCH ..." So the ARCH variable in make.conf is ignored, which causes failures whenever something references ARCH or the corresponding use flag. I am currently hacking around this by setting ARCH in /usr/$CHOST/etc/portage/profile/make.defaults. I'm thinking that profile setting PROFILE_ONLY_VARS="ARCH" should be removed. Or we could make my /etc/portage/profile workaround part of crossdev proper. What do you think?