From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 105194 invoked by alias); 12 Mar 2017 01:04:40 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 105185 invoked by uid 89); 12 Mar 2017 01:04:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,UNSUBSCRIBE_BODY autolearn=no version=3.3.2 spammy=josh, Josh, upgraded, Moreover X-HELO: nm6-vm6.access.bullet.mail.bf1.yahoo.com Received: from nm6-vm6.access.bullet.mail.bf1.yahoo.com (HELO nm6-vm6.access.bullet.mail.bf1.yahoo.com) (216.109.114.149) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 12 Mar 2017 01:04:38 +0000 Received: from [66.196.81.166] by nm6.access.bullet.mail.bf1.yahoo.com with NNFMP; 12 Mar 2017 01:04:37 -0000 Received: from [98.138.104.99] by tm12.access.bullet.mail.bf1.yahoo.com with NNFMP; 12 Mar 2017 01:04:37 -0000 Received: from [127.0.0.1] by smtp119.sbc.mail.ne1.yahoo.com with NNFMP; 12 Mar 2017 01:04:37 -0000 X-Yahoo-SMTP: 0h0Q7euswBD_g.kcEqbzJWRFfrba801gq1M1 Subject: Re: Building rpi armv6 toolchain on macOS To: Josh Branning , crossgcc@sourceware.org References: <70FD9E5B-E9D1-43CF-84FF-B64AC54FA6C7@oberon.ch> <58C49061.6030807@gmail.com> From: Alexey Neyman Message-ID: <46e45cf1-06b7-cf1a-0613-82013de1a289@att.net> Date: Sun, 12 Mar 2017 01:04:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <58C49061.6030807@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-03/txt/msg00020.txt.bz2 On 03/11/2017 04:03 PM, Josh Branning wrote: > On 11/03/17 21:06, Etan Kissling wrote: >> Thanks for the quick reply! >> >> With the master build, I run into an error quite quickly (following >> instructions from crosstool-ng.org). >> [DEBUG] ==> Executing: 'mkdir' '-p' '/build' >> [ALL ] mkdir: /build: Permission denied >> - Full log: https://scriptreactor.com/rpi1-master-build.log >> >> Any idea what's going on here? > > Are you running crosstool-ng as root? And do you have permission to > write to the / directory? I'm guessing not. (If not, then I suggest > changing the build directory instead of running as root.) As the error states, he *is not* running it as root. Moreover, running as root IS NOT RECOMMENDED - crosstool-ng is quite explicit about it. The problem is that he took a config from 1.22 and tried to run it on master without upgrading it through the regular procedure for kconfig-based system ("oldconfig"). In master, build directory is set using a value of an auxiliary variable, CT_BUILD_TOP_DIR, that isn't set in the config unless it is upgraded. Regards, Alexey.