RSB building problem

Chris Johns chrisj at rtems.org
Mon Mar 10 04:28:36 UTC 2014


On 10/03/2014 1:36 am, Joel Sherrill wrote:
>  > + cd
> /home/rerber/rtems/rsb/rtems/build/arm-rtems4.11-gcc-4.8.2-newlib-2.1.0-1
>  > + /bin/bzip2 -dc /home/rerber/rtems/rsb/rtems/sources/mpfr-3.0.1.tar.bz2
>  > + /bin/tar -xvvf -
>  >
>  > bzip2: Compressed file ends unexpectedly;
>  >         perhaps it is corrupted?  *Possible* reason follows.
>  > bzip2: Success
>  >         Input file =
> /home/rerber/rtems/rsb/rtems/sources/mpfr-3.0.1.tar.bz2, output file =
> (stdout)
>  >
>  > It is possible that the compressed file(s) have become corrupted.
>  > You can use the -tvv option to test integrity of such files.
>  >
>  > You can use the `bzip2recover' program to attempt to recover
>  > data from undamaged sections of corrupted files.
>  >
>  > /bin/tar: This does not look like a tar archive
>  > /bin/tar: Exiting with failure status due to previous errors
>  > Build Set: Time 0:02:12.861282
>  > error: shell cmd failed: /bin/sh -ex
>   /home/rerber/rtems/rsb/rtems/build/arm-rtems4.11-gcc-4.8.2-newlib-2.1.0-1/doit
>  >
>  > I don't known what reason the error is? Thank you!
>
> Delete that file and try again. Maybe there was a bad or interrupted
> download.

Looks like I need to add a hash to check the file. If the file does not 
match the hash I will download it again and if the hash fails I will 
generate an error.

I am not sure when I can get to this.

Chris



More information about the users mailing list