Help with unrar on Fedora12 arm5vtel

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Flakes
Newbie
Newbie
Posts: 9
Joined: October 24th, 2012, 7:48 am

Help with unrar on Fedora12 arm5vtel

Post by Flakes »

Hi guys,

you are my last beacon of hope. I am pretty much a noob with linux, and i have a problem i just can t figure out on my own.

I m running a NAS (Silverstone DC01) with ARM11 CPU and Fedora12. My goal is sichbeard and sabnzbd and with my limited skills i got pretty far.

- ssh with root
- YUM is running
- Python
- Cheetah
- Sickbeard is running great
- SABnzbd runs

But one last problem. UNRAR. And as you can imagine, the whole setup is pretty useless without unrar.

I can t find a matching packet of unrar for my system. YUM doesn t have it. My source for rpms (http://ftp.linux.org.uk/pub/linux/arm/f ... /Packages/) has no unrar ether.

Next thing i tried was the rarlab site. There is a ARM version available (http://www.rarlab.com/rar_add.htm), but that just quits with "lib/ld-linux.so.2: bad ELF interpreter", so i guess it s not compatible to my Fedora12 setup.

I also tried to compile it myself but since it is a small NAS i have only 20MB free space on the 200MB Flash drive and the packets to compile use at least 20MB ...

So i am stuck and i don t know what to do now. I got so far and now give up because unrar? No way. So i need your help. Any ideas?
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Help with unrar on Fedora12 arm5vtel

Post by sander »

In March this year, I had a FCxyz running on QEMU emulating the Raspi. I then created a unrar in the virtual machine. See the result here: http://www.appelboor.com/dump/unrar-rpm ... berry-arm/

So ... does that work on your ARM machine ... ?
Flakes
Newbie
Newbie
Posts: 9
Joined: October 24th, 2012, 7:48 am

Re: Help with unrar on Fedora12 arm5vtel

Post by Flakes »

I get "illegal instruction" as the result.
Flakes
Newbie
Newbie
Posts: 9
Joined: October 24th, 2012, 7:48 am

Re: Help with unrar on Fedora12 arm5vtel

Post by Flakes »

No ideas? :(
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Help with unrar on Fedora12 arm5vtel

Post by sander »

Flakes wrote:No ideas? :(
Are you really looking for "ideas"? If so, read the words in the first line of my post; they should give you hints.

But based on your short reply on 24 Oct 2012, I got the idea you're not too cooperative.
Flakes
Newbie
Newbie
Posts: 9
Joined: October 24th, 2012, 7:48 am

Re: Help with unrar on Fedora12 arm5vtel

Post by Flakes »

Well, it s not that i am not trying. To be exact, i am trying two weeks now.
I considered QEMU but i have zero experience with linux. It is a bit over my head. I don t even know where to start with that. So i was hoping for another solution.

I m willing to try anything but if theres not a good tutorial i will probably fail.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Help with unrar on Fedora12 arm5vtel

Post by sander »

I see that you already posted in a Fedora forum. I think that's a better forum than here in SABnzbd's.
Flakes
Newbie
Newbie
Posts: 9
Joined: October 24th, 2012, 7:48 am

Re: Help with unrar on Fedora12 arm5vtel

Post by Flakes »

I finally found a working rpm, so if anyone else encounters the same problem, here you go: http://c.dyndns.org/repo/bs/el5/armv5tel/

Thanks for the help guys!

----
edit

Oh well, it seems i was too quick. Now i get "WARNING::[newsunpack:611] ERROR: Unknown option" whenever sabnzbd tries to unrar anything.
This is just great.

This is the unrar version that works. Don t tell me it s too old.
https://dl.dropbox.com/u/20115178/unrar2.PNG :(
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Help with unrar on Fedora12 arm5vtel

Post by shypike »

Which version of unrar does it claim to be?
Flakes
Newbie
Newbie
Posts: 9
Joined: October 24th, 2012, 7:48 am

Re: Help with unrar on Fedora12 arm5vtel

Post by Flakes »

The file is "unrar-3.9.4-1.rf.armv5tel.rpm"

When i type unrar it says "Unrar 3.90 Beta 3"
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Help with unrar on Fedora12 arm5vtel

Post by sander »

A few things to do:

The most 'easy' thing: find unrar 4.10.

If you can't:

Turn on +Debug in the logging SABnzbd, and run the download again. With Debug on, the sabnzbd.log will show the exact unrar command that SABnzbd is trying to run (see line 555 of newsunpack.py).

Then try that command from the command line. Post the output here. See if it fails, or that SAB just *thinks* it fails. If it really fails, change the command line option to something that does work. Report it here. From line 520 unwards in newsunpack,py find the failing option. Change it in the source, and see if it works.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Help with unrar on Fedora12 arm5vtel

Post by sander »

PS:

As a test, I'm now running SABnzbd 0.7.4 on Ubuntu 8.04 LTS which has UNRAR 3.71, and SAB's main screen says:
Your UNRAR version is not recommended, get it from http://www.rarlab.com/rar_add.htm
Don't you get that warning?

EDIT:

I downloaded a 500 MB post with SAB 0.7.4 with mentioned UNRAR 3.71 beta 1 freeware, and ... no problem at all.

So ... can you try other posts, and see if they work OK with your unrar 3.9?
Flakes
Newbie
Newbie
Posts: 9
Joined: October 24th, 2012, 7:48 am

Re: Help with unrar on Fedora12 arm5vtel

Post by Flakes »

Hey.

First: thanks for your help. I really appreciate it.

The problem seems to be unrar, not sabnzdb. If i try to unrar anything from the command line unrar quits with "segmentation fault". So my unrar seems either to be broken or not compatible at all.
"unrar --help" works fine but as soon as i am trying to unpack anything i get the segmentation fault error.

Back to square one, i guess. :/
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: Help with unrar on Fedora12 arm5vtel

Post by sander »

Pity.

Can't upgrade the whole NAS to a more recent Fedora that has a supported unrar version?
Flakes
Newbie
Newbie
Posts: 9
Joined: October 24th, 2012, 7:48 am

Re: Help with unrar on Fedora12 arm5vtel

Post by Flakes »

Phew... I did it. Qemu after all.

I am so happy now. Sander do you have paypal? I want to buy you a beer. :)
Post Reply