Skip to content

EnvDeploy fails on DSM 7.2.2 platform rtd1619b (chroot: failed to run command ‘ln’: Exec format error) #53

@heidrun00

Description

@heidrun00

I am attempting to compile Bluetooth modules for my Synology DS223j running DSM 7.2.2 with the rtd1619b architecture.
So i have to set up the toolkit environment within a Docker container which i used this command for:

docker create -it --name ubuntu --privileged --security-opt systempaths=unconfined ubuntu:latest

Followed this guide from Synology to set up the toolkit.
git, cifs-utils, python3, python3-pip, are installed.

After ./EnvDeploy -v 7.2 -p rtd1619b I get this Error:

[2025-01-09 20:45:50,940] INFO: tar -xhf /toolkit/toolkit_tarballs/ds.rtd1619b-7.2.dev.txz -C /toolkit/build_env/ds.rtd1619b-7.2
chroot: failed to run command ‘ln’: Exec format error 
Traceback (most recent call last):
    File "/toolkit/pkgscripts-ng/include/python/exec_env.py", line 76, in execute
       output = commandrunner.run(cmd, display=display, **kwargs)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/toolkit/pkgscripts-ng/include/python/commandrunner.py", line 39, in run
       raise RunShellFailed(p.returncode, cmd, output) 
commandrunner.RunShellFailed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
    File "/toolkit/pkgscripts-ng/./EnvDeploy", line 77, in <module>
       main(sys.argv[1:])
    File "/toolkit/pkgscripts-ng/./EnvDeploy", line 71, in main
       toolkit.deploy()
    File "/toolkit/pkgscripts-ng/include/python/pkgdeploy.py", line 207, in deploy
       self.link_pkgscripts(envs[platform])
    File "/toolkit/pkgscripts-ng/include/python/pkgdeploy.py", line 166, in link_pkgscripts
       env.link('pkgscripts-ng', 'pkgscripts')
    File "/toolkit/pkgscripts-ng/include/python/exec_env.py", line 61, in link 
       self.execute(['ln', '-sf', src, dest])
    File "/toolkit/pkgscripts-ng/include/python/exec_env.py", line 79, in execute
       raise EnvError(
exec_env.EnvError: ('Execute chroot /toolkit/build_env/ds.rtd1619b-7.2 ln -sf pkgscripts-ng pkgscripts failed',
'chroot: failed to run command ‘ln’: Exec format error')

Any suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions