guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I managed to build guix natively on Debian GNU/Hurd , what's next?


From: Svante Signell
Subject: Re: I managed to build guix natively on Debian GNU/Hurd , what's next?
Date: Fri, 30 Aug 2019 23:52:22 +0200
User-agent: Evolution 3.30.5-1.1

On Fri, 2019-08-30 at 23:30 +0200, Ricardo Wurmus wrote:
> Svante Signell <address@hidden> writes:
> 
> > Where to install the bootstrap-binaries: Natively in GNU/Hurd, which already
> > hase.g. /bin/tar from the tar package or within Guix on amd64? But
> > installing
> > tar to /bin does not find that file, even with setting PATH??
> 
> That’s expected.  Guix will not use arbitrary binaries that happen to be
> on PATH.  That’s by design.  The bootstrap binaries are at the roots of
> the package graph – changes to them would result in the complete graph
> to be rebuilt from scratch.

Sorry but the tarballs have files like ./bin/tar Where to unpack them, on the
native Hurd image or the guix one?

> So the binaries have a special role and usually don’t change.  That’s
> why the fact that my bootstrap binaries use GCC 5 is not a problem.
> 
> > uname -a
> > Linux gnu 5.1.2-gnu #1 SMP 1 x86_64 GNU/Linux
> > guix build bootstrap-tarballs --system=i586-gnu
> > guix build: error: could not find bootstrap binary 'tar' for system 'i586-
> > gnu'
> 
> You need to cross-build.  x86_64 systems have no i586-gnu persona, so
> you can’t use “--system” here.

How is that cross-build done? Within the Linux guix image or a Linux amd64
image? And cross package build order?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]