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

DS918+ DSM7.1 Compiling issue #172

Open
lowrisk75 opened this issue Nov 30, 2022 · 4 comments
Open

DS918+ DSM7.1 Compiling issue #172

lowrisk75 opened this issue Nov 30, 2022 · 4 comments

Comments

@lowrisk75
Copy link

lowrisk75 commented Nov 30, 2022

Description
I cant successfully compile on a DS918+ running DSM7.1
It's seems that I have some DNS issue as there is a lot of Temporary failure resolving

when I manually ping the same host it's seems to be fine though

sudo ping archive.ubuntu.com
PING archive.ubuntu.com (91.189.91.38) 56(84) bytes of data.
64 bytes from banjo.canonical.com (91.189.91.38): icmp_seq=1 ttl=51 time=96.7 ms
64 bytes from banjo.canonical.com (91.189.91.38): icmp_seq=2 ttl=51 time=96.5 ms
64 bytes from banjo.canonical.com (91.189.91.38): icmp_seq=3 ttl=51 time=95.7 ms
^C
--- archive.ubuntu.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 3ms
rtt min/avg/max/mdev = 95.703/96.296/96.686/0.426 ms

Steps to reproduce

sudo docker build -t synobuild .


Sending build context to Docker daemon  245.2kB
Step 1/6 : FROM ubuntu:latest
latest: Pulling from library/ubuntu
e96e057aae67: Pull complete 
Digest: sha256:4b1d0c4a2d2aaf63b37111f34eb9fa89fa1bf53dd6e4ca954d47caebca4005c2
Status: Downloaded newer image for ubuntu:latest
 ---> a8780b506fa4
Step 2/6 : VOLUME [ "/toolkit_tarballs" ]
 ---> Running in 33023cf4053a
Removing intermediate container 33023cf4053a
 ---> b2f24b07b553
Step 3/6 : ENV IS_IN_CONTAINER 1
 ---> Running in e9cdd7547e0b
Removing intermediate container e9cdd7547e0b
 ---> 666434edb7d3
Step 4/6 : RUN apt-get update  && apt-get -qy install git python3 wget ca-certificates xz-utils
 ---> Running in 3f3db7fc4503
Ign:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Ign:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Err:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
  Temporary failure resolving 'security.ubuntu.com'
Ign:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Ign:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Ign:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Err:1 http://archive.ubuntu.com/ubuntu jammy InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Err:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Err:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
  Temporary failure resolving 'archive.ubuntu.com'
Reading package lists...
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-updates/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/jammy-backports/InRelease  Temporary failure resolving 'archive.ubuntu.com'
W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease  Temporary failure resolving 'security.ubuntu.com'
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists...
Building dependency tree...
Reading state information...
Package ca-certificates is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package xz-utils is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package git
E: Unable to locate package python3
E: Unable to locate package wget
E: Package 'ca-certificates' has no installation candidate
E: Package 'xz-utils' has no installation candidate
The command '/bin/sh -c apt-get update  && apt-get -qy install git python3 wget ca-certificates xz-utils' returned a non-zero code: 100```

--- 
running the docker run command also give me some issues

$ sudo docker run --rm --privileged --env PACKAGE_ARCH=Apollolake --env DSM_VER=7.1 -v $(pwd)/artifacts:/result_spk synobuild
Unable to find image 'synobuild:latest' locally
docker: Error response from daemon: pull access denied for synobuild, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.


**Synology NAS model**
DS918+

@sebthom
Copy link

sebthom commented Dec 11, 2022

You can try our builds https://github.com/vegardit/synology-wireguard/releases

@RyanWor
Copy link

RyanWor commented Dec 29, 2022

Any luck on this @lowrisk75 ? I've been trying to compile for my DS918+ since earlier this year and given up a few times. Curious if anything has changed and anyone got this working.

@fabiov64
Copy link

I suggest to compile the package in a different environment. Running the process on your NAS may suffer from some specific limitation in the configuration of the Linux platform. The compilation process do not require the same environment as the target platform: it is possible to compile for Armada platform using an Intel PC.
For instance, I'm compiling on a MacBook M1 (after installing Docker Desktop) and it works well. I think the result could be the same on Windows or Linux.

@ruimarinho
Copy link

Works well for DS918+ (apollolake) on both DSM 7.1 and DSM 7.2 when compiling on macOS Ventura (Apple Silicon).

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

No branches or pull requests

5 participants