SynologyOpenSource / pkgscripts-ng

Synology DSM6.0 package toolkit framework
162 stars 56 forks source link

EnvDeploy: Toolchains for DSM 6.2.2 not installable #19

Open cwuensch opened 4 years ago

cwuensch commented 4 years ago

EnvDeploy -v 6.1 -p rtd1296 downloads and installs the toolchain for DSM 6.1.

EnvDeploy -v 6.2.2 --list lists a lot of available platforms for which the toolkit should be downloadable, "x64", "apollolake" and "rtd1296" are in the list.

EnvDeploy -v 6.2.2 -p rtd1296 (or any other platform) fails with:

DownloadToolkitError: URL https://sourceforge.net/projects/dsgpl/files/toolkit/DSM6.2.2/base_env-6.2.2.txz does not exist. Please ask synology support for assistance.

[ERROR] pkgscripts-ng/EnvDeploy -v 6.2.2 -p rtd1296 failed!

dragonauta commented 4 years ago

major.minor.patch is the versioning (in example 6.2.2). I think that for EnvDeploy only works with major.minor version (If you manually check on sourceforge you will see) There's no control for the patch number. Try 6.2.3, or 6.2.9 and gives same error. Try 6.2 and runs, try 6.3 and gives no platform.

cwuensch commented 4 years ago

Did you try this? I tried 6.2 and it did not work either.

dragonauta commented 4 years ago

Yes, using 6.2 downloads all packages from SF, but I get errors in the tar step (when extracting can't create /dev files). Opened an issue

lucidBrot commented 4 years ago

Following this guide but with armadaxp I also encounter this problem:

root@2eb714f6d5a9:/# cd ~
root@2eb714f6d5a9:~# git clone https://github.com/SynologyOpenSource/pkgscripts-ng
Cloning into 'pkgscripts-ng'...
remote: Enumerating objects: 207, done.
remote: Total 207 (delta 0), reused 0 (delta 0), pack-reused 207
Receiving objects: 100% (207/207), 105.39 KiB | 691.00 KiB/s, done.
Resolving deltas: 100% (121/121), done.
root@2eb714f6d5a9:~# pkgscripts-ng/EnvDeploy -v 6.2 --list
Available platforms: 6281 alpine alpine4k apollolake armada370 armada375 armada37xx armada38x armadaxp avoton braswell broadwell broadwellnk bromolow cedarview comcerto2k denverton dockerx64 evansport grantley hi3535 kvmx64 monaco qoriq rtd1296 x64
root@2eb714f6d5a9:~# pkgscripts-ng/EnvDeploy -v 6.2 -p armadaxp

DownloadToolkitError:
URL https://sourceforge.net/projects/dsgpl/files/toolkit/DSM6.2/base_env-6.2.txz does not exist. Please ask synology support for assistance.

[ERROR] pkgscripts-ng/EnvDeploy -v 6.2 -p armadaxp failed!
root@2eb714f6d5a9:~# pkgscripts-ng/EnvDeploy -v 6.3 -p armadaxp

PlatformNotAvailableError:
[armadaxp] is not available platform.

[ERROR] pkgscripts-ng/EnvDeploy -v 6.3 -p armadaxp failed!
root@2eb714f6d5a9:~# pkgscripts-ng/EnvDeploy -v 6.2.9 -p armadaxp

DownloadToolkitError:
URL https://sourceforge.net/projects/dsgpl/files/toolkit/DSM6.2.9/base_env-6.2.9.txz does not exist. Please ask synology support for assistance.

[ERROR] pkgscripts-ng/EnvDeploy -v 6.2.9 -p armadaxp failed!
root@2eb714f6d5a9:~# uname -a
Linux 2eb714f6d5a9 5.4.0-42-generic #46~18.04.1-Ubuntu SMP Fri Jul 10 07:21:24 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
root@2eb714f6d5a9:~# 

Notably, the link for -v 6.2 at https://sourceforge.net/projects/dsgpl/files/toolkit/DSM6.2/base_env-6.2.txz does exist when I open it in the browser. Or at least, it worked 5 minutes ago. Now it's giving me an Error 500. And another minute later, it looks like the download script is actually working... but then it worked for one file and failed for the other two.

I'm now printing the urls that fail and downloading them manually through the browser, then copying them over to toolkit_tarballs.