Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syncthing package does not work on DS213+ #3456

Closed
pilcru opened this issue Sep 12, 2018 · 3 comments · Fixed by #3460
Closed

Syncthing package does not work on DS213+ #3456

pilcru opened this issue Sep 12, 2018 · 3 comments · Fixed by #3460

Comments

@pilcru
Copy link

pilcru commented Sep 12, 2018

Setup

Package Name: Syncthing
Package Version: 0.14.49-15

NAS Model: DS213+
NAS Architecture: e500v2 (freescale qoriq p1022)
DSM version: 6.2

Expected behavior

Clicking on run package should start syncthing

Actual behavior

Package status stays on stopped

Steps to reproduce

1. Install syncthing from DSM GUI
2. Run it

Package log

Check Package Center or /usr/local/{package}/var/

Wed Sep 12 19:15:27 EDT 2018
Starting syncthing command /volume1/@appstore/syncthing/bin/syncthing -home=/volume1/@appstore/syncthing/var

Other logs

It looks like it was not compiled for the correct architecture:

> file /volume1/@appstore/syncthing/bin/syncthing
syncthing: ELF 64-bit MSB executable, 64-bit PowerPC or cisco 7500, version 1 (SYSV), statically linked, not stripped

When it should say:

ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV)

Maybe it's just not getting the correct package? I tried manually installing the .spk for qoriq but got the same results.

@cytec
Copy link
Member

cytec commented Sep 13, 2018

PPC isn't supported by go so there is no way to compile it for 32bit ppc.
Not sure why it even shows up in Package center afaik we only provide a 64bit ppc version \cc @Safihre

@pilcru
Copy link
Author

pilcru commented Sep 14, 2018

Ah I see, that's too bad! I think the issue is when the arch is selected here, $(PPC_ARCHES) matches qoriq even though that's not going to be compatible with the ppc64 that's defined in that case.

@ymartin59
Copy link
Contributor

Sure that was a mistake - I have just disabled package... Please vote here golang/go#22885 for ppc32 support in Go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants