Closed Lino77 closed 6 years ago
Your log cuts int he middle, please provide a complete log. Last lines are :
+ cp -v -r --preserve=mode,timestamps /filesystem/root/. /
'/filesystem/root/./etc/network/interfaces' -> '/./etc/network/interfaces'
'/filesystem/root/./etc/resolv.conf' -> '/./etc/resolv.conf'
/bin/cp: not writing through dangling symlink '/./etc/resolv.conf'
'/filesystem/root/./etc/wpa_supplicant/wpa_supplicant.conf' -> '/./etc/wpa_supplicant/wpa_supplicant.conf'
Your log cuts mid-copy command
this was the log from OctoPi/src/build.log here is a nwe build.log and the console output console.txt
The error is
/common.sh: line 106: /bin/cp: cannot execute binary file: Exec format error
Build using the vagrant build method described in the readme, there is something strange with your environment.
I use the vagrant method
Then try - vagrant destroy ; vagrant up
I had that once in vagrant and that fixed it. Not sure why.
now stop here
Can you paste stderr terminal output? It looks the log is not showing something.
console.txt build.log build.log and terminal output
wait a moment now the exec error comes again
build.log console.txt so please
Error is now
/bin/cp: not writing through dangling symlink '/./etc/resolv.conf'
So there is a symlink issue. What image are you using? Did you modify Armbian_5.30_Orangepiplus_Ubuntu_xenial_default_3.4.113.img.zip?
No original from here https://dl.armbian.com/orangepiplus/
Armbian_5.30_Orangepiplus_Debian_jessie_default_3.4.113.img the same error
Can you cd to the CusomPIOS repo and run git staus
? Also make sure you have the latest with
git pull origin CustomPiOS
Because there is no resolv.conf
in /src/variants/armbian/filesystem/root/etc. And your terminal clear shows there is one in your system.
there is on in Octopi/src/variants/armbian/filesystem/root/etc
Please git pull the latest version of OctoPi, that was removed months ago in commit https://github.com/guysoft/OctoPi/commit/fc89313d39c8cc8fe5b3a55f110a2da713d7d481: https://github.com/guysoft/OctoPi/tree/devel/src
okay sorry i switch now from master to devel branch an now it works sorry
Failed to build Armbian OctoPi see build.log build.log can you help me please