Page 1 of 1

[Solved] Trying to build an arm64 package on amd64 using sbuild

Posted: 2024-01-10 22:00
by MultiplexLayout
I am trying to make a custom package that would only build on arm64. I have used "sbuild-createchroot --arch=arm64 --foreign unstable /path/to/chroot/unstable-sbuild-arm64" After this completes I then try to run "/path/to/chroot/debootstrap/debootstrap --second-stage", but I get

Code: Select all

cat: /usr/share/debootstrap/suite: No such file or directory
I don't understand what I am doing wrong here? I just want to set up sbuild so I can run "sbuild --build=arm64 --host=amd64 mypackage.dsc"

Re: Trying to build an arm64 package on amd64 using sbuild

Posted: 2024-01-18 15:30
by ruwolf
debootstrap.log says nothing more about it?

Re: Trying to build an arm64 package on amd64 using sbuild

Posted: 2024-01-20 16:43
by MultiplexLayout
ruwolf wrote: 2024-01-18 15:30 debootstrap.log says nothing more about it?
I actually solved this in the meantime by using sbuild-qemu instead.

Re: Trying to build an arm64 package on amd64 using sbuild

Posted: 2024-01-20 18:03
by Aki
MultiplexLayout wrote: 2024-01-20 16:43
ruwolf wrote: 2024-01-18 15:30 debootstrap.log says nothing more about it?
I actually solved this in the meantime by using sbuild-qemu instead.
Thank you for reporting back for the benefit of other forum readers.