Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

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

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
MultiplexLayout
Posts: 56
Joined: 2020-09-23 19:21
Has thanked: 7 times

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

#1 Post 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"
Last edited by MultiplexLayout on 2024-01-20 16:42, edited 1 time in total.

User avatar
ruwolf
Posts: 644
Joined: 2008-02-18 05:04
Location: Banovce nad Bebravou
Has thanked: 42 times
Been thanked: 30 times

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

#2 Post by ruwolf »

debootstrap.log says nothing more about it?

MultiplexLayout
Posts: 56
Joined: 2020-09-23 19:21
Has thanked: 7 times

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

#3 Post 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.

Aki
Global Moderator
Global Moderator
Posts: 2981
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 75 times
Been thanked: 407 times

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

#4 Post 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.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Post Reply