From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Porting to mips64el Date: Sat, 16 Feb 2013 22:07:57 +0100 Message-ID: <87d2w0hsr6.fsf@gnu.org> References: <8738yvnslh.fsf@karetnikov.org> <87vca2csfk.fsf@gnu.org> <874nhik225.fsf@gnu.org> <201302112234.27887.andreas@enge.fr> <87sj52ijs1.fsf@gnu.org> <871ucmdzq5.fsf@karetnikov.org> <87wqueckw2.fsf@karetnikov.org> <87wqueasef.fsf@karetnikov.org> <871ucjs58v.fsf@karetnikov.org> <87pq03b04k.fsf@gnu.org> <87liapfib6.fsf@karetnikov.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6ozQ-0002aD-JH for bug-guix@gnu.org; Sat, 16 Feb 2013 16:08:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U6ozP-0003nn-Q0 for bug-guix@gnu.org; Sat, 16 Feb 2013 16:08:08 -0500 Received: from [2a01:e0b:1:123:ca0a:a9ff:fe03:271e] (port=56196 helo=xanadu.aquilenet.fr) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6ozP-0003nO-Ji for bug-guix@gnu.org; Sat, 16 Feb 2013 16:08:07 -0500 In-Reply-To: <87liapfib6.fsf@karetnikov.org> (Nikita Karetnikov's message of "Fri, 15 Feb 2013 15:12:03 -0500") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Nikita Karetnikov Cc: bug-guix@gnu.org Nikita Karetnikov skribis: >> Actually, even better would be do that in host code, as done with >> =E2=80=98glibc-dynamic-linker=E2=80=99: > > What do you mean by "host code"? I mean code that runs in your =E2=80=98guix-build=E2=80=99 process, as oppo= sed to builder code running in the chroot (search the manual for =E2=80=9Cstrata= =E2=80=9D.) > The attached recipe raises the following: > > make: *** No rule to make target `defconfig'. Stop. > > [...] > > starting phase `build' You have a parenthesis issue here: (build-phase (lambda (arch) `(lambda _ (setenv "ARCH" ,(system->linux-architecture arch)) (format #t "`ARCH' set to `~a'~%" (getenv "ARCH"))) (and (zero? (system* "make" "defconfig")) (zero? (system* "make" "mrproper" "headers_check"))))) =E2=80=9Cmake defconfig=E2=80=9D & co. should be done in the quoted lambda = expression, as was the case before. HTH, Ludo=E2=80=99.