!LemuOOvbWqRXodtSsw:nixos.org

NixOS Reproducible Builds

545 Members
Report: https://reproducible.nixos.org Project progress: https://github.com/orgs/NixOS/projects/30123 Servers

Load older messages


SenderMessageTime
19 Jul 2021
@andi:kack.itandi- *

You can look at the bootstrap tarball. From the top of my head those contain:

  • static busybox (with unxz, ash and tar applet in i686 mode but could be 64bit as well on x86)
  • patchelf to patch the binaries included in the tarball
  • glibc
  • a reduced set of GCC libs (for example the C++ std::fs .so is missing)
  • a version of bash, gzip, coreutils and i believe GNU make
  • obviously a copy of glibc
11:31:54
@andi:kack.itandi-I've a branch where I tried to get rid of patchelf during the bootstrap phase we ca could use relative RPATHs.11:32:38
@andi:kack.itandi- * I've a branch where I tried to get rid of patchelf as during the bootstrap phase we can could use relative RPATHs.11:32:49
@andi:kack.itandi-That work ended up requriing patching each and every binary in the tarball (after unpacking) with a wrapper script that invokes the correct dynamic loader with them... Not sure how Guix gets around that issue of the bootstrap files requiring a dynamic loader.11:34:08
@andi:kack.itandi-All the talk about the minimal bootstrap are great but how do you execute the very first shell that you spawn you MES stuff with?11:34:40
@andi:kack.itandi- * All the talk about the minimal bootstrap are great but how do you execute the very first shell that you spawn your MES stuff with?11:34:49
@rgrunbla:matrix.orgReventlovRedacted or Malformed Event11:40:22
@andi:kack.itandi-What drives our tinycc compilation if all you have is an assembler? If you want to bootstrap the Nixpkgs stdenv you need to somehow provide a shell as part of the bootstrap process.11:41:35
@andi:kack.itandi-You could also impurely use the hosts /bin/sh that is always there during a build...11:42:15
@j-k:matrix.orgj-k joined the room.15:01:05
@siraben:matrix.orgsirabenminimal bootstrap issue https://github.com/NixOS/nixpkgs/issues/12309516:52:56
@siraben:matrix.orgsirabenLike Guix we have a great opportunity to just reduce the bootstrap without affecting anything else (modulo some rebuilds)16:53:49
@tomberek:matrix.orgtomberekandi-: I presume one can hand-assemble an execvpe call directly if needed. Would be smaller than bringing in a shell. But one has to assume a few resident things anyway, a POSIX shell isn’t onerous as an assumption, and a filesystem, and host OS. From a different angle; another fun bootstrapping exercise: https://niedzejkob.p4.team/bootstrap/miniforth/22:40:54
20 Jul 2021
@ldesgoui:matrix.orgldesgoui joined the room.14:36:47
@sumner:sumnerevans.comsumner left the room.21:42:46
25 Jul 2021
@tomberek:matrix.orgtomberek Updated the gnome build report: https://tomberek.info/r13y.com/
grahamc (he/him) I'm not sure people are aware of https://r13y.com/trivial/index.html , https://r13y.com/iso_minimal/index.html and https://r13y.com/iso_gnome/index.html . Their textual content is wrong, but I'm working on PRs to fix that.
20:42:12
@grahamc:nixos.org@grahamc:nixos.orgGreat!20:43:36
@grahamc:nixos.org@grahamc:nixos.org I think it will not be so hard to make it actually succeed in building, too :). 20:44:11
@tomberek:matrix.orgtomberekI have a fairly weak machine doing the gnome build; takes 4 days, but it eventually succeeds.21:01:15
26 Jul 2021
@gytis-ivaskevicius:matrix.orgGytis Ivaskevicius
In reply to @tomberek:matrix.org
I have a fairly weak machine doing the gnome build; takes 4 days, but it eventually succeeds.
dam, thats alot of days. Lack of ram or something? May I know for reference what hardware is it running?
03:01:18
@tomberek:matrix.orgtomberek

dam, thats alot of days. Lack of ram or something? May I know for reference what hardware is it running?

Dell PowerEdge with dual Intel Xeon 5160 with 16GiB ECC RAM. It's an old server running in my basement.

13:50:06
27 Jul 2021
@siraben:matrix.orgsirabendoes anyone want to look at https://github.com/NixOS/nixpkgs/pull/85542 ? (full source bootstrap of Rust)11:49:36
28 Jul 2021
@stick:matrix.orgstick changed their display name from prusnak to stick.15:09:43
29 Jul 2021
@srid:matrix.orgsrid changed their display name from srid (on hiatus) to srid.01:28:38
@stick:matrix.orgstick changed their display name from stick to stick2.16:25:23
@stick:matrix.orgstick changed their display name from stick2 to stick.16:25:57
@artturin:matrix.orgArtturin joined the room.17:27:20
30 Jul 2021
@raboof:matrix.orgraboofhttps://github.com/NixOS/nixpkgs/pull/120858 was just merged which should enable building the unoptimized python bytecode again, which is great for performance but likely brings back an unreproducibility.09:06:14
@raboof:matrix.orgraboofthe good news is we have a clear suspect for where that unreproducibility might come from, https://github.com/NixOS/nixpkgs/issues/132037 - no patch yet though :)09:06:43
@stick:matrix.orgstick changed their display name from stick to stick3.10:32:55

Show newer messages


Back to Room ListRoom Version: 6