!LemuOOvbWqRXodtSsw:nixos.org

NixOS Reproducible Builds

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

Load older messages


SenderMessageTime
8 Feb 2022
@tpw_rules:matrix.orgtpw_rulesthe nlink values in the initrd hydra and i both built23:50:03
@tpw_rules:matrix.orgtpw_rules(which are the same)23:50:07
@atemu12:matrix.orgatemu12But why is /etc 3?23:51:20
@tpw_rules:matrix.orgtpw_rulesi don't know. that's what the file says23:51:34
@atemu12:matrix.orgatemu12All directories should be 223:51:39
@tpw_rules:matrix.orgtpw_rulesthis says at least 2: https://www.systutorials.com/docs/linux/man/5-cpio/23:51:56
@tpw_rules:matrix.orgtpw_ruleswhich means that the file where they are all 1 seems invalid to me23:52:04
@atemu12:matrix.orgatemu12macOS' HFS has directory hardlinks, so I'd assume support for >1 is for that23:52:42
@atemu12:matrix.orgatemu12* macOS' HFS has directory hardlinks, so I'd assume support for >2 is for that23:53:26
@tpw_rules:matrix.orgtpw_rulesi mean i hope this is not using HFS+ on linux23:53:38
@atemu12:matrix.orgatemu12Don't think it supports dir hardlinks on Linux23:54:21
@atemu12:matrix.orgatemu12Could you find out how nlink is determined?23:55:14
@tpw_rules:matrix.orgtpw_rulesi briefly glanced at the cpio source code and it seems it is set equal to 1 when performing crc calculations23:55:50
@atemu12:matrix.orgatemu12Maybe try creating new cpios out of the files that are supposed to be packed up and selectively delete23:56:21
@tpw_rules:matrix.orgtpw_rulesnot sure what you mean23:57:10
@atemu12:matrix.orgatemu12The idea is to find a minimal reproducer for creating directories with different nlink counts23:58:04
@atemu12:matrix.orgatemu12Something must be causing that phenomenon23:58:16
9 Feb 2022
@rnhmjoj:maxwell.ydns.eu@rnhmjoj:maxwell.ydns.eu stupid question: does the fact that uname -v include a timestamp mean the kernel is not reproducibile? 08:35:41
@raboof:matrix.orgraboof
In reply to @rnhmjoj:maxwell.ydns.eu
stupid question: does the fact that uname -v include a timestamp mean the kernel is not reproducibile?
AFAIK the kernel is reproducible, so that suggests it's ok - presumably it takes the date from a 'stable' source like commit or filesystem timestamps instead of from the clock
08:51:07
@j-k:matrix.orgj-k

https://reproducible-builds.org/docs/source-date-epoch/

git log -1 --pretty=%ct

or if you want something more human readable

git log --date=format:'%Y-%m-%dT%H:%M:%SZ' -1 --pretty=%ad

08:56:30
@j-k:matrix.orgj-knot sure what the kernel builds actually use for date tho08:56:46
@tomberek:matrix.orgtomberek
In reply to @tpw_rules:matrix.org
i mean i hope this is not using HFS+ on linux
It’s on BTRFS.
12:17:24
@tpw_rules:matrix.orgtpw_rulesoh, that's the problem: https://linux-btrfs.vger.kernel.narkive.com/oAoDX89D/btrfs-st-nlink-for-directories#post317:41:19
@tpw_rules:matrix.orgtpw_rulesbtrfs always answers 1 for st_nlink, allegedly (have not yet tested personally)17:41:43
@tpw_rules:matrix.orgtpw_rulesi feel like this is cpio's problem, because the file format states that st_nlink is always at least 217:52:23
@tpw_rules:matrix.orgtpw_rulesshould we use tar in cpio mode?17:57:24
@tomberek:matrix.orgtomberekhrm... i was going to shift my builder to ZFS. I guess it's a good thing to have diversity of testing for reproducibility18:14:06
@atemu12:matrix.orgatemu12
In reply to @tpw_rules:matrix.org
should we use tar in cpio mode?
If that fixes the issue and outputs a valid cpio, sure
18:21:26
12 Feb 2022
@marius851000:newsmatrix.pmdcollab.org@marius851000:newsmatrix.pmdcollab.org left the room.15:06:16
14 Feb 2022
@test:boba.best@test:boba.best changed their display name from Tseb to Tseb (Old).12:52:27

Show newer messages


Back to Room ListRoom Version: 6