GNU bug report logs - #74217
Bootstrapping Zig with no Binary Blobs

Previous Next

Package: guix;

Reported by: Ekaitz Zarraga <ekaitz <at> elenq.tech>

Date: Tue, 5 Nov 2024 21:49:02 UTC

Owned by: Ekaitz Zarraga <ekaitz <at> elenq.tech>

Severity: normal

Done: Hilton Chain <hako <at> ultrarare.space>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Hilton Chain <hako <at> ultrarare.space>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#74217: closed (Bootstrapping Zig with no Binary Blobs)
Date: Tue, 31 Dec 2024 15:41:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 31 Dec 2024 22:49:54 +0800
with message-id <87v7uzhppp.wl-hako <at> ultrarare.space>
and subject line Re: Bootstrapping Zig with no Binary Blobs
has caused the debbugs.gnu.org bug report #74217,
regarding Bootstrapping Zig with no Binary Blobs
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
74217: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74217
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ekaitz Zarraga <ekaitz <at> elenq.tech>
To: "bug-guix <at> gnu.org" <bug-guix <at> gnu.org>
Cc: Hilton Chain <hako <at> ultrarare.space>,
 "efraim <at> flashner.co.il" <efraim <at> flashner.co.il>
Subject: Bootstrapping Zig with no Binary Blobs
Date: Tue, 5 Nov 2024 22:47:48 +0100
Hi,

In order to include modern versions of Zig (Zig 0.12+) in Guix, we need 
to remove the binary blobs.

I open this issue to track this effort and store information about the 
process.

Some Guix user is trying to achieve the same goal:

https://git.jakstys.lt/motiejus/zig-repro

And discussing about it here:

https://ziggit.dev/t/building-self-hosted-from-the-original-c-implementation/6607/11

We could use that effort as a reference and package it to Guix.


[Message part 3 (message/rfc822, inline)]
From: Hilton Chain <hako <at> ultrarare.space>
To: 74217-done <at> debbugs.gnu.org
Cc: Motiejus Jakštys
 <motiejus <at> jakstys.lt>, Noé Lopez <noe <at> xn--no-cja.eu>,
 dan <i <at> dan.games>, Efraim Flashner <efraim <at> flashner.co.il>,
 Ekaitz Zarraga <ekaitz <at> elenq.tech>
Subject: Re: Bootstrapping Zig with no Binary Blobs
Date: Tue, 31 Dec 2024 22:49:54 +0800
On Thu, 28 Nov 2024 19:08:09 +0800,
Hilton Chain wrote:
>
> I think this is mostly ready ( again :) ).  If there's nothing else missing,
> I'll post the current status and call for packages to test the build system on
> guix-devel.

Applied Zig bootstrap as 40b9f33066...42e32d52c3.

I'll delete wip-zig-bootstrap, move Zig libraries left there (currently unused
by other packages) to zig-team branch and continue the bootstrap chain on
zig-next branch.

Manifest for all Zig packages is available at "etc/teams/zig/zig-manifest.scm".

BTW I just realised that on reusing procedures from Guix, `guix repl' is more
convenient than `guile -c' in terms of load paths:
--8<---------------cut here---------------start------------->8---
echo "((assoc-ref (@ (guix build zig-build-system) %standard-phases) 'unpack-dependencies))" | guix repl -t machine
--8<---------------cut here---------------end--------------->8---

Builds on ci.guix.gnu.org is a bit slower than my estimation, but hopefully
we'll have x86_64-linux substitutes on 2025-01-01. :)

Closing.


This bug report was last modified 194 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.