From owner-freebsd-arm@FreeBSD.ORG Thu Mar 26 07:07:31 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D12FC8D3; Thu, 26 Mar 2015 07:07:31 +0000 (UTC) Received: from mail-lb0-x233.google.com (mail-lb0-x233.google.com [IPv6:2a00:1450:4010:c04::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C42F90C; Thu, 26 Mar 2015 07:07:31 +0000 (UTC) Received: by lbbsy1 with SMTP id sy1so34344762lbb.1; Thu, 26 Mar 2015 00:07:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Z1lzkgzi45nGXWkNGfvtVS7IaiOP4o/Jd8ddcJH9Q5Q=; b=Z+NQytCkPsPofV5Kwar7O9EjiPPH4BzMGWVPPPZ9Tv+H1hKUEWcSBOEn5SSwo4GRst o5ljvyMJpdWBQetpFp5KZFPflzIy+YeXWjgpKAU1K9/BWv14RGdN2PEvFIq48JCbg6sY 4eMgdkC/jUFE1OPlRrixq8dsmQpoewiZMGig7RjNl578InPbphMvq25tQvCcw/Qq4NdY bOQDSHqoz0tvnx9ixjTBNuY1AeaGSMQhUgizvoSez+LGps8hVFZx+PgSbPQ6nrvXOcLh 8VgvdiMJJM7amVRTQJTTKqW/QcmfpGvZivnyk9jKt4mgnLr9S0BNlaUn2gxvQlEcbSeg 5i0A== MIME-Version: 1.0 X-Received: by 10.112.42.164 with SMTP id p4mr11706057lbl.119.1427353649401; Thu, 26 Mar 2015 00:07:29 -0700 (PDT) Received: by 10.152.37.3 with HTTP; Thu, 26 Mar 2015 00:07:29 -0700 (PDT) In-Reply-To: References: <622469F8-C245-4E84-B5E1-FE360D3C9B4C@me.com> <215C10E1-9F47-46B6-A60B-430D7DEDA090@me.com> <1427212609.5591.10.camel@freebsd.org> <1427220117.1588.1.camel@freebsd.org> <1427292010.75747.2.camel@freebsd.org> Date: Thu, 26 Mar 2015 00:07:29 -0700 Message-ID: Subject: Re: Digi-CCWMX53 - u-boot From: Russell Haley To: Ian Lepore Content-Type: text/plain; charset=UTF-8 Cc: freebsd-arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2015 07:07:31 -0000 Okay, I'm going to pay for this at work tomorrow (so late!) I recreated the files and still got the same error. The lines in question had two tabs. I removed the second tab and it started to work. Kindof... # make install ===> License GPLv2 accepted by the user ===> u-boot-ccwmx53-2013.08 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by u-boot-ccwmx53-2013.08 for building ===> Extracting for u-boot-ccwmx53-2013.08 => SHA256 Checksum OK for u-boot-2013.08-ccwmx53.tar.gz. ===> Patching for u-boot-ccwmx53-2013.08 ===> Applying FreeBSD patches for u-boot-ccwmx53-2013.08 2 out of 2 hunks failed--saving rejects to api/api_storage.c.rej => Patch patch-api_api__storage.c failed to apply cleanly. *** Error code 1 Stop. make: stopped in /usr/ports/sysutils/u-boot-ccwmx53 So I manually downloaded the file from github and renamed it: # make install ===> License GPLv2 accepted by the user ===> u-boot-ccwmx53-2013.08 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by u-boot-ccwmx53-2013.08 for building ===> Extracting for u-boot-ccwmx53-2013.08 => No SHA256 checksum recorded for u-boot-2013.08-ccwmx53.tar.gz. => No suitable checksum found for u-boot-2013.08-ccwmx53.tar.gz. *** Error code 1 Stop. make: stopped in /usr/ports/sysutils/u-boot-ccwmx53 And this was my final attempt: # make makesum ===> License GPLv2 accepted by the user ===> u-boot-ccwmx53-2013.08 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by u-boot-ccwmx53-2013.08 for building # make install ===> License GPLv2 accepted by the user ===> u-boot-ccwmx53-2013.08 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by u-boot-ccwmx53-2013.08 for building ===> Extracting for u-boot-ccwmx53-2013.08 => SHA256 Checksum OK for u-boot-2013.08-ccwmx53.tar.gz. ===> Patching for u-boot-ccwmx53-2013.08 ===> Applying FreeBSD patches for u-boot-ccwmx53-2013.08 2 out of 2 hunks failed--saving rejects to api/api_storage.c.rej => Patch patch-api_api__storage.c failed to apply cleanly. *** Error code 1 Stop. make: stopped in /usr/ports/sysutils/u-boot-ccwmx53 Thanks, Russ On Wed, Mar 25, 2015 at 5:40 PM, Russell Haley wrote: > Ha ha, busted. I accidentaly ran the patch command twice and had to manually > remove duplicated data. I'll re-create the files instead. > > Apparently my wife thinks she is more important than U-boot so I won't be > able to get back to this till tomorrow. (Rolling of eyes). > > Thanks for all your help. > > Russ > > On Mar 25, 2015 7:08 AM, "Ian Lepore" wrote: >> >> On Tue, 2015-03-24 at 22:42 -0700, Russell Haley wrote: >> > Thanks Ian, >> > >> > Sorry, getting another error. This is in a fresh 10-Release jail. I >> > installed arm-none-eabi-gcc from pkgng. The missing "m" in make is not >> > a copy/paste error. >> > >> > # pwd >> > /usr/ports/sysutils/u-boot-ccwmx53 >> > # make install >> > make: "/usr/ports/sysutils/u-boot-ccwmx53/Makefile" line 29: >> > Unassociated shell command "${U_BOOT_DIR}/README" >> > "ake: "/usr/ports/sysutils/u-boot-ccwmx53/Makefile" line 32: >> > Unassociated shell command "CROSS_COMPILE=arm-none-eabi- \ >> > make: "/usr/ports/sysutils/u-boot-ccwmx53/Makefile" line 33: >> > Unassociated shell command "HOSTCC=cc" >> > make: Fatal errors encountered -- cannot continue >> > make: stopped in /usr/ports/sysutils/u-boot-ccwmx53 >> > >> > Russ >> >> Unassociated shell command in make is nearly always trouble with tabs >> versus spaces, or line endings. Did you just cut and paste the diff >> from the mail? If so, try doing it as a "save attachment" instead; mail >> clients often screw up the whitespace (which I why I always do diffs as >> attachments, but with the hint set to allow clients to display them >> inline as well). >> >> -- Ian >> >> >