Cannot install on Synology DS418
See original GitHub issueDescribe the bug
When installing with pip install pyatv
on a Synology NAS DS418, I’m getting an error at the step of building wheel for mini audio.
Error log
Building wheels for collected packages: miniaudio
Building wheel for miniaudio (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [15 lines of output]
running bdist_wheel
running build
running build_py
creating build
creating build/lib.linux-aarch64-3.8
copying miniaudio.py -> build/lib.linux-aarch64-3.8
running build_ext
generating cffi module 'build/temp.linux-aarch64-3.8/_miniaudio.c'
creating build/temp.linux-aarch64-3.8
building '_miniaudio' extension
creating build/temp.linux-aarch64-3.8/build
creating build/temp.linux-aarch64-3.8/build/temp.linux-aarch64-3.8
/usr/local/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-wrap-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DOPENSSL_NO_SSL3 -DOPENSSL_NO_SSL2 -DSYNOPLAT_F_ARMV8 -O2 -include /usr/syno/include/platformconfig.h -DSYNO_ENVIRONMENT -DBUILD_ARCH=64 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DSYNO_RUNNING_DSM_BUILD_SYSTEM -g -pipe -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -O2 -Wno-unused-result -fPIC -DMA_NO_GENERATION=1 -DMA_NO_ENCODING=1 -I/tmp/pip-install-a38odory/miniaudio_f4e6959e99c84a52a5ac33fba9cd1869 -I/tmp/pip-install-a38odory/miniaudio_f4e6959e99c84a52a5ac33fba9cd1869 -I/usr/include/python3.8 -c build/temp.linux-aarch64-3.8/_miniaudio.c -o build/temp.linux-aarch64-3.8/build/temp.linux-aarch64-3.8/_miniaudio.o -g1 -O3 -ffast-math
unable to execute '/usr/local/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-wrap-gcc': No such file or directory
error: command '/usr/local/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-wrap-gcc' failed with exit status 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for miniaudio
Running setup.py clean for miniaudio
Failed to build miniaudio
Installing collected packages: miniaudio, cryptography, aiohttp, pyatv
Running setup.py install for miniaudio ... error
error: subprocess-exited-with-error
× Running setup.py install for miniaudio did not run successfully.
│ exit code: 1
╰─> [17 lines of output]
running install
/usr/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build/lib.linux-aarch64-3.8
copying miniaudio.py -> build/lib.linux-aarch64-3.8
running build_ext
generating cffi module 'build/temp.linux-aarch64-3.8/_miniaudio.c'
creating build/temp.linux-aarch64-3.8
building '_miniaudio' extension
creating build/temp.linux-aarch64-3.8/build
creating build/temp.linux-aarch64-3.8/build/temp.linux-aarch64-3.8
/usr/local/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-wrap-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DOPENSSL_NO_SSL3 -DOPENSSL_NO_SSL2 -DSYNOPLAT_F_ARMV8 -O2 -include /usr/syno/include/platformconfig.h -DSYNO_ENVIRONMENT -DBUILD_ARCH=64 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DSYNO_RUNNING_DSM_BUILD_SYSTEM -g -pipe -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -O2 -Wno-unused-result -fPIC -DMA_NO_GENERATION=1 -DMA_NO_ENCODING=1 -I/tmp/pip-install-a38odory/miniaudio_f4e6959e99c84a52a5ac33fba9cd1869 -I/tmp/pip-install-a38odory/miniaudio_f4e6959e99c84a52a5ac33fba9cd1869 -I/usr/include/python3.8 -c build/temp.linux-aarch64-3.8/_miniaudio.c -o build/temp.linux-aarch64-3.8/build/temp.linux-aarch64-3.8/_miniaudio.o -g1 -O3 -ffast-math
unable to execute '/usr/local/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-wrap-gcc': No such file or directory
error: command '/usr/local/aarch64-unknown-linux-gnu/bin/aarch64-unknown-linux-gnu-wrap-gcc' failed with exit status 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> miniaudio
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
How to reproduce the bug?
Install pyatv on a Synology NAS DS418 with DSM 7.0.1
What is expected behavior?
Installation is to be completed without failures.
Operating System
DSM (based on Linux)
Python
3.8
pyatv
latest
Device
Apple TV 4K
Additional context
Do you have any idea about what configuration should I change on the Synology to make it work?
Issue Analytics
- State:
- Created a year ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
How to install DSM? - Synology Knowledge Center
Go to Synology Download Center and do the following: · Open Synology Assistant once it has been installed. · Find your device. ·...
Read more >Can't Install DSM on DS418 "Errors Have Occurred" - Reddit
Hello! I'm trying to set up a DS418 with two 12TB Exos X16 ST12000NM002G. It doesn't work. Both through web client or desktop...
Read more >SYNOLOGY DS418 with DSM 6.2-23739 Update 2 won't ...
I have SSD 1GB, with lot of space. It won't install on the DS418 as it is equipped with a Realtek ARM cpu....
Read more >How To Run VMs on a Synology NAS [Building ... - YouTube
Running VM's on a Synology NAS is great and easy to setup. This video will go through step-by-step ... Your browser can't play...
Read more >Synology DS418 NAS PLEX Installation Guide – Step by Step
Note – Be sure to check that your Synology DS418 NAS have the permission to install third-party applications and beta software enabled –...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes, it worked!
That was a downgrade for bitarray.
Thanks a lot.
As I understood, gcc is installed with the Entware package. Here are the instructions.
Regretfully, this is something I had already done but seems not to be working as expected. I will contact the Entware package maintainer and ask the question there.
Thanks for your help.