Rockbox Development > Starting Development and Compiling

Compressed file ends unexpectedly, While compiling

(1/3) > >>

psgarcha92:
Hey Guys
have just started my trials to compile RockBox with patches.
i have Ubuntu 11.04 setup on my laptop with an internet connection.
Now the problem is, i compile it, and am building it for Sansa fuze,
at the point i enter the "e", i get this
ROCKBOXDEV: extracting binutils-2.20.1.tar.bz2
bzip2: Compressed file ends unexpectedly;
   perhaps it is corrupted?  *Possible* reason follows.
bzip2: Inappropriate ioctl for device
   Input file = (stdin), 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.

tar: Child returned status 2
tar: Error is not recoverable: exiting now

Whats going wrong?

bluebrother:
Probably a bad download, as the output says :) Remove the temporary files rockboxdrv.sh creates and try again.

psgarcha92:
Where are the temporary files exactly?

[Saint]:

--- Quote from: psgarcha92 on May 02, 2011, 05:32:34 PM ---Where are the temporary files exactly?

--- End quote ---

You will need to remove the directory /tmp/rbdev-dl/, if I remember correctly it's not good enough to delete the contents of rbdev-dl as I believe rockboxdev.sh complains if it encounters it present at all.


[St.]

psgarcha92:
Hey
i am encountering a new problem now,
i have the source, downloaded using the command
"svn co svn://svn.rockbox.org/rockbox/trunk rockbox"
and then, "sudo apt-get install build-essential libc6-dev texinfo libgmp3-dev libmpfr-dev"
now, i guess before compiling is the point where i have to apply the patches, which in my case is the usb patch for sansa fuze.
so i put the patch files ending in .diff into the source directory /rockbox
and when i try to patch the sorce as follows, i get

prabhdeepsingh@ubuntu:~$ cd rockbox
prabhdeepsingh@ubuntu:~/rockbox$ sudo patch --binary -p0 < enable.diff
[sudo] password for prabhdeepsingh:
patching file b/firmware/export/config/sansaclipplus.h
Hunk #1 FAILED at 179.
1 out of 1 hunk FAILED -- saving rejects to file b/firmware/export/config/sansaclipplus.h.rej
patching file b/firmware/export/config/sansafuzev2.h
Hunk #1 FAILED at 193.
1 out of 1 hunk FAILED -- saving rejects to file b/firmware/export/config/sansafuzev2.h.rej



from what i get, i think that there is no directory and file that the patch specifies, which is backed by the fact that there is no actual a/firmware.... directory in the source folder.
what am i doing wrong guys?

Navigation

[0] Message Index

[#] Next page

Go to full version