On Mon, 2025-01-20 at 17:10 +0000, Phil Wyett wrote:
> On Mon, 2025-01-20 at 17:53 +0100, Jochen Sprickerhof wrote:
> > Hi Phil,
> > 
> > * Phil Wyett <philip.wy...@kathenas.org> [2025-01-20 16:35]:
> > > https://wiki.debian.org/sbuild
> > > 
> > > https://wiki.debian.org/sbuild#Cross-compiling_packages
> > > 
> > > 
> > > On the sbuild wiki page in the cross compiling section should we be
> > > advising
> > > users that they need to create a chroot for the {ARCH} they wish to cross
> > > build
> > > for and also have the relevant crossbuild-essential-{ARCH} package
> > > installed?
> > 
> > No, why?
> > 
> > Cross compiling means that you need that normal build arch chroot as 
> > initial set up. An other thing is using sbuild --arch=, that uses qemu 
> > most of the time, where you need the arch chroot.
> > 
> > Cheers Jochen
> 
> Hi,
> 
> Ah... Let me describe my setup.
> 
> * A VM with Debian trixie install - standard utilities plus ssh server.
> * sbuild, pbuilder, piuparts and reprotest etc. installed.
> * qemu is not the install.
> 
> For --host=arm64 I have to generate an arm64 chroot and install crossbuild-
> essential-arm64 for crossbuilds to work.
> 
> Regards
> 
> Phil
> 

Hi,

I mainly ran into issue with autopkgtest which looked for --arch (unshare
default config) and failed unless I generated the arm64 chroot.

Regards

Phil

-- 

Donations...

Buy Me A Coffee: https://buymeacoffee.com/kathenasorg

--

"I play the game for the game’s own sake"

Arthur Conan Doyle - The Adventure of the Bruce-Partington Plans

--

Internet Relay Chat (IRC): kathenas

Website: https://kathenas.org

Instagram: https://instagram.com/kathenasorg

Threads: https://www.threads.net/@kathenasorg

--

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to