I’ve upgraded my build system from debian 8 to 9
What hardware? The My Cloud device itself? Some people’s build machines are their Intel/AMD desktop computers
Why is wheezy there? That is Debian 7 which is not mentioned in your post
I get an error that that there is no release file.
Can you post the exact release file it’s looking for? You can browse ftp.debian.org since it’s actually an HTTP server and maybe you can spot which repository is not working correctly.
So I just did a apt install qemu-user-static
To solve which problem? If you are setting up a build environment on the My Cloud, you shouldnt need qemu. If you are setting up a build environment on your x86/64 desktop then you may use qemu to chroot into a foreign architecture.
/lib/ld-linux-armhf.so.3: No such file or directory
Looks like you are building against armhf. I have a 2nd Gen My Cloud but the rootfs is soft-float arm.
I then chroot .
I’m thinking your chroot is set up for armhf but your rootfs that you boot from is just regular arm (soft-float). You won’t be able to use anything you compile in that armhf chroot outside of the chroot environment.
Are there any directions for setting up a My Cloud build environment on stretch?
Are you trying to build user mode binaries or a new kernel? It sounds like you are 90% there with the exception of having a
armhf chroot instead of