Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Mar 2015 00:07:29 -0700
From:      Russell Haley <russ.haley@gmail.com>
To:        Ian Lepore <ian@freebsd.org>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Digi-CCWMX53 - u-boot
Message-ID:  <CABx9NuRXyrsyYER0B4T=FzuhS8R%2B9h4rBW-RtPFG3Gb_8=1OtQ@mail.gmail.com>
In-Reply-To: <CABx9NuRwuwBa4zTiR5L-%2BKoGJFd51q-fsJP97UwKqRyNnapehg@mail.gmail.com>
References:  <CABx9NuQZe3k%2BAtRxtUg5k3=5jM20RQdgnwpuKr9uc07VY1C1EQ@mail.gmail.com> <622469F8-C245-4E84-B5E1-FE360D3C9B4C@me.com> <CABx9NuRhwfW=AZ%2BLUnQ4f2yzO-cf%2BbNX28BZqP6KCs5xKf-G-g@mail.gmail.com> <F33D2637-1D5D-431F-89D4-D9C051582A57@me.com> <CABx9NuQD=tapnsueRQO-mQq5=sRZ4RLPg7fRyuyk237HH=8vDA@mail.gmail.com> <215C10E1-9F47-46B6-A60B-430D7DEDA090@me.com> <CABx9NuTbuxyu-W%2BgLznVnFS1aAivw6u6HPHuD99d1=f-staC=g@mail.gmail.com> <1427212609.5591.10.camel@freebsd.org> <1427220117.1588.1.camel@freebsd.org> <CABx9NuSeJhUZz1SPYzrv70Rm0=wwjiSu0TH0yXZzwvwKZkWatQ@mail.gmail.com> <1427292010.75747.2.camel@freebsd.org> <CABx9NuRwuwBa4zTiR5L-%2BKoGJFd51q-fsJP97UwKqRyNnapehg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <russ.haley@gmail.com> 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" <ian@freebsd.org> 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
>>
>>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABx9NuRXyrsyYER0B4T=FzuhS8R%2B9h4rBW-RtPFG3Gb_8=1OtQ>