Buildroot build error

View: New views
9 Messages — Rating Filter:   Alert me  

Buildroot build error

by Bo hee Lee :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hello everyone,

 I am new using gumstix-verdex. I tried to build Buildroot on my Ubuntu9.04, but I found the compilation error like below. I really don't know how to repair the error. Please give me some idea for that. Thanks.

 

======================================

/home/bhlee/gumstix/buildrobot/toolchain/quilt/share/push: line 122: /usr/lib64/quilt/backup-files: No such file or directory
Applying patch /home/bhlee/gumstix/buildrobot/toolchain/uClibc/restore-baudrates.patch
patching file libc/sysdeps/linux/common/bits/termios.h
Hunk #1 FAILED at 156.
Hunk #2 FAILED at 170.
2 out of 2 hunks FAILED -- rejects in file libc/sysdeps/linux/common/bits/termios.h
Patch /home/bhlee/gumstix/buildrobot/toolchain/uClibc/restore-baudrates.patch does not apply (enforce with -f)
make: *** [/home/bhlee/gumstix/buildrobot/toolchain_build_arm_nofpu/uClibc/..patched] Error 1 








------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: Buildroot build error

by Dave Hylands :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I know for OE, I had to use the 4.1 version of gcc to build the verdex
stuff. I suspect that you'll need to do something similar for
buildroot.

>  I am new using gumstix-verdex. I tried to build Buildroot on my Ubuntu9.04, but I found the compilation error like below. I really don't know how to repair the error. Please give me some idea for that. Thanks.

> /home/bhlee/gumstix/buildrobot/toolchain/quilt/share/push: line 122: /usr/lib64/quilt/backup-files: No such file or directory
> Applying patch /home/bhlee/gumstix/buildrobot/toolchain/uClibc/restore-baudrates.patch
> patching file libc/sysdeps/linux/common/bits/termios.h
> Hunk #1 FAILED at 156.
> Hunk #2 FAILED at 170.
> 2 out of 2 hunks FAILED -- rejects in file libc/sysdeps/linux/common/bits/termios.h
> Patch /home/bhlee/gumstix/buildrobot/toolchain/uClibc/restore-baudrates.patch does not apply (enforce with -f)
> make: *** [/home/bhlee/gumstix/buildrobot/toolchain_build_arm_nofpu/uClibc/..patched] Error 1

Although this particular error doesn't look like a toolchain issue.

Perhaps quilt has changed?
I see on my Ubuntu 9.04 system, that backup-files is found on
/usr/share/quilt/scripts/backup-files. Maybe some scripts in the
buildroot stuff are trying to call a script directly from quilt, and
can't find it because the location changed with a newer version of
quilt.

--
Dave Hylands
Shuswap, BC, Canada
http://www.DaveHylands.com/

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: Buildroot build error

by Arigead :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dave Hylands wrote:

> I know for OE, I had to use the 4.1 version of gcc to build the verdex
> stuff. I suspect that you'll need to do something similar for
> buildroot.
>
>>  I am new using gumstix-verdex. I tried to build Buildroot on my Ubuntu9.04, but I found the compilation error like below. I really don't know how to repair the error. Please give me some idea for that. Thanks.
>
>> /home/bhlee/gumstix/buildrobot/toolchain/quilt/share/push: line 122: /usr/lib64/quilt/backup-files: No such file or directory
>> Applying patch /home/bhlee/gumstix/buildrobot/toolchain/uClibc/restore-baudrates.patch
>> patching file libc/sysdeps/linux/common/bits/termios.h
>> Hunk #1 FAILED at 156.
>> Hunk #2 FAILED at 170.
>> 2 out of 2 hunks FAILED -- rejects in file libc/sysdeps/linux/common/bits/termios.h
>> Patch /home/bhlee/gumstix/buildrobot/toolchain/uClibc/restore-baudrates.patch does not apply (enforce with -f)
>> make: *** [/home/bhlee/gumstix/buildrobot/toolchain_build_arm_nofpu/uClibc/..patched] Error 1
>
> Although this particular error doesn't look like a toolchain issue.
>
> Perhaps quilt has changed?
> I see on my Ubuntu 9.04 system, that backup-files is found on
> /usr/share/quilt/scripts/backup-files. Maybe some scripts in the
> buildroot stuff are trying to call a script directly from quilt, and
> can't find it because the location changed with a newer version of
> quilt.
>
> --
> Dave Hylands
> Shuswap, BC, Canada
> http://www.DaveHylands.com/
>

This link might help you. I used the instructions for building on 9.04
but I'm now moved to 9.10 and trying to get things to work on that one.

http://gumstix.net/wiki/index.php?title=Build_Environment_Ubuntu_9.04

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: Buildroot build error

by Sean Stallbaum :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That's true, the link works great for OE, but if we are trying to build Buildroot so we have still have the problem of wonky patches, etc. 

OE is great in making the standard packages, but in my case I am looking for a PlayerStage recipe and not having any luck ... so having buildroot's toolchain available would be great for building PlayerStage

Along the line of patched, I have tried removing the offending patches from the temp directory and managed to get a little further, but still cannot make it all the way thought to get a competed Buildroot.

Respectfully,

Sean Stallbaum

Serena Software, Inc. | Sr. Technical Consultant
E: SStallbaum@... | P: 216-374-9195
Sent from Lakewood, Ohio, United States

On Tue, Nov 3, 2009 at 9:53 AM, Arigead <captain.deadly@...> wrote:
Dave Hylands wrote:
> I know for OE, I had to use the 4.1 version of gcc to build the verdex
> stuff. I suspect that you'll need to do something similar for
> buildroot.
>
>>  I am new using gumstix-verdex. I tried to build Buildroot on my Ubuntu9.04, but I found the compilation error like below. I really don't know how to repair the error. Please give me some idea for that. Thanks.
>
>> /home/bhlee/gumstix/buildrobot/toolchain/quilt/share/push: line 122: /usr/lib64/quilt/backup-files: No such file or directory
>> Applying patch /home/bhlee/gumstix/buildrobot/toolchain/uClibc/restore-baudrates.patch
>> patching file libc/sysdeps/linux/common/bits/termios.h
>> Hunk #1 FAILED at 156.
>> Hunk #2 FAILED at 170.
>> 2 out of 2 hunks FAILED -- rejects in file libc/sysdeps/linux/common/bits/termios.h
>> Patch /home/bhlee/gumstix/buildrobot/toolchain/uClibc/restore-baudrates.patch does not apply (enforce with -f)
>> make: *** [/home/bhlee/gumstix/buildrobot/toolchain_build_arm_nofpu/uClibc/..patched] Error 1
>
> Although this particular error doesn't look like a toolchain issue.
>
> Perhaps quilt has changed?
> I see on my Ubuntu 9.04 system, that backup-files is found on
> /usr/share/quilt/scripts/backup-files. Maybe some scripts in the
> buildroot stuff are trying to call a script directly from quilt, and
> can't find it because the location changed with a newer version of
> quilt.
>
> --
> Dave Hylands
> Shuswap, BC, Canada
> http://www.DaveHylands.com/
>

This link might help you. I used the instructions for building on 9.04
but I'm now moved to 9.10 and trying to get things to work on that one.

http://gumstix.net/wiki/index.php?title=Build_Environment_Ubuntu_9.04

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: Buildroot build error

by Arigead :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sean Stallbaum wrote:

> That's true, the link works great for OE, but if we are trying to build
> Buildroot so we have still have the problem of wonky patches, etc.
>
> OE is great in making the standard packages, but in my case I am looking
> for a PlayerStage recipe and not having any luck ... so having
> buildroot's toolchain available would be great for building PlayerStage
>
> Along the line of patched, I have tried removing the offending patches
> from the temp directory and managed to get a little further, but still
> cannot make it all the way thought to get a competed Buildroot.
>
> Respectfully,
>
> Sean Stallbaum
>
> Serena Software, Inc. | Sr. Technical Consultant
> E: SStallbaum@... <mailto:SStallbaum@...> | P: 216-374-9195
> Sent from Lakewood, Ohio, United States
>
> On Tue, Nov 3, 2009 at 9:53 AM, Arigead <captain.deadly@...
> <mailto:captain.deadly@...>> wrote:
>
>     Dave Hylands wrote:
>     > I know for OE, I had to use the 4.1 version of gcc to build the verdex
>     > stuff. I suspect that you'll need to do something similar for
>     > buildroot.
>     >
>     >>  I am new using gumstix-verdex. I tried to build Buildroot on my
>     Ubuntu9.04, but I found the compilation error like below. I really
>     don't know how to repair the error. Please give me some idea for
>     that. Thanks.
>     >
>     >> /home/bhlee/gumstix/buildrobot/toolchain/quilt/share/push: line
>     122: /usr/lib64/quilt/backup-files: No such file or directory
>     >> Applying patch
>     /home/bhlee/gumstix/buildrobot/toolchain/uClibc/restore-baudrates.patch
>     >> patching file libc/sysdeps/linux/common/bits/termios.h
>     >> Hunk #1 FAILED at 156.
>     >> Hunk #2 FAILED at 170.
>     >> 2 out of 2 hunks FAILED -- rejects in file
>     libc/sysdeps/linux/common/bits/termios.h
>     >> Patch
>     /home/bhlee/gumstix/buildrobot/toolchain/uClibc/restore-baudrates.patch
>     does not apply (enforce with -f)
>     >> make: ***
>     [/home/bhlee/gumstix/buildrobot/toolchain_build_arm_nofpu/uClibc/..patched]
>     Error 1
>     >
>     > Although this particular error doesn't look like a toolchain issue.
>     >
>     > Perhaps quilt has changed?
>     > I see on my Ubuntu 9.04 system, that backup-files is found on
>     > /usr/share/quilt/scripts/backup-files. Maybe some scripts in the
>     > buildroot stuff are trying to call a script directly from quilt, and
>     > can't find it because the location changed with a newer version of
>     > quilt.
>     >
>     > --
>     > Dave Hylands
>     > Shuswap, BC, Canada
>     > http://www.DaveHylands.com/
>     >
>
>     This link might help you. I used the instructions for building on 9.04
>     but I'm now moved to 9.10 and trying to get things to work on that one.
>
>     http://gumstix.net/wiki/index.php?title=Build_Environment_Ubuntu_9.04
>

Sorry I should have read that more carefully :-(

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: Buildroot build error

by Dave Hylands :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Sean,

On Tue, Nov 3, 2009 at 7:23 AM, Sean Stallbaum <sstallbaum@...> wrote:
> That's true, the link works great for OE, but if we are trying to build
> Buildroot so we have still have the problem of wonky patches, etc.
>
> OE is great in making the standard packages, but in my case I am looking for
> a PlayerStage recipe and not having any luck ... so having buildroot's
> toolchain available would be great for building PlayerStage

So if you can get OE to build for your platform, why not just use the
toolchain that OE builds?

--
Dave Hylands
Shuswap, BC, Canada
http://www.DaveHylands.com/

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
gumstix-users mailing list
gumstix-users@...
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: Buildroot build error

by Bo hee Lee :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thank you for the replay.
I have Quilt return to old version using backup-files, but the error was not repaired.
 

Regards,
B.H. Lee


Dave Hylands wrote:
I know for OE, I had to use the 4.1 version of gcc to build the verdex
stuff. I suspect that you'll need to do something similar for
buildroot.

>  I am new using gumstix-verdex. I tried to build Buildroot on my Ubuntu9.04, but I found the compilation error like below. I really don't know how to repair the error. Please give me some idea for that. Thanks.

> /home/bhlee/gumstix/buildrobot/toolchain/quilt/share/push: line 122: /usr/lib64/quilt/backup-files: No such file or directory
> Applying patch /home/bhlee/gumstix/buildrobot/toolchain/uClibc/restore-baudrates.patch
> patching file libc/sysdeps/linux/common/bits/termios.h
> Hunk #1 FAILED at 156.
> Hunk #2 FAILED at 170.
> 2 out of 2 hunks FAILED -- rejects in file libc/sysdeps/linux/common/bits/termios.h
> Patch /home/bhlee/gumstix/buildrobot/toolchain/uClibc/restore-baudrates.patch does not apply (enforce with -f)
> make: *** [/home/bhlee/gumstix/buildrobot/toolchain_build_arm_nofpu/uClibc/..patched] Error 1

Although this particular error doesn't look like a toolchain issue.

Perhaps quilt has changed?
I see on my Ubuntu 9.04 system, that backup-files is found on
/usr/share/quilt/scripts/backup-files. Maybe some scripts in the
buildroot stuff are trying to call a script directly from quilt, and
can't find it because the location changed with a newer version of
quilt.

--
Dave Hylands
Shuswap, BC, Canada
http://www.DaveHylands.com/

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: Buildroot build error

by Bo hee Lee :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks.
I installed Ubuntu 9.10 on my PC and did same test, but same error message happened.

Sincerly,
B.H. Lee


 
Arigead wrote:
Dave Hylands wrote:
> I know for OE, I had to use the 4.1 version of gcc to build the verdex
> stuff. I suspect that you'll need to do something similar for
> buildroot.
>
>>  I am new using gumstix-verdex. I tried to build Buildroot on my Ubuntu9.04, but I found the compilation error like below. I really don't know how to repair the error. Please give me some idea for that. Thanks.
>
>> /home/bhlee/gumstix/buildrobot/toolchain/quilt/share/push: line 122: /usr/lib64/quilt/backup-files: No such file or directory
>> Applying patch /home/bhlee/gumstix/buildrobot/toolchain/uClibc/restore-baudrates.patch
>> patching file libc/sysdeps/linux/common/bits/termios.h
>> Hunk #1 FAILED at 156.
>> Hunk #2 FAILED at 170.
>> 2 out of 2 hunks FAILED -- rejects in file libc/sysdeps/linux/common/bits/termios.h
>> Patch /home/bhlee/gumstix/buildrobot/toolchain/uClibc/restore-baudrates.patch does not apply (enforce with -f)
>> make: *** [/home/bhlee/gumstix/buildrobot/toolchain_build_arm_nofpu/uClibc/..patched] Error 1
>
> Although this particular error doesn't look like a toolchain issue.
>
> Perhaps quilt has changed?
> I see on my Ubuntu 9.04 system, that backup-files is found on
> /usr/share/quilt/scripts/backup-files. Maybe some scripts in the
> buildroot stuff are trying to call a script directly from quilt, and
> can't find it because the location changed with a newer version of
> quilt.
>
> --
> Dave Hylands
> Shuswap, BC, Canada
> http://www.DaveHylands.com/
>

This link might help you. I used the instructions for building on 9.04
but I'm now moved to 9.10 and trying to get things to work on that one.

http://gumstix.net/wiki/index.php?title=Build_Environment_Ubuntu_9.04

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users

Re: Buildroot build error

by Bo hee Lee :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello !

I finally couldn't fix my error for buildroot. So if anyone can give me the image file of buildroot(ubuntu9.04 or later), it will be helpful to understand and repair the buildroot. Thanks in advance.

Sincerly,
B.H. Lee  
Bo hee Lee wrote:







 
 
   
      Hello everyone,
       I am new using gumstix-verdex. I tried to build Buildroot on my
      Ubuntu9.04, but I found the compilation error like below. I really
      don't know how to repair the error. Please give me some idea for that.
      Thanks.
       
      ======================================
      /home/bhlee/gumstix/buildrobot/toolchain/quilt/share/push: line 122:
      /usr/lib64/quilt/backup-files: No such file or directory Applying patch
      /home/bhlee/gumstix/buildrobot/toolchain/uClibc/restore-baudrates.patch patching
      file libc/sysdeps/linux/common/bits/termios.h Hunk #1 FAILED at
      156. Hunk #2 FAILED at 170. 2 out of 2 hunks FAILED -- rejects
      in file libc/sysdeps/linux/common/bits/termios.h Patch
      /home/bhlee/gumstix/buildrobot/toolchain/uClibc/restore-baudrates.patch
      does not apply (enforce with -f) make: ***
      [/home/bhlee/gumstix/buildrobot/toolchain_build_arm_nofpu/uClibc/..patched]
      Error 1 





------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users