View Single Post
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#116
I've read thru' this whole thread and saw a couple of posters with the following error:

Code:
tar: unrecognized option '--format=gnu'
BusyBox v1.19.0.git (MeeGo 3:1.19-8+0m6) multi-call binary.
Usage: tar -[cxtzjhmvO] [-X FILE] [-T FILE] [-f TARFILE] [-C DIR] [FILE]...
dpkg-deb: subprocess tar -cf returned error exit status 1

There is a work-around for the above:
- Download this tar file from my dropbox: http://db.tt/zSChAgJA

In terminal as root:

- cp -R /path/to/downloaded/tar /bin/

- chmod 775 /bin/tar

Now just repeat your packaging and you are done



Edit:
If you are wondering what I did; i downloaded gnu-tar to my system from harmattan sdk repo...Doing a dpkg -i to the downloaded tar didn't work as diversions are not allowed on the n9...

So i extracted from the .deb that i downloaded the above tar file and voila doing the above fixed it up...


Edit 2: Now for packaging just follow the first post's instructions with the above fix and it should work...

Last edited by thedead1440; 2012-09-02 at 06:03.
 

The Following User Says Thank You to thedead1440 For This Useful Post: