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

nerves-config 0.7 Installing to target failed, v0.4.1 or later #11

Open
pojiro opened this issue Dec 12, 2022 · 1 comment
Open

nerves-config 0.7 Installing to target failed, v0.4.1 or later #11

pojiro opened this issue Dec 12, 2022 · 1 comment

Comments

@pojiro
Copy link
Owner

pojiro commented Dec 12, 2022

>>> nerves-config 0.7 Extracting
>>> nerves-config 0.7 Patching
>>> nerves-config 0.7 Configuring
>>> nerves-config 0.7 Building
>>> nerves-config 0.7 Installing to target
cp -f /home/pojiro/Repos/nerves_system_f3rp70/deps/nerves_system_br/package/nerves-config/echo-gcc-args /home/pojiro/Repos/nerves_system_f3rp70/.nerves/artifacts/nerves_system_f3rp70-portable-0.4.2/host/opt/ext-toolchain/bin/echo-gcc-args
cp: cannot create regular file '/home/pojiro/Repos/nerves_system_f3rp70/.nerves/artifacts/nerves_system_f3rp70-portable-0.4.2/host/opt/ext-toolchain/bin/echo-gcc-args': No such file or directory
make[1]: *** [package/pkg-generic.mk:384: /home/pojiro/Repos/nerves_system_f3rp70/.nerves/artifacts/nerves_system_f3rp70-portable-0.4.2/build/nerves-config-0.7/.stamp_target_installed] エラー 1
make: *** [Makefile:23: _all] エラー 2
@pojiro
Copy link
Owner Author

pojiro commented Dec 12, 2022

This system does not use the nerves_toolchain( why cannot use it, read issue #1 (comment)), which may have caused this issue.

To work around this problem, follow these steps.

  1. mkdir
[0|main*$%=]pojiro@Endeavor-Pro9050a:~/Repos/nerves_system_f3rp70/.nerves/artifacts/nerves_system_f3rp70-portable-0.4.2$
mkdir -p host/opt/ext-toolchain/bin
  1. make again
Nerves  nerves_system_f3rp70-portable-0.4.2 > make
>>> nerves-config 0.7 Installing to target
cp -f /home/pojiro/Repos/nerves_system_f3rp70/deps/nerves_system_br/package/nerves-config/echo-gcc-args /home/pojiro/Repos/nerves_system_f3rp70/.nerves/artifacts/nerves_system_f3rp70-portable-0.4.2/host/opt/ext-toolchain/bin/echo-gcc-args
cp -f /home/pojiro/Repos/nerves_system_f3rp70/deps/nerves_system_br/package/nerves-config/echo-gcc-args /home/pojiro/Repos/nerves_system_f3rp70/.nerves/artifacts/nerves_system_f3rp70-portable-0.4.2/host/opt/ext-toolchain/bin/echo-gcc-args
ln -sf toolchain-wrapper /home/pojiro/Repos/nerves_system_f3rp70/.nerves/artifacts/nerves_system_f3rp70-portable-0.4.2/host/bin/echo-gcc-args
/home/pojiro/Repos/nerves_system_f3rp70/.nerves/artifacts/nerves_system_f3rp70-portable-0.4.2/host/bin/echo-gcc-args > /home/pojiro/Repos/nerves_system_f3rp70/.nerves/artifacts/nerves_system_f3rp70-portable-0.4.2/images/buildroot-gcc-args
/home/pojiro/Repos/nerves_system_f3rp70/.nerves/artifacts/nerves_system_f3rp70-portable-0.4.2/host/bin/echo-gcc-args.br_real: No such file or directory
make[1]: *** [package/pkg-generic.mk:384: /home/pojiro/Repos/nerves_system_f3rp70/.nerves/artifacts/nerves_system_f3rp70-portable-0.4.2/build/nerves-config-0.7/.stamp_target_installed] エラー 2
make: *** [Makefile:23: _all] エラー 2
  1. create binary and symlink
[0|main*$%=]pojiro@Endeavor-Pro9050a:~/Repos/nerves_system_f3rp70/.nerves/artifacts/nerves_system_f3rp70-portable-0.4.2$
cp host/opt/ext-toolchain/bin/echo-gcc-args host/opt/ext-toolchain/bin/echo-gcc-args.br_real
cd host/bin/
ln -s echo-gcc-args.br_real ../opt/ext-toolchain/bin/echo-gcc-args.br_real
  1. make again, this should be successful.

@pojiro pojiro changed the title nerves-config 0.7 Installing to target failed nerves-config 0.7 Installing to target failed, v0.4.1 or later Dec 12, 2022
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

1 participant