Subject: Re: bug#75080: guix pull fails on arm64 due to cmake DEB self-tests

From: Leo Famulari <[email-masked]>
Date: Tue, 4 Feb 2025 20:52:30 -0500

On Wed, Feb 05, 2025 at 12:18:41AM +0100, Simon Josefsson via Bug reports for GNU Guix wrote:
> Looking more carefully at the errors, I notice this part:
> 
>    actual-err>    cpack-cfg> set(DPKG_EXECUTABLE "/usr/bin/dpkg")
>    actual-err>    cpack-cfg> set(READELF_EXECUTABLE "/gnu/store/pqai4n95zn5wdw430gslb00sb967jdg8-binutils-2.41/bin/readelf")
> 
> So for some reason building cmake-bootstrap in guix in Debian picks up
> Debian's /usr/bin/dpkg, doesn't it?!
> 
> I suppose that Guix's build servers aren't running Debian, so it won't
> find any /usr/bin/dpkg.

It would be really surprising if '/usr/bin/dpkg' could be found or
accessed from within the package build environment, unless the build
isolation has been disabled.

Are you able to confirm if that is what's happening?