SynoCommunity / spksrc

Cross compilation framework to create native packages for the Synology's NAS
https://synocommunity.com
Other
3.02k stars 1.23k forks source link

Add apollolake support to some packages (Sonarr/Transmission/Radarr/etc) for DSX18+ #2945

Closed AthAshino closed 6 years ago

AthAshino commented 6 years ago

Setup

Package Name: Sonarr/Transmission/Radarr/SABnzbd/Python V2/nano/Jackett/Git Server/Python Package Version:

NAS Model: DS218+, DS718+, DS918+ NAS Architecture: Apollo Lake DSM version: 6.1

Expected behavior

Support for NAS devices (DS218+ specifically) with apollolake architecture in some packages (Sonarr, Radarr, Jackett and Transmission in my case).

Actual behavior

Sonarr, Radarr, Transmission, SABnzbd, Python v2, Jackett, Git Server, Python and nano are currently not available for apollolake-based NAS devices in SynoCommunity package repo.

Thank you for your time.

fanaticDavid commented 6 years ago

I've found the following additional packages to lack support for the Apollo Lake architecture (DS918+ in my case):

AthAshino commented 6 years ago

I add them to the list

AthAshino commented 6 years ago

Jacket added to the list

exxie commented 6 years ago

Here, Git and python packages from the synocommunity apps. These packages are different than the onse from Synology itself which are named Git Server and Python. These packages from synocommunity are required to make other packages work (such as couchpotato).

AthAshino commented 6 years ago

Added to the list.

AthAshino commented 6 years ago

I see the apollolake DSM 6.1 toolchains is available for download, what can we do with this ?

Ugator commented 6 years ago

Syncthing seems to be affected by this too

m4tt075 commented 6 years ago

Thanks for flaggging all this, but the issues are known. Please take a look at the FAQs in the Wiki w.r.t. support of new architectures as well as DSM6.1.

The Apollolake toolchains have been added to the DSM6 development branch recently (see PR #2942). However, the packages you are looking for require more than this (see e.g. issue #2904 and discussions therein). Work is in progress, but will likely take more time and lots of testing. You can track it via the references above. If you can and want to contribute, more than wellcome. Otherwise, please don't expect a quick fix.

AthAshino commented 6 years ago

Thank's for answer, I knew it was already known but I wanted to reference packages which need apollolake support. Is there any way to use these packages before apollolake support ?

cytec commented 6 years ago

@ThomasClemenceau well... generally speaking every SPK which isn't a "NO ARCH" SPK needs to be recompiled with the correct toolchains once we have DSM 6 Support ;)

ymartin59 commented 6 years ago

Even worst, SynoCommunity packages often use "busybox" so are rarely "no arch" even if packaged application is expected to be... It will change soon, as my generic "service" support gets ride of "busybox".

exxie commented 6 years ago

Anybody any news on when we can expect the missed packages on synocommunity?

skandragon commented 6 years ago

The "syncthing" package does build and seems to install well enough, so I'm not sure what's preventing it from being added at least. That, and syncthing-inotify

AthAshino commented 6 years ago

Can you try to build packages which are referenced above ? Ty

dumon commented 6 years ago

I’ve tried to build and install transmission, works fine with on DS218+

AthAshino commented 6 years ago

Can you give the spk ? I don't really know how to build packages from spksrc...

dumon commented 6 years ago

Sure, here it is: transmission_apollolake-6.1_2.92-12.spk.zip

AthAshino commented 6 years ago

Thank you ! Did you try with another packages from the list ?

dumon commented 6 years ago

Not yet, but I think they are compilable for now. I don't know who need to care about adding applications with new architecture or how to release it for repo, but they are coming soon I believe

AthAshino commented 6 years ago

m4tt075 said "please don't except a quick fix." few weeks ago. So I don't really know. I bought my synology for tv show/movies streaming and downloading, but I only can stream yet :'( I imagine I need to wait the DSM 6 supports :/

dumon commented 6 years ago

The same for me:) But from apps list above for your targets actually just transmission needed :) that I attached. I can try others, which app you need? Sonarr/Radarr/SABnzbd ?

AthAshino commented 6 years ago

Sonarr, Radarr and Jackett were these I used with my DS216j if you can try these I will be very thankful !

Viserius commented 6 years ago

If you could check for Couch Potato as well, you'll be my hero !

AthAshino commented 6 years ago

On my Syno, Couch Potato is available on synocommunity repo's.

Alberic76 commented 6 years ago

i also have the packages in my overview, but they don't work. keeps saying it needs GIT & Python. I have the DS218+, newest OS. Even if i install the community packages for GIT and Python i still get this error.

dumon commented 6 years ago

@ThomasClemenceau, try what you requested, I hope they are working... leave comments after test jackett_apollolake-6.1_0.7.1483-4.spk.zip nzbdrone_apollolake-6.1_20171026-10.spk.zip radarr_apollolake-6.1_20171026-3.spk.zip

Alberic76 commented 6 years ago

thank you so much, really appreciate the hard work!

Just tried to install radarr,jackett&nzbdrone: please install the following package before installing this package Mono (any version later then 3.6) (jacket 4.x) Where can i get mono? Update: I found mono once i turned on beta in package center. downloading now and retrying. Update: After installing latest mono beta, i am still getting the same mono errors. what am i doing wrong? Mono package is running and active.

Viserius commented 6 years ago

Thank you for your quick fixes here @dumon. Couch Potato is indeed available in the list, but it needs the Python and the Git package from Synocommunity, which are both not readily available. Same goes for sickrage I believe, these need python and git as well. I understand you do not want to compile all packages for all requests, but it would really help if you could provide these two, as these are quite general dependencies for a lot of projects. If this is too much work or if you can't do it for another reason, that's absolutely fine ! Thanks for what you've done so far, anyway! <3

dumon commented 6 years ago

@Producermark, it's not hard just to compile:) I did it. But I have no time to investigate and have no idea how to resolve issues like @aditvalue wrote (I have Mono 4.6 installed, but I faced with the same error for radarr), also python packages that you requested failed to build=( Find some apps bellow that successfully compiled: git_apollolake-6.1_2.11.0-10.spk.zip git-server_apollolake-6.1_1.8.3-1.spk.zip

AthAshino commented 6 years ago

I will try later. But I think Radarr/Jackett/Sonarr try to find the version of Mono which was released at last Sonarr update

Update : Same issue for radarr, jackett and sonarr saying I need to install Mono

m4tt075 commented 6 years ago

Mono testing package for apollolake with DSM 6.1+: https://www.dropbox.com/s/wgvvct1sf0507aq/mono_apollolake-6.1_5.8.0.22-9.spk?dl=0 Not tested whatsoever, but I assume you know what you are doing...

AthAshino commented 6 years ago

So with Mono, Sonarr and Radarr work fine, but Jackett can't be start, when I try nothing happens. :/ ty dumon and m4tt, now I will wait for Jackett :p

Alberic76 commented 6 years ago

radarrseems to be working with me also first installed https://www.dropbox.com/s/wgvvct1sf0507aq/mono_apollolake-6.1_5.8.0.22-9.spk?dl=0 Then installed radarr_apollolake-6.1_20171026-3.spk.zip After installtion i boot into radarr and get the site! tomorrow i will try the other packages, but it's looking very well! Thank you so much ;-)

jnags commented 6 years ago

If someone could compile nzbget 19.1 for apolloLake as well I would be eternally grateful. Right now my old DS412+ is doing all of the downloading and I am copying files over nightly onto the new server.

bservet commented 6 years ago

I just installed nzbget on my DS918+ by following the installation procedure:

https://nzbget.net/installation-on-linux

As a test, it started without any problems in console mode.

Now I need to wait for the recompile of Midnight Commander...

Viserius commented 6 years ago

Looked into the wiki and tried to compile some packages.

Maybe someone more experienced to the synocommunity repo can give us more of a status update as to what to expect in the coming days or weeks, would be great.

m4tt075 commented 6 years ago

I keep repeating myself, but here you go:

The Apollolake toolchains have been added to the DSM6 development branch recently (see PR #2942). However, the packages you are looking for require more than this (see e.g. issue #2904 and discussions therein). Work is in progress, but will likely take more time and lots of testing. You can track it via the references above. If you can and want to contribute, more than wellcome. Otherwise, please don't expect a quick fix.

sholden28 commented 6 years ago

@skandragon can you link the syncthing spk you compiled? It would be greatly appreciated.

darkeagl commented 6 years ago

I am greateful for everyone who is working on getting Apollolake running. I just bought a DS418play and tried to install Sickrage bit GIT and Python is missing :( Tried to compile them myself in a Debian VM but no luck (problems with the libc6-i386 if I remember right). Any progress is good progress, keep it up and also waiting for those two and sabnzbd :)

tchirou commented 6 years ago

Flagging this as I have migrated today from a DS414j to a DS418 and I am discovering some packages missing. I installed everything back then with DSM 5, so I still have everything on the disks I am not a Linux wizard. Do you think I could find a way to launch Sabnzbd, Sickrage and couchpotato with a script ? I had installed mylar manually with git, So I can launch it with putty with python Mylar.py --daemon (I have a script at startup) but as Sabnzbd does not work, it is useless. Thanks a lot !

zfkira commented 6 years ago

@Diaoul sorry to bother you. this is fei from china. just quick question regarding 918+, when the transmission package available on this platform.thank you.

Diaoul commented 6 years ago

@zfkira best you can do here is wait for someone to work on this issue. From a quick reading of this issue I can see SynoCommunity members already on it.

skandragon commented 6 years ago

@sholden28, I can but I will warn you, this is my first time delving into building this stuff. I'm a developer, and I used the docker image, so in theory it should be pretty consistent.

It's on my personal laptop at home, but I can put it somewhere and link it here.

sholden28 commented 6 years ago

That would be great, thank you. I understand and accept the risk. I should be able to find and address any issues once I have something to start from.

chander421 commented 6 years ago

@Producermark

Radarr compiles and runs, but no directories can be used as there is a problem with permissions of sc-radarr user.

Just edit the sc-media group's permissions and you'll see your directories.

tchirou commented 6 years ago

Hi Guys I have an opportunity to go from DS418 to DS418play for something like 30$ As I understand the DS418play is an intel apollo lake, do you think I would have more chance seeing these packages being usable with the DS418play than with the DS418 (which has a realtek) ? Or once the problems are sorted through with DSM 6, they will be available for all machines ? Thanks a lot

AidenJ2409 commented 6 years ago

Hello to you all. I bought an DS218Play last week and bumped into the known issues that Git and Python are missing, so we cant install SickRage, SabNzb etc..

I stumbled across this conversation in here and saw that some of you compiled and shared spk's for DSM 6.1.

I tried some of them but only encountered errors and cant install any of them.

Is there something that i'm missing here? If yes could one of you smart people point me in the right direction? :)

4446546 commented 6 years ago

Hello all, I can't find Deluge Apollolake version for DS918+. Can you help me? Thanks a lot

xartle commented 6 years ago

@dumon Have you already done a git push on your packages? If so, we should do the pull request and try to get it reviewed.

wshyang commented 6 years ago

Hi all, any chance we can have Tmux for DS918+ (Apollolake) too? ;)